ago

[RELEASED] Client mod loader

Recommended Posts

I get the following error using the most current client modloader release while using the 1.6.1.1 Beta.  Thank you.

 

[11:23:25 AM] INFO com.wurmonline.console: ====== CLIENT CRASH ======
[11:23:25 AM] INFO com.wurmonline.console: Unexpected crash while playing
[11:23:25 AM] INFO com.wurmonline.console: org.gotti.wurmunlimited.modloader.classhooks.HookException: java.lang.reflect.InvocationTargetException
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:354)
[11:23:25 AM] INFO com.wurmonline.console: 	at com.wurmonline.client.renderer.gui.HeadsUpDisplay.init(HeadsUpDisplay.java)
[11:23:25 AM] INFO com.wurmonline.console: 	at com.wurmonline.client.WurmClientBase.runGame(WurmClientBase.java:280)
[11:23:25 AM] INFO com.wurmonline.console: 	at com.wurmonline.client.WurmClientBase.run(WurmClientBase.java:1621)
[11:23:25 AM] INFO com.wurmonline.console: 	at java.lang.Thread.run(Thread.java:745)
[11:23:25 AM] INFO com.wurmonline.console: Caused by: java.lang.reflect.InvocationTargetException
[11:23:25 AM] INFO com.wurmonline.console: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[11:23:25 AM] INFO com.wurmonline.console: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[11:23:25 AM] INFO com.wurmonline.console: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[11:23:25 AM] INFO com.wurmonline.console: 	at java.lang.reflect.Method.invoke(Method.java:498)
[11:23:25 AM] INFO com.wurmonline.console: 	at net.encode.wurmesp.WurmEspMod.lambda$1(WurmEspMod.java:360)
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:344)
[11:23:25 AM] INFO com.wurmonline.console: 	... 4 more
[11:23:25 AM] INFO com.wurmonline.console: Caused by: org.gotti.wurmunlimited.modloader.classhooks.HookException: java.lang.reflect.InvocationTargetException
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:354)
[11:23:25 AM] INFO com.wurmonline.console: 	at com.wurmonline.client.renderer.gui.HeadsUpDisplay.init$4(HeadsUpDisplay.java)
[11:23:25 AM] INFO com.wurmonline.console: 	... 10 more
[11:23:25 AM] INFO com.wurmonline.console: Caused by: java.lang.reflect.InvocationTargetException
[11:23:25 AM] INFO com.wurmonline.console: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[11:23:25 AM] INFO com.wurmonline.console: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[11:23:25 AM] INFO com.wurmonline.console: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[11:23:25 AM] INFO com.wurmonline.console: 	at java.lang.reflect.Method.invoke(Method.java:498)
[11:23:25 AM] INFO com.wurmonline.console: 	at net.bdew.wurm.skilltrack.SkillTrackMod.lambda$null$0(SkillTrackMod.java:39)
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:344)
[11:23:25 AM] INFO com.wurmonline.console: 	... 11 more
[11:23:25 AM] INFO com.wurmonline.console: Caused by: org.gotti.wurmunlimited.modloader.classhooks.HookException: java.lang.RuntimeException: java.lang.NoSuchMethodException: preprocessImage
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:354)
[11:23:25 AM] INFO com.wurmonline.console: 	at com.wurmonline.client.renderer.gui.HeadsUpDisplay.init$3(HeadsUpDisplay.java)
[11:23:25 AM] INFO com.wurmonline.console: 	... 17 more
[11:23:25 AM] INFO com.wurmonline.console: Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: preprocessImage
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmonline.clientmods.livehudmap.LiveMap.<init>(LiveMap.java:54)
[11:23:25 AM] INFO com.wurmonline.console: 	at com.wurmonline.client.renderer.gui.LiveMapWindow.<init>(LiveMapWindow.java:37)
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmonline.clientmods.livehudmap.LiveHudMapMod$2.run(LiveHudMapMod.java:89)
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmonline.clientmods.livehudmap.LiveHudMapMod.initLiveMap(LiveHudMapMod.java:105)
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmonline.clientmods.livehudmap.LiveHudMapMod.access$000(LiveHudMapMod.java:29)
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmonline.clientmods.livehudmap.LiveHudMapMod$1$1.invoke(LiveHudMapMod.java:69)
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:344)
[11:23:25 AM] INFO com.wurmonline.console: 	... 18 more
[11:23:25 AM] INFO com.wurmonline.console: Caused by: java.lang.NoSuchMethodException: preprocessImage
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmunlimited.modloader.ReflectionUtil.getMethod(ReflectionUtil.java:58)
[11:23:25 AM] INFO com.wurmonline.console: 	at org.gotti.wurmonline.clientmods.livehudmap.LiveMap.<init>(LiveMap.java:52)
[11:23:25 AM] INFO com.wurmonline.console: 	... 24 more
[11:23:30 AM] INFO com.wurmonline.console: Exiting Wurm after an Error

 

