PDA

View Full Version : [C++ Epic Release]Event Title Vendor


lollardo
06-13-2009, 03:34 PM
This c++ is easy to config for your own server :)
It sells all the Normal Titles for a price of Event coins (on my server. can be sold for other items)

http://i106.photobucket.com/albums/m260/Lollardo/Untitledtitle.jpg

>>> EventTitleVendor.cpp (http://www.mediafire.com/?a4ndzmhzwny) <<< Download link

Setup.h
void SetupTitleVendor2(ScriptMgr * mgr);

Setup.cpp
SetupTitleVendor2(mgr);

Creds goes to me for making it ^^ took about 20 mins but it workes quite well
Also looking for new ideas so please pm if you have any idea for something to make ^^

sivert
06-13-2009, 03:49 PM
Very Nice! +rep!

Alvanaar
06-13-2009, 10:01 PM
Change Menu->AddItem(9, "Gladiator %s", 29); and so on, to:

Menu->AddItem(9, "Gladiator %s", 29, Plr->GetName());

:) That'd make it sexier!

Also, cases don't need to be opened and closed with brackets, and in my eyes, doing so doesn't make it neater. Especially when you have brackets on the same line as the case (case 1:{) etc.

Apart from that, good work. +Rep :)

lollardo
06-13-2009, 10:20 PM
thanks for the tip but the , Plr->GetName()); thing made errors in the script so i cant add that :P

Alvanaar
06-14-2009, 12:58 AM
Weird, alright. :)

sivert
06-14-2009, 10:03 AM
bump :p

jammyjay
06-14-2009, 10:16 AM
Nice :)

heineken
06-14-2009, 02:47 PM
where do i put this ? :D

lollardo
06-14-2009, 02:56 PM
Did you compile your own core? :P

Desmos
07-06-2009, 05:36 PM
+Rep thank you for sharing this. It worked for me.

rothmans92
01-02-2011, 11:05 AM
Does it work on TrinityCore.I am running rev 10444 and btw where do I put the script in custom folder?

Jerru
01-02-2011, 12:37 PM
@rothmans92
I am going to assume you can read. Look at when this thread was posted: 06-13-2009, 04:34 PM, which is almost a year and a half ago.

Dizblo
04-26-2011, 07:28 PM
Fix download link please

..::SeVen::..
04-26-2011, 08:31 PM
Download link unavailable