Adam's Lair Forum

Goterror, where to start?
Page 1 of 1

Author:  eyeliner [ 2016/09/29, 15:35 ]
Post subject:  Goterror, where to start?

Got this error using humper, boys.

Despite that, everything works perfectly fine. I am unsure where te problem lies, because I tried to run a sample and there's no error, anywhere.

But as Duality is special, this particlar error arises in the log... And I want to EAT IT, KILL IT, DESTROY IT!

Apparently, this is related to a variable that overflows, but I'm not sure where to mess in... Humper or Duality?

Author:  SirePi [ 2016/09/29, 15:45 ]
Post subject:  Re: Goterror, where to start?

Well, it seems it's inside Humper.World's constructor. I'd start looking there :)

Author:  eyeliner [ 2016/09/29, 17:10 ]
Post subject:  Re: Goterror, where to start?

Been there already, even tried to file an issue on GitHub, the developer has given no response.

Author:  SirePi [ 2016/09/29, 19:31 ]
Post subject:  Re: Goterror, where to start?

Ah, I thought it was your code.. no idea then :/

Author:  Adam [ 2016/09/30, 07:50 ]
Post subject:  Re: Goterror, where to start?

Looks like the library you're using has an object that you're using which doesn't like to be serialized the way Duality does it. It also seems to use a two-dimensional array, which is not supported by the Duality serializer.

Try to slap a [DontSerialize] attribute on the field you're storing the object in, and initialize it in the activate handler.

Author:  eyeliner [ 2016/09/30, 10:14 ]
Post subject:  Re: Goterror, where to start?

I really have to wrap my head around that [DontSerialize] thingamajig and what it really does.

And indeed, there's a grid struct that is a two-dimensional array.

Will try them suggestions asap. Thanks, boss.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group