ago

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

Recommended Posts

48 minutes ago, Andobi said:

Mods discovered this way will have depend.ondemand=true set unless the properties file in the jar explicitly sets depend.ondemand to something else.

 

That's the key point, and the fact that mods with ondemand=true aren't loaded unless something depends on them.

Share this post


Link to post
Share on other sites

Thank you bdew, this is the bit that I was missing. I've extracted a .properties file from the .jar and put it into the /mods folder. From this I've learnt two more things:

- I didn't need to rerun the patcher, the mod loaded up

- leaving the settings commented doesn't seem to actually deactivate them e.g.

#enableSeasonsCommand=true
enableSeasonsMotd=false

first line still is in effect even though commented out, suggesting that it is the default setting (not what I understood from the readme for the modloader)

second line explicitly overrides the default which would be set to true if this line was commented

 

Hopefully this is me done now. Summary:

 

Download and install modloader for server (and client if required) by unpacking the zip into the server folder i.e. Steam\steamapps\common\Wurm Unlimited\WurmServerLauncher

        there should end up being a /mods folder within the server folder

Run patcher file

Start patched server, resulting in .config files being generated in the /mods folder

        these can be used to configure the mod, maybe the default settings are written there? But commented out, override if required (remove # from front of settings)

Close server for now

Extract .properties files from the .jar of the mod using 7zip, place them in the /mods folder

        this is required to enable the mods

Share this post


Link to post
Share on other sites
On 5/26/2018 at 9:11 AM, Elsa said:

Okay just  a bit missleading and confusing.

 

The number of possible spell effects is limited so I reused the courier spell id for bag of holding. As far as I remember it's not easily possibly to replace the examine message of the spell since it goes to the Courier spell right away.

Share this post


Link to post
Share on other sites
On 5/14/2018 at 2:16 AM, ozmods said:

crop mod isnt giving extra even after changing the "extra harvest" tried to change to 1000 as a test, same result.

 

I checked and it works as expected. I'm unsure though if the large number is causing issues.

 

# number: additional results from harvests
extraHarvest=50

Make sure you removed the hashmark on the line and check server.log for the amount the server uses

[08:54:09 AM] INFORMATION org.gotti.wurmunlimited.mods.cropmod.CropMod: disableWeeds: true
[08:54:09 AM] INFORMATION org.gotti.wurmunlimited.mods.cropmod.CropMod: extraHarvest: 50

 

Share this post


Link to post
Share on other sites
[08:27:08 AM] WARNING com.wurmonline.server.creatures.Communicator: Sindawn- action request failed.
com.wurmonline.server.skills.NoSuchSkillException: Unknown skill - unknown, total number of skills known is: 138
	at com.wurmonline.server.skills.Skills.getSkill(Skills.java:412)
	at com.wurmonline.server.behaviours.BehaviourDispatcher.requestActionForSkillIds(BehaviourDispatcher.java:752)
	at com.wurmonline.server.behaviours.BehaviourDispatcher.requestActions(BehaviourDispatcher.java:286)
	at com.wurmonline.server.creatures.Communicator.reallyHandle_CMD_REQUEST_ACTIONS(Communicator.java:7389)
	at com.wurmonline.server.creatures.Communicator.reallyHandle(Communicator.java:2370)
	at com.wurmonline.communication.SocketConnection.tick(SocketConnection.java:615)
	at com.wurmonline.communication.SocketServer.tick(SocketServer.java:172)
	at com.wurmonline.server.Server.run(Server.java:2514)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)

Error occurs whenever you open a context menu for a non-skill (Faith, Characteristics, Skills, etc.) in the "Skills" menu with the latest version of modlauncher.

Share this post


Link to post
Share on other sites

@agoHello mate, can you make it possible to edit boh enchant on containers with the GM-Wand? (item/enchants)

 

Eject

Edited by Eject

Share this post


Link to post
Share on other sites
3 hours ago, Eject said:

@agoHello mate, can you make it possible to edit boh enchant on containers with the GM-Wand? (item/enchants)

 

Eject

Yes please!  This would be very helpful.

Share this post


Link to post
Share on other sites

It has been awhile since I started a LAN server from scratch. What do you suppose I'm doing wrong?  I am not getting any mods. After clicking modlauncher.bat, then patcher.bat, I get the following:

Spoiler

C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited Dedicated Server>set JAVA=java

C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited Dedicated Server>if exist runtime\bin\java.exe set JAVA=runtime\bin\java.exe

C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited Dedicated Server>if exist ..\runtime\bin\java.exe set JAVA=..\runtime\bin\java.exe

C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited Dedicated Server>runtime\bin\java.exe -classpath patcher.jar;javassist.jar org.gotti.wurmunlimited.patcher.PatchServerJar
Exception in thread "main" java.lang.NoClassDefFoundError: javassist/ClassPool
        at org.gotti.wurmunlimited.patcher.PatchServerJar.run(PatchServerJar.java:84)
        at org.gotti.wurmunlimited.patcher.PatchServerJar.main(PatchServerJar.java:153)
Caused by: java.lang.ClassNotFoundException: javassist.ClassPool
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 2 more

C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited Dedicated Server>pause
Press any key to continue . . .

I don't get any patched launcher, and the game is totally vanilla. Would someone please remind me what I'm supposed to be doing?

 

I was able to do all of the sections in green, below. Got stuck when I used patcher.bat and got no patched launcher.

Quote
  • Instructions
  • Extract the contents of server-modlauncher-<version>.zip into the dedicated server dir
  • Extract the contents of the additional mods you want to intall into the dedicated server dir. This will install the required .properties files to enable the mods.
  • Start modlauncher.bat or modlauncher.sh
  • Also check out the installation instructions

 

Patcher

  •  run patcher.bat or patcher.sh to patch to server.jar and the WurmServerLaucher
  •  This will create WurmServerLaucher-patched which you can start like the original game but starts the modded version
  •  You can then copy WurmServerLaucher-patched to WurmServerLaucher to run the loader from Steam

 

More info.  I put the server modlauncher and mods into the Wurm Unlimited Dedicated Server folder. Is that correct, or were they supposed to go into the Wurm Server Launcher folder?

Edited by Batta

Share this post


Link to post
Share on other sites

Further to my question above: Here's a screenshot of what my WU Dedicated Server folder looks like before & after I double click the modlauncher.bat and patcher.bat.  Maybe it will be helpful?

 

WU_Dedicated_Server_-_unpatched_mods.jpg

 

Edited by Batta

Share this post


Link to post
Share on other sites
2 hours ago, Batta said:

Further to my question above: Here's a screenshot of what my WU Dedicated Server folder looks like before & after I double click the modlauncher.bat and patcher.bat.  Maybe it will be helpful?

 

WU_Dedicated_Server_-_unpatched_mods.jpg

 

7 hours ago, Batta said:

Caused by: java.lang.ClassNotFoundException: javassist.ClassPool

 

you're missing javassist.jar that should have come with the modlauncher

 

Share this post


Link to post
Share on other sites
6 hours ago, bdew said:

 

you're missing javassist.jar that should have come with the modlauncher

 

Oh!  I'll try downloading it again.  Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now