Resolved Outdated Vip C++ Scripts !!!

Deltaguard

Member
Deltaguard Rep
0
0
0
Rep
0
Deltaguard Vouches
0
0
0
Vouches
0
Posts
7
Likes
3
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
If anyone can update them.You are a god.:pogU:
 

Attachments

  • vipcomms.cpp
    4.8 KB · Views: 12
  • vip buffs.cpp
    5.7 KB · Views: 11
  • vip activator.cpp
    3.6 KB · Views: 11
  • npc_buffer.cpp
    5.1 KB · Views: 7
Liked By 1 member :

Azayaka

Allelujah
Administrator
Azayaka Rep
3
0
0
Rep
9
Azayaka Vouches
0
0
0
Vouches
0
Posts
321
Likes
219
2 YEARS
2 YEARS OF SERVICE
LEVEL 99 60 XP
Update for what? What core and revision?
 

Deltaguard

Member
Deltaguard Rep
0
0
0
Rep
0
Deltaguard Vouches
0
0
0
Vouches
0
Posts
7
Likes
3
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
Update for what? What core and revision?
The scripts are write for trinitycore but so old core. And under revision you want to say branch if i am right 3.3.5 ! If you can update them to work with the latest core [trinity] pog u :D
 

Azayaka

Allelujah
Administrator
Azayaka Rep
3
0
0
Rep
9
Azayaka Vouches
0
0
0
Vouches
0
Posts
321
Likes
219
2 YEARS
2 YEARS OF SERVICE
LEVEL 99 60 XP
I'll see what I can do
 
Liked By 2 members :

NarcoRP

El Diablo Nunca Duerme
Divine
NarcoRP Rep
1
0
0
Rep
3
NarcoRP Vouches
0
0
0
Vouches
0
Posts
132
Likes
109
2 YEARS
2 YEARS OF SERVICE
LEVEL 8 81 XP

Kearu

Divine
Divine
Rep
1
0
0
Rep
1
Vouches
0
0
0
Vouches
0
Posts
139
Likes
81
2 YEARS
2 YEARS OF SERVICE
LEVEL 3 120 XP
I grouped them all into one file, I also modified it a little bit. It seemed as though there was a (vip instance, vip mall) command. But they weren't fully implemented so I fixed them. Vip Appear and Vip Summon were coded, but are commented out as to I was unable to test them so idk if they work properly. Mostly was to lazy to make a second account, you can remove the /* */ to uncomment them out and remove the "handler->PSendSysMessage("Vip ... is temporarily disabled.");" lines at the bottom of the function. You can test them to see if they work first, as I said didn't test it since the command didn't work to begin with and didn't have a ton of time.

Side notes:

.buff command - Is only accessible by VIP's, since originally all it did was give vip buffs. I made it so it adds player buffs also. Also some buffs in the array will not be added since they don't stack with some buffs and the more powerful buff overrides the lesser buff.
Don't forget to add to custom_script_loader.cpp. Should look like this.
C++:
// void Add${NameOfDirectory}Scripts()
void AddSC_CustomScripts();

void AddCustomScripts()
{
    AddSC_CustomScripts();
}

### Requirements ###

Requires Item IDS (world.Item_template)

VIP_TOKEN = 313370;​
VIP_KEY = 438555;​

NPC with (1) gossip flag and the script names (world.creature_template)

npc_buffer
vip_activator

### Core Edits ###

Not Required, but added SEC_VIP to Account Types you can search for all (SEC_MODERATOR) and change MODERATOR to VIP if you want instead of adding a custom rank. If you don't want to do edits, you can just change SEC_VIP in this file to SEC_MODERATOR and use the moderator security level as vip.
 
Last edited:
Liked By 4 members :

3,389

1,271

9,555

428

Top