Well this is manually controlled as I stated and not so optimized unfortunately I'm not that good with
complex script commands like setting global variables querying an sql and such . still studying them though.
I've used this script on my Old Server
Map used: onevsone.gat (I found this map on eAthena.ws way back year 2009, dunno If i'm allowed to share it though)
Src Mod needed: @itemmap or getitemmap or something like that not quite sure with the name LOL.
How to use:
need to whisper npc:arena then a menu pops up
you can modify GM Level who can operate it.
*Has a Wall that blocks the Path thru the center of the Arena (Enable/Disable)
*Check Team Areas (Warps on the maps Team location)
*Buffer NPC's on both side of the Team's holding area (Enable/Disable)
*Distribute Supplies (gives Items inside the Map (you need to use a custom atcommand MOD here like @itemmap or @getitemmap)
suggest using a Custom Supply here and can only be used on the Arena Map (restrict it on item_noequip.txt).
*Arena Registration NPC (It has a Party check, party leader check and checks if you have a Permit..
but considered not Finished)
what my Plan about this Registration NPC is to add a Check that checks the size of the party (or maybe it's not needed) only party leader can talk to the NPC after the requirements are met whole party will be warped to the Arena on their designated Team Area. and also add a feature that randomizes the participants team on what side they will be Team A or Team B, then warp/spawn them on the opposite Side.
I hope someone can help me optimize it, with the complex script commands it needs.. but I will also try to figure them and ask the vets.
Edited by ngek202, 20 March 2012 - 11:32 PM.