PDA

View Full Version : [Release] Advanced CodeBoxNPC (AddCodesIngame!)


Foxx
05-05-2009, 05:30 PM
________( CLAIVER SCRIPT )________
. Code Exchange NPC .



Hello Everyone,
This script is based on Stoneharry's original CodeBox script. I have hugely improved the features and capabilities of the script, making it also a very user-friendly piece of code.
Alot is configurable and the addition of new Rewards and Access-Keys is done as simple as possible.


Current Features
- Add Codes for any Player IN-GAME! via the In-Game GM itemtool.
- Saves Codes when used, codes may only be used once and are only available to the player the code is assigned to! (If you assign code "CSDD3563" to player "CLAIVER", then Player "IRLEET" can't use this code. Only "CLAIVER" can!)
- Very easy to add new items, it takes just one single line, and you can add as many items as you want, that the player will receive (including item-count) upon entering the code for the selected option.
- You can still set a Global 'Password' for every item (this password can always be used by anyone, at any time), but this is not as safe.
- You can Disable, Modify, Lookup, Remove keys via the GM Event Item (in-game!).
- You may add Rewards-options to the Code Exchange NPC! You can do this via the GM-EventTool interface. You can choose between 'Player-Only' and 'Global' Rewards. Player-Only rewards are bound to a specific player, and won't be available to other players than the assigned player. Global rewards are rewards any player is able to see.
Both Global and Player-Only rewards can be added Temporary or Permanent! This means you can add a reward forever (permanent) or until the server restarts (temporary).

Changelog

[VERSION 1.6a]
[+] Completely finetuned the script for the GuaEngine! The Level reward function is temporarily disabled, as Player:GetPlayerLevel() returned nil no matter what, which caused the function not to work properly.

[VERSION 1.6]
[+] Added a new Feature: You may now add Rewards-options to the Code Exchange NPC! You can do this via the GM-EventTool interface. You can choose between 'Player-Only' and 'Global' Rewards. Player-Only rewards are bound to a specific player, and won't be available to other players than the assigned player. Global rewards are rewards any player is able to see.
Both Global and Player-Only rewards can be added Temporary or Permanent! This means you can add a reward forever (permanent) or until the server restarts (temporary).
[+] Adding multiple rewards to a reward option is very easy. When prompted, simply fill in the itemID followed by a comma and the itemcount, Example: "ITEMID,ITEMCOUNT" and that's it!
[+] You may now add Gold & Levels as a reward to the options!
[+] Added a new Feature to the Access-Key manager: You may now completely remove keys from the datafile.
[+] Changed some interface displays.
[+] Modified the SQL. Be sure to execute the .SQL again!
[+] Added a second DataFile to store data in (for the RewardsOptions). They are now located in 'scripts/EventData' folder.

[VERSION 1.5]
[+] Fixed a minor issue which prevented the script not to work with some users.

[VERSION 1.4]
[+] You can now Disable, Modify and Lookup keys via the GM Event Item (in-game!).

Files

DOWNLOAD [V1.6a]
Click Here (http://www.mediafire.com/?owommzoozjj)

DOWNLOAD [V1.6]
Click Here (http://www.mediafire.com/?uzhjn2dnznd)

Picture Gallery
http://i65.photobucket.com/albums/h230/pentelv/th_WoWScrnShot_043009_024523.jpg http://i65.photobucket.com/albums/h230/pentelv/th_WoWScrnShot_043009_024604.jpg http://i65.photobucket.com/albums/h230/pentelv/th_WoWScrnShot_043009_024614.jpg

http://i65.photobucket.com/albums/h230/pentelv/th_WoWScrnShot_043009_024649.jpg http://i65.photobucket.com/albums/h230/pentelv/th_WoWScrnShot_043009_024633.jpg http://i65.photobucket.com/albums/h230/pentelv/th_WoWScrnShot_043009_024621.jpg

http://i65.photobucket.com/albums/h230/pentelv/th_WoWScrnShot_041909_224148.jpg http://i65.photobucket.com/albums/h230/pentelv/th_WoWScrnShot_041909_224219.jpg http://i65.photobucket.com/albums/h230/pentelv/th_WoWScrnShot_041909_224252.jpg


NOTE
If you have any questions PM me on forums or ask here.
Credits: xx.Claiver from mm********
Credits: Stoneharry for origional design(sorry saw now)

stoneharry
05-05-2009, 05:33 PM
Thanks for sharing - but if you didn't ask if they would let you post it here then you shouldn't (poor grammer >.>)

Foxx
05-05-2009, 05:34 PM
This Script, the SQL and the ReadMe are written by Claiver.
= Please leave credit if you modify the script. Do not claim my work as your own.


He never said you cant post it.
I gave him all credits dude.

Faded
05-05-2009, 05:37 PM
Thanks for sharing - but if you didn't ask if they would let you post it here then you shouldn't (poor grammer >.>)

LOL what a douche.

Goodjob foxx +rep this looks cool TY for sharing

Artilles
05-05-2009, 05:38 PM
Can i kick his ass? :)

CoolkidCardell
05-05-2009, 05:40 PM
Can i kick his ass? :)
yes please.

Foxx
05-05-2009, 05:43 PM
Ty For reply's
Please stay on Topic

stoneharry
05-05-2009, 06:32 PM
You guys are a bit... 0_0 Rude? I wasn't flaming, if I was flaming I would be:

Wtf - POST CREDITRS MAN

or something.
I am being constructive with my sentaces and critisism so that you can learn. If your going to share something in the hope you'll get a few rep in return for copying and pasting then thats sad. You should ask the people who originaly post it as well before posting because otherwise you get flamers like me all over your ass rarely (rarely because it often happens in here). Just because I missed one point doesn't mean you have to become immature.
And for the record - Flaming / Swearing = Ban. So the guy who called me a douche watch it :p You should know better

Terrorblade
05-06-2009, 12:39 PM
You guys are a bit... 0_0 Rude? I wasn't flaming, if I was flaming I would be:

Wtf - POST CREDITRS MAN

or something.
I am being constructive with my sentaces and critisism so that you can learn. If your going to share something in the hope you'll get a few rep in return for copying and pasting then thats sad. You should ask the people who originaly post it as well before posting because otherwise you get flamers like me all over your ass rarely (rarely because it often happens in here). Just because I missed one point doesn't mean you have to become immature.
And for the record - Flaming / Swearing = Ban. So the guy who called me a douche watch it :p You should know better

oh rly?

whore bitch douche slut fag? :P lol

martin197
05-06-2009, 01:22 PM
nice release ^^ and this thread is turning into a flame zone ,

Foxx
05-06-2009, 01:44 PM
Thank's Martin, yer i know it is.
Guys please stay on topic