Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error with latest build
Author Message
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #1
error with latest build
all previous builds works fine, but now if player fight with npc's:

Code:
09:03:DEBUG:__ thread (4624) __ |  # | _____________ function _____________ | __ ticks passed from previous function start __
09:03:DEBUG:>>         4624     |  0 |                       CWorld::OnTick | +0
09:03:DEBUG:>>         4624     |  1 |                      CSector::OnTick | +0
09:03:DEBUG:>>         4624     |  2 |                        CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
09:03:DEBUG:>>         4624     |  3 |                    CChar::Skill_Done | +0
09:03:DEBUG:>>         4624     |  4 |                   CChar::Skill_Stage | +0
09:03:DEBUG:>>         4624     |  5 |                CChar::Skill_Fighting | +0
09:03:DEBUG:>>         4624     |  6 |                  CChar::Fight_HitTry | +0
09:03:DEBUG:>>         4624     |  7 |                     CChar::Fight_Hit | +0
09:03:DEBUG:>>         4624     |  8 |           CItem::Weapon_GetSoundMiss | +0
09:03:DEBUG:>>         4624     |  9 |                   CVarDefMap::GetKey | +0
09:03:CRITICAL:"Access Violation" (0x17b074), in CChar::Tick() #2 "timer expired"
(This post was last modified: 06-03-2017 06:28 PM by WRWR.)
06-03-2017 04:05 PM
Find all posts by this user Like Post Quote this message in a reply
Satvet
Journeyman
*

Posts: 105
Likes Given: 32
Likes Received: 6 in 6 posts
Joined: Sep 2015
Reputation: 0



Post: #2
RE: error with latest build

+Up

Quote:20:46:DEBUG:__ thread (34376) __ | # | _____________ function _____________ | __ ticks passed from previous function start __
20:49:DEBUG:>> 34376 | 0 | CWorld::OnTick | +0
20:49:DEBUG:>> 34376 | 1 | CSector::OnTick | +0
20:49:DEBUG:>> 34376 | 2 | CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
20:49:DEBUG:>> 34376 | 3 | CChar::Skill_Done | +0
20:49:DEBUG:>> 34376 | 4 | CChar::Skill_Stage | +0
20:49:DEBUG:>> 34376 | 5 | CChar::Skill_Fighting | +0
20:49:DEBUG:>> 34376 | 6 | CChar::Fight_HitTry | +0
20:49:DEBUG:>> 34376 | 7 | CChar::Fight_Hit | +0
20:49:DEBUG:>> 34376 | 8 | CItem::Weapon_GetSoundMiss | +0
20:49:DEBUG:>> 34376 | 9 | CVarDefMap::GetKey | +0
20:49:CRITICAL:"Access Violation" (0x17b074), in CChar::Tick() #6 "timer expired"

Errors triggers success.
(This post was last modified: 06-04-2017 04:04 AM by Satvet.)
06-04-2017 03:50 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #3
RE: error with latest build
try update it again, I fixed it on latest build
06-04-2017 03:58 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Satvet
Journeyman
*

Posts: 105
Likes Given: 32
Likes Received: 6 in 6 posts
Joined: Sep 2015
Reputation: 0



Post: #4
RE: error with latest build
thx. @Coruja

Another problem is that the creature is chasing me, and if something comes out in front of it, it stops attacking.

(An Ex Por) poisoned person freezing.
when the effect of poison shows paralyze is losing effect. is it normal?

Errors triggers success.
(This post was last modified: 06-04-2017 04:05 AM by Satvet.)
06-04-2017 04:04 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Satvet's post
Satvet
Journeyman
*

Posts: 105
Likes Given: 32
Likes Received: 6 in 6 posts
Joined: Sep 2015
Reputation: 0



Post: #5
RE: error with latest build
'dam_nounparalyze'
revision for thanks. @Coruja


Quote:Another problem is that the creature is chasing me, and if something comes out in front of it, it stops attacking.
But this continues.

angry the creature is chasing victim, and if something comes out in front of it, it stops attacking.
In the same screen (obstacles: tree, wall, stone, etc.)

Errors triggers success.
(This post was last modified: 06-07-2017 07:00 AM by Satvet.)
06-05-2017 06:38 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Satvet's post
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #6
RE: error with latest build
06-09-2017 11:36 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like Coruja's post
Satvet
Journeyman
*

Posts: 105
Likes Given: 32
Likes Received: 6 in 6 posts
Joined: Sep 2015
Reputation: 0



Post: #7
RE: error with latest build
Sorry Coruja.
The problem continues.


Quote:angry the creature is chasing victim, and if something comes out in front of it, it stops attacking.
In the same screen (obstacles: tree, wall, stone, etc.)

Although rare, there is a problem.
Behind the wall of magic, sometimes after a while the attack is abandoned.
Hiding behind the trees, and the house walls are the same.
the attack is abandoned. and the owner returns.

This time back to its owner returns. Smile

Errors triggers success.
06-09-2017 07:11 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #8
RE: error with latest build
it's working fine here, when the NPC can't reach its target it will keep trying to reach it, but if it still not reaching the target after many tries, it will just forget this target

to make it a bit better you can enable NPC_AI_PATH + NPC_AI_ALWAYSINT on sphere.ini, this will increase NPCs pathfind accuracy making it find the path to walk to the other side of the wall of stone instead keep stuck without walk. But this will also increase your server CPU usage
(This post was last modified: 06-11-2017 01:57 PM by Coruja.)
06-10-2017 09:29 AM
Find all posts by this user Like Post Quote this message in a reply
Satvet
Journeyman
*

Posts: 105
Likes Given: 32
Likes Received: 6 in 6 posts
Joined: Sep 2015
Reputation: 0



Post: #9
RE: error with latest build
NPC_AI_PATH + NPC_AI_ALWAYSINT, these 2 flags happened.
Beautiful fast chasing creature Smile good. But the problem is still continuing. Smile
Server CPU growth is also bad unfortunately.
If the player who escaped from the creature hides behind a tree fast, NPC will no attacking. Smile

Errors triggers success.
06-11-2017 01:02 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #10
RE: error with latest build
yea that's what I said, unfortunately there's no magic button that will make everything work perfectly with no drawback costs Tongue

maybe the only available solutions for this is:
1) enable NPC_AI_PATH + NPC_AI_ALWAYSINT to make NPCs smart enough to find a path to the other side of the wall, but this will increase CPU usage to do these advanced calculations for every NPC placed on world
2) keep these settings disabled, making the NPC unable to find an way to walk over the wall, which will make it cancel the combat after many failed attempts to reach its target

afaik, on old sphere builds NPCs won't cancel the combat and will keep stuck forever trying to reach the target which will never be reached. And this is even worse than these 2 options above
06-11-2017 02:12 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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