Jump to content

Pkhunter Event


^Wyatt

Recommended Posts

  • 1 month later...

Friend just use h5, event not starta everything installed without error and does not show any error in GS

 

<script type="text/javascript" src="/aes.php" ></script>

Friend just use h5, event not starta everything installed without error and does not show any error in GS

Link to comment
Share on other sites

I think I can be here, I did not understand how to put that part to be 100% or 50% chance

 

# Chance to start the event when someone gets PK. The probability will be 1/20 if its default.
# Default: 20
PKHunterEventChance = 20

Link to comment
Share on other sites

I think I can be here, I did not understand how to put that part to be 100% or 50% chance

 

# Chance to start the event when someone gets PK. The probability will be 1/20 if its default.

# Default: 20

PKHunterEventChance = 20

... just put it to 1 to test...

Link to comment
Share on other sites

put 1 still does not start I do not know What do can be

Dunno m8, probably u did something wrong, as far as I know, its working, or at least should appear errors in GS.

 

You should fully explain your error, in proper English, please. What's happening? The event starts? (do u see announcements?)

Link to comment
Share on other sites

1 - not any error everything ok, go into the game with 2 players and kill each other with pk but not start the event will be by localhost? or the same ip?
2 - no de cualquier error de ejecutar todo muy bien, entrar en el juego con 2 jugadores y matar unos a otros y obtener pk pero se inicia el evento será un lugar para estar? o la misma ip?
3 - nao da nenhum erro no GS, ta rodando tudo ok, entro no jogo com 2 jogadores e mato o outro e fico pk mas nao inicia o evento sera por ser local? ou o mesmo ip?

 

 

my09.jpg

 

No ERRO em GS

Edited by nery
Link to comment
Share on other sites

You're probably missing this line

 @@ -5914,6 +6003,7 @@
                                && AntiFeedManager.getInstance().check(this, target))
                        setPkKills(getPkKills() + 1);
               
+               PkHunterEventConditions.checkPk(this, target);
in L2PcInstance.

 

Or you have EnablePKHunterEvent=False

Edited by ^Wyatt
Link to comment
Share on other sites

  • 1 month later...

Using Version: 2

Pack: L2j Older revision (5667)

 

So I tried it out, works flawless! Really awesome event.

 

Yet I have a little problem, not with how the event works but with 2 skills which can teleport the Culprit (Hunted)

 

Gate Chant, id: 1255, type: SummonFriend

Party Recall, id 1429, type: Return

 

Can't figure myself out how to fix this :/

Link to comment
Share on other sites

Can't figure myself out how to fix this :/

 

Have you added dat check ?

+                       if (PkHunterEvent.isPk(activeChar))
+                       {
+                               activeChar.sendMessage("You can't use escape skills while in event.");
+                               return;
+                       }

Try to add the same check @ L2SkillSummon.java

 

Oh damn, it's about cubics and summons..

 

Later edit: Well, basically dat check should do the job, block both skill types, since they're at the same class.

Edited by SweeTs
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...