Jump to content

Problem linking two servers together (shards)


Recommended Posts

Hi !

I undertook to rent two servers don't starve together on Verygames. The goal is to have server A whose portals lead to server B.

Both servers work, I played about thirty days on server A and I connected as a client to server B just to check that the map was generated correctly.

For the next step, I followed this https://forum.verygames.net/topic/47651-how-to-link-servers-together-shards/

and this

Here is the current situation: Server A (Master) seems to be waiting for the shards to connect, Server B cannot connect.

Here is a log of Server A (Master) :

Spoiler

image.png.509e4709b469bf4416ec834d313da84b.png

Here is a log of Server B:

Spoiler

image.png.da789c2aeccd5ca9c72d6739f8dfc6b2.png

Here the Server A cluster.ini

Spoiler
[GAMEPLAY]
	game_mode=survival
	max_players=4
	pvp=false
	pause_when_empty=true

[NETWORK]
	cluster_name=Si Si la famille
	cluster_description=Rendez-vous en terre inconnue
	cluster_password=rdv1930sisi
	cluster_intention=cooperative
	autosaver_enabled=true
	enable_vote_kick=false

[MISC]
	console_enabled=true

[SHARD]
	shard_enabled=true
	bind_ip=0.0.0.0
	master_ip=188.165.54.19
	master_port=20013
	cluster_key=

[STEAM]
	steam_group_id=
	steam_group_only=false
	steam_group_admins=false

 

here the Server A server.ini

Spoiler
[NETWORK]
server_port = 20010


[SHARD]
is_master = true
name = First map
id = 1


[ACCOUNT]
encode_user_path = true


[STEAM]
authentication_port = 5006
master_server_port = 30006

 

here the server B cluster.ini

Spoiler
[GAMEPLAY]
	game_mode=survival
	max_players=4
	pvp=false
	pause_when_empty=true

[NETWORK]
	cluster_name=
	cluster_description=
	cluster_password=
	cluster_intention=cooperative
	autosaver_enabled=true
	enable_vote_kick=false

[MISC]
	console_enabled=true

[SHARD]
	shard_enabled=true
	bind_ip=0.0.0.0
	master_ip=188.165.54.19
	master_port=20013
	cluster_key=

[STEAM]
	steam_group_id=
	steam_group_only=false
	steam_group_admins=false

 

Here the server B server.ini

Spoiler
[NETWORK]
server_port = 20006


[SHARD]
is_master = false
name = Second map
id = 2095582075


[ACCOUNT]
encode_user_path = true


[STEAM]
authentication_port = 5004
master_server_port = 30004

 

The cluster key was removed for obvious reasons but it is understood that I put the same in both files.

Also, the cluster token is the same for both files.

This is the server A (master) worldgenoveride.lua file

Spoiler
KLEI     1 return {
	override_enabled = true,
	worldgen_preset = "SURVIVAL_TOGETHER",
	settings_preset = "SURVIVAL_TOGETHER",
	overrides = {
		alternatehunt = "often",
		angrybees = "often",
		bananabush_portalrate = "often",
		basicresource_regrowth = "always",
		beefalo = "often",
		bees = "often",
		bees_setting = "often",
		berrybush = "often",
		birds = "often",
		boons = "often",
		butterfly = "often",
		buzzard = "often",
		cactus = "often",
		carrot = "often",
		catcoons = "often",
		chess = "often",
		crow_carnival = "enabled",
		extrastartingitems = "0",
		flint = "often",
		flowers = "often",
		ghostsanitydrain = "none",
		grass = "often",
		grassgekkos = "never",
		hound_mounds = "often",
		houndmound = "often",
		hunt = "often",
		lightninggoat = "often",
		lureplants = "often",
		merm = "often",
		merms = "often",
		moles_setting = "often",
		mushroom = "often",
		perd = "often",
		pigs = "often",
		pigs_setting = "often",
		portalresurection = "always",
		reeds = "often",
		resettime = "none",
		rock = "often",
		sapling = "often",
		spawnprotection = "always",
		spiders = "often",
		spiders_setting = "often",
		tallbirds = "often",
		tentacles = "often",
		touchstone = "often",
		tumbleweed = "often",
		world_size = "huge",
	},
}

 

And this is the server B worldgenoveride.lua file :

