#Okay I have a question

1 messages · Page 1 of 1 (latest)

marble tiger
#

I'm making a dungeon crawler server

the idea is:

  1. Every dungeon is in their own world
  2. Dungeons are uniquely generated for each player

Very basic but should give you an idea.

The issue is, if I make every dungeon its own world and plan on it being a popular server

more worlds with all those entities and whatever else = more lag

is there a solution to my theoretical issue?

#

I know I could do what hypixel skyblock does and stuff, with like a server for each person.

summer jay
#

As long as the world isn't loaded, it won't create lag!
The solution to your theoretical issue is that you probably won't have an issue. Unless you spawn tons of mobs in every single dungeon, they likely won't create all too much lag, depending on your server resources ofcourse.

marble tiger
#

That's weird

I used to have a skyblock server that you had your own world, everything would be unloaded when players leave

I remember the server lagging a lot

#

I might not be able to do one of the rooms i was planning on due to laddars being a confusing thing with skript 😦

summer jay
#

Probably just poor optimisation, I've had no issues so far with multiple worlds

marble tiger
#

Yeah must have been, back then I was not the best at optimizing my skripts

marble tiger
summer jay
#

Oop

marble tiger
untold token
#

I believe wyncraft used 1 world (at least in some areas) and then does client-sided stuff

marble tiger
#

Hmmm one per person?

fervent valve
#

should keep in mind generation is fairly expensive

#

repeatedly generating large structures is probably gonna lag the server

marble tiger
#

I have an issue

So basically with my random dungeon making

if I make my rooms not box-shaped wont it be difficult to 'randomly' connect them?

#

I noticed this when II started building rooms.

summer jay
#

Not really, You just need to create a system that accounts for non-cubic shapes like rectangles and circles etc

fervent valve
#

not sure how expensive recreating a bunch of void worlds are

#

but the structure generation itself is not good

marble tiger
#

I would be using structure blocks

fervent valve
#

you should prob notice it once you have the main dungeon generation down and repeatedly do it on a large enough scale

#

i also use structure blocks (or structure files loaded with skbee, really) and it lags

#

you only ever don't notice it in normal survival gameplay because its generated a single time on a smaller scale than custom stuff

marble tiger
#

That’s what i was told to do for my randomly generating dungeons i want it to be as optimized as possible so the server won’t die with 10 people on

drifting jasper
#

my only nitpick with your current idea is the server is going to lag regardless each time a new world is generated, or an existing world is loaded.

summer jay
#

Exactly, the lag won't be induced by entities nearly as much as it will be by generation/loading of worlds/dungeons

marble tiger
#

So i should do it this way until another solution like the hypixel skyblock servers arises?

fervent valve
#

just something to keep in mind

fast lark