Context: I generate maps for my server with an external program, called in the gen_script callback. It ouputs a .vxl file which is then loaded normally.
Problem: all client disconnect while the map is being generated.
Question: What to do to keep everyone connected?
I tried my best to keep generation time small and currently it's around 3 seconds, but it looks like the client need something in a timely fashion.
(ps: I could pregenerate maps with different seed but i want to be able to choose a seed in the future)
(EDIT: fixed with spawning a subprocess to generate the next map after each load)
[fixed] How to avoid disconnects when generating maps?
-
ponce
Deuced Up - Posts: 50
- Joined: Wed Apr 24, 2013 8:39 pm
Who is online
Users browsing this forum: No registered users and 5 guests