Mirage Engine
Spell Error... any help or ideas? - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49)
+---- Thread: Spell Error... any help or ideas? (/showthread.php?tid=2575)



Spell Error... any help or ideas? - chagen - 27-02-2009

frmIndex.lstIndex.AddItem i & ": " & Trim$(Spell(i).Name) this is the line screwing up all my spells

Getting a Runtime Error 9 on Spell(i).name = SubScirpt out of range


Re: Spell Error... any help or ideas? - Coke - 27-02-2009

SIGH =P


Re: Spell Error... any help or ideas? - chagen - 27-02-2009

Tongue yeah... about that....I have really been working on this for a week and have looked the forums all over to get it working... nothing at all


Re: Spell Error... any help or ideas? - Matt - 27-02-2009

Odds are the packet is mixed up.


Re: Spell Error... any help or ideas? - chagen - 27-02-2009

thought so... been looking for where i had error no luck yet


Re: Spell Error... any help or ideas? - Matt - 27-02-2009

Look at the order in which it's sent. Also, make sure the spell name is actually being sent in the first place. I've seen this problem several times, but I don't remember what the issue was.


Re: Spell Error... any help or ideas? - chagen - 01-03-2009

Well got it fixed but Spell animation doesn't work on non scrolling maps or scrolling maps. I tried both.


Re: Spell Error... any help or ideas? - chagen - 02-03-2009

Ok Last update.... spell anim works once and its in the bottom left corner of map only any ideas?


Re: Spell Error... any help or ideas? - mustorze - 02-03-2009

The "For" Of "i" unconfigured correct Use:
for i = 1 to max_spells
.................................................