-
Posts
459 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Everything posted by rakuzas
-
Is it working with latest rev? I tried and get some error.. Then when i recompile wil ecounter problem at atcommand.c and recomplie failed with 1 (map)
-
ok hehe but you have to add your credits to the scripts if you want people leave them , since you say its not complete -SkittleNugget- Edited for me and its working very good i just modify the freebies and npc name, but i want it as is only 1 char per account, i will leave the edited one here if you want to use it, its working awesome. Hmm.. I dont see much diifferent from the one edited and my original scripts.. I already edit the scripts and have make is working..
-
Sir? Do you remove that notice function? Why you not make people to choose to disable/enable that functions? I think its nice to have it as reminder because sometimes people not notice or take alert what we post at motd.. Im request to have that function again..
-
Hahaha.. Its not complete.. But at least please leave credit since i make it..
-
Thanks its works now~
-
line 231 You missing 1 "/" if we edit it manually its working.. And i test it.. Now its fully working.. no more same item each time we login.. Now have time limit.. EDIT : Does this rewards per account or per character? Im confuse.. Thanks..
-
OK~ Thanks a lot..
-
//===== EinherjarRO Scripts ================================== //= Daily Prize, OnPCLoginEvent //===== By: ================================================== //= Stolao //===== Current Version: ===================================== //= 1.3C //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= A reward system for players who play more frequently //===== Comments: ============================================ //= N/A //===== Additional Comments: ================================= //= 1.00 Daily Prize //= 1.01 Fixed Typo //= 1.02 Removed unessisary calculation //= 1.03 Added a sleep2 for delayed reward //= 1.04 Added dispbottom //= 1.05 Made Clearer //= 1.06 Made Disbutton Dynamic //= 1.07 Added .RewardQnt for configable Reward Quantity //= 1.08 Fixed Typo //= 1.09 Seperated .ZMulti into .Mode and .ZMulti //= 1.0A Changed zeny formula for .Mode 0 //= 1.0B Changed Variable Names, More detailed exsplanations //= 1.0C Fixed typo again lol //= 1.0D Added in .PointType$, can now configure zeny into any point types //= 1.0E Added LoginCount //= 1.0F Made LoginCount Customisable //= 1.10 Changed Variable Names, More detailed exsplanations //= 1.11 Added Wipe feature //= 1.12 Fixed bug, changed "close;" to "close2;" //= 1.13 Changed .LogCount to bitwise //= 1.14 Changed .wipe to a whisper event, per Euphys Suggestion //= 1.15 Changed Formatting of config, per Euphys Suggestion //= 1.16 Added Login Reward Countdown, on each login //= 1.17 Added .PointName$ //= 1.18 Fixed Typo //= 1.19 Added Checkweight //= 1.1A Changed query_sql for $LOGINCOUNT to set //= 1.1B Fixed bug with #DRewardCon, arraysize compersison (Thanks AnnieRuru) //= 1.1C Added meathod for characters online for attachrid //= 1.1D Actually Fixed the 1.1B Bug //= 1.1F Changed zeny formula to remove .ZMulti from mode 0 //= 1.20 Changed .Reminder to .Welcome //= 1.21 Fixed missing details in Welcome Message //= 1.22 Changed .Mode to be bitwise //= 1.23 Added Item enable disable to .Mode //= 1.24 Changed whisper to allow for player Whispers //= 1.25 Added "time" Whisper Command for players, Thanks arzzae for suggestion //= 1.26 Made Whisper commands configable //= 1.27 Made GmLvl for wipe Configable //= 1.28 Fixed "Points" bitwise //= 1.29 Added Exp to .Mode //= 1.2A Optimized Rewards Script a little //= 1.2B Bug Fix with Display message on reciving rewards //= 1.2C Optimize a little more //= 1.2D Added server xp rate to config //= 1.2F Re-added checkweight //= 1.30 Move Checkweight up higher in script, makes more since //= 1.31 Removed XP Dispbutton //= 1.32 Added Buffer //= 1.33 Made BUffer Toggle-able //= 1.34 Made Buffer Dynamic //= 1.35 Optimized Buffer a little //= 1.36 Made Buffer More Dynamic //= 1.37 Optimized Buffer a little more //= 1.38 Fixed a typo in "seem" was "see" //= 1.39 removed "typo" bindatcmds //= 1.3A Fixed bug with sc_, didn't support names had to switch to ids //= 1.3B Fixed bug in buff bonus (time and rate) //= 1.3C Revamped buffs to take only 1 variable (now can only be 32 buffs) //= 1.3D Made Day(s) dynamic //= 1.3E Removed "Time" reqirement from players to check there Next Login Bonus //= 1.3F Added an Else after checkweight //= 1.40 Fixed typo in .BuffInfo //===== Contact Ifo: ========================================= //= [Stolao] //= Email: [email protected] //============================================================ - script LOGIN -1,{ OnWhisperGlobal: if (@whispervar0$ == .Wipe$){ if (getgmlevel() < .GmLvl) end; query_sql("DELETE FROM `global_reg_value` WHERE `str` = 'LOGINCOUNT'"); query_sql("DELETE FROM `global_reg_value` WHERE `str` = '#LOGINCOUNT'"); set $LOGINCOUNT,0; set .@self, getcharid(3); set .@size, query_sql("select account_id from `char` where online = 1", .@aid); for(set .@i,0; .@i<.@size; set .@i,.@i+1) { if(attachrid(.@aid[.@i])){ set LOGINCOUNT,0; set #LOGINCOUNT,0; } } attachrid(.@self); dispbottom "Cleared all login count data."; } OnLoginCmnd: set .@i,((gettime(7))*365*24)+(gettime(8)*24)+gettime(3); if(.@i >= (#LastDailyReward + .MinWait)){ dispbottom "Your login reward is available, please relog to calim your prize~"; } else { dispbottom "You have "+(#LastDailyReward + .MinWait-.@i)+" hours till your next reward"; } end; OnPCLoginEvent: if(.LogCount){ if(.LogCount & 1) set LOGINCOUNT,LOGINCOUNT+1; if(.LogCount & 2) set #LOGINCOUNT,#LOGINCOUNT+1; if(.LogCount & 4) set $LOGINCOUNT,$LOGINCOUNT+1; if( ( LOGINCOUNT + #LOGINCOUNT + $LOGINCOUNT )%.Welcome[1] == 0 || (LOGINCOUNT + #LOGINCOUNT) < .Welcome[0] ){ Mes "~Welcome to "+.Servername$+"~"; Mes .Message$; close2; } } if(.DailyPrize){ if( #DRewardCon == 0 ) set #DRewardCon,1; set .@i,((gettime(7))*365*24)+(gettime(8)*24)+gettime(3); set .@g,getarraysize(.Rewards); sleep2 .Rest*60000; if(.@i >= (#LastDailyReward + .MinWait)){ if(.@i < #LastDailyReward + .MaxWait){ set #DRewardCon,#DRewardCon+1; } else { set #DRewardCon,1; } if(#DRewardCon*2 > .@g-1){ set .@p,.Rewards[.@g-2]; set .@q,.Rewards[.@g-1]; } else { set .@p,.Rewards[#DRewardCon*2-2]; set .@q,.Rewards[#DRewardCon*2-1]; } if(.Mode&1&&.@p){ if(!checkweight(.@p,.@q)){ dispbottom "You seem to be oveweight, put some stuff away and relog to claim prize"; } else { dispbottom "You have collected your daily reward, for "+#DRewardCon+" day"+((DRewardCon>1)?"s":"")+" in a row."; getitem .@p,.@q; dispbottom ""+.@q+" "+getitemname(.@p)+""; } if(.Mode&2) set .@A,#DRewardCon*.ZMulti; if(.Mode&8) set .@A,.@A+.@q; if(.Mode&2||.Mode&8){ setd .PointType$,getd(.PointType$)+.@A; dispbottom ""+.@A+" "+.PointType$+""; } if(.Mode&4){ set .@B,#DRewardCon*.XPMulti[0]; set .@C,#DRewardCon*.XPMulti[1]; } if(.Mode&16){ set .@B,.@B+.@q; set .@C,.@C+.@q; } if(.Mode&4||.Mode&16){ getexp .@B,.@C; dispbottom ""+(.@B*.Sxp/100)+"/"+(.@c*.Sxp/100)+" XP"; } if(.Mode&32){ for(set .@i,0; .@i < getarraysize(.BuffInfo); set .@i,.@i+4){ if(#DRewardCon % .BuffInfo[.@i+1] == 0) sc_start .BuffInfo[.@i], .BuffInfo[.@i+2]*60000, .BuffInfo[.@i+3]; } } set #LastDailyReward,.@i; } } else { dispbottom "You have "+(#LastDailyReward + .MinWait-.@i)+" hours till your next reward"; } } end; OnInit: // ----------------------------------------------------------- // Login Count & Welcome Message // ----------------------------------------------------------- // Login types to track. // 1: Character | 2: Account | 4: Server // (a bit value, e.g. 5 = character + server) set .LogCount,5; // Number of logins to display welcome message. // [0]: First x Logins, 0 will never give a message // [1]: Remider message every x Logins (combined server account and character) setarray .Welcome,3,250; // Server name to display. set .Servername$,"Server"; // Login message // * Must have at least 1 Login Count Enabled set .Message$,"Before playing, make sure you've read the rules, located in our forum at ^0000FF~TBA~^000000"; // ----------------------------------------------------------- // Daily Reward // ----------------------------------------------------------- //To Enable @ Command '@LoginReward' unslash next lines // * Needs extra commands for typos // bindatcmd("loginreward" ,"LOGIN::OnLoginCmnd",0,99); //Data Wipe Whisper Command set .Wipe$,"wipe"; //GM Level to use Wipe Whisper Command // Keep at 99 for security set .GmLvl,99; //Daily Prize //Toggle // 0: Off | 1: On set .DailyPrize,1; //Minimum Hours Between Collecting Daily Reward // Day: 22-24 // Week: 168 set .MinWait,22; //Hours Before Lose Consecutive Daily Rewar // Day: 48-50 // Week: 336 set .MaxWait,50; //Number of mins after logging before collecting prize set .Rest,0; //Type of Points/Zeny earned // eg: CASHPOINTS, Zeny, LoginPoints set .PointType$,"Zeny"; //Toggle // 1: Item | 2: "Points" from Multi | 4: Exp from Multi // 8: "Points" from Days with ItemID of 0 |16: Exp from Days with ItemID of 0 // 32: Gain Buffs Every X Consecutive Days logged in // (a bit value, e.g. 3 = Items & Points from Multi) set .Mode,1+2+4+8+16+32; //Consecutive Day Points Multiplier // * If players login longer than the last set // day, they will keep getting a larger Multiplier set .ZMulti,100; //Consecutive Day Exp Multiplier // [0]: Base // [1]: Job // * If players login longer than the last set // day, they will keep getting a larger Multiplier. setarray .XPMulti,50,50; // Consecutive Days Buff // Each buff contains 4 variables (32 Total Max) // Type,Days,Time,Rate // *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 case // -For a full list of SC_ visit the db/const.txt <<<<this one missing "/" // Days is days buff is applied, in this case 7, so Days 7,14,21,28.... // Time is buff duration is Minuits, in this case 45 mins // Rate is buff strength, in this case player gains 3 Str setarray .BuffInfo ,188,7,45,3 // +3 Str for 45 Mins Every 7th Day ,189,7,45,3 // +3 Agi for 45 Mins Every 7th Day ,190,7,45,3 // +3 Vit for 45 Mins Every 7th Day ,191,7,45,3 // +3 Int for 45 Mins Every 7th Day ,192,7,45,3 // +3 Dex for 45 Mins Every 7th Day ,193,7,45,3 // +3 Luk for 45 Mins Every 7th Day ,194,4,45,25 // +25 Hit for 45 Mins Every 4th Day ,196,4,45,25 // +25 Flee for 45 Mins Every 4th Day ,198,10,60,10 // +10% Hp for 60 Mins Every 10th Day ,199,10,60,10 // +10% Sp for 60 Mins Every 10th Day ,200,13,30,10 // +10% Atk for 30 Mins Every 10th Day ,201,13,30,10 // +10% Matk for 30 Mins Every 10th Day ,257,9,120,50 // +50% Exp for 120 Mins Every 9th Day ,258,9,120,50; // +50% Item Drops for 120 Mins Every 9th Day // Daily Prize items (max 64 days): // <itemID>,<amount>, // Day 1 // <itemID>,<amount>, // Day 2 // ...; // * If players login longer than the last set // day, they will keep getting the last prize. setarray .Rewards[0], 512,1, // Day 1 513,2, // Day 2 514,3, // Day 3 0,1000; // Day 4 end; }
-
Thanks a lot~ Hmm.. is it possible to shows at chat channel each item we got? Thanks..
-
I edit it to make it works.. Feel free to use it.. Please leave me credit.. Thanks.. //===== rAthena Script ======================================= //= Novice Support NPC //===== By: ================================================== //= rakuzas ([email protected]) //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= This script works but need some modification. //= Novice Support NPC //= //= This NPC will give basic item for Novice and only can take once //= While you still novice to avoid abuse. //===== Additional Comments: ================================= //= 1.0 First version. rakuzas //= //============================================================ ra_temple,106,159,5 script Novice Support 864,{ // Name of the NPC set .name$, "[GM Lisa]"; if( novice = 1){ mes .name$; emotion e_swt2; mes "I already give the item for you."; close; } else { mes .name$; if (Class < 1) { emotion e_ho; mes "Hello young adventurer."; mes "I can give you free rental item and some items"; mes "Do you want it?"; next; switch(select( "You're so kind. Thank you!:Nah~ Im too pro for this!" )){ Case 1: mes .name$; emotion e_kis; mes "Please take this item and have a nice day~"; next; getitem 13764,1; //Beginner's Field Manual 5 Box getitem 14231,1; //Novice Plate box getitem 12324,100; //novice butterfly wing getitem 12323,300; //Novice fly wing getitem 569,500; //Novice potion set novice, 1; mes "See you soon~"; break; Case 2: mes .name$; emotion e_ag; mes "Such a arrogant person."; mes "^ff0000@kill "+ strcharinfo(0) +"^000000"; next; mes .name$; emotion e_omg; mes "Why my command not work?!"; mes "Maybe you're lucky!"; break; } close; } else { if (Class < 24) { mes "Congratulations!"; mes "I see you already reborn."; close; } end; } } }
-
Hmmm? Does we get item everytime we login or not? I try few times.. And get same day 1 reward.. Is this normal? I just update to your latest version...
-
Edit : After i move the copy into original script.. Now its work! Thanks~
-
Hmmm.. I just notice my CP have problem.. Dont know what problem.. Can you guys tell me what is the solution? Im using calciumkid version.. Edit : I just copy the default char folder into my custom themes.. Now its works~ Sorry..
-
Hello, may i request this NPC? 1. New player like example, novice will talk to this new NPC, then he will receive some basic novice item.. And that item is rental only for novice and cannot trade or sell. 2. After that novice change job, that rental item gone. 3. He change job like swordman.. Then he talk to this npc and receive rental EQ for swordman.. 4. After he change job, that item gone.. ANd till he change into reborn class like Paladin, that item will auto gone about in a week.. Hope will receive good news.. Thanks..
-
thx..should be fixed now Yep.. im just test it and it fixed! Thanks.. But.. May i know why this happen?
-
i see.. Thanks for reply..
-
Sir.. Im using 1.3C.. But before im using older version.. Right now.. my player got rewards each time their login and stuck at day 1 only.. Im just copy paste your script..
-
i got auction problem.. Cannot bid with any items.. Each time we register.. we will get that item back.. try with many other account also same..
-
Thanks~
-
Custom Coin: Coin Exchange to Credits NPC
rakuzas replied to Stupeflix's question in Script Requests
7176,100_Cash,100 Cash,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{set #CASHPOINTS, #CASHPOINTS+100; dispbottom "You have received 100 Cash Points.";},{},{} sample from my server.. Feel free to use~ -
I found BIG problem here.. Hmmm.. The problem is.. When we exchange fo Coins.. Nothing problem.. But.. When we try to exchange coins into Zeny.. But when we enter "0" BAANGGG!!! map-server-sql will crash.. I tried few times to confirm and it is really this problem.. But it happen when we try to exchange coin into zeny and put 0 and enter.. Hope you can fix this bug.. Thanks...
-
Hello, Does this kind NPX exist? Im looking for it but not found so far.. This NPC Works like this.. Each time player use it, it will shows current player on this server with their name.. Then, also can shows their map and job but in other category..
-
Thanks.. Its working..
-
After use this script.. Its shows a problem occur.. And nothing load at all..
-
Errr.. If i disable that.. MVP will not able to use at all.. What im request is.. Just remove 1 PVP map from MVP Arena.. Currently its locate at Theta Room #1..