Bug

10/05/2010 06:45 peterpiper99#1
Alright so I got a bug in my server and I don't know where the problem is at. So when you die and someone uses pray on you, you can't pick a skill from the skill list, unless you leave the map (I don't know if that's any map or just pka, I was using pka). Also, it happens when I type /rev. I can't attack the player either. But when I revive with the button everything is normal. It only happens when someone revs me with pray, or I use the rev command. Help will be appreciated.
10/05/2010 07:05 Arcо#2
Use breakpoints on the /rev code or the attack code.
10/05/2010 07:18 peterpiper99#3
What's that mean?
10/05/2010 07:21 Arcо#4
Breakpointing.
[Only registered and activated users can see links. Click Here To Register...]
Let that give you an idea.
10/05/2010 07:44 peterpiper99#5
[Only registered and activated users can see links. Click Here To Register...]

So I did that, then debugged and go no errors in the console.
10/05/2010 07:54 Arcо#6
Then breakpoint the attacking.
10/05/2010 09:13 Korvacs#7
You wont get an error in the console from a bug like this, chances are you arnt removing the status effect that stops you casting spells. I noticed that you remove the dead and blue name status effects, but not the ghost one, so the player isnt technically alive when you revive them, unless your definition for dead is different from most other peoples.
10/05/2010 19:39 peterpiper99#8
Where can I find this?
10/05/2010 21:31 teroareboss1#9
Quote:
Originally Posted by peterpiper99 View Post
[Only registered and activated users can see links. Click Here To Register...]

So I did that, then debugged and go no errors in the console.
for attack send map status 0
GC.SendPacket(Packets.MapStatus(GC.MyChar.Loc.Map, 0));
10/05/2010 21:54 peterpiper99#10
-Edit-
10/05/2010 23:08 Arcо#11
Quote:
Originally Posted by peterpiper99 View Post
-Edit-

Fixed it somehow thanks to Jacob, Korvacs, and Tero. Updating the character worked. I don't know if Tero's worked but I placed it inside the voids anyways. So inside the voids I placed:



Solved it.
You're not just gonna wanna call 0 to the map status, you want the mapstatus to be the maps ACTUAL status, not some random number.
10/05/2010 23:11 peterpiper99#12
-Edit-

I didn't fix it. It is when they die. they can't pick skills from the list anymore. The only way they can, is if they leave the map. I can pick pray though. But that's the only skill I can pick.