Better Questing - Quest Book

Better Questing - Quest Book

18M Downloads

Crash back to Title Screen with Version 1.1.0

Dream-Master opened this issue ยท 25 comments

commented

When importing a decent amount of Quests for no reason the Game close and I am back on the title screen. I cant join the game anymore. Seems the Book bug me out because it happened too if no Quests are saved (no DefaultQuests.jason file)

Ther is no crash log only the fml log i post here.

full fml log:
https://gist.github.com/Dream-Master/6076e110aad8a5527dd8e0ee1d078a9c

error 1:
https://gist.github.com/Dream-Master/91d2a81b0e90aabce74b885419e3e560

error 2:
https://gist.github.com/Dream-Master/b6dd5df6714b84a0d656baf57d2228c7

There are more errors i just pick two out of the log.

Testing now with 1.0.1 if happend too.

commented

Hello. im a guy who trying to help Dreammaster finding a solution.

Anyways yea the error are comming after we are trying to import a .json file wich is exported from HQM.

commented

Can you include the json file you're trying to import?

commented

Sure can do when I am back home

commented

Looking into the error more, it seems to show that whatever you imported caused some sort of corruption resulting in a network packet with null data

commented

https://dl.dropboxusercontent.com/u/39281853/Server/BeesQuests.json

Thats the .json we are trying to import.

I saw that some quest names have a ":" .....isnt that causing errors before?

commented

That isn't a HQM json file and won't work with the HQM importer

commented

hmm ok than we need to whait for DreamMaster

commented

Yes I know it is a converted file.
After I can't load new files I try to export chapter by chapter and add them back. It don't work too.
So the data can't be corrupt because import this chapter alone without the others works with no errors.

commented
commented

But all other new files I try to adding don't work too.

Here the folder with HQM files and Better Questing files.

https://www.dropbox.com/sh/zp1d9frmc7qvspo/AACHiUBcySXY2gjpxwg3MZMva?dl=0

commented

@Drethic
@Funwayguy

I find out was is maybe the Problem. In one Quest Line we adding Lore Tags. If I add this Chapter to the other Quests the Game closing to Title. Are Lore Tags not allowed or not yet supported?

commented

I remove the Lore tags and it crash too. Have to look if only this chapter crash or other too.

commented

@Drethic
@Funwayguy

Ok other chapters crashing too. If I load all chapters separate and not combine them all works fine. It seems for me if you load to much chapters the game crash to Title screen. Can it be happened that the file got to big? is it possible to have more json files mean have all chapters separate as files but work together (means Chapter 2 need Quest out of Chapter 1)
hope you can help me here Guys.

commented

I tried batch importing those HQM files and I can confirm the same error does occur in my developer workspace. I can start debugging where exactly the error occurs now and why however due to some University work I have to sort out in the next week or two I might not be able to push out a new update right now.

commented

crash with 1.0.1 too. No lue why it works before fine without any error.

commented

Did you also update the Better Questing mod when you updated Quest Book?

A lot of the errors I see in your log looks to be during imports. I'm going to open a ticket with the Better Question author to see if he can help.

commented

Ok Thanks. Will wait for a new Version then.

commented

Ok Thanks. I hope you find a way. Let me know when i can test some stuff.

commented

Btw is it possible to break down the one big file in smaller files? Mean maybe in chapter files?
So each chapter get a own json files to keep it small.

commented

Just an update on this issue. I have found the exact cause. Seems Forge doesn't automatically break up network packets when they are too large to send causing data to be lost during sync and corrupting the client side database. I'm working on a way to fix this but it's proving difficult.

commented

Update 1: This has been half fixed now. The mod will no longer crash from the quest database size overloading the packets but I still need to update the expansion importers to support it.

Update 2: Tested importing your massive database file with the new importers (unreleased) and everything went smoothly! I still need to update a bunch of other things before release but you'll be glad to know it works.

commented

I am glad to hear this. So I can hopefully using the Quests soon. Thanks.

commented

That mean i can have larger Json files without any crash but cant import new stuff now right?

commented

@Funwayguy has closed the source issue (Funwayguy/BetterQuesting#26) which closes this issue.

commented

yes works fine thanks.