vendethiel / ezarena

Reprise de l'ultimarena pour ajouter plus de fonctionnalités et un RPG !
MIT License
4 stars 3 forks source link

Idea: PvP zone #73

Open vendethiel opened 6 years ago

vendethiel commented 6 years ago

A PvP zone would be like a normal zone, except the duel tab would be replaced by a PvP tab, where you have to accept the duel, you can't decline.

vendethiel commented 6 years ago

And the health you have left after the duel is kept. Should limit to one "duel".

winzombie commented 6 years ago

Is it possible to do so that players can ambush each other in these locations?

vendethiel commented 6 years ago

That's the idea yes. But only 1v1

MWE001 commented 6 years ago

From all my experience with AD&R, the PvP and adr_battle.php made massive sql querys. I had to shut down PvP on a site I helped admin. My personal site never took off. Have you adjusted the number of querys?

winzombie commented 6 years ago

but pvp is must have thing in game, people dont play a lot in only pve game. its my opinion

MWE001 commented 6 years ago

that is very true. Back in the day when people didnt know how to curb querys it was becoming a very big deal. Now days we are a little wiser. But still at 80-90 per page load, ouch. lol that hurts.

I would love to see this in action.

vendethiel commented 6 years ago

Don't worry, I optimized everything greatly.

It won't matter when we port it to Integramod, but as an exemple: index.php when logged out takes 0 sql queries, and when logged in it takes 1 (when the cache is full).

Take a look at Integramod that I optimized recently ;). I got my index from 90 SQL to 22.