Pivity

Is it possible to link to sv.db (mysql) DarkRP servers together?

Last read Never
#1

I had a project for my darkrp server which would include loading a second server (To load a second map) to extend the map of my DarkrRP server. My question is (To be simpler)


-Is it possible to link the save progress for server #1 to server #2 for all players? The reason I want to do that is I want players to load a a second map when they select an NPC and they can go to the moon and start farming.

My second question is:

-Is it possible to load two maps in the same server? So people when they select an npc they can go to a map which is the moon. Or I need to make a separe server for it to work


I know this kinda confusing but I can't seems to formulate the ideas. Its 6 am and I didnt fucking slept

#2

sv.db is not MySQL, it is SQLite

sv.db is only stored locally within a file, there is no proper way (that I know of) to link two files together.

You'd need to have a MySQL server to sync data between servers, once you have your MySQL Server, you will need to fill out your credentials in this file: https://github.com/FPtje/darkrpmodification/blob/master/lua/darkrp_config/mysql.lua


For your second question,

I guess you could a huge map that consits of two maps, but that isn't ideal. You'd generally need two servers if you want the option of playing two maps.

Agree x 1
Users viewing this thread
Nobody