Ok. I'm unfortunately back at this one, clearly I buggered something, server ran for 90 minutes after running the script before I got the error:
Code:
18:44:ERROR:Point(2132,-1): 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.
18:44:WARNING:Attempting to access invalid memory block at 2132,-1,-5.
18:44:WARNING:GetMapBlock failed at 2132,-1,-5.
18:44:ERROR:Point(3711,-1): 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.
18:44:WARNING:Attempting to access invalid memory block at 3711,-1,-5.
18:44:WARNING:GetMapBlock failed at 3711,-1,-5
This is coming from part of my background spawning system, which I have just updated to prevent some "silly" spawning going on.
The part of the script responsible for the placing of the gembits, and thus this stupid error is:
Code:
WHILE (<EVAL <VAR0.TEMPX>> <= 4904)
VAR.TEMPY=20
WHILE (<EVAL <VAR0.TEMPY>> <= 3992)
f_spawnbackground_check_terrain <ARGN1>
VAR.TEMPY=<VAR0.TEMPY> + <ddef.gembit_gap>
ENDWHILE
VAR.TEMPX=<VAR0.TEMPX> + <ddef.gembit_gap>
ENDWHILE
SYSMESSAGE @0,0 Spawning for Map: <EVAL <ARGN1>> Complete!
ARGN1 is derived from the function which calls this script, not an issue.
My sphere.ini is set in the manner posted by RanXerox.
Code:
// To activate ML-sized map #0 uncomment the next line (don't forget to uncomment
// sphere_map0_ml.scp and sphere_map_points0_ml.scp in spheretables.scp if you want
// to use the default areas)
Map0=7168,4096,-1,-1
// To activate ML-sized map #1 uncomment the next line
//Map1=7168,4096,-1,-1
MAP2=2304,1600,32,2,2
MAP3=2560,2048,32,3,3
MAP4=1448,1448,8,4,4
MAP5=1280,4096,64,5,5
// To enable the use of MapDif*.mul and StaDif*.mul files, set this to 1.
UseMapDiffs=1
The answer to this is probably staring me in the face, I just need a fresh set of eyes on it...