Checkmate Posted November 4, 2017 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Share 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 Link to comment Share on other sites More sharing options...
Stolao Posted November 4, 2017 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 13 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
Checkmate Posted November 4, 2017 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Share 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 Link to comment Share on other sites More sharing options...
CyberDevil Posted June 8, 2018 Group: Members Topic Count: 40 Topics Per Day: 0.02 Content Count: 242 Reputation: 37 Joined: 02/25/18 Last Seen: December 2, 2024 Share 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 Link to comment Share on other sites More sharing options...
Stolao Posted June 8, 2018 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 13 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
CyberDevil Posted June 13, 2018 Group: Members Topic Count: 40 Topics Per Day: 0.02 Content Count: 242 Reputation: 37 Joined: 02/25/18 Last Seen: December 2, 2024 Share 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 Link to comment Share on other sites More sharing options...
Stolao Posted June 14, 2018 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 13 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
CyberDevil Posted June 14, 2018 Group: Members Topic Count: 40 Topics Per Day: 0.02 Content Count: 242 Reputation: 37 Joined: 02/25/18 Last Seen: December 2, 2024 Share Posted June 14, 2018 Thanks Stolao, as always you are an exquisite and kind person! Quote Link to comment Share on other sites More sharing options...
Stolao Posted August 12, 2018 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 13 hours ago Author Share Posted August 12, 2018 Made a short Video about the scripthttps://youtu.be/8sLt5nuv1Ek 1 1 Quote Link to comment Share on other sites More sharing options...
Xiao Posted September 9, 2018 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 65 Reputation: 0 Joined: 12/10/14 Last Seen: Yesterday at 09:54 AM Share 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 Link to comment Share on other sites More sharing options...
Stolao Posted September 11, 2018 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 13 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
crossworld Posted December 19, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 16 Reputation: 3 Joined: 12/10/18 Last Seen: February 24, 2019 Share 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 Link to comment Share on other sites More sharing options...
Eros Posted April 3, 2019 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share 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 Link to comment Share on other sites More sharing options...
ittiphol Posted June 19, 2019 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted June 19, 2019 Daily Login Reward Quote Link to comment Share on other sites More sharing options...
Katakuri Posted November 3, 2019 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 110 Reputation: 57 Joined: 05/29/18 Last Seen: 5 hours ago Share Posted November 3, 2019 Anyone have got this error too? a bit weird cant get this script working lol Quote Link to comment Share on other sites More sharing options...
Takuyakii Posted November 5, 2019 Group: Members Topic Count: 41 Topics Per Day: 0.02 Content Count: 215 Reputation: 11 Joined: 08/30/19 Last Seen: March 6 Share 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 Link to comment Share on other sites More sharing options...
Bringer Posted November 5, 2019 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Yesterday at 09:17 AM Share 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 Link to comment Share on other sites More sharing options...
Bringer Posted November 5, 2019 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Yesterday at 09:17 AM Share 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 Link to comment Share on other sites More sharing options...
Takuyakii Posted November 5, 2019 Group: Members Topic Count: 41 Topics Per Day: 0.02 Content Count: 215 Reputation: 11 Joined: 08/30/19 Last Seen: March 6 Share 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 Link to comment Share on other sites More sharing options...
Bringer Posted November 5, 2019 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Yesterday at 09:17 AM Share 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 Link to comment Share on other sites More sharing options...
LearningRO Posted March 24, 2020 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 72 Joined: 02/10/12 Last Seen: Yesterday at 08:29 AM Share 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 Link to comment Share on other sites More sharing options...
funtwocrasher Posted April 3, 2020 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 143 Reputation: 4 Joined: 06/17/12 Last Seen: August 6, 2024 Share Posted April 3, 2020 Hi! How to add @rewardlist? Also the time remaining is not working, it is showing as -102757261. Quote Link to comment Share on other sites More sharing options...
Version Posted August 20, 2020 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 06/08/20 Last Seen: October 30, 2021 Share 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 Link to comment Share on other sites More sharing options...
CenturyGothic Posted September 30, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 37 Reputation: 0 Joined: 09/26/19 Last Seen: December 7, 2022 Share 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 Link to comment Share on other sites More sharing options...
simplexjay2 Posted June 21, 2021 Group: Members Topic Count: 56 Topics Per Day: 0.01 Content Count: 224 Reputation: 4 Joined: 02/09/12 Last Seen: April 20, 2024 Share 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 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.