Jump to content

AnnieRuru

Members
  • Posts

    2044
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by AnnieRuru

  1. change line 1063 .server_max_level = getbattleflag( "max_lv" ); into .server_max_level = getserverdef( VAR_MAX_LEVEL ); it seems this script force you to set a time limit, try make it 24 hours I remember my old mission board doesn't have this bug <.<
  2. the old instance system, the map name has to be <single digit number>@<seven characters long>example 1@tower 2@cash 2@g_vs maximum map name without .gat is 12 the server will create 001 as the unique instance ID means there's only 9 character left for your map name new_1-4 will definitely crash your client try something like 4@novice
  3. set hp, hp -20000;if the player has less than 20k hp, the hp is set to 1 heal -20000,0;if the player has less than 20k hp, the player is dead
  4. set @anounce_msg$,"[GM] "+ strcharinfo(0) +" Gave "+ @ep_kcp_count +"x Kafra Credit Point (KCP) to "+ @ep_char_name$ +". Reason - "+ @ep_reason$; change switch(select("Make Item","Give Item","Give KCP","Player Menu","Nothing"))into switch(select("Make Item","Give Item","","Player Menu","Nothing"))
  5. https://github.com/rathena/rathena/blob/master/db/re/instance_db.txt use the latest rathena then we continue ...
  6. try this [paste=33s2sh0mfpy2] btw why your font size increased ?
  7. this script quite unoptimized... [paste=505oe7ilkte1] whisper by npc:Itemizer ...
  8. change to yes 2338,Wedding_Dress,Wedding Dress,4, ....,{},{ setoption option_wedding, 1; },{ setoption option_wedding, 0; } I think this should belongs to database side
  9. how do you get this message ? I can't find this too any screenshot ? I'm able to get in this endless tower unlimited as long as I still have checkquest(60201,PLAYTIME) < 2
  10. duplicating the npc will also make the OnInit: label runs that's the trick I used in my mission board script to make the duplicated npcs run the script separately so in your script, the OnInit label only needs to run once [paste=3v4ptyteddxl] btw your disablenpc "Artifact Collect#01";has wrong spelling
  11. you can just use npc with monster sprite to do that prontera,162,187,5 script Baphomet#hidden -1,3,3,{ end; OnTouch: enablenpc "Baphomet#script"; doevent "Baphomet#script::OnTrigger"; end; } prontera,162,187,5 script Baphomet#script 1039,{ end; OnTrigger: npctalk "Muahaha !! you just draw your last breath !"; .@origin = getcharid(3); pcblockmove .@origin, 1; sleep 1000; for ( .@i = 0; .@i < 3; .@i++ ) { sleep 1000; if ( attachrid( .@origin ) ) { heal -( hp /2 ), 0; // reduce their hp by half for 3 times = 0.5 -> 0.25 -> 0.125 specialeffect2 callfunc( "F_Rand", EF_HIT1, EF_HIT2, EF_HIT3, EF_HIT4, EF_HIT5, EF_HIT6 ); } } if ( isloggedin( .@origin ) ) pcblockmove .@origin, 0; sleep 1000; if ( attachrid( .@origin ) ) warp "Random", 0,0; disablenpc strnpcinfo(0); end; }its kinda hard to get the monster to do the exact amount of damage you wantbecause players can think of all sorts of tricks to lower down the damage done by monster using damage resisting cards
  12. http://rathena.org/board/topic/91434-specificly-timed-warps/ - script blahblah -1,{ OnClock2200: OnClock0200: OnInit: // sleep 1; if ( gettime(3) >= 22 || gettime(3) < 2 ) enablenpc "Artifact Collector#03"; else disablenpc "Artifact Collector#03"; end; }
  13. that's no fun at all ... prontera,159,184,5 script kjhfksjdfhs 100,{ if ( ( .@count = .cold_medicine - countitem( "Cold_Medicine" ) ) > 0 ) { if ( checkweight( "Cold_Medicine", .@count ) ) getitem "Cold_Medicine", .@count; else dispbottom "You can't carry enough Cold Medicine"; } if ( ( .@count = .halohalo - countitem( "Halohalo" ) ) > 0 ) { if ( checkweight( "Halohalo", .@count ) ) getitem "Halohalo", .@count; else dispbottom "You can't carry enough Halohalo"; } end; OnInit: .cold_medicine = 500; .halohalo = 10; }
  14. ... 2 dimension array ... [paste=ouq7701xd60]
  15. then how do you want to make the settings so the players can adjust the number of potions they want to bring ? or do you mean only the GM can set, players can only click on it ? yeah ... making this more complicated [paste=6iuyh744gw92]
  16. spoon feed [paste=4p7tkt70dybf]
  17. you mean to increase or decrease it ? https://github.com/rathena/rathena/blob/master/db/re/instance_db.txt#L6 because the original time limit is 14400 seconds = 4 hours if you want 3 hours then make it 10800 seconds from PM also changehttps://github.com/rathena/rathena/blob/master/db/quest_db.txt#L2944 into 60200,1,0,0,0,0,0,0,"Endless Tower Effect" 60201,10800,0,0,0,0,0,0,"Endless Tower Time Limit"
  18. how come your script has all the missing quotation marks ? this is the original topic where it came from http://www.eathena.ws/board/index.php?showtopic=270609 I already told the answer at post#18
  19. OnAgitBreak: if ( strcharinfo(3) != "prtg_cas01" ) query_sql "update guild set woe_points = woe_points +1 where guild_id = "+ getcharid(2);
  20. - script kjhfksfjhs -1,{ OnPCDieEvent: if ( !killerrid ) // example -> drink poison bottle dispbottom "You just suicide"; else if ( killerrid < 100000000 ) dispbottom "You have killed by a player -> "+ rid2name( killerrid ); else dispbottom "You have killed by a monster/pet/homunculus/mercenary -> "+ rid2name( killerrid ); end; }last time we still have mob controller system able to retrieve the master of the pet/homunculusnow cannot, can only get the names of pet/homunculus
  21. you can try duplicating the npc but careful that the npc variables are shared among the duplicates [paste=ik9dov80ihh]
  22. - shop O cards -1,4093:1000000, ... .... - shop T cards -1,4395:1000000, ...the npc name "O cards" change into "O Cards"same with T cards its case-sensitive or you can try mine ... no need to update that every time [paste=6z9qpalbmh4x]
  23. if (!instance_check_party(.@party_id,2)) { mes "Make or join a party with more than 1 member and try again."; close; }read script_commands.txt for the explanation of this commandI'm sure you can do this yourself
×
×
  • Create New...