TFS 1.X+ [tfs 1.3] downgraded 8.6 Bug Arena PvP

roriscrave

Well-Known Member
Joined
Dec 7, 2011
Messages
761
Best answers
19
Reaction score
90
HI! How the title say, bug occurs in src 1.3 for tibia 8.6.
u can see a source code in github: here

The bug occurs when it is a PvP Zone (where players can kill themselves without losing level).
1) Player A kill Player B (player B who died is teleported to the temple without losing level (OK))
2) Summon of player A kill player B (player B who died is teleported to the temple without losing level (OK))
3) If a monster (not summon), for exemple Demon, kill player B (player B die, lose loot and level).

Does anyone know how to fix? This bug won't let me make the event that has monsters inside it. In PvP Area.
 

Evil Puncker

I'd rather kiss a rattlesnake
Joined
May 30, 2009
Messages
5,922
Best answers
33
Reaction score
1,873
Location
160,54,7
isn't this like the 3rd topic you create about the same problem?
 

celohere

Active Member
Joined
Nov 27, 2007
Messages
124
Best answers
5
Reaction score
45
You tried function onPrepareDeath?
 

Ramirow

Advanced OT User
Joined
Aug 22, 2009
Messages
515
Best answers
13
Reaction score
207
Location
Argentina
HI! How the title say, bug occurs in src 1.3 for tibia 8.6.
u can see a source code in github: here

The bug occurs when it is a PvP Zone (where players can kill themselves without losing level).
1) Player A kill Player B (player B who died is teleported to the temple without losing level (OK))
2) Summon of player A kill player B (player B who died is teleported to the temple without losing level (OK))
3) If a monster (not summon), for exemple Demon, kill player B (player B die, lose loot and level).

Does anyone know how to fix? This bug won't let me make the event that has monsters inside it. In PvP Area.
I think that's the intended behaviour, PvP stands for player versus player. If you die by a monster you should receive the death penalty, you should add an onPrepareDeath function for that specific arena and check if player is killed by monster and execute the code of your choice.
 
Top