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 |
|
|