dabo123148 / WarlightMod

Warlight Mod
MIT License
5 stars 12 forks source link

Our game crashes and will not move to next turn #13

Closed LeCountH closed 6 years ago

LeCountH commented 6 years ago

We have been stuck for 9 days and it won't let us boot people. https://www.warzone.com/MultiPlayer?GameID=15179335%20p=Website&Unity=1

dabo123148 commented 6 years ago

I am trying to take a look on the error but somehow the mod system doesn't load the error list for the mod, need to ask Fizzer for some help.

dabo123148 commented 6 years ago

In the meantime, while i am waiting for a response, can you maybe send me the mod error.

LeCountH commented 6 years ago

He says ServerException: Warzone Server returned ModFailed x=ModFailed: Mod "Advanced Diplo Mod V2" Failed: [string "Server_AdvanceTurn.lua"]:323: MoonSharp.Interpreter.ScriptRuntimeException: Mod table PlayerGameData exceeded maximum size.  Found 102781 bytes, maximum is 100000 __newindex (External Function)

(Unknown Function) (Server_AdvanceTurn.lua:323)

GameID=15179335

Hook=Server_AdvanceTurn_End

Sent from Yahoo Mail for iPhone

On Thursday, April 5, 2018, 8:54 AM, dabo123148 notifications@github.com wrote:

In the meantime, while i am waiting for a response, can you maybe send me the mod error.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dabo123148 commented 6 years ago

ok that could be a longer fix, which only occurs in long games with a lot of mod interaction

dabo123148 commented 6 years ago

I think I have now a fix for it, now I only need to change some stuff so you won't get the mod history of some parts of the mod one turn later then it happens, but that shouldn't take that long. After that I will run some tests and publish the fix

dabo123148 commented 6 years ago

I tested it now as good as possible at the moment and published the fix, so your game should be able to continue. If you run into any problems let me know. But since I don't have a game with the error I can't guarantee 100% that it is fixed.

dabo123148 commented 6 years ago

seems like the data i have is still too much, need to change some things then in order to reduce the data

dabo123148 commented 6 years ago

I limited now the latest messages to a total of 10messages, maybe that helps

LeCountH commented 6 years ago

Error  ServerException: Warzone Server returned ModContainerTimeout nox

Sent from Yahoo Mail for iPhone

On Friday, April 6, 2018, 6:09 AM, dabo123148 notifications@github.com wrote:

I limited now the latest messages to a total of 10messages, maybe that helps

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dabo123148 commented 6 years ago

I will implement in the next days(think monday since I am bussy for the next few days) a little button for you that allows you to get some debug information that help me track the usage

dabo123148 commented 6 years ago

I also disabled now some mod messages, maybe that is already enough

dabo123148 commented 6 years ago

also please tell me if after my changes the Warzone Server returned ModContainerTimeout nox still happens, cause that's one of the few errors I can't see when it occures

LeCountH commented 6 years ago

Yes it still happened

ServerException: Warzone Server returned ModContainerTimeout nox

Sent from Yahoo Mail for iPhone

On Saturday, April 7, 2018, 5:07 AM, dabo123148 notifications@github.com wrote:

also please tell me if after my changes the Warzone Server returned ModContainerTimeout nox still happens, cause that's one of the few errors I can't see when it occures

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dabo123148 commented 6 years ago

sorry, that I didn't worked on it yesterday, I now disabled all new messages, maybe that helps

LeCountH commented 6 years ago

Same message

Sent from Yahoo Mail for iPhone

On Tuesday, April 10, 2018, 1:20 PM, dabo123148 notifications@github.com wrote:

sorry, that I didn't worked on it yesterday, I now disabled all new messages, maybe that helps

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dabo123148 commented 6 years ago

Ok seems like it works now with my last change

dabo123148 commented 6 years ago

although I have to undo it again(was a convertion problem of the 10message limit), so if it happens again, tell me

LeCountH commented 6 years ago

Thank you

Sent from Yahoo Mail for iPhone

On Wednesday, April 11, 2018, 2:23 PM, dabo123148 notifications@github.com wrote:

Ok seems like it works now with my last change

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

LeCountH commented 6 years ago

Ok

Sent from Yahoo Mail for iPhone

On Wednesday, April 11, 2018, 2:24 PM, dabo123148 notifications@github.com wrote:

although I have to undo it again(was a convertion problem of the 10message limit), so if it happens again, tell me

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

LeCountH commented 6 years ago

It won't let someone take their turn

Sent from Yahoo Mail for iPhone

On Wednesday, April 11, 2018, 2:24 PM, dabo123148 notifications@github.com wrote:

Closed #13.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

LeCountH commented 6 years ago

ServerException: Warzone Server returned ModFailed x=ModFailed: Mod "Advanced Diplo Mod V2" Failed: [string "Server_AdvanceTurn.lua"]:490: MoonSharp.Interpreter.ScriptRuntimeException: Mod table PlayerGameData exceeded maximum size.  Found 100157 bytes, maximum is 100000

__newindex (External Function)

(Unknown Function) (Server_AdvanceTurn.lua:490)

GameID=15179335

Hook=Server_AdvanceTurn_End

Sent from Yahoo Mail for iPhone

On Wednesday, April 11, 2018, 2:24 PM, dabo123148 notifications@github.com wrote:

Closed #13.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dabo123148 commented 6 years ago

again... now i am interested what you have in your data but i will simply change it back

LeCountH commented 6 years ago

I want to make peace with some of the AI why can’t I  ServerException: Warzone Server returned ModFailed x=ModFailed: Mod "Advanced Diplo Mod V2" Failed: [string "Server_GameCustomMessage.lua"]:135: MoonSharp.Interpreter.ScriptRuntimeException: Mod table PlayerGameData exceeded maximum size.  Found 100063 bytes, maximum is 100000

__newindex (External Function)

(Unknown Function) (Server_GameCustomMessage.lua:135)

GameID=15179335

Hook=Server_GameCustomMessage

Sent from Yahoo Mail for iPhone

On Sunday, April 15, 2018, 11:50 AM, dabo123148 notifications@github.com wrote:

again... now i am interested what you have in your data but i will simply change it back

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dabo123148 commented 6 years ago

That is sadly something I can't really fix, it happens when the mod stores too much data(the data is required to run the mod in all functionality and so happens when the game reaches a point, where it hits the limitations of the mod framework). My workaround is, that it deletes parts of the data after each turn and so it might be possible to make peace with the ai in the next turn otherwise, you should decline/accept then all kind of offers you got since that will also reduce the data in the next turn.

LeCountH commented 6 years ago

Ok.

Sent from Yahoo Mail for iPhone

On Tuesday, June 12, 2018, 2:20 PM, dabo123148 notifications@github.com wrote:

That is sadly something I can't really fix, it happens when the mod stores too much data(the data is required to run the mod in all functionality and so happens when the game reaches a point, where it hits the limitations of the mod framework). My workaround is, that it deletes parts of the data after each turn and so it might be possible to make peace with the ai in the next turn otherwise, you should decline/accept then all kind of offers you got since that will also reduce the data in the next turn.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.