[Game 34083] Kill BUG

08/15/2013 04:00 miguas#1
Hello epvpers!

Well, while i was testing some quests i made in my server with kill in it, and i discovered this big bug!

When you kill, it happens like 2 times instead of 1!

Example in quest:

when kill with npc.is_pc() then
say("You Killed")
end

When i go ingame kill someone, it appears not 1 but 2 quest windows!

Its like is called 2 times!

Please someone fix or say how to fix please!

Regards, Miguas.
08/15/2013 11:39 .Xilent#2
PHP Code:
quest got_killed begin
    state start begin
        when kill with npc
.is_pc() begin
        say
("You've been killed!")
        
end
    end
end 
If you want to know, who has killed you

PHP Code:
quest got_killed begin
    state start begin
        when kill with npc
.is_pc() begin
        say
("You've been killed by "..npc.get_vid())
        
end
    end
end 
but for this quest you need to patch your game with this diff-file :

[Only registered and activated users can see links. Click Here To Register...] [ 0x03:: npc.get_vid() ]
08/15/2013 12:04 miguas#3
You didnt get it <.<

When "kill" its used it executes the when 2 times!

Like if i use the quest you have put there it appears like this:

You've been killed by VID

OK

You've been killed by VID

OK


But instead of appearing on on the same quest window it makes 2 windows!

This only happens with kill func...
I have asked some friends about this, they had the same problem that why i maked topic even if i fixed that in quest, i prefer to have my game file fixed :/
04/25/2014 17:39 TheCrusherPT14#4
Quote:
Originally Posted by miguas View Post
You didnt get it <.<

When "kill" its used it executes the when 2 times!

Like if i use the quest you have put there it appears like this:

You've been killed by VID

OK

You've been killed by VID

OK


But instead of appearing on on the same quest window it makes 2 windows!

This only happens with kill func...
I have asked some friends about this, they had the same problem that why i maked topic even if i fixed that in quest, i prefer to have my game file fixed :/
Does anyone how to solve?
04/25/2014 18:01 .Kibito#5
Here is the fix:
[Only registered and activated users can see links. Click Here To Register...]