sandbox Posted February 21, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted February 21, 2014 File Name: GM Reward Giver File Submitter: sandbox File Submitted: 21 Feb 2014 File Category: Utilities Content Author: UnoDelta, sandboxIt's basically a script to monitor the items that are given out by your staff to the players, the main use of this is for events, so you can track if any of your staff is being a bad boy! XDInstallation Enable the script on your NPC folder Create a table in your database using the code below, or manually by yourself, make sure all columns accept text! CREATE TABLE evt_prize(rwd_time varchar(255),player varchar(255),item_id varchar(255),amount varchar(255),gm_name varchar(255)); Configure this line to the minimum GM group level that you want to monitor. if (getgroupid() < 4){end;} Configure the map and coordinates where you would place your NPC, it's advised to place it in a map that can't be accessed by your players Enjoy with an evil laugh so you can simply swing the ban hammer upon your corrupt GMs! (Optional) To monitor your staff's reward logs, simply check the `evt_prize` table and view the item rewarding activity..I might update this and add an option where you could view your logs in-game, when I feel like scripting.. Oh yeah! Not!Terms & Conditions: You are not allowed to reproduce or make profit of this script You are not allowed to take credit for this script. Though you can modify/edit it to your liking. I can give you support, but please, do not message me. Click here to download this file 3 Quote Link to comment Share on other sites More sharing options...
uDe Posted February 21, 2014 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted February 21, 2014 Is this compatible with eAthena? Can you add whisper command for GM? So GM doesn't need to go to NPC everytime they want to give the reward. Quote Link to comment Share on other sites More sharing options...
sandbox Posted February 26, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Author Share Posted February 26, 2014 Is this compatible with eAthena? Can you add whisper command for GM? So GM doesn't need to go to NPC everytime they want to give the reward. It can be compatible, just change the getgroupid checking into getgmlevel since eAthena doesnt support groups yet Quote Link to comment Share on other sites More sharing options...
uDe Posted February 26, 2014 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted February 26, 2014 It can be compatible, just change the getgroupid checking into getgmlevel since eAthena doesnt support groups yet Thanks for the info.. But, this script will automatically give players the reward right? So, if I want to make it only work by whisper.. I will just do it like this : - script GMReward -1,{ OnWhisperGlobal: set .npcname$,"[ Event Reward ]"; if (getgmlevel() < 4){end;} mes .npcname$; mes "Hello "+strcharinfo(0)+", How can I help you?"; menu "-Give Reward",N_Name,"-Nothing",-; next; mes .npcname$; mes "Alright! See you soon."; close; right? Quote Link to comment Share on other sites More sharing options...
sandbox Posted February 26, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Author Share Posted February 26, 2014 Yep, it should work when properly modified Quote Link to comment Share on other sites More sharing options...
uDe Posted February 26, 2014 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted February 26, 2014 Thank you. Quote Link to comment Share on other sites More sharing options...
Angelisk Posted February 27, 2014 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 128 Reputation: 33 Joined: 01/21/13 Last Seen: November 8, 2024 Share Posted February 27, 2014 Amazing *o*, Really amazing, love your release <3 <3 <3 (I already tried creating something like this, but I failed D= ) Quote Link to comment Share on other sites More sharing options...
CursorX Posted March 17, 2014 Group: Members Topic Count: 66 Topics Per Day: 0.02 Content Count: 168 Reputation: 0 Joined: 11/20/13 Last Seen: November 23, 2021 Share Posted March 17, 2014 hi sandbox... is there any chance it could make a refines? like we rewarded them with shield... it has a category too for refiner on how many refines just what im thinking only.. Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 18, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Author Share Posted March 18, 2014 hi sandbox... is there any chance it could make a refines? like we rewarded them with shield... it has a category too for refiner on how many refines just what im thinking only.. Sorry for the late reply, you can use getitem with getitem2 instead! Quote Link to comment Share on other sites More sharing options...
Bringer Posted March 24, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Share Posted March 24, 2014 help Sir Sandboxi already done this Enable the script on your NPC folder Create a table in your database using the code below, or manually by yourself, make sure all columns accept text! The Npc already there when start click the npc nothing Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 25, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Author Share Posted March 25, 2014 Kindly post any debug/warning/errors given by your console.. Quote Link to comment Share on other sites More sharing options...
Bringer Posted March 26, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Share Posted March 26, 2014 (edited) Kindly post any debug/warning/errors given by your console.. about that i cant see the console im only Sub Admin i will update you sir for that i put this on our database CREATE TABLE evt_prize ( rwd_time varchar(255), player varchar(255), item_id varchar(255), amount varchar(255), gm_name varchar(255) ); then i place the script then load in custom.conf the NPC there but the problem i cant click on it this script wokring on eathena? SIr Sandbox do you have facebook account? Edited March 26, 2014 by DrewxD Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 26, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Author Share Posted March 26, 2014 There should be an error on your console. If you're using eAthena, you should change getgroupid into getgmlevel Quote Link to comment Share on other sites More sharing options...
Bringer Posted March 26, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Share Posted March 26, 2014 There should be an error on your console. If you're using eAthena, you should change getgroupid into getgmlevel its Working now how to change the corlor of the font to yellow color? Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 26, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Author Share Posted March 26, 2014 Change this line announce "[Event GM] "+strcharinfo(0)+" has rewarded "+.@Rew_Amt+" "+.@itemname$+" to "+.@Rew_Name$+".",bc_all,0xFF8080; to announce "[Event GM] "+strcharinfo(0)+" has rewarded "+.@Rew_Amt+" "+.@itemname$+" to "+.@Rew_Name$+".",bc_all; Quote Link to comment Share on other sites More sharing options...
Bringer Posted March 27, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Share Posted March 27, 2014 Change this line announce "[Event GM] "+strcharinfo(0)+" has rewarded "+.@Rew_Amt+" "+.@itemname$+" to "+.@Rew_Name$+".",bc_all,0xFF8080; to announce "[Event GM] "+strcharinfo(0)+" has rewarded "+.@Rew_Amt+" "+.@itemname$+" to "+.@Rew_Name$+".",bc_all; Nice Thanks Can you help for another script ? @sandbox can you give the code like this yellow font please thanks Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 27, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Author Share Posted March 27, 2014 I don't memorize the color hex table.. But it should be a combination of red and green, so try this.. announce "[Event GM] "+strcharinfo(0)+" has rewarded "+.@Rew_Amt+" "+.@itemname$+" to "+.@Rew_Name$+".",bc_all,0x888800; Quote Link to comment Share on other sites More sharing options...
Bringer Posted March 27, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Share Posted March 27, 2014 (edited) I don't memorize the color hex table.. But it should be a combination of red and green, so try this.. announce "[Event GM] "+strcharinfo(0)+" has rewarded "+.@Rew_Amt+" "+.@itemname$+" to "+.@Rew_Name$+".",bc_all,0x888800; i mean Sir announce msg Format like this on the screen shot is this right code Sandbox? announce " "+strcharinfo(0)+": Event Winner is "+.@Rew_Name$+" - Prize: "+.@Rew_Amt+" "+.@itemname$+".",bc_all; and there a chance go give 2 or 3 time at the same time for 1 winner sir? Edited March 28, 2014 by DrewxD Quote Link to comment Share on other sites More sharing options...
Peopleperson49 Posted March 28, 2014 Group: Members Topic Count: 219 Topics Per Day: 0.05 Content Count: 1181 Reputation: 141 Joined: 01/27/12 Last Seen: April 15 Share Posted March 28, 2014 This is a good script I wish they would put it in officially so people don't have to reinstall it every time. Anyways good work. I have been using sql more and more in my scripting and this is a good example of what it can do. Nice work. Peopleperson49 Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 29, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Author Share Posted March 29, 2014 Thanks, though I admit this isn't fully optimized, I might rewrite my scripts in the future.. Quote Link to comment Share on other sites More sharing options...
Bringer Posted March 30, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Share Posted March 30, 2014 (edited) Thanks, though I admit this isn't fully optimized, I might rewrite my scripts in the future.. i hope you update your script an option to Give 2 or 3 prize @ the same Player WInner thanks Edited March 30, 2014 by DrewxD Quote Link to comment Share on other sites More sharing options...
skymia Posted August 16, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Share Posted August 16, 2017 How to put Logs on this script? Example: my event GM will Give Rewards to players how can i monitor the rewards he give to the players? Quote Link to comment Share on other sites More sharing options...
Cyro Posted August 16, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted August 16, 2017 create this table in your sql db and you can check logs in evt_prize table CREATE TABLE evt_prize(rwd_time varchar(255),player varchar(255),item_id varchar(255),amount varchar(255),gm_name varchar(255)); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.