The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Access Violation in CChar::CanMoveWalkTo
Author Message
Norlack
Apprentice
*

Posts: 35
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2013
Reputation: 0

New Hera Reborn

Post: #1
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
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Access Violation in CChar::CanMoveWalkTo - Norlack - 02-26-2013 04:39 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)