Checkmate Posted November 4, 2017 Posted November 4, 2017 (edited) On 10/17/2017 at 12:25 PM, Stolao said: Released a Version 2 for testing, its a separate file Update Info 2.00 Origional Make 2.01 Fixed Logic Bug 2.02 Fixed Year Multiplier 2.03 Added an IP check 2.04 Split Rewards up 2.05 Move ip check to Daily reward collection 2.06 Added ability to see next day via commands/relogging 2.07 Added Delay 2.08 Moved Delay to none VIP only 2.09 Removed some useless lines 2.0A Removed Menus due to bugs 2.0B Fixed VIP Cutin 2.0C Added it showing previos day cutin 2.0D Added a for loop 2.0E Fixed Ramined logged in time calculation (visual bug) 2.0F Added a F_InsertPlural to "more minute" 2.10 Added a Mac Check 2.11 Changed the IP check to [Sader1992] version 2.12 Enable Bound Type 2.13 Added 'collectreward', 'dailyreward', 'collectdaily' Commands 2.14 Added 'nextreward' Command 2.15 Added Daily Buffs 2.16 Added Exp Rewards 2.17 Removed Reards for Autotraders 2.18 Move Buffs to Daily so VIP wont trigger twice 2.19 Optimized Slightly 2.1A Fixed a bug with VIP getting bonus rewards in normal rewards 2.1B Fixed some documentaion Sir... Im trying to use your script but something error shown up.. Quote script error on npc/custom/testro/dailyrewardII.txt line 119 parse_simpleexpr: unexpected character * 119 : deletearray .@XT$['['0],getarraysize(.@XT$); It show error on those line. Edited November 4, 2017 by CheckMate it show email protected actually it just (@XT$) Quote
Stolao Posted November 4, 2017 Author Posted November 4, 2017 19 minutes ago, CheckMate said: Sir... Im trying to use your script but something error shown up.. It show error on those line. Oh shit my bad I fixed locally but not live, it has an extra [ in that line that's all I'll fix once home Quote
Checkmate Posted November 4, 2017 Posted November 4, 2017 9 minutes ago, Stolao said: Oh shit my bad I fixed locally but not live, it has an extra [ in that line that's all I'll fix once home Owh.. I thougt cuz it was my problem.. Thx.. extra [ <--- okay2 thx for clarification sir. Quote
CyberDevil Posted June 8, 2018 Posted June 8, 2018 (edited) Hi all, a question about buffs... on my server I've been using the 2.1c version for a few days and everything seems to work fine, but I'd like some advice regarding the buffs. At the moment the list of buffs we use is as follows: setarray .BuffInfo ,198,1,60,10 // Day 1: +10% Hp for 60 Mins ,196,2,60,25 // Day 2: +25 Flee for 60 Mins ,260,3,60,1 // Day 3: Life Insurance for 60 Mins ,198,4,60,10 // Day 4: +10% Hp for 60 Mins ,196,5,60,25 // Day 5: +25 Flee for 60 Mins ,260,6,60,1 // Day 6: Life Insurance for 60 Mins ,272,7,60,10 // Day 7: -10% reduction of skill cost for 60 Mins ,198,8,60,10 // Day 8: +10% Hp for 60 Mins ,196,9,60,25 // Day 9: +25 Flee for 60 Mins ,260,10,60,1 // Day 10: Life Insurance for 60 Mins ,198,11,60,10 // Day 11: +10% Hp for 60 Mins ,196,12,60,25 // Day 12: +25 Flee for 60 Mins ,260,13,60,1 // Day 13: Life Insurance for 60 Mins ,272,14,60,10 // Day 14: -10% reduction of skill cost for 60 Mins ,198,15,60,10 // Day 15: +10% Hp for 60 Mins ,196,16,60,25 // Day 16: +25 Flee for 60 Mins ,260,17,60,1 // Day 17: Life Insurance for 60 Mins ,198,18,60,10 // Day 18: +10% Hp for 60 Mins ,196,19,60,25 // Day 19: +25 Flee for 60 Mins ,260,20,60,1 // Day 20: Life Insurance for 60 Mins ,272,21,60,10 // Day 21: -10% reduction of skill cost for 60 Mins. ,198,22,60,10 // Day 22: +10% Hp for 60 Mins ,196,23,60,25 // Day 23: +25 Flee for 60 Mins ,260,24,60,1 // Day 24: Life Insurance for 60 Mins ,198,25,60,10 // Day 25: +10% Hp for 60 Mins ,196,26,60,25 // Day 26: +25 Flee for 60 Mins ,260,27,60,1 // Day 27: Life Insurance for 60 Mins ,272,28,60,10 // Day 28: -10% reduction of skill cost for 60 Mins ,198,29,60,10 // Day 29: +10% Hp for 60 Mins ,196,30,60,25 // Day 30: +25 Flee for 60 Mins ,260,31,60,1; // Day 31: Life Insurance for 60 Mins Some of these buffs, however, do not have a status icon (as it has "Life Insurance" for example) and instead of creating custom status icons (which requires too much work and time for me) I prefer to replace the buffs without the icons with other buffs that have a default status icon already working. Can you suggest me some buffs using the status icons? This is the information of my client:kRO client 2017-06-29Ragexe 2015-11-04a (diffed) Just for general information these are our daily rewards (psd by gangmusic ) Edited June 8, 2018 by CyberDevil Quote
Stolao Posted June 8, 2018 Author Posted June 8, 2018 1 hour ago, CyberDevil said: Hi all, a question about buffs... on my server I've been using the 2.1c version for a few days and everything seems to work fine, but I'd like some advice regarding the buffs. At the moment the list of buffs we use is as follows: setarray .BuffInfo ,198,1,60,10 // Day 1: +10% Hp for 60 Mins ,196,2,60,25 // Day 2: +25 Flee for 60 Mins ,260,3,60,1 // Day 3: Life Insurance for 60 Mins ,198,4,60,10 // Day 4: +10% Hp for 60 Mins ,196,5,60,25 // Day 5: +25 Flee for 60 Mins ,260,6,60,1 // Day 6: Life Insurance for 60 Mins ,272,7,60,10 // Day 7: -10% reduction of skill cost for 60 Mins ,198,8,60,10 // Day 8: +10% Hp for 60 Mins ,196,9,60,25 // Day 9: +25 Flee for 60 Mins ,260,10,60,1 // Day 10: Life Insurance for 60 Mins ,198,11,60,10 // Day 11: +10% Hp for 60 Mins ,196,12,60,25 // Day 12: +25 Flee for 60 Mins ,260,13,60,1 // Day 13: Life Insurance for 60 Mins ,272,14,60,10 // Day 14: -10% reduction of skill cost for 60 Mins ,198,15,60,10 // Day 15: +10% Hp for 60 Mins ,196,16,60,25 // Day 16: +25 Flee for 60 Mins ,260,17,60,1 // Day 17: Life Insurance for 60 Mins ,198,18,60,10 // Day 18: +10% Hp for 60 Mins ,196,19,60,25 // Day 19: +25 Flee for 60 Mins ,260,20,60,1 // Day 20: Life Insurance for 60 Mins ,272,21,60,10 // Day 21: -10% reduction of skill cost for 60 Mins. ,198,22,60,10 // Day 22: +10% Hp for 60 Mins ,196,23,60,25 // Day 23: +25 Flee for 60 Mins ,260,24,60,1 // Day 24: Life Insurance for 60 Mins ,198,25,60,10 // Day 25: +10% Hp for 60 Mins ,196,26,60,25 // Day 26: +25 Flee for 60 Mins ,260,27,60,1 // Day 27: Life Insurance for 60 Mins ,272,28,60,10 // Day 28: -10% reduction of skill cost for 60 Mins ,198,29,60,10 // Day 29: +10% Hp for 60 Mins ,196,30,60,25 // Day 30: +25 Flee for 60 Mins ,260,31,60,1; // Day 31: Life Insurance for 60 Mins Some of these buffs, however, do not have a status icon (as it has "Life Insurance" for example) and instead of creating custom status icons (which requires too much work and time for me) I prefer to replace the buffs without the icons with other buffs that have a default status icon already working. Can you suggest me some buffs using the status icons? This is the information of my client:kRO client 2017-06-29Ragexe 2015-11-04a (diffed) Just for general information these are our daily rewards (psd by gangmusic ) Life insurance has an icon, it's a red scythe. This is just a baseline script feel free to change anything you want. As for what sc to use, not particularly no. Quote
CyberDevil Posted June 13, 2018 Posted June 13, 2018 Thank you @Stolao for your answer. Another easy question... I would like to insert a sound effect (already present in my client) when a player receive the daily prize, but I receive a server-side error if I insert it like this: if(checkweight2(.@itms,.@qnts)){ for(.@x = 0; .@x < .@y; .@x++){ if(.Mode & 128) getitembound .@itms[.@x], .@qnts[.@x], .Bound_Mode; soundeffect "rareItem.wav",0; else getitem .@itms[.@x], .@qnts[.@x]; soundeffect "rareItem.wav",0; } This is the error: (06/13/2018 15:45:10) [ Error ] : script error on npc/custom/DailyReward_v2.txt line 147 parse_line: expect command, missing function name or calling undeclared function 142 : if(checkweight2(.@itms,.@qnts)){ 143 : for(.@x = 0; .@x < .@y; .@x++){ 144 : if(.Mode & 128) 145 : getitembound .@itms[.@x], .@qnts[.@x], .Bound_Mode; 146 : soundeffect "rareItem.wav",0; * 147 : 'e'lse getitem .@itms[.@x], .@qnts[.@x]; 148 : soundeffect "rareItem.wav",0; 149 : } 150 : } else { 151 : message strcharinfo(0),"[Daily Rewards]: You cannot carry the prizes, please use storage and relog."; 152 : continue; where can I put soundeffect "rareItem.wav",0; in your script for not having errors? Quote
Stolao Posted June 14, 2018 Author Posted June 14, 2018 (edited) try adding the { } when using a multi line if()else ie if(.Mode & 128){ getitembound .@itms[.@x], .@qnts[.@x], .Bound_Mode; soundeffect "rareItem.wav",0; } else getitem .@itms[.@x], .@qnts[.@x]; Edited June 14, 2018 by Stolao 1 Quote
CyberDevil Posted June 14, 2018 Posted June 14, 2018 Thanks Stolao, as always you are an exquisite and kind person! Quote
Stolao Posted August 12, 2018 Author Posted August 12, 2018 Made a short Video about the scripthttps://youtu.be/8sLt5nuv1Ek 1 1 Quote
Xiao Posted September 9, 2018 Posted September 9, 2018 He tells me Reward is available but he does not give it to me automatically. Or should I add some npc to go claim the prize? I have active revision by ip and by mac last unique id. I have gepard shield =( Quote
Stolao Posted September 11, 2018 Author Posted September 11, 2018 On 9/9/2018 at 1:36 AM, Xiao said: He tells me Reward is available but he does not give it to me automatically. Or should I add some npc to go claim the prize? I have active revision by ip and by mac last unique id. I have gepard shield =( If you have a wait you have to claim reward via commands, or giving the NPC a physical location to talk to. Quote
crossworld Posted December 19, 2018 Posted December 19, 2018 I was just testing your script on my test server and every time i log into the server i get the next days reward. It also happens when i use the @ commands it will continue to give the next days reward. I didn't modify the script in any way. Does this happen to anybody else? Quote
Eros Posted April 3, 2019 Posted April 3, 2019 On 12/20/2018 at 2:16 AM, crossworld said: I was just testing your script on my test server and every time i log into the server i get the next days reward. It also happens when i use the @ commands it will continue to give the next days reward. I didn't modify the script in any way. Does this happen to anybody else? I also experience that. Maybe Stalao can help us. Quote
Katakuri Posted November 3, 2019 Posted November 3, 2019 Anyone have got this error too? a bit weird cant get this script working lol Quote
Takuyakii Posted November 5, 2019 Posted November 5, 2019 @Stolao Hi sir, can u help me , how to make this script like every 10 days only ? and how to put npc on this script ? i found this script that has npc, but the npc are not showing, but the script are working fine Quote
Bringer Posted November 5, 2019 Posted November 5, 2019 (edited) On 11/3/2019 at 10:17 PM, Katakuri said: Anyone have got this error too? a bit weird cant get this script working lol "0,0,0,0,12281,1", Change "0,0,0,0,12281,1"; Edited November 5, 2019 by Bringer Quote
Bringer Posted November 5, 2019 Posted November 5, 2019 1 hour ago, Takuyakii said: @Stolao Hi sir, can u help me , how to make this script like every 10 days only ? and how to put npc on this script ? i found this script that has npc, but the npc are not showing, but the script are working fine setarray .Rewards$[1], "1000", // Day 1: 1000 Zeny "0,0,0,0,501,5", // Day 2: 5 Red Potion "0,0,0,0,506,5", // Day 3: 5 Green Potion "2000", // Day 4: 2000 Zeny "2000", // Day 5: 2000 Zeny "0,0,0,0,502,5", // Day 6: 5 Orange Potion "0,0,0,0,12208,1", // Day 7: 1 Battle Manual "2500", // Day 8: 2500 Zeny "2500", // Day 8: 2500 Zeny "2500", // Day 9: 2500 Zeny "0,0,0,0,503,5"; // Day 10: 5 White Potion NPC Location : https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward_v2.txt#L47 Quote
Takuyakii Posted November 5, 2019 Posted November 5, 2019 (edited) 22 minutes ago, Bringer said: setarray .Rewards$[1], "1000", // Day 1: 1000 Zeny "0,0,0,0,501,5", // Day 2: 5 Red Potion "0,0,0,0,506,5", // Day 3: 5 Green Potion "2000", // Day 4: 2000 Zeny "2000", // Day 5: 2000 Zeny "0,0,0,0,502,5", // Day 6: 5 Orange Potion "0,0,0,0,12208,1", // Day 7: 1 Battle Manual "2500", // Day 8: 2500 Zeny "2500", // Day 8: 2500 Zeny "2500", // Day 9: 2500 Zeny "0,0,0,0,503,5"; // Day 10: 5 White Potion NPC Location : https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward_v2.txt#L47 just want to ask why its double Day 8 it's just typo or ? Edited November 5, 2019 by Takuyakii Quote
Bringer Posted November 5, 2019 Posted November 5, 2019 10 minutes ago, Takuyakii said: just want to ask why its double Day 8 it's just typo or ? i think typo Quote
LearningRO Posted March 24, 2020 Posted March 24, 2020 On 12/20/2018 at 1:16 AM, crossworld said: I was just testing your script on my test server and every time i log into the server i get the next days reward. It also happens when i use the @ commands it will continue to give the next days reward. I didn't modify the script in any way. Does this happen to anybody else? hi i got this issue too its there any config i missed? Quote
funtwocrasher Posted April 3, 2020 Posted April 3, 2020 Hi! How to add @rewardlist? Also the time remaining is not working, it is showing as -102757261. Quote
Version Posted August 20, 2020 Posted August 20, 2020 (edited) How to setup the Mode? I tried (code below) still gives me item when vending.. // Basic Settings // 1: Item | 2: Points | 4: Zeny | 8: Exp // 16: Gain Buffs // 32: Show Cutins | 64: Show Next Day Cutin // 128: Item Rewards Bound // 256: No Rewards for Autotraders // (a bit value, e.g. 3 = Items & Points from Multi) .Mode = 1|32|64|128|256; Also tried adding the Modes... still giving items when vending OnInit: // Basic Settings // 1: Item | 2: Points | 4: Zeny | 8: Exp // 16: Gain Buffs // 32: Show Cutins | 64: Show Next Day Cutin // 128: Item Rewards Bound // 256: No Rewards for Autotraders // (a bit value, e.g. 3 = Items & Points from Multi) .Mode = 417; Edited August 20, 2020 by Version Quote
CenturyGothic Posted September 30, 2020 Posted September 30, 2020 (edited) Sorry for reviving the topic. I have a question please: How do you reset this for the next month rewards? EDIT: Found some issues on the script. The IP and Mac check is buggy. It still gives out the reward regardless of the condition and then it's spammable, people may claim the rewards for the entire month by just clicking the NPC or using the command repeatedly. Edited October 3, 2020 by CenturyGothic Quote
simplexjay2 Posted June 21, 2021 Posted June 21, 2021 On 1/4/2013 at 7:58 AM, Stolao said: < Stolao's Daily Login Reward > Features: Full Customization Can Set Number of Hours Between Login Prizes and Losing Consecutive Prizes make Days Weeks or even Months Can Item, Point, Exp or even Buff Rewards Includes Whisper for checking status of and collecting next rewards Includes @Command for checking status of and collecting next rewards next rewards Includes Dynamic Buff Rewards Added Cutin Support Todo: Suggestions? Optimize? Changelog: 2.00 Origional Make 2.01 Fixed Logic Bug 2.02 Fixed Year Multiplier 2.03 Added an IP check 2.04 Split Rewards up 2.05 Move ip check to Daily reward collection 2.06 Added ability to see next day via commands/relogging 2.07 Added Delay 2.08 Moved Delay to none VIP only 2.09 Removed some useless lines 2.0A Removed Menus due to bugs 2.0B Fixed VIP Cutin 2.0C Added it showing previos day cutin 2.0D Added a for loop 2.0E Fixed Ramined logged in time calculation (visual bug) 2.0F Added a F_InsertPlural to "more minute" 2.10 Added a Mac Check 2.11 Changed the IP check to [Sader1992] version 2.12 Enable Bound Type 2.13 Added 'collectreward', 'dailyreward', 'collectdaily' Commands 2.14 Added 'nextreward' Command 2.15 Added Daily Buffs 2.16 Added Exp Rewards 2.17 Removed Reards for Autotraders 2.18 Move Buffs to Daily so VIP wont trigger twice 2.19 Optimized Slightly 2.1A Fixed a bug with VIP getting bonus rewards in normal rewards 2.1B Fixed some documentaion Links: Latest Short Video on how it works Reveal hidden contents https://youtu.be/8sLt5nuv1Ek Buggy can take item multiple times Quote
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.