Can't run latest Git celeron master (Solved)

User avatar
redcrab
Member
 
Posts: 831
Joined: Tue Dec 13, 2011 13:45
Location: France

Can't run latest Git celeron master (Solved)

by redcrab » Tue Jan 03, 2012 03:11

latest git celeron master wont run (minetestserver)

Code: Select all
04:06:28: INFO[main]: Initializing new map.
04:06:28: INFO[main]: ServerMap: Saving whole map, this can take time.
04:06:28: INFO[main]: ServerMap::saveMapMeta(): seed=5165442295542071705
04:06:28: INFO[main]: ServerMap: Written: 0 sector metadata files, 0 block files, 0 blocks in memory.
04:06:28: INFO[main]: ServerMap: Blocks modified by:
04:06:28: INFO[main]: scriptapi_add_environment
04:06:28: INFO[main]: EnvRef created
04:06:28: ERROR[main]: WARNING: myrand_range: max-min > MYRAND_MAX

In thread b739b6d0:
/home/edevaux/Projects/Minetest-staging/src/utility.cpp:165: int myrand_range(int, int): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b739b6d0:
#0  int main(int, char**)
(Leftover data: #1  virtual void ServerMap::save(ModifiedState))
(Leftover data: #2  void ServerMap::saveMapMeta())


May be a my "git pull" takes a too early code ;)
Last edited by redcrab on Tue Jan 03, 2012 12:49, edited 1 time in total.
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net

It's nice to be important but it is more important to be nice.
 

User avatar
Hackeridze
Member
 
Posts: 310
Joined: Thu Nov 03, 2011 13:35
 

celeron55
Administrator
 
Posts: 453
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Tue Jan 03, 2012 11:29

It is a bug, kind of; just a minute, I'll fix it.

EDIT: Replaced whole post
 

celeron55
Administrator
 
Posts: 453
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Tue Jan 03, 2012 12:00

Now it is fixed.

Make sure to note that the cause was some mod that is setting a very high or somehow otherwise strange ABM interval.

This means the ABM might not trigger at all anymore. The ABM interval was incorrectly handled before some commit *after* snapshot 0.4.dev-20120102-1.

I am not sure about the specifics on how they worked wrongly, but I know that at least saplings grew up way too quickly, seeming like the chance value was just ignored and it triggered on every interval regardless of it being set to 50.
 

User avatar
redcrab
Member
 
Posts: 831
Joined: Tue Dec 13, 2011 13:45
Location: France

by redcrab » Tue Jan 03, 2012 12:32

celeron55 wrote:Now it is fixed.

Make sure to note that the cause was some mod that is setting a very high or somehow otherwise strange ABM interval.

This means the ABM might not trigger at all anymore. The ABM interval was incorrectly handled before some commit *after* snapshot 0.4.dev-20120102-1.

I am not sure about the specifics on how they worked wrongly, but I know that at least saplings grew up way too quickly, seeming like the chance value was just ignored and it triggered on every interval regardless of it being set to 50.


Thanks,

I confirm that your fix allows me to run the server.
regards
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net

It's nice to be important but it is more important to be nice.
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 3 guests