• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Improvements for the dedicated server

I don't see how this would be possible at all. Are you sure you're looking at the right map and not maybe a different server instance running on the same host?
Figured out the webserver wasn't even starting, changed the ports and it works now. My only issue now is that in the settings the control panel port is set for 8082 but the webserver starts on 8084. I've brought this up with the host because I can't get into the remote console, they couldn't figure it out and instead told me the remote console must be a legacy feature that doesn't exist anymore.

 
Figured out the webserver wasn't even starting, changed the ports and it works now. My only issue now is that in the settings the control panel port is set for 8082 but the webserver starts on 8084. I've brought this up with the host because I can't get into the remote console, they couldn't figure it out and instead told me the remote console must be a legacy feature that doesn't exist anymore.
Well, if you configure your server to have the control panel on 8082 then it's obvious the web map is on 8084 (as per the documentation) ;)

Both the game's control panel and the "Telnet" interface still exist though.

 
Sorry question, and i cant seem to find it , i maybe searching it wrong...but if i just set up a server and have gone over it to check things out....how do i reset the online map ? so i dont want the people that join to see where stuff is thanks :)

 
Just delete the "map" folder from the save game.

Thanks for the reply , and as a final question ( i hope ) Has anyone done a key to the map ? ie biome colors , what building they are when you look down from the map ect ?

Thanks.

 
Thanks for the reply , and as a final question ( i hope ) Has anyone done a key to the map ? ie biome colors , what building they are when you look down from the map ect ?
Sorry, not sure what you're asking for here? You mean a legend for the colors and text labels on POIs?

 
so i just done a fresh build on a linux VDS. when i try to use the give command or have the server manager do it we recieve:

MissingMethodException: Method not found: 'GameManager.ItemDropServer'.

is this a 16.2 allocs thing? or something on my installation.

 
It's a change in the game that needs a recompiled mod. I'm going through my list of tasks today (most likely) and hope to get a new build out, at latest til friday.

 
Know what would be cool? If you could put steamid.png files in a folder, and instead of the little icon you get shown the custom icon instead.

I say it would be cool because irc Eek did it for me, and it was cool. Unfortunately he hasn't updated it, so I'm back to the regular icons.

 
Sorry, not sure what you're asking for here? You mean a legend for the colors and text labels on POIs?
Yes, sorry that is what i ment :)

And is there anyway on your live map to show the wolfs ? as i cant seem to find that. it shows the zombies , but just never shows dog, wolfs ect.

Thanks

 
Last edited by a moderator:
Know what would be cool? If you could put steamid.png files in a folder, and instead of the little icon you get shown the custom icon instead.
What little icon? No idea what you're talking about ^^

Yes, sorry that is what i ment :)
Not that I would know of anything like that.

 
What little icon? No idea what you're talking about ^^
Instead of little black men to represent people on the map, custom icons based on the steamid, so if there is a steamid.png file it would show the appropriate png. Mine would be 77234324235325324.png or whatever.

- - - Updated - - -

Trust me, it's cool. =)

 
Yes, sorry that is what i ment :)
And is there anyway on your live map to show the wolfs ? as i cant seem to find that. it shows the zombies , but just never shows dog, wolfs ect.

Thanks
In Hostiles.cs I changed the following:

Code:
if (entity.entityType == EntityType.Zombie) {
 EntityEnemy ee = (EntityEnemy)entity;

 if (ee.IsAlive ())
 lst.Add (ee);
}
to

Code:
EntityEnemy ee = (EntityEnemy)entity;
if (ee != null)
{

 if (ee.IsAlive())
   lst.Add(ee);
}
That way all hostiles show up. You could do any type filtering in the js if you wanted to split the list.

 
Code:
EntityEnemy ee = (EntityEnemy)entity;
if (ee != null)
{

 if (ee.IsAlive())
   lst.Add(ee);
}
That will give you exceptions all the time, most likely impacting performance (you can't just cast everything to EntityEnemy, that's not how casting works ;) ).

Btw, that bug (as well as a bunch of other stuff) is fixed in the latest release.

 
That will give you exceptions all the time, most likely impacting performance (you can't just cast everything to EntityEnemy, that's not how casting works ;) ).

Btw, that bug (as well as a bunch of other stuff) is fixed in the latest release.
heh ok fair point.

Edit: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/as

according to docs using as should be fine?

Misread what I had typed, thought I had used entity as EntityEnemy, my mistake :)

 
Last edited by a moderator:
Yeah, "as" is ok :)

(Not applying in this speicifc case) Though if the casted value is not used (e.g. for adding to a list) I'd still recommend using just "is" as I suppose the actual cast will still increase the cost ;)

 
I install new version of mod rev. 307 (13_15_20) (2017-08-02) and have error in my log:



[TD=class: logcol_uptime][/TD]

[TD=class: logcol_type]Exception[/TD]

[TD=class: logcol_msg]MissingMethodException: Method not found: 'Vector2i.Equals'.

AllocsFixes.MapRendering.MapRendering+c__Iterator0.MoveNext ()UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)

[/TD]


All looks ok, but now on map over webbrowser I don't see update of new discovery map, any idea how to fix?

 
Back
Top