Issue information

Issue ID
#5205
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jan 6, 2012 4:34
Last Post
Hercules Elf Bot
Mar 5, 2012 16:21
Confirmation
N/A

Hercules Elf Bot - Jan 6, 2012 4:34

Originally posted by [b]Aleos[/b]
The Flavius and Tierra Battlegrounds are not allowing players over 99 to enter. This is due to the max level of the waiting room being set to 99 since the MAX_LEVEL define is 99 on eA, but 150 here. [url=http://irowiki.org/wiki/Battlegrounds]iRO Wiki[/url] states that players over 80 can participate in Battlegrounds.

Files in conflict:
[url=https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/battleground/flavius/flavius01.txt]npc/battleground/flavius/flavius01.txt[/url]
[url=https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/battleground/flavius/flavius02.txt]npc/battleground/flavius/flavius02.txt[/url]
[url=https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/battleground/tierra/tierra01.txt]npc/battleground/tierra/tierra01.txt[/url]
[url=https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/battleground/tierra/tierra02.txt]npc/battleground/tierra/tierra02.txt[/url]

Hercules Elf Bot - Jan 6, 2012 12:10

Originally posted by [b]Masao[/b]
I'll fix this together with the setwall / setcell problem in BG when i come back from work tonight.

Hercules Elf Bot - Jan 6, 2012 16:27

Originally posted by [b]Ind[/b]
I recommend not even providing the max level field for compatibility, because the server will always throw max_level when you don't provide the field.
[code] int maxLvl = script_hasdata(st,8) ? script_getnum(st,8) : MAX_LEVEL;[/code]
so,
[code] waitingroom "Battle Station",10,"start#bat_b01::OnReadyCheck",1,0,80,99;[/code]
should become
[code]
waitingroom "Battle Station",10,"start#bat_b01::OnReadyCheck",1,0,80;[/code]

Hercules Elf Bot - Jan 6, 2012 20:55

Originally posted by [b]Masao[/b]
Fixed in [rev=15401].

This post has been edited by Kenpachi on Mar 5, 2012 16:21