Mirage Source
RTE 9 On Server - Printable Version

+- Mirage Source (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: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: RTE 9 On Server (/showthread.php?tid=2239)



RTE 9 On Server - Mattyw - 12-10-2008

For some reason, after adding Forget Spell Button to picPlayerSpells, when I log off on Client, the Server crashes & I get RTE 9.

It highlights:

Code:
n = Val(Parse(1))

Inside CFSpell, here's whole thing:

Code:
' :::::::::::::::::::::::::
        ' :: Forget spell packet ::
        ' :::::::::::::::::::::::::
        Case CFSpell
            ' Spell slot
            n = Val(Parse(1))

            Call ForgetSpell(Index, n)
            Exit Sub

I can't work out why the Server crashes, help please? Also so you know, ForgetSpell, is set basically same as CastSpell.


Re: RTE 9 On Server - Rezeyu - 12-10-2008

Is parse(1) the proper type?

Is it too large?


Re: RTE 9 On Server - Mattyw - 12-10-2008

Rezeyu Wrote:Is parse(1) the proper type?

Is it too large?


Well, it's not supposed to do anything when I log out, & Parse(1) is just the SpellSlot. So only a Number.


Re: RTE 9 On Server - Dragoons Master - 12-10-2008

Your packet is probably wrong, missing something.


Re: RTE 9 On Server - Mattyw - 12-10-2008

How did I miss that. Well, did it right after I woke up, so meh.

Forgot to add CFSpell to ClientPackets. Thanks. Big Grin