Welcome to the Builder Academy

Question Question about saving/loading

More
21 Apr 2014 22:33 #4855 by Liko
Replied by Liko on topic Question about saving/loading
Nothing?

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
22 Apr 2014 18:39 #4858 by thomas
Was on a vacation without any net-connections (yes, it was peaceful :P).

So we know it saves ok.
Please log the value after loading.

Please Log in or Create an account to join the conversation.

More
23 Apr 2014 00:34 #4861 by Liko
Replied by Liko on topic Question about saving/loading

Liko wrote:

thomas wrote: If you set someones gold to 6billion - what's in the save file? This should narrow it down a bit.


On Logout:
Code:
Con : 10000 Cha : 10000 Ac : 100 Gold: 10000000000 Exp : 7000000 Hrol: 300 Drol: 300 Olc : 0

But yet when I log back in it changes to:
Code:
Con : 10000 Cha : 10000 Ac : 100 Gold: 2147483647 Exp : 7000000 Hrol: 300 Drol: 300 Olc : 0


Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
23 Apr 2014 20:25 #4863 by thomas
erhm... that's not logging it. That's reading it after it saves again.

Please Log in or Create an account to join the conversation.

More
25 Apr 2014 02:37 #4864 by Liko
Replied by Liko on topic Question about saving/loading

thomas wrote: erhm... that's not logging it. That's reading it after it saves again.


When it saves, it saves it as 6000000000

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
25 Apr 2014 07:43 #4865 by Liko
Replied by Liko on topic Question about saving/loading

thomas wrote: erhm... that's not logging it. That's reading it after it saves again.


I don't think I'm getting how you wan't it logged. How exactly do I log it?

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds