Jump to content

Azirike

Members
  • Content Count

    15
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Azirike

  • Rank
    Poring

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello everyone, Hopefully someone will be able to help me out. When enabling this on Stolao Daily Login script version 2.1C: // Ip check to prevent multi accounts // Toggle // [0] = Off // [1] = On .IPCheck = 1; // Unique ID check to prevent multi accounts // Toggle // [0] = Off // [1] = On .MacCheck = 1; Which should trigger: if([email protected]) explode([email protected]$,.VIPRewards$[#VIPRewardCon + 1],","); else { if(.IPCheck){ query_sql("SELECT account_id FROM `login` WHERE last_ip = '"+getcharip()+"'", [email protected]); [email protected] = getarraysize([email protected]); for([email protected]=0; [email protected] < [email protected]; [email protected]++){ query_sql("SELECT `value` FROM `acc_reg_num` WHERE `account_id` = '"[email protected][[email protected]]+"' AND `key` = '#LastDailyReward'",[email protected]); if([email protected] <= [email protected]){ message strcharinfo(0),"[Daily Rewards]: Rewards are limited to 1 per IP sorry."; continue; } } } if(.MacCheck){ query_sql("SELECT last_unique_id FROM `login` WHERE account_id = "+getcharid(3)+"", [email protected]_unique_id$); query_sql("SELECT account_id FROM `login` WHERE last_unique_id = '"[email protected]_unique_id$+"'", [email protected]); [email protected] = getarraysize([email protected]); for([email protected]=0; [email protected] < [email protected]; [email protected]++){ query_sql("SELECT `value` FROM `acc_reg_num` WHERE `account_id` = '"[email protected][[email protected]]+"' AND `key` = '#LastDailyReward'",[email protected]); if([email protected] <= [email protected]){ message strcharinfo(0),"[Daily Rewards]: Rewards are limited to 1 per computer sorry."; continue; } } } Nothing happens, I can still receive rewards on multiple accounts using the same IP and Mac Adress. I tried to disable: //OnPCLoginEvent: if([email protected]) @logintime = gettime(DT_YEAR) * 60 * 24 * 365 + gettime(DT_DAYOFYEAR) * 60 * 24 + gettime(DT_HOUR) * 60 + gettime(DT_MINUTE); So it only uses @collectreward: OnLoginCmnd: [email protected] = gettime(DT_YEAR) * 12 * 31 + gettime(DT_MONTH) * 31 + gettime(DT_DAYOFMONTH); if(.Reset && [email protected] > #LastDailyReward + 1) #DRewardCon = 0; if(.Reset && [email protected] > #LastVIPReward + 1) #VIPRewardCon = 0; [email protected] = getarraysize(.VIPRewards$); [email protected] = getarraysize(.Rewards$); if(#DRewardCon >= [email protected] && #VIPRewardCon >= [email protected]){ #LastDailyReward = [email protected]; #LastVIPReward = [email protected]; end; } But I can still receive the daily reward on multiple accounts. If anyone could help me out it would be really appreciated, here's the full script: //===== EinherjarRO Scripts ================================== //= Requested //===== By: ================================================== //= Stolao //===== Current Version: ===================================== //= 2.1C //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= A reward system for players who play more frequently //===== Todo ================================================= //= Make Logging out then it continue count //===== Additional Comments: ================================= //= 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 //= 2.1C Fixed extra '[' //===== Contact Info: ======================================== //= [Stolao] //= Email: [email protected] //============================================================ prontera,5,5,5 script LOGIN 111,{ //OnPCLoginEvent: if([email protected]) @logintime = gettime(DT_YEAR) * 60 * 24 * 365 + gettime(DT_DAYOFYEAR) * 60 * 24 + gettime(DT_HOUR) * 60 + gettime(DT_MINUTE); OnLoginCmnd: [email protected] = gettime(DT_YEAR) * 12 * 31 + gettime(DT_MONTH) * 31 + gettime(DT_DAYOFMONTH); if(.Reset && [email protected] > #LastDailyReward + 1) #DRewardCon = 0; if(.Reset && [email protected] > #LastVIPReward + 1) #VIPRewardCon = 0; [email protected] = getarraysize(.VIPRewards$); [email protected] = getarraysize(.Rewards$); if(#DRewardCon >= [email protected] && #VIPRewardCon >= [email protected]){ #LastDailyReward = [email protected]; #LastVIPReward = [email protected]; end; } sleep2 1000; for([email protected] = 0; [email protected] < 2; [email protected]++){ if([email protected]){ if(!vip_status(VIP_STATUS_ACTIVE) && .VIPRewards$[#VIPRewardCon + 1] != ""){ //message strcharinfo(0),"[Daily Rewards]: Become a VIP for more rewards."; continue; } else if(#VIPRewardCon >= [email protected]){ message strcharinfo(0),"[Daily Rewards]: No more VIP rewards remaining this month."; continue; } else if([email protected] <= #LastVIPReward){ message strcharinfo(0),"[Daily Rewards]: VIP Rewards already collected today"; continue; } } else { if(#DRewardCon >= [email protected]){ message strcharinfo(0),"[Daily Rewards]: No more rewards remaining this month."; continue; } else if([email protected] <= #LastDailyReward){ message strcharinfo(0),"[Daily Rewards]: Rewards already collected today."; continue; } } if([email protected]) explode([email protected]$,.VIPRewards$[#VIPRewardCon + 1],","); else { if(.IPCheck){ query_sql("SELECT account_id FROM `login` WHERE last_ip = '"+getcharip()+"'", [email protected]); [email protected] = getarraysize([email protected]); for([email protected]=0; [email protected] < [email protected]; [email protected]++){ query_sql("SELECT `value` FROM `acc_reg_num` WHERE `account_id` = '"[email protected][[email protected]]+"' AND `key` = '#LastDailyReward'",[email protected]); if([email protected] <= [email protected]){ message strcharinfo(0),"[Daily Rewards]: Rewards are limited to 1 per IP, sorry."; continue; } } } if(.MacCheck){ query_sql("SELECT last_unique_id FROM `login` WHERE account_id = "+getcharid(3)+"", [email protected]_unique_id$); query_sql("SELECT account_id FROM `login` WHERE last_unique_id = '"[email protected]_unique_id$+"'", [email protected]); [email protected] = getarraysize([email protected]); for([email protected]=0; [email protected] < [email protected]; [email protected]++){ query_sql("SELECT `value` FROM `acc_reg_num` WHERE `account_id` = '"[email protected][[email protected]]+"' AND `key` = '#LastDailyReward'",[email protected]); if([email protected] <= [email protected]){ message strcharinfo(0),"[Daily Rewards]: Rewards are limited to 1 per computer, sorry."; continue; } } } if(.Rest){ [email protected] = gettime(DT_YEAR) * 60 * 24 * 365 + gettime(DT_DAYOFYEAR) * 60 * 24 + gettime(DT_HOUR) * 60 + gettime(DT_MINUTE); if([email protected] < @logintime + .Rest){ [email protected] = @logintime + .Rest - [email protected]; message strcharinfo(0),"[Daily Rewards]: to collect your reward, you must remain logged in for "+callfunc("F_InsertPlural",[email protected],"more minute")+"."; continue; } } deletearray [email protected]$[0],getarraysize([email protected]$); [email protected] = #DRewardCon + 1; explode([email protected]$,.Rewards$[[email protected]],","); } if(checkvending() & 2 && .Mode & 256){ message strcharinfo(0),"[Daily Rewards]: Venders cannot receive rewards."; end; } [email protected] = getarraysize([email protected]$); deletearray [email protected][0],getarraysize([email protected]); deletearray [email protected][0],getarraysize([email protected]); deletearray [email protected][0],getarraysize([email protected]); for([email protected] = y = 0; [email protected] < [email protected]; [email protected]++) [email protected][[email protected]] = atoi([email protected]$[[email protected]]); if(.Mode & 1 && ([email protected][4] > 0 || [email protected][4] > 0)){ [email protected] = getarraysize([email protected]); for([email protected] = 4; [email protected] <= [email protected] - 1 ; [email protected] += 2){ [email protected][[email protected]] = [email protected][[email protected]]; [email protected][[email protected]] = [email protected][[email protected] + 1]; [email protected]++; } if(checkweight2([email protected],[email protected])){ for([email protected] = 0; [email protected] < [email protected]; [email protected]++){ if(.Mode & 128) getitembound [email protected][[email protected]], [email protected][[email protected]], .Bound_Mode; else getitem [email protected][[email protected]], [email protected][[email protected]]; } } else { message strcharinfo(0),"[Daily Rewards]: You cannot carry the prizes, please use your storage and relog."; continue; } } if(.Mode & 2 && ([email protected][1])){ #Loyalty += [email protected][1]; message strcharinfo(0),"[Daily Rewards]: Recieved "+ [email protected][1] +" "+.Points$; } if(.Mode & 4 && ([email protected][0])){ zeny += [email protected][0]; message strcharinfo(0),"[Daily Rewards]: Recieved "+ [email protected][0] +"z"; } if(.Mode & 8 && ([email protected][3] || [email protected][4])) getexp [email protected][3], [email protected][4]; if([email protected]){ if(.Mode & 32) cutin .VIPCutins$[#VIPRewardCon],4; #VIPRewardCon++; #LastVIPReward = [email protected]; sleep2 1000; if(.Mode & 64) cutin .VIPCutins$[#VIPRewardCon],4; message strcharinfo(0),"[Daily Rewards]: You have collected your VIP rewards for today"; // "+callfunc("F_InsertPlural",#VIPRewardCon,"day")+" this month."; } else { if(.Mode & 16){ [email protected] = getarraysize(.BuffInfo); for([email protected] = 0; [email protected] < [email protected]; [email protected] += 4){ if([email protected] == .BuffInfo[[email protected] + 1]) sc_start .BuffInfo[[email protected]], .BuffInfo[[email protected] + 2] * 60000, .BuffInfo[[email protected] + 3]; } } if(.Mode & 32) cutin .Cutins$[#DRewardCon],4; #DRewardCon++; #LastDailyReward = [email protected]; sleep2 1000; if(.Mode & 64) cutin .Cutins$[#DRewardCon],4; message strcharinfo(0),"[Daily Rewards]: You have collected your daily rewards for today"; announce ""+strcharinfo(0)+", you have collected your daily rewards for today, check it out!",bc_self; //"+callfunc("F_InsertPlural",#DRewardCon,"day")+" this month."; } if(.Mode & 32 || .Mode & 64){ sleep2 15000; cutin "",255; } } end; OnNextCmnd: [email protected] = gettime(DT_YEAR) * 60 * 24 * 365 + gettime(DT_DAYOFYEAR) * 60 * 24 + gettime(DT_HOUR) * 60 + gettime(DT_MINUTE); if([email protected] >= @logintime + .Rest){ message strcharinfo(0),"[Daily Rewards]: your next reward is available."; } else { [email protected] = gettime(DT_YEAR) * 12 * 31 + gettime(DT_MONTH) * 31 + gettime(DT_DAYOFMONTH); if([email protected] <= #LastDailyReward) message strcharinfo(0),"[Daily Rewards]: Your next reward will be available tomorrow."; else { [email protected] = ([email protected] >= @logintime + .Rest) / 60 / 24; [email protected] = (([email protected] >= @logintime + .Rest) / 60) % 24; [email protected] = ([email protected] >= @logintime + .Rest) % 60; message strcharinfo(0),"[Daily Rewards]: You have "+ (([email protected]) ? [email protected] +" Days " : "") + (([email protected]) ? [email protected] +" Hours " : "") + (([email protected]) ? [email protected] +" Minutes " : "") +"till your next reward."; } if(.Mode & 32 || .Mode & 64){ if([email protected] >= getarraysize(.Rewards$)) [email protected] = 0; else [email protected] = #DRewardCon + 1; cutin .Cutins$[[email protected]],4; } } end; OnDailyCmnd: cutin .Cutins$[#DRewardCon],4; OnHour00: if(gettime(DT_DAYOFMONTH) == 1){ query_sql("DELETE FROM `acc_reg_num` WHERE `key` = '#DRewardCon' OR `key` = '#VIPRewardCon' OR `key` = '#LastVIPReward' OR `key` = '#LastDailyReward'"); addrid(0); #DRewardCon = #VIPRewardCon = #LastVIPReward = #LastDailyReward = 0; } end; 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 = 1|4|16|32|64|128|256; // Item Binding Mode // Bound_Account : Account Bound item // Bound_Guild : Guild Bound item // Bound_Party : Party Bound item // Bound_Char : Character Bound item .Bound_Mode = Bound_Account; // To disable the command '@loginreward' comment the next lines // * Needs extra commands for typos bindatcmd("relog","LOGIN::OnLoginCmnd",0,99); bindatcmd("collectreward",strnpcinfo(3)+"::OnLoginCmnd",0,99); bindatcmd("dailyreward",strnpcinfo(3)+"::OnLoginCmnd",0,99); bindatcmd("collectdaily",strnpcinfo(3)+"::OnLoginCmnd",0,99); bindatcmd("nextreward",strnpcinfo(3)+"::OnNextCmnd",0,99); bindatcmd("dailylogin",strnpcinfo(3)+"::OnDailyCmnd",0,99); // Reset days back to 0 on a skipped day. // Toggle // [0] = Off // [1] = On .Reset = 1; // .Rest // Delay after login to collect rewards // In Minutes .Rest = 0; // Point Name .Points$ = "Loyalty Points"; // Ip check to prevent multi accounts // Toggle // [0] = Off // [1] = On .IPCheck = 1; // Unique ID check to prevent multi accounts // Toggle // [0] = Off // [1] = On .MacCheck = 1; // Consecutive Days Buff // Each buff contains 4 variables // <Type>,<Days>,<Duration>,<Rate>, // Buff 1 // <Type>,<Days>,<Duration>,<Rate>, // Buff 2 // ...; // // Example: 188,7,45,3 // -On the 7th day logged in Player gains +3 Str for 45 mins // // Type is 188, which references which SC_ to use, SC_INCSTR in this example // -For a full list of SC_ visit the db/const.txt // Days is days buff is applied, in this example 7, so every 7th day, 14,21,28.... // Duration is buff duration is Minuits, in this example 45 mins // Rate is buff val1, in this example player gains 3 Str setarray .BuffInfo ,260,2,30,1 // Life Insurance for 30 on 2nd Day ,198,3,30,5 // +5% Hp for 30 Mins on 3rd Day ,260,4,60,1 // Life Insurance for 60 on 4th Day ,196,5,30,5 // +5 Flee for 30 Mins on 5th Day ,198,6,30,10 // +10% Hp for 30 Mins on 6th Day ,257,7,60,10 // +10% Exp for 60 Mins on 7th Day ,260,8,120,1 // Life Insurance for 120 on 8th Day ,198,9,60,10 // +10% Hp for 60 Mins on 9th Day ,196,10,60,10 // +10 Flee for 60 Mins on 10th Day ,198,12,120,10 // +10% Hp for 120 Mins on 12th Day ,257,14,240,20 // +20% Exp for 120 Mins on 14th Day ,196,15,120,10 // +10 Flee for 120 Mins on 15th Day ,260,16,360,1 // Life Insurance for 360 on 16th Day ,198,18,120,10 // +10% Hp for 120 Mins on 18th Day ,196,20,120,10 // +10 Flee for 360 Mins on 20th Day ,257,21,240,25 // +25% Exp for 120 Mins on 21st Day ,260,22,360,1 // Life Insurance for 360 on 22nd Day ,198,24,120,10 // +10% Hp for 120 Mins on 24th Day ,196,25,120,25 // +25 Flee for 120 Mins on 25th Day ,260,26,360,1 // Life Insurance for 360 on 26th Day ,198,27,120,10 // +10% Hp for 120 Mins on 27th Day ,257,28,240,50 // +50% Exp for 240 Mins on 28th Day ,196,30,120,20; // +20 Flee for 120 Mins on 30th Day // Daily Prize items: // "<Zeny>,<Points>,<BaseExp>,<JobExp>,<itemID-1>,<amount-1>,<itemID-2>,<amount-2>...etc", // Day 1 // "<Zeny>,<Points>,<BaseExp>,<JobExp>,<itemID-1>,<amount-1>,<itemID-2>,<amount-2>...etc" // Day 2 // ...; // Total length of any days string must be 255 or shorter setarray .Rewards$[1], "0,0,0,0,7059,5", // Day 1: 5 Free Ticket for Kafra Storage "0,0,0,0,7060,5", // Day 2: 5 Free Ticket for Kafra Transportation "0,0,0,0,12016,3", // Day 3: 3 Speed Potion "0,0,0,0,12216,5", // Day 4: 5 LV10 Agi Scroll "0,0,0,0,12215,5", // Day 5: 5 LV10 Bless Scroll "0,0,0,0,12211,5", // Day 6: 3 Kafra Card "0,0,0,0,7539,20", // Day 7: ######### 20 Poring Coin ########## "0,0,0,0,504,75", // Day 8: 75 White Potions "0,0,0,0,505,50", // Day 9: 50 Blue Potions "0,0,0,0,12208,1", // Day 10: 1 Battle Manual "0,0,0,0,14592,1", // Day 11: 1 JOB Battle Manual "0,0,0,0,12411,1", // Day 12: 1 HE Battle Manual "0,0,0,0,12210,1", // Day 13: 1 Bubble Gum "0,0,0,0,7539,40", // Day 14: ######### 40 Poring Coin ########## "0,0,0,0,12209,3", // Day 15: 3 Life Insurance "0,0,0,0,12214,2", // Day 16: 2 Convex Mirror "0,0,0,0,12103,1", // Day 17: 1 Bloody Branch "0,0,0,0,7620,1", // Day 18: 1 Enriched Oridecon "0,0,0,0,7619,1", // Day 19: 1 Enriched Eluminium "0,0,0,0,14003,3", // Day 20: 3 Elite Siege Supply Box "0,0,0,0,601,1", // Day 21: ######### 1 Random Costume Box ########## "0,0,0,0,6286,1", // Day 22: 1 Gym Pass "0,0,0,0,12535,1", // Day 23: 1 Yggdrasil Berry "0,0,0,0,12817,3", // Day 24: 3 Old Card Album "0,0,0,0,7621,10", // Day 25: 10 Token of Ziegfried "0,0,0,0,12261,2", // Day 26: 2 Miracle Medicine "0,0,0,0,601,1", // Day 27: ######### 1 Random Costume Box ########## "0,0,0,0,23382,1"; // Day 28: ######### 1 Random Box ########## // VIP Prize items: // "<Zeny>,<Points>,<BaseExp>,<JobExp>,<itemID-1>,<amount-1>,<itemID-2>,<amount-2>...etc", // Day 1 // "<Zeny>,<Points>,<BaseExp>,<JobExp>,<itemID-1>,<amount-1>,<itemID-2>,<amount-2>...etc" // Day 2 // ...; // Total length of any days string must be 255 or shorter // // Note VIPs Collect both VIP and Normal Player rewards setarray .VIPRewards$[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 "2500", // Day 11: 2500 Zeny "2500", // Day 12: 2500 Zeny "2500", // Day 13: 2500 Zeny "0,0,0,0,503,5,506,3", // Day 14: 5 White Potion + 3 Green Potion "2500", // Day 15: 2500 Zeny "2500", // Day 16: 2500 Zeny "2500", // Day 17: 2500 Zeny "0,0,0,0,503,5,506,3", // Day 18: 5 White Potion + 3 Green Potion "2500", // Day 19: 2500 Zeny "2500", // Day 20: 2500 Zeny "0,0,0,0,604,3", // Day 21: 1 Dead Branch "2500", // Day 22: 2500 Zeny "0,0,0,0,503,5,506,3", // Day 23: 5 White Potion + 3 Green Potion "2500", // Day 24: 2500 Zeny "2500", // Day 25: 2500 Zeny "0,0,0,0,503,5,506,3", // Day 26: 5 White Potion + 3 Green Potion "2500", // Day 27: 2500 Zeny "2500"; // Day 28: 2500 Zeny // Cutin Array // Shows a cutin before collecting for each date // Start at 0 if showing next day setarray .Cutins$, "Daily_00", //pic with day1 highlighted "Daily_01", //pic with day1 highlighted "Daily_02", //pic with day2 highlighted "Daily_03", //pic with day3 highlighted "Daily_04", //pic with day4 highlighted "Daily_05", //pic with day5 highlighted "Daily_06", //pic with day6 highlighted "Daily_07", //pic with day7 highlighted "Daily_08", //pic with day8 highlighted "Daily_09", //pic with day8 highlighted "Daily_10", //pic with day8 highlighted "Daily_11", //pic with day8 highlighted "Daily_12", //pic with day8 highlighted "Daily_13", //pic with day8 highlighted "Daily_14", //pic with day8 highlighted "Daily_15", //pic with day8 highlighted "Daily_16", //pic with day8 highlighted "Daily_17", //pic with day8 highlighted "Daily_18", //pic with day8 highlighted "Daily_19", //pic with day8 highlighted "Daily_20", //pic with day8 highlighted "Daily_21", //pic with day8 highlighted "Daily_22", //pic with day8 highlighted "Daily_23", //pic with day8 highlighted "Daily_24", //pic with day8 highlighted "Daily_25", //pic with day8 highlighted "Daily_26", //pic with day8 highlighted "Daily_27", //pic with day8 highlighted "Daily_28"; //pic with day8 highlighted // Cutin Array // Shows a cutin on collecting for each date setarray .VIPCutins$, "kafra_01", "kafra_02", "kafra_03", "kafra_04", "kafra_05", "kafra_06", "kafra_07", "kafra_01", "kafra_02", "kafra_03", "kafra_04", "kafra_05", "kafra_06", "kafra_07", "kafra_01", "kafra_02", "kafra_03", "kafra_04", "kafra_05", "kafra_06", "kafra_07", "kafra_08", "kafra_01", "kafra_02", "kafra_03", "kafra_04", "kafra_05", "kafra_06", "kafra_07", "kafra_08", "kafra_09", "kafra_01", "kafra_02", "kafra_03"; end; } Kind regards, ADec Edit: I successfully fixed the script with: if([email protected]) explode([email protected]$,.VIPRewards$[#VIPRewardCon + 1],","); else { if(.IPCheck == 1){ query_sql("SELECT account_id FROM `login` WHERE `last_ip` = '"+getcharip()+"'", [email protected]); [email protected] = getarraysize([email protected]); for([email protected]=0; [email protected] < [email protected]; [email protected]++){ query_sql("SELECT `value` FROM `acc_reg_num` WHERE `account_id` = '"[email protected][[email protected]]+"' AND `key` = '#LastDailyReward'",[email protected]); if([email protected] <= [email protected]){ message strcharinfo(0),"[Daily Rewards]: Rewards are limited to 1 per IP, sorry."; end; } if([email protected] == 0){ query_logsql("INSERT INTO `sader_variables_log` (`unique_id`,`ip`,`variable`,`index`,`value`, `account_id`, `char_id`, `char_name`) VALUES ('"[email protected]_last_unique_id$+"', '"+getcharip()+"', '#LastDailyReward', '0', '"+#LastDailyReward+"', '"+getcharid(3)+"', '"+getcharid(0)+"', '"+strcharinfo(0)+"')"); } query_logsql("Update `sader_variables_log` SET `value` = '"+#LastDailyReward+"' WHERE `ip`= '"+getcharip()+"' AND `variable` = '#LastDailyReward'"); continue; } } if(.MacCheck == 1){ query_sql("SELECT last_unique_id FROM `login` WHERE `account_id` = "+getcharid(3)+"", [email protected]_unique_id$); query_sql("SELECT account_id FROM `login` WHERE last_unique_id = '"[email protected]_unique_id$+"'", [email protected]); [email protected] = getarraysize([email protected]); for([email protected]=0; [email protected] < [email protected]; [email protected]++){ query_sql("SELECT `value` FROM `acc_reg_num` WHERE `account_id` = '"[email protected][[email protected]]+"' AND `key` = '#LastDailyReward'",[email protected]); if([email protected] <= [email protected]){ message strcharinfo(0),"[Daily Rewards]: Rewards are limited to 1 per computer, sorry."; end; } if([email protected] == 0){ query_logsql("INSERT INTO `sader_variables_log` (`unique_id`,`ip`,`variable`,`index`,`value`, `account_id`, `char_id`, `char_name`) VALUES ('"[email protected]_last_unique_id$+"', '"+getcharip()+"', '#LastDailyReward', '0', '"+#LastDailyReward+"', '"+getcharid(3)+"', '"+getcharid(0)+"', '"+strcharinfo(0)+"')"); } query_logsql("Update `sader_variables_log` SET `value` = '"+#LastDailyReward+"' WHERE `unique_id`= '"[email protected]_last_unique_id$+"' AND `variable` = '#LastDailyReward'"); continue; } }
  2. Azirike

    HiwaRO

    New international 5/5/3 Pre-Re Classic Trans Server! Our Open Beta will start on March 6, 2021 at 2PM PST https://hiwa-ro.com https://facebook.com/hiwaroserver https://discord.gg/XfVjXNzyeZ HiwaRO is solely being built off the passion for the game. If you've been looking for a server where P2W is totally eradicated, well look no further, you finally found it! We want everyone to be able to enjoy this classic MMORPG like we used to back in the good old days where it was all about the sense of community and enjoying the timeless atmosphere of this enchanting game. We've been developing and testing this project for a while now. Our goal is to absolutely make this server as stable as it possibly can be. Our team is very experienced and each and every member are on the same page. We all do this because we love to work as a unity on this game we enjoyed for so many years as players. Hopefully you'll join our Discord channel for more information and news about the development process!
  3. Azirike

    HiwaRO

    Hi everyone, HiwaRO has started its advertising, which means that players have already started to join our Discord and Facebook communities. That's why we decided to start the hiring process for a total of 3 "Community Moderators". One of your most important task would be to moderate the Discord channels by warning players and contact the "Admins" with solid evidences if you think a player is in fault and would deserve to be banned. We already have a "Point System" in place that will allow us to keep track of the players with bad behaviors. Lets resume the tasks: Moderate the Discord and Facebook communities Welcome new players Support the players by answering as many questions as you possibly can when asked on our comminity platforms - (Don't hesitate to contact the Admins if you don't have the adequate answers.) We will maintain our "FAQ Page" to make sure the "Community Moderators" have canned answers that they can provide to the players. If you're interested use the following to contact us: Write us an email at [email protected] Contact me on Discord (Recommended) ADec#3284
  4. Hi, I've been testing your FluxCP and so far it works really well! I was wondering if you intend of modifying the password reset? If you ever consider it, it would be nice if players could choose to create their own new password instead of having a new one created for them. I already know some players will complain about it haha. But don't see my suggestion as a negative one, you did a really good job and I appreciate your efforts! Thank you, Xan.
  5. Awesome, as you said there's so many people that have been requesting this! I'm glad there's still people like you working on maintaining some of the most popular RO tools. Keep up the great work mate.
  6. Azirike

    HiwaRO

    Hello everyone,HiwaRO is an ongoing pre-renewal low rates server project (5x/5x/3x).What you would need to expect from this project is that we're taking our time, too many private server staffs are "hasty" if you will. We have big plans for this server and we intend to release a very complete and bug free server.It's impossible to prevent absolutely everything, but in depth tests are being executed each time something new is added to the server, simply to make sure everything is working accordingly. _________________________________________________________________________________________________________ We are currectly looking for someone to maintain our different social media platforms. As mentioned above our server is a work in progress, but we want to start advertising our project to gain a following. The main characteristic we are looking for from the person that will fill this position is that his/her motivations are fueled by the passion he/she has for Ragnarok Online. The reason is simple, our team is built off passion for this mmorpg. None of us is seeking to get "rich" from this project. We do intend to have a breakthrough success in the low rate private server community, but it's all for the love of the game and nothing else. The main task related to this position is to create exciting and original content to attract new players to our project. We will of course provide the graphics and the person in charge will simply need to create the post(text) to accompany the graphic. A short interview will be necessary because we need to trust the person who will be in charge of our social media platforms. In today's society social medias are the main way to reach out to an audience, so we need to be sure that we will be well represented. Here's an example of the kind of graphics we work with (Thanks to the graphic designer we work with "Minnii") : LINK _________________________________________________________________________________________________________ If you think you fit the description and you want to join us there's 3 easy way to do so: PM me directly on rAthena Write us an email at [email protected] Contact me on Discord (Recommended) Xan Sietry#3284 Kind regards, Xan Sietry
  7. I know it was declared as a "bug" when most of the skills that used to stack damages were changed to one single hit. But most players expect to have the old school trap stacking damage like shown on this video: The old school formula is: Damage Formula: Skill Level * (75 + [ DEX / 2]) * {1 + (INT / 100)} * Number of stacked monster as seen on IRO Wiki Classic. and Damage = [DEX × (3 + Base_Lv ÷ 85) × (1.1 + INT ÷ 35)] × Skill_Lv ± 10% + (Trap_Research_Lv × 40) on IRO WIKI There's this post that gives some information but it's for Hecules: https://herc.ws/board/topic/533-how-to-enable-multiple-hits-for-claymore-trap/ Would it be possible for anyone to help me out on how to reproduce that skill formula for both the source and maybe the skill db. Kind regards, Xan
  8. Bump: I have the same issue, only with the 1-1 jobs as well. I tried different diffs like the shared body type 1 or 2 ones and Use Official Cloth Palettes, but it doesn't fix it. I use the same files as well. Edit: This is the palettes for archer as an example, it's simply a file problem it seems. Everything after palette 489 is just a black .pal file that's why.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.