I'm currently working on a browser mmo and I got a problem with the pvp system.
I'm trying to make the pvp system same as halls battle script for fighting mosters(the fight happening in rounds) but the problem is that it would require some kind of online check(to check if the player is online,cause without this check the fight would be plain and the enemy wont be able to use his spells/potions and so on...)
And it would probably require a timer too...for instance,each round will have 10 seconds,and if a player wont choose any action in those 10 sec his round will over ...
So is it possible to do a pvp system like this using php?
From what I've seen some browser mmos use a plain fighting script...like choosing the opponent you want to fight and then the script would loop through all the rounds and show the results but this wont work in my case,cause I'll have to change a lot of stuff
Any hints would be greatly appreciated.
*Sorry for my english
Alexander,