Share this post


Link to post
Share on other sites
40 minutes ago, SallyIronside said:

I get the following error using the most current client modloader release while using the 1.6.1.1 Beta.  Thank you.

 

 

 

Install the beta version of livemap, it's in it's thread.

Share this post


Link to post
Share on other sites

Need a litle help here :( 
As i can see its the live map. 
have tryed the 8.0 vers too 

Vertex/index buffer memory limit: 1024MiB
Starting workaround for fast running clocks
Using LWJGL timer.
Initialized mouse with 5 buttons.
Startup Phase - Initializing..
Initializing font texture for SansSerif (11). Texture Size: 512
Initializing font texture for SansSerif (11, italic). Texture Size: 128
Experimental direct buffer cleaner init successful
Preloading builtin materials
Preloading builtin materials done
Launching Collada Model Loader threads
Launching WOM Loader threads
Startup Phase - Setting up..
Loading window positions from PlayerFiles\players\Danielle\windows_1920x1080.txt
Loading props file PlayerFiles\players\Danielle\windows_1920x1080.txt
Gui initialized
Execution aborted at connection 0, iteration 0
Run time 0s, local time Fri May 04 23:16:45 CEST 2018
Destroying game window
====== CLIENT CRASH ======
Unexpected crash while playing
org.gotti.wurmunlimited.modloader.classhooks.HookException: java.lang.RuntimeException: java.lang.NoSuchMethodException: preprocessImage
    at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:354)
    at com.wurmonline.client.renderer.gui.HeadsUpDisplay.init(HeadsUpDisplay.java)
    at com.wurmonline.client.WurmClientBase.runGame(WurmClientBase.java:280)
    at com.wurmonline.client.WurmClientBase.run(WurmClientBase.java:1621)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: preprocessImage
    at org.gotti.wurmonline.clientmods.livehudmap.LiveMap.<init>(LiveMap.java:54)
    at com.wurmonline.client.renderer.gui.LiveMapWindow.<init>(LiveMapWindow.java:37)
    at org.gotti.wurmonline.clientmods.livehudmap.LiveHudMapMod$2.run(LiveHudMapMod.java:89)
    at org.gotti.wurmonline.clientmods.livehudmap.LiveHudMapMod.initLiveMap(LiveHudMapMod.java:105)
    at org.gotti.wurmonline.clientmods.livehudmap.LiveHudMapMod.access$000(LiveHudMapMod.java:29)
    at org.gotti.wurmonline.clientmods.livehudmap.LiveHudMapMod$1$1.invoke(LiveHudMapMod.java:69)
    at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:344)
    ... 4 more
Caused by: java.lang.NoSuchMethodException: preprocessImage
    at org.gotti.wurmunlimited.modloader.ReflectionUtil.getMethod(ReflectionUtil.java:58)
    at org.gotti.wurmonline.clientmods.livehudmap.LiveMap.<init>(LiveMap.java:52)
    ... 10 more
 

Share this post


Link to post
Share on other sites

C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited\WurmLauncher\WurmClientModLauncher-master\modules\patcher\src\main\scripts>..\runtime\bin\java -classpath patcher.jar;javassist.jar org.gotti.wurmunlimited.patcher.PatchClientJar
The system cannot find the path specified.

