View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002141SphereServerexecutable - windows buildpublic26-02-13 03:0111-09-13 03:57
ReporterMordaunt 
Assigned ToBen 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version20-09-2009, 0.56b Prerelease 
Target VersionFixed in Version 
Summary0002141: WorldGem Bits do not recognise map edge
DescriptionSomething I discovered when making my spawner, was talking to RanXerox about it in IRC after someone posted with the same issue on the forums today.

A worldgem bit placed X distance from the edge of the map and given a distance of Y under morep when initialised (MOREP=<min time> <max time> <distance>
will spawn creatures off the map randomly if Y > X and create errors as follows:

19:28:DEBUG:>> 5308 | 0 | CWorld::OnTick | +0
19:28:DEBUG:>> 5308 | 1 | CSector::OnTick | +0
19:28:DEBUG:>> 5308 | 2 | CChar::OnTick | +125
19:28:DEBUG:>> 5308 | 3 | CChar::NPC_OnTickAction | +0
19:28:DEBUG:>> 5308 | 4 | CChar::NPC_Act_Wander | +0
19:28:DEBUG:>> 5308 | 5 | CChar::NPC_WalkToPoint | +0
19:28:DEBUG:>> 5308 | 6 | CChar::CanMoveWalkTo | +0 <-- exception catch point (below is guessed and could be incorrect!)
19:28:DEBUG:>> 5308 | 7 | CChar::CheckValidMove_New | +0
19:28:DEBUG:>> 5308 | 8 | CWorld::GetHeightPoint_New | +0
19:28:DEBUG:>> 5308 | 9 | CItemBase::GetItemHeight | +0
19:28:DEBUG:>> 5308 | 10 | CItemBase::GetItemHeightFlags | +0
19:28:DEBUG:__ thread (5308) __ | # | _____ function _____________ | ticks passed from previous function start ______
19:28:DEBUG:>> 5308 | 0 | CWorld::OnTick | +0
19:28:DEBUG:>> 5308 | 1 | CSector::OnTick | +0
19:28:DEBUG:>> 5308 | 2 | CChar::OnTick | +125
19:28:DEBUG:>> 5308 | 4 | CChar::NPC_Act_Wander | +0
19:28:DEBUG:>> 5308 | 5 | CChar::NPC_WalkToPoint | +0
19:28:DEBUG:>> 5308 | 6 | CChar::CanMoveWalkTo | +0 <-- exception catch point (below is guessed and could be incorrect!)
19:28:DEBUG:>> 5308 | 7 | CChar::CheckValidMove_New | +0
19:28:DEBUG:>> 5308 | 8 | CWorld::GetHeightPoint_New | +0
19:28:DEBUG:>> 5308 | 9 | CItemBase::GetItemHeight | +0
19:28:DEBUG:>> 5308 | 10 | CItemBase::GetItemHeightFlags | +0
19:28:CRITICAL:"Access Violation" (0x127e16), in CChar::CanMoveWalkTo() 0000001 "Check Valid Move"

23:56:ERROR:(sphere_npcs_m_Elementali.scp,506)Point(-1,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
23:56:ERROR:(sphere_npcs_m_Elementali.scp,506)Point(-1,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
23:56:ERROR:(sphere_npcs_m_AnimaliMalvagi.scp,499)Point(-1,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
23:56:ERROR:(sphere_npcs_m_Elementali.scp,506)Point(-1,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
23:56:ERROR:(sphere_npcs_m_Demoni.scp,422)Point(-1,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
23:56:ERROR:(sphere_npcs_a_Selvaggi.scp,1292)Point(-1,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
23:56:ERROR:(sphere_npcs_m_NonMorti.scp,468)Point(-1,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
23:56:ERROR:(sphere_npcs_m_NonMorti.scp,900)Point(-1,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
23:56:ERROR:(sphere_npcs_m_Insetti.scp,691)Point(-1,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
Steps To Reproduceplace a worldgem bit 50 tiles from the edge of the map set any spawn to it ensuring distance is greater than the distance to edge, 100 for example.

Wait and watch
Additional InformationVerified by RanXerox in IRC
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0001672)
Ben (manager)
11-09-13 03:57

This should be fixed for next build

- Issue History
Date Modified Username Field Change
26-02-13 03:01 Mordaunt New Issue
11-09-13 03:57 Ben Note Added: 0001672
11-09-13 03:57 Ben Status new => resolved
11-09-13 03:57 Ben Resolution open => fixed
11-09-13 03:57 Ben Assigned To => Ben


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker