SphereServer BugTracker - SphereServer
View Issue Details
0002097SphereServerexecutable - windows buildpublic01-09-12 00:0106-09-12 01:57
Sadus 
Ben 
normalminoralways
resolvedfixed 
 
 
Automated (specify build number)
None
None
0002097: Earthquake, Meteor Swarm, Chain Lightning spell not work!
Earthquake, Meteor Swarm, Chain Lightning spell not work!

work fine on april build
No tags attached.
Issue History
01-09-12 00:01SadusNew Issue
01-09-12 17:32darksun84Note Added: 0001363
01-09-12 17:32darksun84Note Edited: 0001363bug_revision_view_page.php?bugnote_id=0001363#r453
01-09-12 17:33darksun84Note Edited: 0001363bug_revision_view_page.php?bugnote_id=0001363#r454
01-09-12 19:13SadusNote Added: 0001365
02-09-12 15:48BenNote Added: 0001366
02-09-12 15:48BenAssigned To => Ben
02-09-12 15:48BenStatusnew => assigned
02-09-12 18:36SadusNote Added: 0001367
03-09-12 02:31BenNote Added: 0001369
04-09-12 04:47ShiryuXNote Added: 0001370
04-09-12 06:54SadusNote Added: 0001371
04-09-12 16:30darksun84Note Added: 0001372
05-09-12 05:18BenNote Added: 0001373
06-09-12 01:57BenNote Added: 0001375
06-09-12 01:57BenStatusassigned => resolved
06-09-12 01:57BenResolutionopen => fixed

Notes
(0001363)
darksun84   
01-09-12 17:32   
(edited on: 01-09-12 17:33)
chain lighting and meteor swarm always fizz after target's selection, and with GM OFF your mana will be reduced around 0.
 
This is what appear, when you use them with GM OFF
 




:DEBUG:__ thread (5452) __ | # | _____ function _____________ | ticks passed from previous function start ______
17:19:DEBUG:>> 5452 | 0 | CWorld::OnTick | +0
17:19:DEBUG:>> 5452 | 1 | CSector::OnTick | +0
17:19:DEBUG:>> 5452 | 2 | CChar::OnTick | +0 <-- exception catch point (below is guessed and could be incorrect!)
17:19:DEBUG:>> 5452 | 3 | CChar::Skill_Done | +0
17:19:DEBUG:>> 5452 | 4 | CChar::Skill_Stage | +0
17:19:DEBUG:>> 5452 | 5 | CChar::Skill_Magery | +0
17:19:DEBUG:>> 5452 | 6 | CChar::Spell_CastDone | +0
17:19:DEBUG:>> 5452 | 7 | CChar::Spell_CanCast | +0
17:19:DEBUG:>> 5452 | 8 | CChar::UpdateStatVal | +0
17:19:DEBUG:>> 5452 | 9 | CChar::UpdateManaFlag | +0
17:19:CRITICAL:"Access Violation" (0x45ff3), in CChar::Tick() 0000001 "timer expired"

 
The error continue to be displayed in the console until you don't have enough mana to cast the two spells above(so with mana 100 you'll get it two times in the console), so looks like when the spell is casted, it cast itself again and again!

Earthquake can be fixed by adding SPELLFLAG_AREA to him.

(0001365)
Sadus   
01-09-12 19:13   
all mass, area spells just not work
(0001366)
Ben   
02-09-12 15:48   
I'll have a look at it... see what kind of mess Shyriux did with the new spellflags :)
(0001367)
Sadus   
02-09-12 18:36   
SPELLFLAG_AREA Helps, need to fix scriptpack
(0001369)
Ben   
03-09-12 02:31   
Scripts update is a definite must...
(0001370)
ShiryuX   
04-09-12 04:47   
Yeah, sorry, just add SPELLFLAG_AREA to the spells flags while someone (Ben? :P) sends the fixed script to the svn.
(0001371)
Sadus   
04-09-12 06:54   
please fix summon spells too...
daemon and elementals not own to caster
(0001372)
darksun84   
04-09-12 16:30   
Wait :O , SPELLFLAG_AREA only fix Earthquake, if you add it to Chain Lighting and MeteorStrike you'll still get error :D
(0001373)
Ben   
05-09-12 05:18   
There is an error internally with area spells, spellflag_scripted on top of spellflag_area is a temporary fix.
sphere_spell.scp will be updated shortly :P
Also working on Summon spells.
(0001375)
Ben   
06-09-12 01:57   
Fixed in 1533