Jump to content

Custom Pvp Zone ( Freya - H5 ) Up-Dated


Recommended Posts

[javac] Compiling 1707 source files to C:\workspace\ProjetokingserverBR\Server\build\bin

    [javac] C:\workspace\ProjetokingserverBR\Server\java\king\server\gameserver\model\zone\type\L2CustomPvP.java:6: error: cannot find symbol

    [javac] import king.server.gameserver.model.zone.L2SpawnZone;

    [javac]                                        ^

    [javac]  symbol:  class L2SpawnZone

    [javac]  location: package king.server.gameserver.model.zone

    [javac] C:\workspace\ProjetokingserverBR\Server\java\king\server\gameserver\model\zone\type\L2CustomPvP.java:7: error: package com.king.util does not exist

    [javac] import com.king.util.Rnd;

    [javac]                    ^

    [javac] C:\workspace\ProjetokingserverBR\Server\java\king\server\gameserver\model\zone\type\L2CustomPvP.java:66: error: cannot find symbol

    [javac]            int r = Rnd.get(3);

    [javac]                    ^

    [javac]  symbol:  variable Rnd

    [javac]  location: class BackToPvp

    [javac] 3 errors

 

BUILD FAILED

 

Link to comment
Share on other sites

i added it all is okay but... The zone is still a peacefull area, i added the things in the zone file in gameserver...

But in Game server console it says

Zone Data: No Such zone type + Npoly in file : Peace_zones.xml

(But i made type=Custompvp etc...

i Am using l2j freya... i dont know whats wrong i had dificulty make fantasy isle a pvp area too ( still havnt made that work)

Please anyone help me .... thank you

Link to comment
Share on other sites

  • 4 weeks later...

Hello,I tested this system,its good but i found 1 problem.My zone is open,if player is flagged before enter zone,when he enter with flag after time limit and normal flag ends,then he is white and not flagged anymore and he's flag not update until he left and come back...

1st i was with setPvpFlag(1), problem appear and i try with updatePvPFlag(1) but its all the same.....

Any ideas?

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

 

Nice share just have a couple of questions

 

where do you create the voicecommand .ress com.l2jserver.gameserver.handler here or com.l2jserver.gameserver.handler.voicecommands here? problem is i dont have com.l2jserver.gameserver.handler.voicecommands and if in there il have to create it il have to create it in order to  add it right?

 

can you make it so it can solo pvp also? like you cant go with party in and cant see the other persons name?

Link to comment
Share on other sites

  • 1 month later...

Please help me , on this zone not add pvp points to character on kill , and no reward.

Read this  :)

since it is a pvp zone, i guess player cannot gain pvp points.. That's why i removed this line

character.setInsideZone(L2Character.ZONE_PVP, true);

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
  • 2 weeks later...
  • 2 weeks later...

L2Skill NobleBlesingBuff = SkillTable.getInstance().getInfo(1323, 1);

 

L2PcInstance activechar = (L2PcInstance) character;

    if (!activechar.isNoblesseBlessed())

        {

        NobleBlesingBuff.getEffects(activechar,activechar);

        }

Link to comment
Share on other sites

  • 1 month later...

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...