maczekiel 1 Posted March 9, 2016 (edited) Any one how to make this , is this possible here in herc? Edited March 9, 2016 by maczekiel Quote Share this post Link to post Share on other sites
0 Lamex 8 Posted March 9, 2016 It's just a picture. So you need 31 pics + a method to track current state of character you want. For example char1 login 3rd day in row getting variable days = 3 and shows picture with 3rd day highlighted. Thats not hard at all, you probably can get any daily rewards npc and make changes in it. Quote Share this post Link to post Share on other sites
0 maczekiel 1 Posted March 9, 2016 It's just a picture. So you need 31 pics + a method to track current state of character you want. For example char1 login 3rd day in row getting variable days = 3 and shows picture with 3rd day highlighted. Thats not hard at all, you probably can get any daily rewards npc and make changes in it. can you give sample script dude? TIA Quote Share this post Link to post Share on other sites
0 Lamex 8 Posted March 10, 2016 (edited) I got a code from Stolao's "Daily login reward 1.59" for this sample. //===== EinherjarRO Scripts ================================== //= Daily Prize, OnPCLoginEvent //===== By: ================================================== //= Stolao //===== Current Version: ===================================== //= 1.59 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= A reward system for players who play more frequently //===== Comments: ============================================ //= Maybe Make .MinWait an array mins,days,weeks,months,years; //===== Additional Comments: ================================= //= For Older See Forums //= 1.51 Changed set .@g formula and move lower into script //= 1.52 Replace all disbottom -> message //= 1.53 Changed Format to Include minuets instead of just hours //= 1.54 Made Time till next rewards display dynamic //= 1.55 Changed a forgotten .PointType$ -> getd(.@TT[1]) //= 1.56 changed .@XT -> .@XT$ //= 1.57 Added Atoi where nessisary //= 1.58 Fixed a swapped .@x and .@x+1 //= 1.59 Serveral Edit Undocumented to fix //===== Contact Info: ======================================== //= [Stolao] //= Email: [email protected] //============================================================ - script LOGIN -1,{ OnWhisperGlobal: OnLoginCmnd: OnPCLoginEvent: sleep2 1000 + .Rest * 60000; set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) +gettime(2); if(.@i >= (#LastDailyReward + .MinWait)){ if(.@i < #LastDailyReward + .MaxWait){ set #DRewardCon, #DRewardCon + 1; } else { set #DRewardCon, 1; } set .@g, (#DRewardCon > getarraysize(.Rewards$)) ? (getarraysize(.Rewards$)-1) : #DRewardCon; explode(.@XT$,.Rewards$[.@g],"|"); for(set .@x,0; .@x < getarraysize(.@XT$); set .@x,.@x + 1){ set .@TT[.@x], atoi(.@XT$[.@x]); } if(.Mode & 1 && .@TT[4]){ //[Note]: I need to figure out a checkweight for all items tired atm lol, for now ill leave it missing for(set .@x,4; .@x < getarraysize(.@TT); set .@x,.@x + 2){ getitem .@TT[.@x], .@TT[.@x+1]; message strcharinfo(0),"Recived "+ .@TT[.@x+1] +" "+ getitemname(.@TT[.@x]); } } if(.Mode & 2){ if(.@TT[0]){ set zeny,zeny + .@TT[0]; message strcharinfo(0),"Recived "+ .@TT[0] +"z"; } if(.@TT[1]){ setd getd(.Points$[0]),getd(.Points$[0]) + .@TT[1]; message strcharinfo(0),"Recived "+ .@TT[1] +" "+.Points$[1]; } } if(.Mode & 4 && (.@TT[3] || .@TT[4])) getexp .@TT[3], .@TT[4]; if(.Mode & 8){ for(set .@x,0; .@x < getarraysize(.BuffInfo); set .@x,.@x + 4){ if(#DRewardCon % .BuffInfo[.@x + 1] == 0) sc_start .BuffInfo[.@x], .BuffInfo[.@x + 2] * 60000, .BuffInfo[.@x + 3]; } } message strcharinfo(0),"You have collected your daily reward, for "+#DRewardCon+" day"+((#DRewardCon > 1)?"s":"")+" in a row."; //===============Display of pic's with day highlighted.======================= cutin .Pic$[.@g],4; //============================================================================ set #LastDailyReward, .@i; } else { set .@days,(#LastDailyReward + .MinWait - .@i)/60/24; set .@hours,((#LastDailyReward + .MinWait - .@i)/60)%24; set .@mins,(#LastDailyReward + .MinWait - .@i)%60; message strcharinfo(0),"You have "+ ((.@days) ? .@days +":Days " : "") +""+ ((.@hours) ? .@hours +":Hours " : "") +""+ ((.@mins) ? .@mins +":Minutes " : "") +"till your next reward"; } end; OnInit: //Basic Settings // 1: Item | 2: Points | 4: Exp // 8: Gain Buffs Every X Consecutive Days logged in // (a bit value, e.g. 3 = Items & Points from Multi) set .Mode,1; //To Enable @ Command '@loginreward' unslash next lines // * Needs extra commands for typos bindatcmd("relog" ,"LOGIN::OnLoginCmnd",0,99); //Minimum Minuets Between Collecting Daily Reward // Day: 22*60 - 24*60 // Week: 10080 set .MinWait,1; //Minuets Before Lose Consecutive Daily Reward // Day: 48*60 - 50*60 // Week: 20160 set .MaxWait,3000; //Number of mins after logging before collecting prize set .Rest,0; //Point Type // [0] Points earned // [1] Point name in mes setarray .Points$,"#KAFRAPOINTS","K-Points"; // Consecutive Days Buff // Each buff contains 4 variables (32 Total Max) // <Type>,<Days>,<Duration>,<Rate>, // Buff 1 // <Type>,<Days>,<Duration>,<Rate>, // Buff 2 // ...; // // Example: 188,7,45,3 // -Every 7th consecutive 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 strength, in this example player gains 3 Str setarray .BuffInfo ,260,2,360,1 // Life Insurance for 360 Mins Every 2nd Day ,198,3,120,10 // +10% Hp for 120 Mins Every 3th Day ,196,5,120,25 // +25 Flee for 120 Mins Every 5th Day ,257,7,240,50; // +50% Exp for 240 Mins Every 7th Day // Daily Prize items (max 128 days): // "<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 // * If players login longer than the last set // day, they will keep getting the last prize. setarray .Rewards$, "100", // Day 1: 100 Zeny "0|0|0|0|501|5", // Day 2: 5 Red Potion "0|0|0|0|503|5|506|5"; // Day 3: 5 White Potion + 5 Green Potion setarray .Pic$, "tutorial01", //pic with day1 highlighted "tutorial02", //pic with day2 highlighted "tutorial03"; //pic with day3 highlighted end; } So that's what i added: 1) Way to setup pictures. setarray .Pic$, "tutorial01", //pic with day1 highlighted "tutorial02", //pic with day2 highlighted "tutorial03"; //pic with day3 highlighted 2) Way to show em up. //===============Display of pic's with day highlighted.======================= cutin .Pic$[.@g],4; //============================================================================ Like i said its kinda easy. P.S. Script skips one day due 1.59 version bug. So you might want to get a 1.5D and change it if you want to use it at ur server and I set 1min timer to get a reward for testing purposes. Edited March 10, 2016 by Lamex 2 maczekiel and IndieRO reacted to this Quote Share this post Link to post Share on other sites
0 Skyline 23 Posted March 10, 2016 Completely unrelated but, thanks to that cutin thing I found a way to make guidebook with images. ALL HAIL lmao Quote Share this post Link to post Share on other sites
0 Lamex 8 Posted March 10, 2016 Completely unrelated but, thanks to that cutin thing I found a way to make guidebook with images. ALL HAIL lmao Quote Share this post Link to post Share on other sites
0 Nova 4 Posted March 10, 2016 Completely unrelated but, thanks to that cutin thing I found a way to make guidebook with images. ALL HAIL lmao I know it's way off topic, but I'd love to see it! It's another thing I've wanted to make for a while now. And on topic, sorry we're not sharing our script, it's got too many unique functions to our server. Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted March 13, 2016 @@Nova Nova ro is cool 1 Nova reacted to this Quote Share this post Link to post Share on other sites
0 maczekiel 1 Posted March 16, 2016 one last question ^^ where do i put the cutin or the picture for this script? sorry for my noob question Quote Share this post Link to post Share on other sites
0 Lamex 8 Posted March 16, 2016 one last question ^^ where do i put the cutin or the picture for this script? sorry for my noob question data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\illust 1 maczekiel reacted to this Quote Share this post Link to post Share on other sites
0 maczekiel 1 Posted March 16, 2016 (edited) now its working ^^ thanks for this [cbox]//===== EinherjarRO Scripts ==================================//= Daily Prize, OnPCLoginEvent//===== By: ==================================================//= Stolao//===== Current Version: =====================================//= 1.5D//===== Compatible With: =====================================//= rAthena SVN//===== Description: =========================================//= A reward system for players who play more frequently//===== Comments: ============================================//= Maybe Make .MinWait an array mins,days,weeks,months,years;//===== Additional Comments: =================================//= For Older See Old Versions//= 1.51 Changed set .@g formula and move lower into script//= 1.52 Replace all disbottom -> message//= 1.53 Changed Format to Include minuets instead of just hours//= 1.54 Made Time till next rewards display dynamic//= 1.55 Changed a forgotten .PointType$ -> getd(.@TT[1])//= 1.56 changed .@XT -> .@XT$//= 1.57 Added Atoi where nessisary//= 1.58 Fixed a swapped .@x and .@x+1//= 1.59 Serveral Edit Undocumented to fix//= 1.5A Fixed a logic bug, day 1 skipped//= 1.5B Fixed a [-1] bug//= 1.5C Actualy Fixed a logic bug, day 1 skipped//= 1.5D Added A .Rest Notification//===== Contact Info: ========================================//= [stolao]//= Email: [email protected]<script data-cfhash='f9e31' type="text/javascript">/* */</script>//============================================================- script LOGIN -1,{OnWhisperGlobal:OnLoginCmnd:OnPCLoginEvent:if(.Rest) message strcharinfo(0),"[Daily Rewards]: to collec reward you must remain logged in for "+ .Rest +" Minuets;sleep2 1000 + .Rest * 60000;set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) +gettime(2);if(.@i >= (#LastDailyReward + .MinWait)){if(.@i < #LastDailyReward + .MaxWait){ set #DRewardCon, #DRewardCon + 1;} else { set #DRewardCon, 0; }set .@g, (#DRewardCon > getarraysize(.Rewards$)) ? (getarraysize(.Rewards$)-1) : #DRewardCon;explode(.@XT$,.Rewards$[.@g],"|");for(set .@x,0; .@x < getarraysize(.@XT$); set .@x,.@x + 1){set .@TT[.@x], atoi(.@XT$[.@x]);}if(.Mode & 1 && .@TT[4]){ //[Note]: I need to figure out a checkweight for all items tired atm lol, for now ill leave it missingfor(set .@x,4; .@x < getarraysize(.@TT); set .@x,.@x + 2){ getitem .@TT[.@x], .@TT[.@x+1]; message strcharinfo(0),"Recived "+ .@TT[.@x+1] +" "+ getitemname(.@TT[.@x]); }}if(.Mode & 2){if(.@TT[0]){ set zeny,zeny + .@TT[0]; message strcharinfo(0),"Recived "+ .@TT[0] +"z"; }if(.@TT[1]){ setd getd(.Points$[0]),getd(.Points$[0]) + .@TT[1]; message strcharinfo(0),"Recived "+ .@TT[1] +" "+.Points$[1]; }}if(.Mode & 4 && (.@TT[3] || .@TT[4])) getexp .@TT[3], .@TT[4];if(.Mode & 8){for(set .@x,0; .@x < getarraysize(.BuffInfo); set .@x,.@x + 4){if(#DRewardCon % .BuffInfo[.@x + 1] == 0)sc_start .BuffInfo[.@x], .BuffInfo[.@x + 2] * 60000, .BuffInfo[.@x + 3];}}message strcharinfo(0),"You have collected your daily reward, for "+#DRewardCon+" day"+((#DRewardCon > 1)?"s":"")+" in a row.";cutin .Pic$[.@g],4;set #LastDailyReward, .@i;} else {set .@days,(#LastDailyReward + .MinWait - .@i)/60/24;set .@hours,((#LastDailyReward + .MinWait - .@i)/60)%24;set .@mins,(#LastDailyReward + .MinWait - .@i)%60;message strcharinfo(0),"You have "+ ((.@days) ? .@days +":Days " : "") +""+ ((.@hours) ? .@hours +":Hours " : "") +""+ ((.@mins) ? .@mins +":Minutes " : "") +"till your next reward";}end;OnInit://Basic Settings// 1: Item | 2: Points | 4: Exp// 8: Gain Buffs Every X Consecutive Days logged in// (a bit value, e.g. 3 = Items & Points from Multi)set .Mode,1;//To Enable @ Command '@loginreward' unslash next lines// * Needs extra commands for typosbindatcmd("relog" ,"LOGIN::OnLoginCmnd",0,99);//Minimum Minuets Between Collecting Daily Reward// Day: 22*60 - 24*60// Week: 10080set .MinWait,24*60;//Minuets Before Lose Consecutive Daily Reward// Day: 48*60 - 50*60// Week: 20160set .MaxWait,48*60;//Number of mins after logging before collecting prizeset .Rest,0;//Point Type// [0] Points earned// [1] Point name in messetarray .Points$,"#KAFRAPOINTS","K-Points";// Consecutive Days Buff// Each buff contains 4 variables (32 Total Max)// ,,,, // Buff 1// ,,,, // Buff 2// ...;//// Example: 188,7,45,3// -Every 7th consecutive 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 strength, in this example player gains 3 Strsetarray .BuffInfo ,260,2,360,1 // Life Insurance for 360 Mins Every 2nd Day,198,3,120,10 // +10% Hp for 120 Mins Every 3th Day,196,5,120,25 // +25 Flee for 120 Mins Every 5th Day,257,7,240,50; // +50% Exp for 240 Mins Every 7th Day// Daily Prize items (max 128 days):// "|||||||...etc", // Day 1// "|||||||...etc" // Day 2// ...;// Total length of any days string must be 255 or shorter// * If players login longer than the last set// day, they will keep getting the last prize.setarray .Rewards$,"0|0|0|0|13550|1", // Day 1: 1 Fish Slice Box"0|0|0|0|7608|10", // Day 2: 10 Kuro Tickets"0|0|0|0|7776|5", // Day 3: 5 GymPass"0|0|0|0|12210|1", // Day 4: 1 Bubble Gum"0|0|0|0|12912|1", // Day 5: 1 Convex Mirror Box"0|0|0|0|19329|50", // Day 6: 50 kuro coins"0|0|0|0|7179|5"; // Day 7: 50 kuro coinssetarray .Pic$,"day1", //pic with day1 highlighted"day2", //pic with day2 highlighted"day3", //pic with day3 highlighted"day4", //pic with day4 highlighted"day5", //pic with day5 highlighted"day6", //pic with day6 highlighted"day7"; //pic with day7 highlightedend;}[/cbox] Edited March 16, 2016 by maczekiel Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted March 17, 2016 @@maczekiel have you found good cutin ? Quote Share this post Link to post Share on other sites
0 maczekiel 1 Posted March 18, 2016 @@maczekiel have you found good cutin ? i made 1 my self ^^ haha i googled it then put it there Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted March 18, 2016 Really. Can you post some preview. I just want to see yours. hehe. Quote Share this post Link to post Share on other sites
0 maczekiel 1 Posted March 21, 2016 Really. Can you post some preview. I just want to see yours. hehe. Here hahaha sorry Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted March 21, 2016 Really. Can you post some preview. I just want to see yours. hehe. Here hahaha sorry Wah that so cool !! Quote Share this post Link to post Share on other sites
0 rizkiolivia 0 Posted April 14, 2016 how to make it, teach me baby... Quote Share this post Link to post Share on other sites
0 IndieRO 33 Posted May 3, 2016 can some one edit that script to be one IP adress one ID?? Quote Share this post Link to post Share on other sites
0 IndieRO 33 Posted May 6, 2016 another question how to reset daily reward if player has reached 30days? Quote Share this post Link to post Share on other sites
0 rizkiolivia 0 Posted May 23, 2016 can some 1 send 1 cutin for me? Quote Share this post Link to post Share on other sites
0 IndieRO 33 Posted May 28, 2016 (edited) in that version script have bug day 1 skip just use last script here the last version //===== EinherjarRO Scripts ================================== //= Daily Prize, OnPCLoginEvent //===== By: ================================================== //= Stolao //===== Current Version: ===================================== //= 1.63 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= A reward system for players who play more frequently //===== Comments: ============================================ //= Maybe Make .MinWait an array mins,days,weeks,months,years; //===== Additional Comments: ================================= //= For Older See Old Versions //= 1.51 Changed set .@g formula and move lower into script //= 1.52 Replace all disbottom -> message //= 1.53 Changed Format to Include minuets instead of just hours //= 1.54 Made Time till next rewards display dynamic //= 1.55 Changed a forgotten .PointType$ -> getd(.@TT[1]) //= 1.56 changed .@XT -> .@XT$ //= 1.57 Added Atoi where nessisary //= 1.58 Fixed a swapped .@x and .@x+1 //= 1.59 Serveral Edit Undocumented to fix //= 1.5A Fixed a logic bug, day 1 skipped //= 1.5B Fixed a [-1] bug //= 1.5C Actualy Fixed a logic bug, day 1 skipped //= 1.5D Added A .Rest Notification //= 1.5E Moved Sleep2 after the day check //= 1.5F Added additive logging so a dc wont reset the .Rest Delay //= 1.60 Added timer break into @at and @afk //= 1.61 Added '[Daily Rewards]:' to all messages //= 1.62 Fixed missing " //= 1.63 Fixed missing ) //===== Contact Info: ======================================== //= [Stolao] //= Email: [email protected] //============================================================ - script LOGIN -1,{ OnWhisperGlobal: OnLoginCmnd: OnPCLoginEvent: if(.Rest){ set @login, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + gettime(2); if(@login > #LastDailyReward + .MaxWait ){ set #logintimer, 0; set @login, 0; } set .@rest, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + .Rest; message strcharinfo(0),"[Daily Rewards]: to collec reward you must remain logged in for "+ ( @login - .@rest ) +" Minuets"; } set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + gettime(2); if(.@i - .Rest >= (#LastDailyReward + .MinWait)){ sleep2 100 + ( .Rest * 60000 ) - ( .@i - #logintimer ); if(.@i < #LastDailyReward + .MaxWait){ set #DRewardCon, #DRewardCon + 1; } else { set #DRewardCon, 0; } set .@g, (#DRewardCon > getarraysize(.Rewards$)) ? (getarraysize(.Rewards$)-1) : #DRewardCon; explode(.@XT$,.Rewards$[.@g],"|"); for(set .@x,0; .@x < getarraysize(.@XT$); set .@x,.@x + 1){ set .@TT[.@x], atoi(.@XT$[.@x]); } if(.Mode & 1 && .@TT[4]){ //[Note]: I need to figure out a checkweight for all items tired atm lol, for now ill leave it missing for(set .@x,4; .@x < getarraysize(.@TT); set .@x,.@x + 2){ getitem .@TT[.@x], .@TT[.@x+1]; message strcharinfo(0),"[Daily Rewards]: Recived "+ .@TT[.@x+1] +" "+ getitemname(.@TT[.@x]); } } if(.Mode & 2){ if(.@TT[0]){ set zeny,zeny + .@TT[0]; message strcharinfo(0),"[Daily Rewards]: Recived "+ .@TT[0] +"z"; } if(.@TT[1]){ setd getd(.Points$[0]),getd(.Points$[0]) + .@TT[1]; message strcharinfo(0),"[Daily Rewards]: Recived "+ .@TT[1] +" "+.Points$[1]; } } if(.Mode & 4 && (.@TT[3] || .@TT[4])) getexp .@TT[3], .@TT[4]; if(.Mode & 8){ for(set .@x,0; .@x < getarraysize(.BuffInfo); set .@x,.@x + 4){ if(#DRewardCon % .BuffInfo[.@x + 1] == 0) sc_start .BuffInfo[.@x], .BuffInfo[.@x + 2] * 60000, .BuffInfo[.@x + 3]; } } message strcharinfo(0),"[Daily Rewards]: You have collected your daily reward, for "+#DRewardCon+" day"+((#DRewardCon > 1)?"s":"")+" in a row."; cutin .Pic$[.@g],4; set #LastDailyReward, .@i; set #logintimer, 0; set @login, 0; } else { set .@days,(#LastDailyReward + .MinWait - .@i)/60/24; set .@hours,((#LastDailyReward + .MinWait - .@i)/60)%24; set .@mins,(#LastDailyReward + .MinWait - .@i)%60; message strcharinfo(0),"[Daily Rewards]: You have "+ ((.@days) ? .@days +":Days " : "") +""+ ((.@hours) ? .@hours +":Hours " : "") +""+ ((.@mins) ? .@mins +":Minutes " : "") +"till your next reward"; } end; OnPCLogoutEvent: if(@login){ set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + gettime(2); set #logintimer, .@i - @login + #logintimer; set @login, 0; } return; end; OnInit: //Basic Settings // 1: Item | 2: Points | 4: Exp // 8: Gain Buffs Every X Consecutive Days logged in // (a bit value, e.g. 3 = Items & Points from Multi) set .Mode,1 + 2 + 4 + 8; //To Enable @ Command '@loginreward' unslash next lines // * Needs extra commands for typos bindatcmd("daily" ,"LOGIN::OnLoginCmnd",0,99); //Enable Delay if @afk or @autotrade are available to players // remove // to enable certain command checks //bindatcmd("at" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("autotrade" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("AT" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("Autotrade" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("afk" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("AFK" ,"LOGIN::OnPCLogoutEvent",0,99); //Minimum Minuets Between Collecting Daily Reward // Day: 22*60 - 24*60 // Week: 10080 set .MinWait,24*60; //Minuets Before Lose Consecutive Daily Reward // Day: 48*60 - 50*60 // Week: 20160 set .MaxWait,3000; //Number of mins after logging before collecting prize set .Rest,0; //Point Type // [0] Points earned // [1] Point name in mes setarray .Points$,"#KAFRAPOINTS","K-Points"; // Consecutive Days Buff // Each buff contains 4 variables (32 Total Max) // <Type>,<Days>,<Duration>,<Rate>, // Buff 1 // <Type>,<Days>,<Duration>,<Rate>, // Buff 2 // ...; // // Example: 188,7,45,3 // -Every 7th consecutive 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 strength, in this example player gains 3 Str setarray .BuffInfo ,260,2,360,1 // Life Insurance for 360 Mins Every 2nd Day ,198,3,120,10 // +10% Hp for 120 Mins Every 3th Day ,196,5,120,25 // +25 Flee for 120 Mins Every 5th Day ,257,7,240,50; // +50% Exp for 240 Mins Every 7th Day // Daily Prize items (max 128 days): // "<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 // * If players login longer than the last set // day, they will keep getting the last prize. setarray .Rewards$, "0|0|0|0|12103|1", "0|0|0|0|12103|1", // Day 1: 100 Zeny "0|0|0|0|607|10", // Day 2: 5 Red Potion "0|0|0|0|7620|5", // Day 3: enrich ori "0|0|0|0|7619|5", // Day 4: enrich elu "0|0|0|0|12221|5", // Day 5: megaphone "0|0|0|0|12214|1", // Day 6: convex "0|0|0|0|7776|1", // Day 7: gym pas "0|0|0|0|12029|5", // Day 8: "0|0|0|0|12030|5", // Day 9: "0|0|0|0|12033|5", // Day 10: "0|0|0|0|12031|5", // Day 11: "0|0|0|0|12103|2", // Day 12: "0|0|0|0|12214|2", // Day 13: "0|0|0|0|7776|1", // Day 14: "0|0|0|0|7619|10", // Day 15: "0|0|0|0|7620|10", // Day 16: "0|0|0|0|12203|10", // Day 17: "0|0|0|0|12210|1", // Day 18: "0|0|0|0|12204|10", // Day 19: "0|0|0|0|12103|3", // Day 20: "0|0|0|0|7776|1", // Day 21: "0|0|0|0|12214|3", // Day 22: cpnvex "0|0|0|0|20765|1", // Day 23: Costume Archengling "0|0|0|0|12207|10", // Day 24: "0|0|0|0|12205|10", // Day 25: "0|0|0|0|12202|10", // Day 26: "0|0|0|0|12210|2", // Day 27: bubble "0|0|0|0|7776|1", // Day 28: "0|0|0|0|12206|10", // Day 29: "0|0|0|0|12103|3"; // Day 30: BB setarray .Pic$, "day1", //pic with day1 highlighted "day1", //pic with day2 highlighted "day2", //pic with day3 highlighted "day3", "day4", "day5", "day6", "day7", "day8", "day9", "day10", "day11", "day12", "day13", "day14", "day15", "day16", "day17", "day18", "day19", "day20", "day21", "day22", "day23", "day24", "day25", "day26", "day27", "day28", "day29", "day30"; end; } Edited May 28, 2016 by melv0 Quote Share this post Link to post Share on other sites
0 Reins 3 Posted June 2, 2016 (edited) is there a possibility like thisi set the script to obtain rewards it should be online for about 6 hourswhat if i login about 2 hours in the afternoon then logout and i logged in again in the evening for about 4 hours it will still get the reward?/thx Edited June 2, 2016 by Reins Quote Share this post Link to post Share on other sites
0 Louis T Steinhil 4 Posted July 7, 2016 Hello how can I make it restart to day 1 after 1 month passed? And also make it per i.p. Example of my daily reward: Quote Share this post Link to post Share on other sites
0 esseret46 0 Posted July 25, 2016 Hello how can I make it restart to day 1 after 1 month passed? And also make it per i.p. Example of my daily reward: Cool man ~ Can u please share this cuttins and Script to me plss Quote Share this post Link to post Share on other sites
0 Bruno Nogueira 15 Posted July 30, 2016 (edited) Hello how can I make it restart to day 1 after 1 month passed? And also make it per i.p. Example of my daily reward: Cool man ~ Can u please share this cuttins and Script to me plss Mad Walker Share this please Edited July 30, 2016 by Bruno Nogueira Quote Share this post Link to post Share on other sites
0 rizkiolivia 0 Posted July 31, 2016 can anyone share picture cutin to me? Quote Share this post Link to post Share on other sites
Any one how to make this , is this possible here in herc?
Edited by maczekielShare this post
Link to post
Share on other sites