C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited\WurmLauncher\WurmClientModLauncher-master\modules\patcher\src\main\scripts>pause
Press any key to continue . . .

 

what files do i need to move and why are the files not in the right place to start with ?

 

Share this post


Link to post
Share on other sites

 

3 hours ago, Alystara said:

C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited\WurmLauncher\WurmClientModLauncher-master\modules\patcher\src\main\scripts>..\runtime\bin\java -classpath patcher.jar;javassist.jar org.gotti.wurmunlimited.patcher.PatchClientJar
The system cannot find the path specified.

C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited\WurmLauncher\WurmClientModLauncher-master\modules\patcher\src\main\scripts>pause
Press any key to continue . . .

 

what files do i need to move and why are the files not in the right place to start with ?

 

patcher.bat and all its needed file need to be in the root folder not in a folder called \WurmClientModLauncher-master\...

Edited by bigsteve

Share this post


Link to post
Share on other sites

I have been crashing since v0.9

 

WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

Share this post


Link to post
Share on other sites
18 hours ago, Tekada said:

I have been crashing since v0.9

 

WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

 

 

This is not related to the modloader. Please provide the client.log file

Share this post


Link to post
Share on other sites

D:\Games\Steam\steamapps\common\Wurm Unlimited>..\runtime\bin\java -classpath pa
tcher.jar;javassist.jar org.gotti.wurmunlimited.patcher.PatchClientJar

The system cannot find the path specified.

D:\Games\Steam\steamapps\common\Wurm Unlimited>pause

Press any key to continue . . .

 

what files do i need to move and why are the files not in the right place to start with ?

 

Share this post


Link to post
Share on other sites
On 8/17/2018 at 12:17 AM, Reallist said:

D:\Games\Steam\steamapps\common\Wurm Unlimited>..\runtime\bin\java -classpath pa
tcher.jar;javassist.jar org.gotti.wurmunlimited.patcher.PatchClientJar

The system cannot find the path specified.

D:\Games\Steam\steamapps\common\Wurm Unlimited>pause

Press any key to continue . . .

 

what files do i need to move and why are the files not in the right place to start with ?

 

 

put the modlauncher and everything that comes with it in the WurmLauncher folder

Share this post


Link to post
Share on other sites

D:\Program Files\SteamLibrary\steamapps\common\Wurm Unlimited\WurmLauncher>..\runtime\bin\java -classpath patcher.jar;javassist.jar org.gotti.wurmunlimited.patcher.PatchClientJar
Sep 12, 2018 3:36:14 AM org.gotti.wurmunlimited.patcher.PatchClientJar run
INFO: Client is now patched

D:\Program Files\SteamLibrary\steamapps\common\Wurm Unlimited\WurmLauncher>pause
Press any key to continue . . .


Hi, I'm new here. I get the client is patched message just fine, but WU refuses to load from the desktop shortcut, the steam library, or even from the application directly. I have to "Verify integrity of game files" in the steam properties in order to get WU working again. For the 3 times I've tried the patcher, it's only been one file that had to be reloaded. Not sure which one, but it's 10.3MB. WU will load and run after the integrity check. 

 

I don't know if I'm the only one having this issue or not, but the mod loader is the only thing added client-side. The server mod loader works fine for me...this wouldn't be a big deal for me, but I really want custom maps in my game and I don't want to mess with .jar files each time I want to try a new map. 

 

Please, send help.

 

~Dorian

 

Edit: This is also using the latest version (0.9) of the mod loader and WU 1.7.

 

Edit2: After doing a little digging in this thread, I found one of Ago's comments explaining a little bit about how the mod loader patches the game files. I'm thinking the file that is reacquired by Steam is the client.jar file (as that makes the most sense to me and is around the right file size).

 

Also, any time I try to open the launcher after patching, a file pops up for a few seconds called "client.log.lck" (0KB) before it disappears and the load fails. I tried one of bdew's old steam app id tricks to see if I can bypass steam's authentication process if that was the issue for some reason, but ended with the same results.

Edited by PVPavement
updates

Share this post


Link to post
Share on other sites

