Norlack
Apprentice
Posts: 35
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2013
Reputation: 0
New Hera Reborn
|
Access Violation in CChar::CanMoveWalkTo
I've enabled the flag "EF_WalkCheck" after a server crash few days ago. Unfortunately I have in heritage a shard with tons of custom scripts (many of which made by noobs that I'm fixing one by one or replacing) and I don't know where to look for exactly.
Code:
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() #1 "Check Valid Move"
This is the occasional console-spam with the EF_WalkCheck enabled. Do you have any tips?
Thanks
Ah, I'm using 56b Nightly (april 2012), not the latest beacuse it causes some issues with our spells that I have to fix.
(This post was last modified: 02-28-2013 08:24 AM by Norlack.)
|
|
02-26-2013 04:39 AM |
|
|
Norlack
Apprentice
Posts: 35
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2013
Reputation: 0
New Hera Reborn
|
RE: Access Violationi n CChar::CanMoveWalkTo
well, maps are all loaded, we use them by years... and does not seems there are bad spawn locations. :\
doing some test...
- removed all existing chars
- removed all worldgembit
The error vanished.
- restored all worldgembit
The error reappeared and going to 1,1 position I've obtained this:
Code:
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.
It's happening for every existing char @Create related to COLOR definition. Never seen something like this (and I've seen several oddities in the last 10+ years ^^').
(This post was last modified: 02-26-2013 09:10 AM by Norlack.)
|
|
02-26-2013 08:49 AM |
|
|