Spoiler
KLEI     1 return {
	override_enabled = true,
	worldgen_preset = "SURVIVAL_TOGETHER",
	settings_preset = "SURVIVAL_TOGETHER",
	overrides = {
		alternatehunt = "often",
		angrybees = "mostly",
		antliontribute = "often",
		bananabush_portalrate = "often",
		basicresource_regrowth = "always",
		bats_setting = "always",
		bearger = "often",
		beefalo = "mostly",
		beefaloheat = "often",
		beequeen = "often",
		bees = "mostly",
		bees_setting = "always",
		berrybush = "mostly",
		birds = "always",
		boons = "mostly",
		bunnymen_setting = "always",
		butterfly = "always",
		buzzard = "mostly",
		cactus = "mostly",
		cactus_regrowth = "fast",
		carrot = "mostly",
		carrots_regrowth = "fast",
		catcoon = "mostly",
		catcoons = "always",
		chess = "mostly",
		cookiecutters = "always",
		crabking = "often",
		crow_carnival = "enabled",
		deciduousmonster = "often",
		deciduoustree_regrowth = "fast",
		deerclops = "often",
		dragonfly = "often",
		evergreen_regrowth = "fast",
		extrastartingitems = "0",
		eyeofterror = "often",
		fishschools = "always",
		flint = "mostly",
		flowers = "mostly",
		flowers_regrowth = "fast",
		frogs = "always",
		fruitfly = "often",
		ghostsanitydrain = "none",
		gnarwail = "always",
		goosemoose = "often",
		grass = "mostly",
		grassgekkos = "never",
		hallowed_nights = "enabled",
		hound_mounds = "always",
		houndmound = "mostly",
		hounds = "often",
		hunt = "always",
		klaus = "often",
		krampus = "often",
		liefs = "often",
		lightcrab_portalrate = "often",
		lightninggoat = "mostly",
		lureplants = "always",
		malbatross = "often",
		marshbush = "mostly",
		merm = "mostly",
		merms = "always",
		moles = "mostly",
		moles_setting = "always",
		monkeytail_portalrate = "often",
		moon_berrybush = "mostly",
		moon_bullkelp = "mostly",
		moon_carrot = "mostly",
		moon_fruitdragon = "mostly",
		moon_hotspring = "mostly",
		moon_rock = "mostly",
		moon_sapling = "mostly",
		moon_spider = "always",
		moon_spiders = "mostly",
		moon_starfish = "mostly",
		moon_tree = "mostly",
		moon_tree_regrowth = "fast",
		mosquitos = "always",
		mushroom = "mostly",
		ocean_bullkelp = "mostly",
		ocean_seastack = "ocean_mostly",
		ocean_shoal = "mostly",
		ocean_waterplant = "ocean_mostly",
		ocean_wobsterden = "mostly",
		palmcone_seed_portalrate = "often",
		palmconetree = "mostly",
		palmconetree_regrowth = "fast",
		penguins = "always",
		perd = "always",
		pigs = "mostly",
		pigs_setting = "always",
		pirateraids = "always",
		portal_spawnrate = "often",
		portalresurection = "always",
		powder_monkey_portalrate = "often",
		rabbits = "mostly",
		rabbits_setting = "always",
		reeds = "mostly",
		reeds_regrowth = "fast",
		regrowth = "fast",
		resettime = "none",
		rifts_enabled = "always",
		rifts_frequency = "often",
		rock = "mostly",
		rock_ice = "mostly",
		saltstack_regrowth = "fast",
		sapling = "mostly",
		sharks = "always",
		spawnprotection = "always",
		spiderqueen = "often",
		spiders = "mostly",
		spiders_setting = "always",
		squid = "always",
		start_location = "plus",
		tallbirds = "mostly",
		tentacles = "mostly",
		touchstone = "mostly",
		trees = "mostly",
		tumbleweed = "mostly",
		twiggytrees_regrowth = "fast",
		walrus = "mostly",
		walrus_setting = "always",
		wasps = "always",
		winters_feast = "enabled",
		wobsters = "always",
		world_size = "huge",
		year_of_the_beefalo = "enabled",
		year_of_the_bunnyman = "enabled",
		year_of_the_carrat = "enabled",
		year_of_the_catcoon = "enabled",
		year_of_the_gobbler = "enabled",
		year_of_the_pig = "enabled",
		year_of_the_varg = "enabled",
	},
}

 

Thanks to anyone who takes the time to help me.

For those who are in this specific situation, I received a response from customer service:

Following a recent Don't Starve update, the master server must have a dedicated IP address to be able to define your cluster. (You will need to indicate port 11001 this time, once you have a Dedicated IP on your master server)

... and indeed it works perfectly with a dedicated ip and port 11001.

Good game all ;)

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...