Matthieu Fertré wrote:
>> 3. Character placement fails because the client is always placing the 
>> character in the ground. The only reasons I can see for this happening 
>> is if either the random values are messed up or if what is considered 
>> ground is messed up. When debugging this, it shows that it is trying 
>> positions such as 20636071, 60589966. This seems like a point very far 
>> off from anything.
> 
> This is really strange. Position is tried from 
> PhysicalObject::PutRandomly() and is set to
> position = randomSync.GetPoint(world.GetSize() - GetSize() + 1);
> 
> 
> Theoretically, even if the random tables is unsynchronized, it should 
> return a point in which is the map!
> 

Yes, this is what I thought, however, if I run wormux -d physic.position 
it gives 1024 failed attempts to place the characters before it runs out 
of random numbers (after 60 it gives a warning and throws it down 
somewhere and starts over with the next one). Why this happens, I do not 
know yet.

kyle

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à