Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
It's also good to note I receive the error when anyone on our server types. It's not just when I type. Some players have reported receiving the same error, some say they have not been receiving any errors.
_______________________
Callframe at: getSpecificPlayer
function: process_chat -- file: ZombieEnteredChat.lua line # 13 | MOD: Zombies Hear Chat
ERROR: General , 1707280885885> 185,955,691> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor5169.invoke.
ERROR: General , 1707280885885> 185,955,691> DebugLogStream.printException> Stack trace:
java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor5169.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:134)
at zombie.chat.ChatBase.showMessage(ChatBase.java:308)
at zombie.chat.ChatManager.processChatMessagePacket(ChatManager.java:266)
at zombie.network.GameClient.receiveChatMessageToPlayer(GameClient.java:701)
at zombie.network.PacketTypes$PacketType.onMainLoopHandlePacketInternal(PacketTypes.java:1028)
at zombie.network.GameClient.mainLoopHandlePacketInternal(GameClient.java:644)
at zombie.network.GameClient.mainLoopDealWithNetData(GameClient.java:621)
at zombie.network.GameClient.update(GameClient.java:431)
at zombie.GameWindow.logic(GameWindow.java:232)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 15 out of bounds for length 4
at zombie.Lua.LuaManager$GlobalObject.getSpecificPlayer(LuaManager.java:2210)
... 28 more
Yeah I've got an idea of what it is, I put a check in line 14 afterwards that stopped throwing that error on my machine but it seems the client doesn't like accessing players on a server. It can get 'itself' (i.e. your player) but throws errors iterating through other players.
Think I know a fix, will try it this weekend.
Edit:
I was chatting ♥♥♥♥, turns out I hadn't written that one line properly. Smooth.
Dedicated.
_________
`Callframe at: getSpecificPlayer
function: process_chat -- file: ZombieEnteredChat.lua line # 13 | MOD: Zombies Hear Chat
Callframe at: processGeneralMessage
function: onCommandEntered -- file: ISChat.lua line # 521 | Vanilla
function: onCommandEntered -- file: Commands_WP.lua line # 38 | MOD: Water and power controls
function: onCommandEntered -- file: LogExtenderClient.lua line # 562 | MOD: Log Extender
function: onCommandEntered -- file: UdderlyUpToDate_Commands_Client.lua line # 93 | MOD: Udderly Up To Date
java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor1551.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:134)
at zombie.chat.ChatBase.showMessage(ChatBase.java:308)
at zombie.chat.ChatManager.sendMessageToChat(ChatManager.java:436)
at zombie.chat.ChatManager.sendMessageToChat(ChatManager.java:316)
at zombie.chat.ChatManager.sendMessageToChat(ChatManager.java:320)
at zombie.Lua.LuaManager$GlobalObject.processGeneralMessage(LuaManager.java:7633)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1782)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.ui.UITextBox2.onCommandEntered(UITextBox2.java:858)
at zombie.core.Core.updateKeyboardAux(Core.java:2024)
at zombie.core.Core.updateKeyboard(Core.java:2360)
at zombie.core.Core.DoFrameReady(Core.java:3121)
at zombie.GameWindow.frameStep(GameWindow.java:781)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 6 out of bounds for length 4
at zombie.Lua.LuaManager$GlobalObject.getSpecificPlayer(LuaManager.java:2210)
... 41 more
`
The only change I made was rather than incorrectly using getSpecificPlayer at an index, it gets the player from an array stored in my code using a simple array:get() call and the array is generated using a built-in function, there's no correlation, that makes zero sense and it's not coming up on my servers, dedicated or listen. It's only mentioned in a comment but on a different line too.
I'll erase the comment but I doubt that'll fix it, it just looks like it hasn't updated.
Sorry man, but it looks like I can't help that situation. Thanks for your help with the logs though, it's much appreciated.
Very strange. I will try unsubbing from your mod then resubbing. All I did was remove it from our server but I kept it in my 108600. Fingers crossed that's the solve.
Edit: That seems to have fixed the issue. This was a first time for me. lol I never had a situation where my client side did not update (108600 folder) when re-adding a mod. But now that I know even this can be an issue I will be sure to remember it for later on.
Thank you for your mod! I hope our server enjoys it as well.
Glad you get to enjoy it bug-free now and as I say, thanks again for your help debugging!