Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RTE 9 On Server
#1
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.
Reply
#2
Is parse(1) the proper type?

Is it too large?
Reply
#3
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.
Reply
#4
Your packet is probably wrong, missing something.
Reply
#5
How did I miss that. Well, did it right after I woke up, so meh.

Forgot to add CFSpell to ClientPackets. Thanks. Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)