SphereServer BugTracker - SphereServer
View Issue Details
0001831SphereServerexecutable - genericpublic09-10-10 00:4517-09-12 20:48
Mirravin 
Terrikate 
normalmajoralways
resolvedfixed 
Windows/Linux
 
0.56c Nightly 
Automated (specify build number)
None
None
1343
0001831: NPCs can't go through characters at all.
With full stamina. It seems what this affecting the part of NPC function because in some cased its can go through characters, but usually it can't do it. Example is @NpcActFollow:
@NpcActFollow is firing --> @PersonalSpace not firing (script attached).
For example, you can shoot this lizardman and it will stay and do nothing despite of he have a full stamina.
[FUNCTION NPC_BLOCK_BUG]
TARGETF NPC_BLOCK_BUGT
RETURN 1

[FUNCTION NPC_BLOCK_BUGT]
NEWNPC c_lizardman
NEW.GO <TARGP>
NEWNPC c_horse_gray
NEW.DEX 0
NEW.GO <EVAL (<TARGP.X>+1)> <TARGP.Y> <TARGP.Z>
NEWNPC c_horse_gray
NEW.DEX 0
NEW.GO <EVAL (<TARGP.X>-1)> <TARGP.Y> <TARGP.Z>
NEWNPC c_horse_gray
NEW.DEX 0
NEW.GO <EVAL (<TARGP.X>+1)> <EVAL (<TARGP.Y>+1)> <TARGP.Z>
NEWNPC c_horse_gray
NEW.DEX 0
NEW.GO <TARGP.X> <EVAL (<TARGP.Y>+1)> <TARGP.Z>
NEWNPC c_horse_gray
NEW.DEX 0
NEW.GO <EVAL (<TARGP.X>-1)> <EVAL (<TARGP.Y>+1)> <TARGP.Z>
NEWNPC c_horse_gray
NEW.DEX 0
NEW.GO <EVAL (<TARGP.X>+1)> <EVAL (<TARGP.Y>-1)> <TARGP.Z>
NEWNPC c_horse_gray
NEW.DEX 0
NEW.GO <TARGP.X> <EVAL (<TARGP.Y>-1)> <TARGP.Z>
NEWNPC c_horse_gray
NEW.DEX 0
NEW.GO <EVAL (<TARGP.X>-1)> <EVAL (<TARGP.Y>-1)> <TARGP.Z>
NEWITEM i_bow
NEW.EQUIP
NEWITEM i_arrow
NEW.AMOUNT 100
NEW.BOUNCE
RETURN 1
No tags attached.
Issue History
09-10-10 00:45MirravinNew Issue
28-10-10 01:26TerrikateIssue Monitored: Terrikate
29-12-10 04:42MirravinNote Added: 0000808
29-12-10 04:42MirravinNote Edited: 0000808bug_revision_view_page.php?bugnote_id=0000808#r80
11-02-11 12:31MirravinIssue Monitored: Mirravin
17-09-12 20:42TerrikateAssigned To => Terrikate
17-09-12 20:42TerrikateStatusnew => assigned
17-09-12 20:48TerrikateStatusassigned => resolved
17-09-12 20:48TerrikateFixed in Version => 0.56c Nightly
17-09-12 20:48TerrikateResolutionopen => fixed

Notes
(0000808)
Mirravin   
29-12-10 04:42   
This problem also affects script RUN and WALK functions, using .xrun 1 on test NPC do nothing. But .xcanmove 1 return true(uid).