asteria-3.0 icon indicating copy to clipboard operation
asteria-3.0 copied to clipboard

Hyperion region system, with prioritization

Open lare96 opened this issue 9 years ago • 8 comments

lare96 avatar Aug 15 '15 10:08 lare96

Sounds great, good luck! Maybe even implement cache loading serverside?

Promises avatar Aug 15 '15 11:08 Promises

Eh, probably not.

lare96 avatar Aug 23 '15 23:08 lare96

Will you still do this? Why not Apollo's

Mind also explain the prioritization?

ghost avatar Aug 26 '15 03:08 ghost

As you know, during updating when players are being added to your local lists it's done in intervals of 15. If you're in the wilderness and there's 100 people that you have to add to your list, it'll take approximately 6.7 ticks or in other words 4 seconds for you to be able to see everyone. If in that time, someone who hasn't been added to your local list is attacking you, you won't be able to see them. I'm sure you can figure out why this could be a problem?

It's prioritized first by people attacking you, then next comes the people closest to you (because that just makes sense).

If I recall correctly no other publicly released server does this, I'll take a look at Apollo's region system though.

lare96 avatar Aug 27 '15 15:08 lare96

I've done this on an older version of asteria. Not sure if I have the code still. Either way, I can't access my computer for few days but I'll try to look at it back home.

Apollo's regions sizes is 8x8 tiles. Which ia small in my opinion. As about the distance, you set a vkewing distance in the player's class and you increase, decrease it.

ghost avatar Aug 28 '15 14:08 ghost

What?

lare96 avatar Aug 29 '15 04:08 lare96

Nevermind -.-

ghost avatar Sep 01 '15 01:09 ghost

I might just add my region system from Luna since that includes what Graham I'm guessing couldn't figure out at the time: loading specific surrounding regions depending on your position in the region in order to avoid unnecessarily loading all 8 surrounding regions

The problem with this is that the region system in Luna hasn't been tested. So I'm not sure about what to do, whether to just include hyperion's raw system or to test out Luna's (which could be riddled with bugs)

lare96 avatar Oct 18 '15 03:10 lare96