Dev Blaze Posted November 13, 2016 Posted November 13, 2016 thanks Amazing script, thumbsUP for the release. [v1.7B] Quote
rakuzas Posted November 28, 2016 Posted November 28, 2016 (edited) Tested.. Working.. But.. When I set // Number of times same IP can recive rewards // 0 = unlimited .IPCheck = 1; The scripts not working.. It will run this line : if(.IPCheck){ query_sql("SELECT last_ip FROM `login` WHERE account_id = "+getcharid(3)+"", .@LastIp$); query_sql("SELECT account_id FROM `login` WHERE last_ip = '"+.@LastIp$+"'", .@AccountId); if(getarraysize(.@AccountId) > .IPCheck){ message strcharinfo(0),"[Daily Rewards]: rewards are limited to "+.IPCheck+" per IP sorry."; end; } } If set to 0 (unlimited), the script will running smoothly again.. And also, are there any command or something to view the cutin of that day rewards? Edited November 28, 2016 by rakuzas Quote
mrlongshen Posted December 22, 2016 Posted December 22, 2016 Where can I get the old version ? I want to run in to hercules. thanks. Quote
Stolao Posted December 22, 2016 Author Posted December 22, 2016 5 hours ago, mrlongshen said: Where can I get the old version ? I want to run in to hercules. thanks. On my git just pull an old version. Also current version should work for most part on herc should just need a few tweaks. Quote
mrlongshen Posted December 23, 2016 Posted December 23, 2016 14 hours ago, Stolao said: On my git just pull an old version. Also current version should work for most part on herc should just need a few tweaks. ok thanks. Currently I run the old version of hercules. Quote
Haikenz Posted January 22, 2017 Posted January 22, 2017 I am using the latest version of your script in the emulator brAthena = Hercules, and this error is appearing Quote
Stolao Posted January 29, 2017 Author Posted January 29, 2017 On 1/22/2017 at 9:34 AM, Haikenz said: I am using the latest version of your script in the emulator brAthena = Hercules, and this error is appearing Personally I only support rAthena if you want to use another emulator I can not garentee it will work. Quote
rakuzas Posted February 2, 2017 Posted February 2, 2017 @Stolao Hello, I want to report.. Or asking.. I use your script and set 28 days daily rewards.. But last time.. My player including myself have crappy time left.. So I updated into your latest git.. But somehow.. When player already received the rewards.. and check, they got 30 days left.. Which supposed about 23++ hours.. May I know whats wrong? I not touch anything besides the rewards from day 1 till 28 and daily buff from day 1 till 28.. Thank you.. Quote
daromski02 Posted March 1, 2017 Posted March 1, 2017 i got the same problem too @rakuzas, help.. Quote
Stolao Posted April 20, 2017 Author Posted April 20, 2017 On 2/1/2017 at 6:56 PM, rakuzas said: @Stolao Hello, I want to report.. Or asking.. I use your script and set 28 days daily rewards.. But last time.. My player including myself have crappy time left.. So I updated into your latest git.. But somehow.. When player already received the rewards.. and check, they got 30 days left.. Which supposed about 23++ hours.. May I know whats wrong? I not touch anything besides the rewards from day 1 till 28 and daily buff from day 1 till 28.. Thank you.. On 2/28/2017 at 5:21 PM, daromski02 said: i got the same problem too @rakuzas, help.. post your conf if you want support, also i just updated again 1 Quote
hadie Posted May 23, 2017 Posted May 23, 2017 how to make it must 3hours login will get daily reward? Quote
TiMz Posted July 30, 2017 Posted July 30, 2017 @Stolao Odd thing here. Rewards keep resetting to day 1. The furthest I've gone was day 3 out of 14. No console errors too. Quote
jasonch Posted August 15, 2017 Posted August 15, 2017 (edited) @Stolao Hello sir! Great script! Questions: Does this affects all characters even in the same account? I kinda like to have it 1 char per account. And what happens if the character logged in the 1st day, missed 2nd day, then logs in the 3rd day? My ability in scripting is kinda minimal, so its hard for me to read the script.teehee. Thank you sir! Edited August 15, 2017 by jasonch Quote
Stolao Posted August 15, 2017 Author Posted August 15, 2017 3 hours ago, jasonch said: @Stolao Hello sir! Great script! Questions: Does this affects all characters even in the same account? I kinda like to have it 1 char per account. And what happens if the character logged in the 1st day, missed 2nd day, then logs in the 3rd day? My ability in scripting is kinda minimal, so its hard for me to read the script.teehee. Thank you sir! It's setup for the entire account but just need to change very little to change that. I have it with 2 configurable settings 1) you skip day 2 on day 3 you continue from day 2 2) you skip day 2 on day 3 you start back at day 1 again 1 Quote
jasonch Posted August 15, 2017 Posted August 15, 2017 Just now, Stolao said: It's setup for the entire account but just need to change very little to change that. I have it with 2 configurable settings 1) you skip day 2 on day 3 you continue from day 2 2) you skip day 2 on day 3 you start back at day 1 again Ohh okay got it. Thank you again for the great script @Stolao! Quote
TiMz Posted August 16, 2017 Posted August 16, 2017 9 hours ago, Stolao said: It's setup for the entire account but just need to change very little to change that. I'm experiencing problems with the script. It usually works in the beginning then after a few days suddenly stops giving rewards to everyone. Quote
THPO Posted August 16, 2017 Posted August 16, 2017 (edited) @Stolao Hi bro, I'm currently trying your Script on Hercules and trying to make it work just wanted to ask whats the use of this line: OnLoginCmnd: Sorry I got it xD my mistake for not checking the whole script. I'll just check why it's getting a "script_rid2sd: fatal error" on hercules. Thanks for this release Edited August 16, 2017 by THPO Quote
TemplarOfTheMist Posted September 13, 2017 Posted September 13, 2017 Hey Staolao Thank you for the script! is there a way we can set it to reset every 12 AM regardless of cool down. I'd like players to just wait til 12 am and not wait 24 hours at all Thanks! Quote
Stolao Posted September 14, 2017 Author Posted September 14, 2017 20 hours ago, Mickosis said: Hey Staolao Thank you for the script! is there a way we can set it to reset every 12 AM regardless of cool down. I'd like players to just wait til 12 am and not wait 24 hours at all Thanks! yes of course just get the date and compare to reward date, will involve changing the formula of .@i removing the hours and minutes in it. Quote
TemplarOfTheMist Posted September 14, 2017 Posted September 14, 2017 2 hours ago, Stolao said: yes of course just get the date and compare to reward date, will involve changing the formula of .@i removing the hours and minutes in it. Thank you for your reply. Can you make a quick edit for it? I am not familiar with the flow of the code thank you in advance Quote
Stolao Posted October 17, 2017 Author Posted October 17, 2017 (edited) 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 Edited October 17, 2017 by Stolao 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.