Jump to content

dhaisuke

Members
  • Content Count

    99
  • Joined

  • Last visited

Everything posted by dhaisuke

  1. bump for this.. here the sample of script.. what is the other solution how can i walk to that NPC //Safety Wall npcs 06guild_01,68,54,0 script SafetyWall#1 139,{ end; OnActivation: specialeffect 316; if($@ArrayCounter==$@SW){ donpcevent "MC Geezer::OnRun"; end; } if($@ArrayCounter<$@SW){ donpcevent "MC Geezer::OnNPCSetup"; end; } } 06guild_01,68,51,0 duplicate(SafetyWall#1) SafetyWall#2 139 06guild_01,68,48,0 duplicate(SafetyWall#1) SafetyWall#3 139 06guild_01,68,45,0 duplicate(SafetyWall#1) SafetyWall#4 139 06guild_01,66,54,0 duplicate(SafetyWall#1) SafetyWall#5 139 06guild_01,66,45,0 duplicate(SafetyWall#1) SafetyWall#6 139 06guild_01,64,64,0 duplicate(SafetyWall#1) SafetyWall#7 139
  2. Is there any workaround for that?
  3. Hi Guys, need assistance, this is regarding the issue I can't walk over that cell where a hidden npc was located. Thank in advance
  4. change this getitem .hpy_freebie[.@i],.hpy_freebie_amt[.@i]; into this getitembound .hpy_freebie[.@i],.hpy_freebie_amt[.@i],1; check this link below for more details about the itembound http://herc.ws/wiki/Getitembound
  5. can you help me guys, Emblem on the of a player is not showing in any GVG map. where i can check that? Thank you in advance
  6. announce "Ragnarok Online : We Have New Player Join Our Server. His Name [ "+strcharinfo(0)+" ]" + BaseLevel + " ] !!",bc_all; Hi Guys kindly help me on my script to announce the Job class of the character when announced Thank you in advance
  7. Thanks, would you mind what is the name of the plugin? oh i found it thank you so much i will try it out https://raw.githubusercontent.com/SamuelHercules/plugins/master/src/plugins/bindcmd.c
  8. do you know how can i add this in atcommand.c? below is made by AnnieRuru src/map/atcommand.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)diff --git a/src/map/atcommand.c b/src/map/atcommand.cindex b5e8fa7..9da02ac 100644--- a/src/map/atcommand.c+++ b/src/map/atcommand.c@@ -9374,6 +9374,17 @@ static inline void atcmd_channel_help(int fd, const char *command, bool can_crea clif->message(fd,atcmd_output); return true; }++ACMD(world) {+ clif->message( fd, "Hello World !" );+ return true;+}++ACMD(sample) {+ clif->message( fd, "this is a sample." );+ return true;+}+ /** * Fills the reference of available commands in atcommand DBMap **/@@ -9384,6 +9395,8 @@ void atcommand_basecommands(void) { * Command reference list, place the base of your commands here **/ AtCommandInfo atcommand_base[] = {+ ACMD_DEF(world),+ ACMD_DEF(sample), ACMD_DEF2("warp", mapmove), ACMD_DEF(where), ACMD_DEF(jumpto),
  9. - script Eva Check -1,{ OnInit: bindatcmd("@evacheck", strnpcinfo(3)+ "::OnCheck"); end; OnCheck: dispbottom "You currently have " +#CASHPOINTS+ " eva points"; end; } Hi Guys, how can i add this into groups.conf? so the players can view this @evacheck in their @commands
  10. announce "Ragnarok Online : We Have New Player Join Our Server. His Name [ "+strcharinfo(0)+" ] !!",bc_all; Hi Guys i have NPC script above announce the Charactername. anyone how to add also the Base Level in the announce? Thanks in advance
  11. Hi Guys, can anyone rework this script to run in hercules https://rathena.org/board/topic/104825-quests-games-fixedslot-machine-bevarage-vending-machine-simulate-vending-machine-system/ this from rathena script vendingMachine.txt
  12. [Warning]: pc_bonus2: unknown type 2061 3 3! [Error]: --- failed assertion -------------------------------------------- [Error]: pc.c:3791: '0' in function `pc_bonus2' [Error]: ./map-server(assert_report+0x7a) [0x828767a] [Error]: ./map-server(pc_bonus2+0x34c) [0x819f35c] [Error]: ./map-server(buildin_bonus+0x3d2) [0x81b47c2] [Error]: ./map-server(run_func+0x114) [0x81e2ae4] [Error]: ./map-server(run_script_main+0x2ee) [0x81e526e] [Error]: ./map-server(script_run_use_script+0x45) [0x81e2945] [Error]: ./map-server(status_calc_pc_+0x2373) [0x8253193] [Error]: ./map-server(status_calc_bl_+0xb2) [0x8250552] [Error]: ./map-server(pc_reg_received+0x4df) [0x818bb4f] [Error]: ./map-server(intif_parse_Registers+0x2b3) [0x812b8f3] [Error]: --- end failed assertion ---------------------------------------- [Info]: mail load complete from DB - id: 150107 (total: 0) [Warning]: pc_bonus2: unknown type 2061 3 3! [Error]: --- failed assertion -------------------------------------------- [Error]: pc.c:3791: '0' in function `pc_bonus2' [Error]: ./map-server(assert_report+0x7a) [0x828767a] [Error]: ./map-server(pc_bonus2+0x34c) [0x819f35c] [Error]: ./map-server(buildin_bonus+0x3d2) [0x81b47c2] [Error]: ./map-server(run_func+0x114) [0x81e2ae4] [Error]: ./map-server(run_script_main+0x2ee) [0x81e526e] [Error]: ./map-server(script_run_use_script+0x45) [0x81e2945] [Error]: ./map-server(status_calc_pc_+0x2373) [0x8253193] [Error]: ./map-server(status_calc_bl_+0xb2) [0x8250552] [Error]: ./map-server(clif_parse_LoadEndAck+0x1022) [0x8101482] [Error]: ./map-server(clif_parse+0x199) [0x8118959] [Error]: --- end failed assertion ---------------------------------------- anyone help regaridng this error?
  13. Bump, anyone guys using this in new revision? i have no error but my heagear is not converting to costume
  14. Hello Can anyone Help me, i'm using the latest revision Hercules after i've patched 2.1 costume system. its not converting my headgear to costume headgear.
  15. Hi Guys need help, i've installed custome system 2.1 but when i've try to convert the headger nothing happen its just change the name into Custome's Hat please see the attachment appreciate your response
  16. After i've created character. i got this summer suit and not able to use skills
  17. when you i've @disguise poring. and you turned into poring. try to walk. and there is an image left on your location how to fix this one. my client is 20131223 and have a updated Hercules Trunk. my reference: ihttps://github.com/HerculesWS/Hercules/commit/eb0d0dc677e1d3e584de9202d3140fe6fb6db722 -
  18. 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.
  19. this link can solve your problem http://herc.ws/board/topic/5748-izlude-map-issue/
×
×
  • Create New...

Important Information

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