• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

how does multiworld by arurelions works?

jeanphilip

Well-Known Member
Joined
Oct 26, 2023
Messages
254
Reaction score
55
i have a question about how this works.
it runs in a single exe in a single datapack? or should i copy the compiled exe into a new folder?
it can use multiple db?
 
i have a question about how this works.
it runs in a single exe in a single datapack? or should i copy the compiled exe into a new folder?
it can use multiple db?
Its a bit confusing ngl, because it run in a weird way,

Config.lua worldId was never used in src which had me make this conclusion, its clones of the same world so you can't make a change in a world but not the other, on account load it loads all characters in all worlds and you get to choose character from characterlist. (Im not quite sure too)

but this is what i concluded since config.lua value was never used in the system but the worldId of the character that matches with worlds.xml
 
Its a bit confusing ngl, because it run in a weird way,

Config.lua worldId was never used in src which had me make this conclusion, its clones of the same world so you can't make a change in a world but not the other, on account load it loads all characters in all worlds and you get to choose character from characterlist. (Im not quite sure too)

but this is what i concluded since config.lua value was never used in the system but the worldId of the character that matches with worlds.xml
yeah i added this and its pretty like that was thinking its good way for huge servers but if i want to have a war / rpg diferent server or maps and features would be useless
 
yeah i added this and its pretty like that was thinking its good way for huge servers but if i want to have a war / rpg diferent server or maps and features would be useless
you can run another folder on the same database, with another EXE and keep worlds.xml inline together thats what i was thinking would work just make sure you use different ports for each world that way you can host different files on different ports under the same server, if you will do that i advice that each world to have its own server as connect on the database of the main server with the second world
 
you can run another folder on the same database, with another EXE and keep worlds.xml inline together thats what i was thinking would work just make sure you use different ports for each world that way you can host different files on different ports under the same server, if you will do that i advice that each world to have its own server as connect on the database of the main server with the second world
It works like you said, you must create new files in cpp - gameworlds.cpp and header and new file gameworlds.xml.
You need to create new tables in DB, You should make plenty of edits at website, You should automatize creating new worlds in admin panel(for example).
Still it generates more problems in future, you need to edit protocollogin server and client side, you could encounter cast issues and potentially more I did't spot yet.
Generally a lot of work to do. It took me quite long time.
 
Back
Top