SphereServer BugTracker - SphereServer
View Issue Details
0002268SphereServerexecutable - windows buildpublic26-01-14 00:4314-04-14 03:16
Coruja 
Avatar 
normalminoralways
resolvedfixed 
 
 
Automated (specify build number)
None
None
0002268: SPELLFLAG_HARM on summon spells doesn't make the caster criminal
As the title says, casting summon spells with SPELLFLAG_HARM under guards protection wont make the caster criminal.

Eg: I have SPELLFLAG_HARM set on both 'wall of stone' and 'energy vortex' spells. Under the guards protection, if I cast a wall of stone I will become criminal, but casting a energy vortex doesn't flag me criminal
Using 20 jan 2014 build
No tags attached.
Issue History
26-01-14 00:43CorujaNew Issue
26-01-14 00:45CorujaNote Added: 0001933
14-04-14 03:10AvatarNote Added: 0002040
14-04-14 03:11AvatarStatusnew => resolved
14-04-14 03:11AvatarResolutionopen => fixed
14-04-14 03:11AvatarAssigned To => Avatar
14-04-14 03:15AvatarIssue Monitored: Avatar
14-04-14 03:15AvatarStatusresolved => feedback
14-04-14 03:15AvatarResolutionfixed => reopened
14-04-14 03:16AvatarNote Added: 0002041
14-04-14 03:16AvatarIssue End Monitor: Avatar
14-04-14 03:16AvatarStatusfeedback => resolved
14-04-14 03:16AvatarResolutionreopened => fixed

Notes
(0001933)
Coruja   
26-01-14 00:45   
I'm using these flags:

[Spell 24]
DEFNAME=s_wall_of_stone
...
FLAGS=SPELLFLAG_TARG_XYZ|SPELLFLAG_FIELD|SPELLFLAG_HARM|SPELLFLAG_NOUNPARALYZE|SPELLFLAG_PLAYERONLY

[Spell 58]
DEFNAME=s_energy_vortex
...
FLAGS=SPELLFLAG_TARG_XYZ|SPELLFLAG_HARM|SPELLFLAG_SUMMON|SPELLFLAG_PLAYERONLY
(0002040)
Avatar   
14-04-14 03:10   
I dont think there is problem but if you are insisting on it, you can achieve criminal issue by scripting if you want. I just checked and there is no problem.

on=@gethit trigger you can manipulate this directly without any restrictions like the following ;

on=@gethit
if (<argn2>&00004) ==> just check the spell with serv.log <argn2> and see what is the definitions of spell then adjust 00004 instead. After that
put src.criminal so and so forth.
(0002041)
Avatar   
14-04-14 03:16   
Also, be sure that you are using last spells definitions and corrected scripts as released in nightly release