SphereServer BugTracker - SphereServer
View Issue Details
0002191SphereServerexecutable - windows buildpublic16-08-13 05:5308-09-13 16:32
Coruja 
Ben 
normalminoralways
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
0002191: Console error when a boat turn left/right
When someone is on the "edge" (x,y) of the map and turn the ship left/right, probably something internally on hardcoded function SHIPTURNLEFT / SHIPTURNRIGHT will check for something nearby, making it check on a undefined area out of map and return a console error
01:31:ERROR:(sphere_item_multis_houses_ships.scp,55)Point(4106,4098): trying to get a sector for point on map #0 out of bounds for this map(7168,4096). Defaulting to sector 0 of the map.
01:31:WARNING:(sphere_item_multis_houses_ships.scp,55)Attempting to access invalid memory block at 4106,4098,-5.
01:31:WARNING:(sphere_item_multis_houses_ships.scp,55)GetMapBlock failed at 4106,4098,-5.

01:31:ERROR:(sphere_item_multis_houses_ships.scp,55)Point(4106,4098): trying to get a sector for point on map #0 out of bounds for this map(7168,4096). Defaulting to sector 0 of the map.
01:31:WARNING:(sphere_item_multis_houses_ships.scp,55)Attempting to access invalid memory block at 4106,4098,-5.
01:31:WARNING:(sphere_item_multis_houses_ships.scp,55)GetMapBlock failed at 4106,4098,-5.

01:31:ERROR:(sphere_item_multis_houses_ships.scp,73)Point(4106,4098): trying to get a sector for point on map #0 out of bounds for this map(7168,4096). Defaulting to sector 0 of the map.
01:31:WARNING:(sphere_item_multis_houses_ships.scp,73)Attempting to access invalid memory block at 4106,4098,-5.
01:31:WARNING:(sphere_item_multis_houses_ships.scp,73)GetMapBlock failed at 4106,4098,-5.

--------------------------------

[SPEECH spk_ship_cmds]
...

ON=Turn Left
ON=Port
SHIPTURNLEFT <-- line 55

...

ON=Turn Right
ON=Starboard
SHIPTURNRIGHT <-- line 73
No tags attached.
Issue History
16-08-13 05:53CorujaNew Issue
08-09-13 02:34BenNote Added: 0001659
08-09-13 02:34BenAssigned To => Ben
08-09-13 02:34BenStatusnew => confirmed
08-09-13 16:32BenNote Added: 0001661
08-09-13 16:32BenStatusconfirmed => resolved
08-09-13 16:32BenFixed in Version => 0.56c Nightly
08-09-13 16:32BenResolutionopen => fixed

Notes
(0001659)
Ben   
08-09-13 02:34   
I've managed to replicate it. Now to find a fix :)
(0001661)
Ben   
08-09-13 16:32   
this should also be fixed