ago

[RELEASED] Server mod loader + priest + crops + seasons + server packs + bag of holding

Recommended Posts

I installed the server mod launcher according to the instructions, however when I start "WurmServerLauncher-patched.exe" it opens the cmd window, runs through a lot of lines of text so fast that I only catch a couple words at most, then closes it without doing anything else I can tell. It also does not log anything for me to copy and paste here. I tried to record it so you could see what I mean but Windows 10's "X-Box Game Bar" doesn't exactly want to cooperate and allow that, and I don't have any other screen-recording software on this. 

Share this post


Link to post
Share on other sites
8 minutes ago, Cuddles said:

open server.log the error will be recorded in there

I had looked for it but earlier that file never appeared, the closest were "logging.properties" and "server.jar". After reading your reply I checked again for it and it truly wasn't there, but after restarting the computer and then running "WurmServerLauncher-patched.exe" again it finally showed up. Apparently it is "boatmod" causing the problem. I'm going to take it out and try again. 

 

The exact log file info reads:

[05:46:54 PM] SEVERE org.gotti.wurmunlimited.serverlauncher.DelegatedLauncher: javassist.NotFoundException: embark(..) is not found in com.wurmonline.server.players.Player
org.gotti.wurmunlimited.modloader.classhooks.HookException: javassist.NotFoundException: embark(..) is not found in com.wurmonline.server.players.Player
	at org.gotti.wurmunlimited.mods.boatmod.BoatMod.preInit(BoatMod.java:176)
	at org.gotti.wurmunlimited.modloader.ModLoaderShared.lambda$loadModsFromModDir$6(ModLoaderShared.java:166)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
	at org.gotti.wurmunlimited.modloader.ModLoaderShared.loadModsFromModDir(ModLoaderShared.java:164)
	at org.gotti.wurmunlimited.serverlauncher.DelegatedLauncher.main(DelegatedLauncher.java:20)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at javassist.Loader.run(Loader.java:286)
	at org.gotti.wurmunlimited.serverlauncher.ServerLauncher.main(ServerLauncher.java:33)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at PatchedLauncher.main(PatchedLauncher.java:20)
Caused by: javassist.NotFoundException: embark(..) is not found in com.wurmonline.server.players.Player
	at javassist.CtClassType.getDeclaredMethod(CtClassType.java:1343)
	at org.gotti.wurmunlimited.mods.boatmod.BoatMod.preInit(BoatMod.java:163)
	... 23 more

 

 

 

*EDIT* After removing Boatmod it worked!

Share this post


Link to post
Share on other sites

We ran into a curious issue with local server packs. Server packs download just fine for everyone else but on the same network, the server packs gives the local client the public IP and cannot download the packs. Is there a way to fix this so if it detects a client on the same subnet, give them the local internal server IP for pack download?

Share this post


Link to post
Share on other sites
On 2/8/2020 at 2:00 AM, WesncIsMe said:

We ran into a curious issue with local server packs. Server packs download just fine for everyone else but on the same network, the server packs gives the local client the public IP and cannot download the packs. Is there a way to fix this so if it detects a client on the same subnet, give them the local internal server IP for pack download?

 

It's not currently something that the mod can do. Check if your router supports NAT Hairpinning (or sometimes called NAT Loopback) if it does you can configure it to redirect connections to the public ip from inside the network to the server.

Share this post


Link to post
Share on other sites

So I'm confused, is the modloader still required to run mods on WU or did the latest update remove the need to install the version to the server and client from the forums here?

 

  • Do I still need to install ModLoader to Client/Server with latest WU update?
  • Can I just create a "Mods" folder and drop mods in and expect them to run on latest WU update?

Share this post


Link to post
Share on other sites

So, I had installed the following mods to a server:

  1. ServerPacks
  2. HttpServer
  3. ServerMap
  4. HitchingPosts

Configured out HttpServer and started the server (tested this with only those 4 mods too by the way) and no pack was being sent. The Hitchingposts were showing little ? bags.

It wasn't until I removed ServerMap that the packs would be sent to the client at all.

Now mind you I hadn't changed anything within the ServerMap configuration file at all, I left it all default except for maybe uncommenting a the following:
 

Spoiler
# ServerMap Mod configuration options
  # Remove the comment character '#' before the option you want to enable / change
   
  # always load the mod
  # Enable this to load the mod regardless of a servermap.properties file present
  #depend.ondemand=false
   
  # Add the serverpack with the map. Changing this to false will effectively deactivate the mod
  addServerMapPack=true
   
  # Render the map from server live data at server startup.
  # true: The map is rendered from server data
  # false: The map is read from pre-rendered images SERVERNAME/MAPNAME.png, SERVERNAME/render.png or mapdump.png
  renderServerMap=true
   
  # Select map renderer. Possible values are
  # shaded: renderer based on the internal flat map dump renderer
  # isometric: renderer based on the classic isometric map dump renderer
  renderer=isometric

 

Share this post


Link to post
Share on other sites

Quick Question:

  1. Hitching Post, can animals be unhitched freely? By anyone at any time?
    • Or are there a couple of "rules" that apply? Like if the Animal is branded, only those who could lead the animal can unhitch it?
  2. Is there a way to lock the hitching post to prevent unhitching by people who should not be unhitching animals?
    • Large or Small padlocks don't appear to give the option to lock.

Share this post


Link to post
Share on other sites

For me it doesnt work :( The patcher.bat wont work

On the client modloader too

 

By the server i get following errot:

 


C:\WINDOWS\system32>set JAVA=java

C:\WINDOWS\system32>if exist runtime\bin\java.exe set JAVA=runtime\bin\java.exe

C:\WINDOWS\system32>if exist ..\runtime\bin\java.exe set JAVA=..\runtime\bin\java.exe

C:\WINDOWS\system32>java -classpath patcher.jar;javassist.jar org.gotti.wurmunlimited.patcher.PatchServerJar
Fehler: Hauptklasse org.gotti.wurmunlimited.patcher.PatchServerJar konnte nicht gefunden oder geladen werden

C:\WINDOWS\system32>pause
Drücken Sie eine beliebige Taste . . .

 

in english it says he cannot find the mainclass

 

How can i fix that?? Oh and do i really need the dedicatet server or should it work in the normal wurmserverlauncher folder too?

Share this post


Link to post
Share on other sites

Is it possible to use the Scriptrunner to run a "Server Shut-down warning" prior to the server actually shutting down?

I use a host service that doesn't provide a method to do this and would like to be able to warn players online that the server is going to shut-down on it's usual schedule.

 

Is there a way to do this, and if so.. How? xD

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.