-
Posts
178 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Store
Posts posted by daretmavi
-
-
Here is a simple script to run the command and get the status back - VS_command.sh
VS_command.sh <COMMAND-FOR-SERVER>
-
On my way to run VS Server on Raspberry Pi 4, I tried to run it through systemd.
In works nice, but I was not able to send any commands to the server. Terminal emulation "screen" does not work with systemd, so the script server.sh is useless.
I found some solution. It can be done by adding socket to the service definition (in /etc/systemd/system/).
vintagestory.service
[Service] ... Sockets=vintagestory.socket StandardInput=socket StandardOutput=journal StandardError=journal ...
and create the socket file
vintagestory.socket
[Unit] PartOf=vintagestory.service [Socket] ListenFIFO=%t/vintagestory.stdin
Now you can send the command with echo
e.g.echo "/stats" > /run/vintagestory.stdin
and read the server output with
systemctl status vintagestory
of look at the log
sudo systemctl status vintagestory
My service and socket files are attached (Work in progress).
- 2
-
It seems, that turning mesa_glthread on gives nice performance boost. (Avg FPS from 58 to 71)
Change vintagestory.desktop file
mono Vintagestory.exe
to
mesa_glthread=true mono Vintagestory.exe
mesa_glthread is off
mesa_glthread is on
Not sure about the stability. I have to test it a little bit more, but it looks promising.
Tested with AMD RX580 graphic card.
-
Player corpse mod is great and something like this should be in vanilla.
This could expand "Death punishment" option.
- drop
- keep
- drop + add marker
- drop + create corpse
- 2
-
Clay is a good choice.
If you can find clay, you can make many more staff, not only storage vessels. E.g. you can start to cook meal, which is much better.
-
How to remove manually spawned trader in creative?
If I kill him, he will lie down like death, but later he respawns.
-
Hi, not sure how it works in GPortal, but fol local server you have to update server.sh file.
USERNAME='...YOUR_USERNAME_FOR_SERVER_RUN...' VSPATH='... PATH TO SERVER ...' DATAPATH='... PATH TO DATA - YOUR WORLD FROM SINGLEPLAYER in ~/.config/VintagestoryData/...'
under DATA update serverconfig.json - Paths
"ModPaths": [ "Mods", "... PATH TO SERVER/Mods" ],
"SaveFileLocation": "... PATH TO DATA/Saves/default.vcdbs",
Look here form some info: https://wiki.vintagestory.at/index.php?title=Setting_up_a_Multiplayer_Server
Basically you need to copy your Singleplayer Data from VintagestoryData directory to server and update server files.
-
3 hours ago, Tyron said:
check your server-main.txt, you might have mods enabled that are not compatible with 1.16
Right, I forgot I use one mode (Player corpse) and the modes are shared for all versions, so this is causing it.
Now it is working. -
21 hours ago, Sinda said:
It helped, thank you
Hi Sinda,
it works for you? You can even load/create the world? -
5 hours ago, Tyron said:
Temproary fix - copy Lib64/libnanosvg.so to the Lib/ folder
Hi, thanx.
Game starts, but I can't load/create any world. It stays stuck in loading screen.
This is console output.
Spoiler17:48:22 [Server Debug] BlockID Remapper: Begin
17:48:22 [Server Debug] Block IDs not found in savegame.
17:48:22 [Server Debug] Found 0 block requiring remapping
17:48:22 [Server Debug] Found 0 missing blocks
17:48:22 [Server Debug] Added 7907 new blocks to the mapping
17:48:22 [Server Debug] Block IDs have been written to savegame
17:48:22 [Server Debug] ItemID Remapper: Begin
17:48:22 [Server Debug] Item IDs not found in savegame.
17:48:22 [Server Debug] Found 0 Item requiring remapping
17:48:22 [Server Debug] Found 0 missing Items
17:48:22 [Server Debug] Added 2329 new Items to the mapping
17:48:22 [Server Debug] Item IDs have been written to savegame
17:48:23 [Server Error] Cannot resolve stack randomizer block with code torch-cloth-extinct-up, wrong code?
17:48:23 [Server Event] 7 metal alloys loaded
17:48:23 [Server Event] 6 cooking recipes loaded
17:48:24 [Server Event] 446 crafting recipes loaded from 196 files
17:48:24 [Server Event] 197 smithing recipes loaded
17:48:24 [Server Event] 54 clay forming recipes loaded
17:48:24 [Server Event] 36 knapping recipes loaded
17:48:24 [Server Event] 148 barrel recipes loaded
17:48:24 [Server Notification] Server map set
17:48:24 [Server Notification] Entering runphase LoadGame
17:48:24 [Server Notification] Entering runphase WorldReady
17:48:25 [Server Warning] Block schematic file barn-1.json uses blocks that could no longer be found. These will tu
rn into air blocks! (affected: game:bowl-burned)
17:48:25 [Server Warning] Block schematic file dining-room-1.json uses blocks that could no longer be found. These
will turn into air blocks! (affected: game:bowl-burned)
17:48:25 [Server Warning] Block schematic file archives-1.json uses blocks that could no longer be found. These wil
l turn into air blocks! (affected: game:bowl-burned)
17:48:25 [Server Warning] Block schematic file dormitory-4.json uses blocks that could no longer be found. These wi
ll turn into air blocks! (affected: game:bowl-burned)
17:48:26 [Server Warning] Block schematic file village-27.json uses blocks that could no longer be found. These wil
l turn into air blocks! (affected: game:torch-burnedout-up)
17:48:26 [Server Notification] Reloaded 35 tree generators
17:48:26 [Server Warning] Block patch Nr. 79: Unable to resolve block with code game:mushroom-devilsbolete-normal.
Will ignore.
17:48:26 [Server Event] Loading 7x7x8 spawn chunks...
17:48:26 [Server Event] 0% (49 in queue)
17:48:27 [Server Event] 0% (49 in queue)
17:48:29 [Server Event] 0% (69 in queue)
17:48:30 [Server Event] 0% (81 in queue)
17:48:32 [Server Event] 0% (119 in queue)
17:48:33 [Server Event] 0% (160 in queue)
17:48:35 [Server Event] 0% (200 in queue)
17:48:36 [Server Event] 0% (186 in queue)
17:48:38 [Server Event] Begin save game ticking...
17:48:38 [Server Notification] Entering runphase RunGame
17:48:38 [Server Notification] Starting server threads
17:48:38 [Server Event] Server pre jedného hráča now running!
17:48:38 [Client Notification] Server launched
17:48:38 [Server Notification] All clients disconnected, pausing game calendar.
17:48:38 [Server Notification] A Client attempts connecting via Dummy connection, assigning client id 1
17:48:38 [Server Notification] Client uid wAwq5J3tdJjN6h+RJJpTpE/X attempting identification. Name: daret
17:48:38 [Server Error] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an
invocation. ---> System.MissingMethodException: Method not found: !!0 Vintagestory.API.Common.IModLoader.GetModSyst
em<!0>()
at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeC
onstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System
.Boolean wrapExceptions) [0x00005] in <533173d24dae460899d2b10975534bb0>:0
--- End of inner exception stack trace ---
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System
.Boolean wrapExceptions) [0x0001a] in <533173d24dae460899d2b10975534bb0>:0
at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAtt
r, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086]
in <533173d24dae460899d2b10975534bb0>:0
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.
Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <533173d24dae4608
99d2b10975534bb0>:0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder bi
nder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.
Threading.StackCrawlMark& stackMark) [0x0022b] in <533173d24dae460899d2b10975534bb0>:0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflecti
on.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttribu
tes) [0x0009c] in <533173d24dae460899d2b10975534bb0>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <533173d24dae460899d2b10
975534bb0>:0
at Vintagestory.Common.ClassRegistry.CreateEntityBehavior (Vintagestory.API.Common.Entities.Entity forEntity, Sys
tem.String className) [0x00030] in <3be15e3e91d742dab550cd163b37a7a0>:0
at Vintagestory.Common.ClassRegistryAPI.CreateEntityBehavior (Vintagestory.API.Common.Entities.Entity forEntity,
System.String entityBehaviorName) [0x00000] in <3be15e3e91d742dab550cd163b37a7a0>:0
at Vintagestory.API.Common.Entities.EntitySidedProperties.loadBehaviors (Vintagestory.API.Common.Entities.Entity
entity, Vintagestory.API.Common.Entities.EntityProperties properties, Vintagestory.API.Common.IWorldAccessor world)
[0x00051] in <2e0a9922d73a43e783ef0d95da39b328>:0
at Vintagestory.API.Common.Entities.EntityProperties.Initialize (Vintagestory.API.Common.Entities.Entity entity,
Vintagestory.API.Common.ICoreAPI api) [0x00041] in <2e0a9922d73a43e783ef0d95da39b328>:0
at Vintagestory.API.Common.Entities.Entity.Initialize (Vintagestory.API.Common.Entities.EntityProperties properti
es, Vintagestory.API.Common.ICoreAPI api, System.Int64 InChunkIndex3d) [0x001f1] in <2e0a9922d73a43e783ef0d95da39b3
28>:0
at Vintagestory.API.Common.EntityAgent.Initialize (Vintagestory.API.Common.Entities.EntityProperties properties,
Vintagestory.API.Common.ICoreAPI api, System.Int64 InChunkIndex3d) [0x00027] in <2e0a9922d73a43e783ef0d95da39b328>:
0
at Vintagestory.API.Common.EntityPlayer.Initialize (Vintagestory.API.Common.Entities.EntityProperties properties,
Vintagestory.API.Common.ICoreAPI api, System.Int64 chunkindex3d) [0x0004b] in <2e0a9922d73a43e783ef0d95da39b328>:0
at Vintagestory.Server.ServerMain.SpawnEntity (Vintagestory.API.Common.Entities.Entity entity, Vintagestory.API.C
ommon.Entities.EntityProperties type) [0x000da] in <3be15e3e91d742dab550cd163b37a7a0>:0
at Vintagestory.Server.ServerMain.SpawnEntity (Vintagestory.API.Common.Entities.Entity entity) [0x0000e] in <3be1
5e3e91d742dab550cd163b37a7a0>:0
at Vintagestory.Server.ServerMain.FinalizePlayerIdentification (_fuwtwimWTPsAK8Q6HqNY8Nh3Z3N packet, Vintagestory
.Server.ConnectedClient client, System.String entitlements) [0x00382] in <3be15e3e91d742dab550cd163b37a7a0>:0
at Vintagestory.Server.ServerMain.HandlePlayerIdentification (_PgMIN0pxH8Khi2IbHKYtZSIRnaP p, Vintagestory.Server
.ConnectedClient client) [0x002e9] in <3be15e3e91d742dab550cd163b37a7a0>:0
at Vintagestory.Server.ServerMain.HandleClientPacket (Vintagestory.Server.ConnectedClient client, System.Byte[] d
ata) [0x0005a] in <3be15e3e91d742dab550cd163b37a7a0>:0
at Vintagestory.Server.ServerMain.ProcessNetMessage (Vintagestory.Common.NetIncomingMessage msg, Vintagestory.Com
mon.NetServer mainSocket) [0x00150] in <3be15e3e91d742dab550cd163b37a7a0>:0
-
It is not starting on linux with run.sh
client-crash.txt:
Version: v1.16.0-pre.2 (Unstable)01.12.2021 22:36:02: Critical error occurred System.DllNotFoundException: libnanosvg.so assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) NanoSvg.SvgNativeMethods.nsvgCreateRasterizer() at Vintagestory.Client.NoObf.SvgLoader..ctor (Vintagestory.API.Client.ICoreClientAPI _capi) [0x0000d] in <3be15e3e91d742dab550cd163b37a7a0>:0 at _8hKY98YYLSNuzwitBfBtUzSBDWJ..ctor (_HRfDngnpBWTmEXiuwbRWkFKyJZs , Vintagestory.API.Client.ICoreClientAPI ) [0x00030] in <3be15e3e91d742dab550cd163b37a7a0>:0 at _Qhe5emKnc9jNv5pN4mtlr6oB06l..ctor (_HRfDngnpBWTmEXiuwbRWkFKyJZs ) [0x00025] in <3be15e3e91d742dab550cd163b37a7a0>:0 at _HRfDngnpBWTmEXiuwbRWkFKyJZs._HH2M6AmcpFUMki4uDKOPMndAYft (_hFZgobIYoX0BrM3J1kokPKB9IqB , System.String[] ) [0x00000] in <3be15e3e91d742dab550cd163b37a7a0>:0 at _aeznW7dUzRtbc6gGqfLLAAGPvUF._HH2M6AmcpFUMki4uDKOPMndAYft (_hFZgobIYoX0BrM3J1kokPKB9IqB , System.String[] ) [0x003bf] in <8d66166b5af84e99b52d52577ba8f9cf>:0 at _aeznW7dUzRtbc6gGqfLLAAGPvUF+_ixZKgNgo7I3kbr4QthQzdebcglA._hUauVNSzd1WLRRhHfkNd8O6agJy () [0x00000] in <8d66166b5af84e99b52d52577ba8f9cf>:0 at _D1bjqjMU3djkJ14p5zl8JiWp0sG._HH2M6AmcpFUMki4uDKOPMndAYft (System.Threading.ThreadStart ) [0x00007] in <3be15e3e91d742dab550cd163b37a7a0>:0 -------------------------------
-
Thanx.
Is there a command to fully generate some word area?
Maybe people here with more experience with servers could give some advice. How big are they databases.
-
10 hours ago, Domkrats said:
I don't wan't to start new just to get that possibility.
Yes, exactly. Better skill system would be great.
Right now you can only use .charsel command to change your class.
-
How can the world file size be calculated?
E.g. to set max. world size according to hard-drive free space.
-
It works on Windows (https://cdn.vintagestory.at/gamefiles/stable/vs_archive_1.15.9.tar.gz)
And with the "--dataPath" it should work.
Alternatively you can always run your local server and connect to it locally (IP 127.0.0.1).
https://cdn.vintagestory.at/gamefiles/stable/vs_server_1.15.9.tar.gz
- extract
- and update config filesserver.sh
USERNAME='your-user-name' VSPATH='...path-to-server-dir.../vs_server_1.15.9/' DATAPATH='...path-to-server-Data-dir.../vs_server_1.15.9/Data/'
Data/serverconfig.json - if you copy your existing World Data"Mods", "...path-to-mods-dir.../vs_server_1.15.9/Data/Mods" ], "SaveFileLocation": "...path-to-saves-db.../vs_server_1.15.9/Data/Saves/default.vcdbs",
- 1
-
It work on Linux without problems. I just extract the tag.gz archive and run
run.sh
Not sure on Windows, but probably you need to run Vintagestory.exe.
-
The worst thing on temporal storms is, that you don't get anything special if you kill drifters. And if you don't loot them right away, they will probably de-spawn before you can.
- 1
-
Right, I just wanted to use my server from pc.
-
I just tried it on my old RPi 3B with 64 bit Raspberry Pi OS installed with Raspberry Pi Imager.
It seems to be working. I have had to install mono and screen first.sudo apt install mono-complete sudo apt install screen
and copied files (extracted vs server tar) with scp
scp -r vs_server_1.15.9 pi@192.168.1.222:/home/pi/vs
After updating server.sh and serverconfig.json
nano server.sh nano Data/serverconfig.json
It started fine with
./server.sh start
A little bit laggy, but with better RPi4 it could actually work.
-
I found this older post, it seems that R Pi 4 could work, maybe with 8GB RAM and some M.2 extender like Argon ONE M.2 Case.
-
Has anyone tried to run VS Server on RPi4 or some other 1-board computer (Ondroid, ... )?
-
It could even be chiseled without chisel. Like with stick (Dirt is soft)
-
Info like here: https://github.com/anegostudios/VintageStory-Issues
Quote**Game Version:** X.Y.Z
**Platform:** Windows / Mac / Linux (which?)
**Modded:** No / Yes (which?)### Description
Explain the issue you're running into.### How to reproduce
1. Make a '....'
2. Use it on '....'
3. It crashes / doesn't do the thing.### Expected behavior
If not obvious, what did you expect to happen?### Screenshots
Attach a screenshot if it helps explain the issue / shows a visual bug.### Logs
```
Paste crash between the triple backticks.In the game's Logs folder you may be able to find more information
inside client-main.txt and server-main.txt. Alternatively, you may use
gist.github.com to upload logs, linking them here, if they're too large.
```You can even make video to show it.
-
1 hour ago, Windego said:
And if we're going to add something to a class, we also need to take something from it.
So if we were to add the ability to tailor new custom hide clothing for hunters.... What would you think, needs to be taken away from the hunter? What penalty?It would probably be overcomplicated and it is not worth it. I was just surprised, that when I make new coat, the condition is terrible.
Maybe, when/if more skills are implemented, it could work like in Morrowind and you could train what you need and classes could make use of it.
Boost Linux performace
in Discussion
Posted · Edited by daretmavi
Not sure yet, the game seems to be freezing in the menu. Mostly on startup, or if I switch full-screen (F11).