Adaptive RvR tasks depending on RvR population

Started 3 Sep 2018
by schreon
in Suggestions
During low population, the RvR tasks to fight in inner frontier zones or all portal zones is to broad. It spreads out action too thin.

Make RvR tasks adaptive depending on the RvR population over the last 30 minutes, so we get the old "fight in odins" or "fight in emain" tasks instead of "fight in any portal zone" or the even worse "fight in inner frontier zones" tasks when the RvR population is very low.

Initialize list rvr_population = []
Every minute, do:
Count the total number of players in all RvR zones. Write that value to n
append n to rvr_population
if len(rvr_population) > 30:
pop first value of rvr_population

if mean(rvr_population) > 200:
enable "fight in all inner frontier zones" task
enable "fight in all portal zones" task
disable "fight in odins", "fight in emain", "fight in hadrians", "fight in yggdra", "fight in uppland", "fight in snowdonia", "fight in forest sauvage", "fight in cruachan gorge", "fight in mount collory"
else:
disable "fight in all inner frontier zones" task
disable "fight in all portal zones" task
enable "fight in odins", "fight in emain", "fight in hadrians", "fight in yggdra", "fight in uppland", "fight in snowdonia", "fight in forest sauvage", "fight in cruachan gorge", "fight in mount collory"

That way, RvR action is focussed to a single zone in case of a low RvR population. When RvR population gets high, the single-zone tasks will automatically be disabled. Instead, we get the broad "fight in all inner frontier/portal zones" task which spreads out the action.

Don't cancel existing tasks though, just check that whenever a new task is given.

The rvr_population threshold of 200 is debatable of course.
Mon 3 Sep 2018 7:25 AM by cage
Yes, every time we get the Inner or Portal Zone Tasks it kills the action for awhile even with 500~ players on server.
Mon 3 Sep 2018 7:57 AM by Ceen
Your computational skills are impressive.
This topic is locked and you can't reply.

Return to Suggestions or the latest topics