dhaisuke
-
Content Count
99 -
Joined
-
Last visited
Reputation Activity
-
-
dhaisuke reacted to Tokeiburu in How to add custom @commands in group.conf
groups.conf only works with source-side defined commands. If you want to make a script atcommand, you'll need to add the gm level when you bind it, such as:
bindatcmd("@evacheck", strnpcinfo(3)+ "::OnCheck"), 0, 99;
Where 0 is the gm level required to use the command (@evacheck) and 99 is the gm level required to use the command as a char command (#evacheck).
-
dhaisuke reacted to Ridley in How to add custom @commands in group.conf
There is a plugin to show custom commands in @commands, and a pull request to add it by default.
-
dhaisuke got a reaction from Tristan in Daily Rewards Help
Hi Guys how to add another items for daily rewards? i'm getting error
//===== 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 * 120000; 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 "0|0|0|0|503|5|506|5"; setarray .Pic$, "tutorial01", //pic with day1 highlighted "tutorial02", //pic with day2 highlighted "tutorial03"; //pic with day3 highlighted end; }
Sorry Solve.
-
dhaisuke reacted to Legend in Endless Tower Help
I think that's okay now.
Regarding on your first post about Endless Reset, that script of yours won't take effect, its because of the following:
1) This variable ".@etower_timer", ".@" variables is of no use if the NPCs were separated from the original endless tower script.
2) You need to do "instance_create" before warping to endless tower.
3) You also need to do "erasequest" to the ongoing "setquest".
-
dhaisuke reacted to Legend in Endless Tower Help
This is the npc you are looking for: https://github.com/HerculesWS/Hercules/blob/master/npc/instances/EndlessTower.txt#L210
usually, it requires i guess 1 week before you can regenerate the instance again once you entered.
-
-
dhaisuke reacted to Ind in Suggestion :D
Implemented in https://github.com/HerculesWS/Hercules/commit/36d0c789633da074f7e1a6add901278af513ad4b
-
dhaisuke reacted to Mhalicot in Costume System
can you check again what you download? make sure that you download the latest one which is Costume System 2.1..
NOTE: make sure that you recompile your server after applying the diff.
-
dhaisuke reacted to goddameit in BOT
File Name: BOT
File Submitter: goddameit
File Submitted: 10 Mar 2014
File Category: Source Modifications
Refer:
http://rathena.org/board/files/file/2551-autoattack/
http://rathena.org/board/files/file/2826-autopots/
Preview:
https://www.facebook.com/photo.php?v=774591642560012
https://www.facebook.com/fanen.goddameit/posts/774573372561839
https://www.facebook.com/fanen.goddameit/posts/773655365986973
Info:
This system will make player auto-attack when they active this SC.
Player can put some skill and item to their hotkeys for controlling something,
for example, if I put fly wing to my F1, and it will use it for teleporting.
Hotkeys:
F1 ---> Fly wing
F2 ---> Teleport (Skill)
F3 ~ F7 ---> buff skill for yourself
F8 ---> Main attacking skill
F9 ---> Second chosen skill
Line 2 1st ---> Item for HP (Lower 80%)
Line 2 2nd ---> Item for SP (Lower 80%)
http://i.imgur.com/v3rBXjc.jpg
Active:
sc_start4 SC_BOT,<Duration>,<Use Normal Attack>,0,0,0; Forced End:sc_end SC_BOT; Sample for ONOFF:@boton ---> start @botoff \ @botend ---> end http://pastebin.com/VEpkVF9i
PS:
If everything is right, but BOT still not working, check your SC_BOT definition in db/const.txt and status.h, both must be same value.
For New Version Hercules Users :
path->search is updated and it needs block_list now, so just add it by yourself.
http://herc.ws/board/topic/4821-bot/?p=67769
Update:
Click here to download this file -
-
-
dhaisuke reacted to KohakuSan in How edit to increase the Heal, Potion Pitcher in SRC
Open the skill.c file in the emulatorsrcmap folder and look for this section:
It's pretty self-explanatory, just change a few of the numbers in the formulas on the Renewal/Not-Renewal part on which your server uses. Then recompile.
#ifdef RENEWAL /** * Renewal Heal Formula * Formula: ( [(Base Level + INT) / 5] ? 30 ) ? (Heal Level / 10) ? (Modifiers) + MATK **/ hp = (status->get_lv(src) + status_get_int(src)) / 5 * 30 * skill_lv / 10;#else // not RENEWAL hp = ( status->get_lv(src) + status_get_int(src) ) / 8 * (4 + ( skill_id == AB_HIGHNESSHEAL ? ( sd ? pc->checkskill(sd,AL_HEAL) : 10 ) : skill_lv ) * 8);#endif // RENEWAL if( sd && ((skill2_lv = pc->checkskill(sd, HP_MEDITATIO)) > 0) ) hp += hp * skill2_lv * 2 / 100; else if( src->type == BL_HOM && (skill2_lv = homun->checkskill(((TBL_HOM*)src), HLIF_BRAIN)) > 0 ) hp += hp * skill2_lv * 2 / 100; break; } -
dhaisuke reacted to GrandlineHost in RagnarokSpace- GIVING SPACE FOR NEWBIE TO LEARN
Hi guys,
Check out my blog for fun to help newbie to manage their ragnarok server.
https://ragnarokspace.wordpress.com/
anything related tools, software still credit to their owner.
-
dhaisuke reacted to themon in Anong Stable na 2013/2014 na exe client?
you can test this
https://github.com/ThemonChan/Hercules
https://github.com/ThemonChan/2014-Ragexe-Client
-
dhaisuke reacted to themon in Anong Stable na 2013/2014 na exe client?
https://github.com/ROClientSide/Translation
-
dhaisuke reacted to themon in Anong Stable na 2013/2014 na exe client?
you try to check it here also
https://github.com/R...ide/Translation
-
dhaisuke reacted to themon in Anong Stable na 2013/2014 na exe client?
ganito gawin mo yung system folder na galing dun sa translation copy then paste mo sa RO Main folder mo.
yung data folder naman sa translation. need mo lang magdagdag ng
clientinfo.xml mo at need mo lang din baguhin yung Dataluafiles514lua
filesquestquest_function.lub at I overwrite mo ng quest_function.lub na galing sa Dataluafiles514lua filesquest2013 tapos gamit ka ng grftool para gawing grf file yung data folder at include mo sa iyong data.ini
-
dhaisuke reacted to jaBote in Achievement System
Try it first and post if you see errors, don't be lazy
-
dhaisuke reacted to Jezu in [c o l l e c t i o n] Headgear all official RO update January 2018
Rep +1 for bringing this to Hercules! /no1
-
dhaisuke reacted to Slammer in [c o l l e c t i o n] Headgear all official RO update January 2018
All headgear
official bRO iRO idRO jRO twRO
Update January 2018
Download January 2018
Iclude list and miss headgear
Last Headgear :
RibbonMuff_Black = 1716,
Love_Feeling = 1717,
Enchanted_Dog = 1718,
C_Baby_Leopard_Cat = 1719
-
dhaisuke reacted to Dastgir in [Custom Job] Crashes my Server
It Crashes the Server? Then its server-sided problem, any error or gdb dump might help us to solve your problem
-
dhaisuke reacted to Dastgir in [Help] Custom Job Problem
Whats error? If it says invalid job, then its source error, if client crash, then client problem.Can you tell what edits u made in source?(as we cannot read other minds..)
-
dhaisuke reacted to Dastgir in [Help] Custom Job Problem
Wiki says that files are for xray only, so you only need to edit those neo files, and appropriate positions in the source and db folder and recompile.
-
dhaisuke reacted to AnnieRuru in King of Emperium Hill
I think its better to have a release topic for this instead of me update the script across separate topics
Download: Hercules 1.3
Script
Plugin for Hercules
Download: rAthena 1.2
Script.
Patch for rAthena
what this event do ? ( huh ? so popular script and I still need to explain ? )
1. make a guild
2. join this event
3. whack the emperium
4. defends it until times up
hahaha ....
How to configure the time:
L_start: <-- the label to start the event
change OnClock2000: into OnSat2000: to start this event on Saturday 8pm
L_end: <-- the label to end the event
change OnClock2030: into OnSat2030: to end this event on Saturday 8:30pm,
effectively makes this event runs 30 minutes
Frequently Asked Questions:
Question : why the Guild member can hit their own Emperium ?
Answer : because you didn't patch and recompile
Question: there is an exploit in this event, guild master can use Emergency Recall to abuse the prize
Answer : I already fixed it in this topic, now the prize reward will be given after the winner warp outside the map
original topic from eathena forum
http://www.eathena.ws/board/index.php?showtopic=174222
yeah ... I have been fixing this script since 7 years ago