#Adding a custom map to dedicated server

87 messages · Page 1 of 1 (latest)

pliant fog
#

Im trying to add a custom map to my server not an addon but new map entirely but im getting some errors. Can i get help please?

shadow kettle
pliant fog
#

ive got 1 mod and thats the new map mod

#

@warm flower anyone else managed to add a new map to a dedicated server?

#

removing vanilla..

#

when i host from in pz it works

#

but from the dedicated server its like struggling to find directorys

#

for example

shadow kettle
#

Check in steam if the mod requires aditional supporting mods.

pliant fog
#

{ name = "Aguila, AZ", file = "media/maps/Aguila, AZ/spawnpoints.lua" }, didnt work and i had to change to this

#

{ name = "Aguila, AZ", file = "home/container/steamapps/workshop/content/108600/3022039588/mods/Copper State, Arizona/media/maps/Aguila, AZ/spawnpoints.lua" },

pliant fog
shadow kettle
#

Ah, it's just a spawnpoint. You'll probably be fine.

pliant fog
#

when i was trying to load the server i could see a error for spawn points

#

so when i remove the spawn points the server will still not load

shadow kettle
#

Imma guess that the classic "turn it off and on again" trick will likely do something.

pliant fog
#

my host says it mightnot be possible to replace vanilla map

shadow kettle
#

Try diabling and turning the map back on.

pliant fog
shadow kettle
pliant fog
#

wiped and tryed everything over and over

shadow kettle
#

Check when the mod was released and last updated.

#

It might be outdated.

#

Send it, if you can.

pliant fog
#

it should be as simple as removing muldraugh, KY and adding the new map

#

the mod works fine when i host from in game

#

i added this mod and the required desert tiles

#

no other mods been installed

#

this is my 6th dedicated pz server so i have knowledge on mods and conflicts

#

but never tryed to replace the vanilla map until now

shadow kettle
#

You need this supporting mod.

pliant fog
#

i got that

shadow kettle
#

Right.

pliant fog
#

LOG : General , 1692744131802> 12,792,916,958> can't find map objects file: media/maps/Wenden, AZ/objects.lua
LOG : General , 1692744131889> 12,792,917,045> can't find map objects file: media/maps/Trailer, Unknown/objects.lua
LOG : General , 1692744131921> 12,792,917,077> can't find map objects file: media/maps/Solitary Cell, Markson Prison/objects.lua
LOG : General , 1692744131975> 12,792,917,131> can't find map objects file: media/maps/Economy Class, Airbus A310-300/objects.lua
LOG : Lua , 1692744132551> 12,792,917,707> Loading: steamapps/workshop/content/108600/3022039588/mods/Copper State, Arizona/media/maps/Aguila, AZ/objects.lua

shadow kettle
#

Well, uh.

pliant fog
#

but they are not there

shadow kettle
#

Did you make sure to uninstall and reinstall the mod entirely?

pliant fog
#

they are in steamapps/workshop/media

#

yes

shadow kettle
#

Yeah i'm lost mate. Might need to wait for a professional to come and help.

pliant fog
#

yeh i cant find 1 single post about someone using a new map(removing vanilla) for a dedicated server

#

ty for your time

next pine
#

Have you removed the vanilla map in the maps in server settings?

pliant fog
#

wait maybe not all

#

all i did was delete the spawn regions and on server ini and went to maps and deleted mud,KY

next pine
#

Yes it should be as simple as deleting muldraugh, KY reading back you seem to have done it.
reading through your old messages you've already done that. I've done this also using LV only map in the past.
have you tried copying mods/spawnpoints.lua into spawnpoints.lua in the server folder?

#

as for custom spawn points I only use the server's so I have only experience on that one...

pliant fog
#

yes i did the spawn points correctly

#

whats happning is the dedicatded server trys to use vanilla directory

#

so it searches something like media/maps

#

but the new map im using is store in a workshop item so its like /workshop/media/maps

#

i think i need to sort a way of gettin gthe server to find the map files

#

when i host using in game its simple

next pine
pliant fog
#

yes

#

its nothing to do with the spawn points as i removed all spawn points to see if i could atleast get the server work and then i get this message

next pine
#

I think it's set to client only instead of server. weird 🙂 I'll sub to the mod and check it out

pliant fog
#

yes i added the creators of the map mod and they dont know how to get it working on dedicated, they said they are not coders

#

fingers crossed you figure something out

#

message i get when i start up is like cant find the maps for the mod

#

omg

#

i jsut had a brainwave

#

or brain fart

next pine
#

if it works on offline for dedicated, have you tried deleting the mod folder and re-subbing?

pliant fog
#

yes

#

but cus the directory is going wrong place what if i try this

#

i download the files that instal in the wrong place

#

and then upload them to the media/maps files instead?

next pine
#

Yes can try that 🙂 seeing that it's having errors on missing stuff kinda weird

#

checking it out all maps really seems to be missing an objects.lua file

#

but the main map

#

but idk why that wouldn't work on your end since it should work even with these stuff missing

#

I'll try hosting a dedicated server to help you out later after my work

pliant fog
#

ty so much

#

yes i get the errors for some missing obeject lua but shouldnt effect it

#

i can share my screen later when your free

#

what time will it be cus its 4am for me not sure how long ill be up for

next pine
#

I'm on UTC+8 but usually awake at weird hours because of work and server management(pz) just let me know when you're available can add you up in DMs

warm flower
#

You need to share your server config file and your server console, since you said you are "getting some errors"

#

I would need to see the errors

pliant fog
#

currently since attempting to do it the server consoles died and im waiting for a support ticket there

#

i did delete all files and then reinstall to try fix it but i think i fragged it xd