________( 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
DOWNLOAD [V1.6]
Click Here
Picture Gallery
--------------------------------------------------
--------------------------------------------------
--------------------------------------------------
--------------------------------------------------
Next Version Progress
VERSION 1.7
May you have any questions, make sure to ask them !
Kind Regards,
xx.Claiver