In the admin panel, the function Create Users should create tot players with village.
It get stuck in an infinite loop due to dimension of the map.
The function does not consider small words and keeps searching the
database for a village in coordinates like 80<X<25 and -25<Y<-80.
That's because the values "$wide1, $wide2" are calculated without considering WORLD_MAX
There is the case where $wide1 = 80 and $wide2 = WORLD_MAX
Maybe it's enough to change the mode when invoking the function in
'GameEngine\Admin\Mods\addUsers.php' at line 138 from
In the admin panel, the function Create Users should create tot players with village. It get stuck in an infinite loop due to dimension of the map.
The function does not consider small words and keeps searching the database for a village in coordinates like 80<X<25 and -25<Y<-80. That's because the values "$wide1, $wide2" are calculated without considering WORLD_MAX
There is the case where $wide1 = 80 and $wide2 = WORLD_MAX
Maybe it's enough to change the mode when invoking the function in 'GameEngine\Admin\Mods\addUsers.php' at line 138 from
$wid = $database->generateBase($kid,0,false);
to
$wid = $database->generateBase($kid,1,false);