Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

Issue Confirmations

  • Yes (0)No (0)
Photo

Several bugs in other/arena/

Posted by Hercules Bot on 12 August 2009 - 03:08 AM

Originally posted by NoH
http://www.eathena.w...er&showbug=3494

NB: 1) and 2) can be found in evey arena_lv** file of the folder.

1) The areawarps to get out of the rewards room at the end of the race use messy coordinates, ex:

areawarp "prt_are_in",22,183,20,20,"arena_room",100,75;

so the players in the zone will never be warped (isn't x1 supposed to be <x2 - idem for y - anyway?).

NB: can possibly be used to stay in the room and steal the rewards of the next players (not tested, but since the script seems to use server variables...).

The right coords are:

lvl 50: 14,178,29,195,
lvl 60: 14,126,29,143,
lvl 70: 14,74,29,91,
lvl 80: 170,178,185,195,
Party: 170,126,185,143,

2) The announces in this room and the related NPC events (including the messy mapwarp) will be triggered only if the player beats the game. They won't if he fails to pass every stage.

Fix, find:

OnTimer305000:
OnTimer306000:
OnTimer307000:
OnTimer308000:
OnTimer309000:
OnTimer310000:
OnTimer311000:
OnTimer312000:
OnTimer313000:
OnTimer314000:
	mapwarp "force_1-1","prt_are_in",126,190,0,0;
	end;
	
OnTimer315000:
	mapwarp "force_1-1","prt_are_in",126,190,0,0;
	donpcevent "Heel and Toe#arena::Onfailclearstage";
	end;

and add somewhere in this mess (what the hell with the mapwarps every second?):

donpcevent "#arn_timer_50::Onon";

(of course the NPC name depends on the file: here it's for the lvl 50 arena).

3) In arena_room.txt, the GM helper can be used by any player who has the password (and the password is in the NPC files). Of course, they also need to be able to talk to him to do bad things (ie: to warp to sec_in02), but on some servers it could be a bad bug. Quick fix:

sec_in02,72,180,3 script Arena Manager#arena 802,{
if (!getgmlevel()) end; // Bugfix
input .@arena;
if(!.@arena)
{


Same problem with the NPC "Reward Manager#arena" a little further in the script.

4) In the same NPC, when changing the time for the records:

mes "Please enter 0 to cancel.";
								mes "If not, please write within 400 letters.";
								next;
								input .@arenamin;
								set $top_50min,.@arenamin;
								input .@arenasec;
								set $top_50sec,.@arenasec;

Obviously it's not letters, and it should be 2, and not 400 (at least for the seconds - 10ish, I don't remember, for the minutes).

5) In arena_lvl60:

donpcevent "cast#60::timeover2";

-> should be "OnTimeover2".

Originally posted by Masao
Fixed in [rev=16152]