What is it really used for? 1.5.3
- Avoid crash in translation for ongoing game.
- Rename text box to avoid potential name clash with other mods.
I wasn't even aware that this was possible, but I see Helmod does it. Thanks for making me aware. Will look into it.
Excellent, and thank you.Coppermine wrote: βTue Jan 28, 2020 1:47 am I wasn't even aware that this was possible, but I see Helmod does it. Thanks for making me aware. Will look into it.
Code: Select all
main_frame.force_auto_center()
Do you significantly prefer it in the center? I think it makes sense to be more top-left, and you should only need to move the window to the middle of the screen once per game to have it where you want. Is the new window dragging working for you?kingarthur wrote: βSat Feb 01, 2020 2:55 am hey so ive been using the newest version of wiiruf and noticed its very off center even on this smallish monitor i use. if instead of setting the location of the gui you useit forces it to the center of the screen or at least a lot closer to where the old version was.Code: Select all
main_frame.force_auto_center()
window dragging is working. i kind of prefer it centered as the left gets cluttered with a bunch of stuff from other mods. i hadnt noticed if it locks in place as ive been working on my own stuff and restarting a lot. if it does stay where its put then it its not really an issue as it would only really be a problem when im actually playing.Coppermine wrote: βSat Feb 01, 2020 10:19 amDo you significantly prefer it in the center? I think it makes sense to be more top-left, and you should only need to move the window to the middle of the screen once per game to have it where you want. Is the new window dragging working for you?kingarthur wrote: βSat Feb 01, 2020 2:55 am hey so ive been using the newest version of wiiruf and noticed its very off center even on this smallish monitor i use. if instead of setting the location of the gui you useit forces it to the center of the screen or at least a lot closer to where the old version was.Code: Select all
main_frame.force_auto_center()
I haven't noticed anything weird in MPCoppermine wrote: βFri Jan 31, 2020 11:51 am Has anyone tried 1.5.3+ in a multiplayer game yet? I'm curious to know whether the new search feature causes any performance problems. It would probably only happen the first time any player performs a search.
Code: Select all
48173.729 Info AppManager.cpp:288: Saving to _autosave2 (blocking).
48177.740 Info AppManagerStates.cpp:1843: Saving finished
48523.645 Script @__helmod__/gui/GuiCell.lua:615: final
48525.777 Script @__helmod__/gui/GuiCell.lua:615: final
48633.030 Error MainLoop.cpp:1202: Exception at tick 40634952: The mod What is it really used for? caused a non-recoverable error.
Please report this error to the mod author.
Error while running event what-is-it-really-used-for::on_gui_click (ID 1)
Can't destroy root element
stack traceback:
__what-is-it-really-used-for__/control.lua:812: in function <__what-is-it-really-used-for__/control.lua:778>
stack traceback:
[C]: in function 'destroy'
__what-is-it-really-used-for__/control.lua:812: in function <__what-is-it-really-used-for__/control.lua:778>
48633.033 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod What is it really used for? caused a non-recoverable error.
Please report this error to the mod author.
Error while running event what-is-it-really-used-for::on_gui_click (ID 1)
Can't destroy root element
stack traceback:
__what-is-it-really-used-for__/control.lua:812: in function <__what-is-it-really-used-for__/control.lua:778>
stack traceback:
[C]: in function 'destroy'
__what-is-it-really-used-for__/control.lua:812: in function <__what-is-it-really-used-for__/control.lua:778>"
48633.037 Info ServerMultiplayerManager.cpp:773: updateTick(40634952) changing state from(InGame) to(Failed)
48633.038 Quitting: multiplayer error.
48633.687 Info ServerMultiplayerManager.cpp:138: Quitting multiplayer connection.
48633.688 Info ServerMultiplayerManager.cpp:773: updateTick(4294967295) changing state from(Failed) to(Closed)
48633.731 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/remove-game/6814032
48633.762 Info UDPSocket.cpp:218: Closing socket
48633.764 Info UDPSocket.cpp:248: Socket closed
48633.770 Info UDPSocket.cpp:218: Closing socket
48633.887 Info UDPSocket.cpp:218: Closing socket
I also get disconnected anytime I search anything in multiplayer. As soon as I get 2 letters into the box and it starts I can no longer move and are a short time it tells me I've disconnected from the server.TwentyEighty wrote: βWed Feb 12, 2020 7:22 pmI haven't noticed anything weird in MPCoppermine wrote: βFri Jan 31, 2020 11:51 am Has anyone tried 1.5.3+ in a multiplayer game yet? I'm curious to know whether the new search feature causes any performance problems. It would probably only happen the first time any player performs a search.
But we did notice this crash
I don't think it's MP related though.Code: Select all
48173.729 Info AppManager.cpp:288: Saving to _autosave2 (blocking). 48177.740 Info AppManagerStates.cpp:1843: Saving finished 48523.645 Script @__helmod__/gui/GuiCell.lua:615: final 48525.777 Script @__helmod__/gui/GuiCell.lua:615: final 48633.030 Error MainLoop.cpp:1202: Exception at tick 40634952: The mod What is it really used for? caused a non-recoverable error. Please report this error to the mod author. Error while running event what-is-it-really-used-for::on_gui_click (ID 1) Can't destroy root element stack traceback: __what-is-it-really-used-for__/control.lua:812: in function <__what-is-it-really-used-for__/control.lua:778> stack traceback: [C]: in function 'destroy' __what-is-it-really-used-for__/control.lua:812: in function <__what-is-it-really-used-for__/control.lua:778> 48633.033 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod What is it really used for? caused a non-recoverable error. Please report this error to the mod author. Error while running event what-is-it-really-used-for::on_gui_click (ID 1) Can't destroy root element stack traceback: __what-is-it-really-used-for__/control.lua:812: in function <__what-is-it-really-used-for__/control.lua:778> stack traceback: [C]: in function 'destroy' __what-is-it-really-used-for__/control.lua:812: in function <__what-is-it-really-used-for__/control.lua:778>" 48633.037 Info ServerMultiplayerManager.cpp:773: updateTick(40634952) changing state from(InGame) to(Failed) 48633.038 Quitting: multiplayer error. 48633.687 Info ServerMultiplayerManager.cpp:138: Quitting multiplayer connection. 48633.688 Info ServerMultiplayerManager.cpp:773: updateTick(4294967295) changing state from(Failed) to(Closed) 48633.731 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/remove-game/6814032 48633.762 Info UDPSocket.cpp:218: Closing socket 48633.764 Info UDPSocket.cpp:248: Socket closed 48633.770 Info UDPSocket.cpp:218: Closing socket 48633.887 Info UDPSocket.cpp:218: Closing socket
@kingarthur:
"I clicked the big x to close the pinned items and instantly crashed"
@Sopel:
"i can confirm this exact same crash happend to me some time ago
it's reproducible"
Interesting. Curious that some people have no problems, but your problems are so serious. I'd have expected things to fall somewhere in the middle, where there was lag, but not a total disconnection.kingarthur wrote: βWed Feb 12, 2020 7:32 pm I also get disconnected anytime I search anything in multiplayer. As soon as I get 2 letters into the box and it starts I can no longer move and are a short time it tells me I've disconnected from the server.
We do and helmod is like just completely broken. It cant find anything with translated string. Wiiruf works I just get disconnected and it's there when I reconnect.Coppermine wrote: βThu Feb 13, 2020 2:06 amInteresting. Curious that some people have no problems, but your problems are so serious. I'd have expected things to fall somewhere in the middle, where there was lag, but not a total disconnection.kingarthur wrote: βWed Feb 12, 2020 7:32 pm I also get disconnected anytime I search anything in multiplayer. As soon as I get 2 letters into the box and it starts I can no longer move and are a short time it tells me I've disconnected from the server.
Do you happen to use Helmod in the same MP game? I believe it uses a very similar approach to wiiruf for the locale strings, and I'm wondering whether you see similar symptoms there?
It probably takes too long and you can't catch up before the server kicks you for being to slow.kingarthur wrote: βThu Feb 13, 2020 2:17 amWe do and helmod is like just completely broken. It cant find anything with translated string. Wiiruf works I just get disconnected and it's there when I reconnect.Coppermine wrote: βThu Feb 13, 2020 2:06 amInteresting. Curious that some people have no problems, but your problems are so serious. I'd have expected things to fall somewhere in the middle, where there was lag, but not a total disconnection.kingarthur wrote: βWed Feb 12, 2020 7:32 pm I also get disconnected anytime I search anything in multiplayer. As soon as I get 2 letters into the box and it starts I can no longer move and are a short time it tells me I've disconnected from the server.
Do you happen to use Helmod in the same MP game? I believe it uses a very similar approach to wiiruf for the locale strings, and I'm wondering whether you see similar symptoms there?
same thing here and the users getting disconnected have decent fibre connection with 13ms ping to the server - oddly enough I never get disconnected when this happens despite having a shitty connection and the same CPU as another who does.kingarthur wrote: βThu Feb 13, 2020 2:17 amWe do and helmod is like just completely broken. It cant find anything with translated string. Wiiruf works I just get disconnected and it's there when I reconnect.Coppermine wrote: βThu Feb 13, 2020 2:06 amInteresting. Curious that some people have no problems, but your problems are so serious. I'd have expected things to fall somewhere in the middle, where there was lag, but not a total disconnection.kingarthur wrote: βWed Feb 12, 2020 7:32 pm I also get disconnected anytime I search anything in multiplayer. As soon as I get 2 letters into the box and it starts I can no longer move and are a short time it tells me I've disconnected from the server.
Do you happen to use Helmod in the same MP game? I believe it uses a very similar approach to wiiruf for the locale strings, and I'm wondering whether you see similar symptoms there?
oft-given answers from Wube developers:Squelch wrote: βSun Feb 16, 2020 12:54 am The broader question might be - Why does operating an informational GUI clientside need so much network traffic when all of the information is available clientside and verified upon connection already? Perhaps we need a "don't sync gamestate with server" exception when informational clientside GUI's are used?
Code: Select all
117.615 Info ServerMultiplayerManager.cpp:921: updateTick(46391229) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
117.616 Info GameActionHandler.cpp:4189: UpdateTick (46391229) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect)
118.648 Info ServerMultiplayerManager.cpp:921: updateTick(46391232) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
144.116 Error MainLoop.cpp:1202: Exception at tick 46392665: The mod What is it really used for? caused a non-recoverable error.
Please report this error to the mod author.
Error while running event what-is-it-really-used-for::on_string_translated (ID 147)
__what-is-it-really-used-for__/control.lua:1030: attempt to index local 'translations' (a nil value)
stack traceback:
__what-is-it-really-used-for__/control.lua:1030: in function <__what-is-it-really-used-for__/control.lua:1027>
144.119 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod What is it really used for? caused a non-recoverable error.
Please report this error to the mod author.
Error while running event what-is-it-really-used-for::on_string_translated (ID 147)
__what-is-it-really-used-for__/control.lua:1030: attempt to index local 'translations' (a nil value)
stack traceback:
__what-is-it-really-used-for__/control.lua:1030: in function <__what-is-it-really-used-for__/control.lua:1027>"
144.121 Info ServerMultiplayerManager.cpp:773: updateTick(46392665) changing state from(InGame) to(Failed)
144.132 Quitting: multiplayer error.
144.759 Info ServerMultiplayerManager.cpp:138: Quitting multiplayer connection.
144.760 Info ServerMultiplayerManager.cpp:773: updateTick(4294967295) changing state from(Failed) to(Closed)