It should also create client.log. Please post the contents of this file.

Share this post


Link to post
Share on other sites

Ah, I'm dumb. Here's the client.txt file. I saw threedee in there and facepalmed. I was working on trying to fix the game all night and thought I got all of the other mods out. I derped. My bad. 

 

I'll leave this up though, for others if they have an issue like mine. Server mods don't work on the client launcher... (In my defense, it was my first day modding. lol)

 

[01:12:37 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: ModLoader version v0.9-b2d2192
[01:12:37 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: Game version 1.7.0.0
[01:12:37 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: Reading mods\connectionfix\connectionfix.jar!/META-INF/org.gotti.wurmunlimited.modloader/connectionfix.properties
[01:12:37 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: Reading mods\connectionfix.properties
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: Reading mods\custommap\custommap.jar!/META-INF/org.gotti.wurmunlimited.modloader/custommap.properties
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: Reading mods\custommap.properties
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: Reading mods\serverpacks\serverpacks.jar!/META-INF/org.gotti.wurmunlimited.modloader/serverpacks.properties
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: Reading mods\serverpacks.properties
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: Reading mods\threedee.properties
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModLoaderShared: Reading mods\threedee.config
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModInstanceBuilder: Classpath: [mods\connectionfix\connectionfix.jar]
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModInstanceBuilder: Classpath: [mods\custommap\custommap.jar]
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModInstanceBuilder: Classpath: [mods\serverpacks\serverpacks.jar]
[01:12:38 PM] INFO org.gotti.wurmunlimited.modloader.ModInstanceBuilder: Classpath: [mods\threedee\threedee.jar]
[01:12:38 PM] SEVERE org.gotti.wurmunlimited.clientlauncher.DelegatedLauncher: org/gotti/wurmunlimited/modloader/interfaces/WurmServerMod

Share this post


Link to post
Share on other sites
15 minutes ago, PVPavement said:

I'll leave this up though, for others if they have an issue like mine. Server mods don't work on the client launcher... (In my defense, it was my first day modding. lol)

I think many of us have been there. Thanks for posting it for the next guy's benefit.  🙂

 

Edited by Batta

Share this post


Link to post
Share on other sites
50 minutes ago, PVPavement said:

(In my defense, it was my first day modding. lol)

 

 

And most of us started without the mod loader. RIP the sanity. 

Share this post


Link to post
Share on other sites

To anyone having issues installing this and other mods, I wanted to say I struggled with it until I not only installed/copied the client mod launcher, but then you also have to throw the connection fix, livemap, AND the serverpacks into the 'mod' folder before it'll work. 

 

Maybe the instructions should be updated to reflect this? Or, instead of having those files separate, add them to the client mod launcher with each update. 

 

:)

Share this post


Link to post
Share on other sites

Because the first is the modloader and the other ones are mods ;)

Without mods, the modloader have nothing to do ^^

Share this post


Link to post
Share on other sites

I'm on Ubuntu 18.04 and can't run patcher.sh because of this:

Quote

../runtime/jre1.8.0_60/bin/java: not found

 

Where can I install needed Java version?

Edited by Slafk

Share this post


Link to post
Share on other sites

Please change the version number to jre1.8.0_121. It seems I have not modified the patcher.sh when the supplied java runtime changed.

 

EDIT: What version of the client mod loader do you use? The version was changed with version 0.7 almost a year ago.

Edited by ago

Share this post


Link to post
Share on other sites

Oh looks like I was using version 0.5.

I downloaded the newest version 0.9 but patcher still can't find java, version of supplied runtime is jre1.8.0_172, I tried to change version in patcher from 121 to 172 and I get the same jre1.8.0_172/bin/java: not found

Share this post


Link to post
Share on other sites

Hello, I'm new to WU i've seemed to have got most of this working but have seemed to run into a issue client side(I'm guessing).

I have both the map and mappings in the .jar, so confused at this point. Been working on it for hours now lol

[10:12:45 AM] INFO com.wurmonline.console: No mapping found for map.infinity

------------------
mappings.txt

map.infinity = map_Infinity.png

Thanks for any help.

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