Adam's Lair Forum

game development and casual madness
It is currently 2018/11/19, 08:01

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2016/09/29, 15:35 
Forum Adept
Forum Adept
User avatar

Joined: 2015/03/15, 02:49
Posts: 354
Location: Out there
Role: Hobbyist
Got this error using humper, boys.
Image

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?

_________________
Hello there! Nice to meet you!
I have github. Apologies in advance for bad coding practices.


Top
 Profile  
 
PostPosted: 2016/09/29, 15:45 
Forum Addict
Forum Addict
User avatar

Joined: 2013/09/19, 14:31
Posts: 880
Location: Italy
Role: Hobbyist
Well, it seems it's inside Humper.World's constructor. I'd start looking there :)

_________________
Come on Duality's Discord channel. We have cookies! :mrgreen:


Top
 Profile  
 
PostPosted: 2016/09/29, 17:10 
Forum Adept
Forum Adept
User avatar

Joined: 2015/03/15, 02:49
Posts: 354
Location: Out there
Role: Hobbyist
Been there already, even tried to file an issue on GitHub, the developer has given no response.

_________________
Hello there! Nice to meet you!
I have github. Apologies in advance for bad coding practices.


Top
 Profile  
 
PostPosted: 2016/09/29, 19:31 
Forum Addict
Forum Addict
User avatar

Joined: 2013/09/19, 14:31
Posts: 880
Location: Italy
Role: Hobbyist
Ah, I thought it was your code.. no idea then :/

_________________
Come on Duality's Discord channel. We have cookies! :mrgreen:


Top
 Profile  
 
PostPosted: 2016/09/30, 07:50 
Site Admin
Site Admin
User avatar

Joined: 2013/05/11, 22:30
Posts: 2063
Location: Germany
Role: Professional
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.

_________________
Blog | GitHub | Twitter (@Adams_Lair)


Top
 Profile  
 
PostPosted: 2016/09/30, 10:14 
Forum Adept
Forum Adept
User avatar

Joined: 2015/03/15, 02:49
Posts: 354
Location: Out there
Role: Hobbyist
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.

_________________
Hello there! Nice to meet you!
I have github. Apologies in advance for bad coding practices.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group