Jump to content

feather57

Members
  • Posts

    47
  • Credits

  • Joined

  • Last visited

    Never
  • Feedback

    0%

Posts posted by feather57

  1. 1. Presentation.

    2. Description.

    3. Fixes.

    4. Todo list.

    5. Photos.

    6. Downloading.

     

    1. Hello, so in almost week I created Event. All Event code is giving full, so please don't copy / steal my credits and all finded my mistakes write in this forum.

     

    2. Event goal is to run from point A to point B. When you run you need to talk with Npc. His name is Finisher. When you talk with him, you will get vitality aura, and that means, that you are in first place, and if you will be talked with npc you will block talking with npc to All! If you die your Vitality aura will disappear, and that means all block to talk with npc will be removed, so other people can talk with npc if no one is talked. And if you turn on Zone mode and configure range from npc, people left that zone will lost his Vitality aura, like when you die. If you die, you will respawn in that place where you die in 10 seconds.

    Event states:

    Inactive - that means space when nothing is happening.

    Participating - registration period.

    Teleporting - in that state you will be teleported in or out of event.

    Preparing - in this state you can buff your self, you will get Root, so you can't do anything to other players.

    Active - this state is whole event action :).

    Rewarding - in this state all players will be teleporting to npc and which player is winner, he will get some reward! :)

     

    3. Beta rev1:

    Created all system, added npc and created configs.

     

    4. Todo list, hmm I don't know what to do, because by myself I can't find any mistakes in event, so I have 1 request if you find couple or more mistakes please write in this topic, mistakes can be not 1 and not 10, them can be lots! So please write in this topic all mistakes, or fixes, I will try fix all mistakes which you will be writing :)

     

    5.

    shot00013rl.png

    shot00014ln.png

    shot00015xo.png

     

    6. Download - Core

    Download - DP

     

    P.S Credits: Erlandys

  2. 1. Presentation.

    2. Description.

    3. Fixes.

    4. Todo list.

    5. Downloading.

     

    1. Hello, so I created Monster Counting System.

    This system is working like PvP kills but 1 different it's counting points from monsters not from players. With command you can see how many points you have :).

     

    2. This system is counting killed monsters count.

     

    3. Beta v2:

    1. Added anti feed, if player Level is bigger than 3 he doesn't get Mob Count (There are config to change limit from 3 to 15 or how many you want).

    2. Created Npc instance (L2MobCount).

    2.1. In that Npc there are 4 buttons:

    Top, Aden Convert, Item Convert and Special Buffer.

    2.2. For tops there are couple configs:

    First config are turn on/off tops. (Dissapear/reapear button) and there are second config to configure top limit.

    2.3. For Aden Convert there are couple config too:

    First config are turn on/off Aden Convert. (Dissapear/reapear button) and there are second config to configure how many aden do you can get from 1 Mob Count.

    2.4. For Item Convert there are couple config too:

    First config are turn on/off Item Convert. (Dissapear/reapear button) and there are second config to configure that and how much you will get from 1 Mob Count, example:

    If you write config like this:

    MobCountItemId = 57,9;6636,3;60,20

    It will work like this:

    Take 1 Mob Count and give 9 Aden, 3 itemId(6636) and 20 itemId(60)

    2.5. For buffer there are only 1 config: turn on/off Special Buffer. (Dissapear/reapear button). But he have hes own Html file and Database table, I will show you something:

    Html code, COV +15 Decrease Penalty buff:

    <table bgcolor=131210>
    <tr>
    <td width=40><button action="bypass -h npc_%objectId%_Buff 1363" width=32 height=32 back="icon.skill1363" fore="icon.skill1363"></td>
    <td width=240>
    <table width=240>
    <tr><td>Victory Chant <font color=a1a1a1>Lv</font> <font color=ae9977>1</font> <font color="FFD700">+15 Decrease P.</font></td></tr>
    <tr><td><font color=b0bccc>A powerful spirit acts</font></td></tr>
    </table>
    </td>
    </tr>
    </table>

    In this place:

    bypass -h npc_%objectId%_Buff 1363

    1363 will be in mc_npc_buffer table, BuffGroup column, in that column write what ever you want number, but it can't duplicate!

    NpcId we write correct Npc Id from where you wan't to buff your self.

    SkillId we write correct skill (buff) id.

    SkillLevel we write correct skill (buff) level.

    skill_fee_amount we write how many player must give MobCount what he can buy buff.

    Here:

     

    <tr><td>Victory Chant <font color=a1a1a1>Lv</font> <font color=ae9977>1</font> <font color="FFD700">+15 Decrease P.</font></td></tr>
    <tr><td><font color=b0bccc>A powerful spirit acts</font></td></tr>

     

    Skill name and description

     

    Here:

     

    back="icon.skill1363" fore="icon.skill1363"

     

    Skill image change only ID.

    3. When you add that all script into your server in all town next to GateKeeper will be Npc with id - 37546. If you don't need him you can delete him. If you have already added all that script and you wan't to delete all npcs just change:

    AllowMobCount = True

    From true we change to false, when false after restart all npc will be despawned (but all Mob Counting system don't work) and if you change from false to true all Npc what had L2MobCountInstance will respawn.

     

    Beta v1:

    3.1. Created system.

    3.2. Added .mobcount command. With this command you can see how many points you have.

    3.3. Added //setmobcount<value> admin command. With this command you can edit players points.

     

    4. Beta v3 will be:

    4.1. Command Buying.

    4.2. Couple new commands.

    4.2. Premium (with premium your drop will be x2. Time limit will be in Beta v3 or Beta v4).

     

    5. Beta v2

    Core - Download

    DataPack - Download

    Beta v1

    Core - Download

    DataPack - Download

     

    Credits: Erlandys

     

    Btw, sorry for bad english I'am from lithuania :/

  3. Hello. So I need some help, who know Python. So I wan't to do seperate buffer to Summoners. I wan't to do  what other classes except Warlock, Elemental Summoner, Phantom Summoner can't go to that buffer. And I don't know how to do that. Now it's like this:

    def onTalk (self,npc,player):#verifica player se tem PET/Flag/Karma ou modo de combate.

    htmltext = "<html><head><body>Vc naun tem requisitos para usar NPC</body></html>"

    st = player.getQuestState(qn)

    if not st : return htmltext

    npcId = npc.getNpcId()

    if player.getPet() == None :#Player sem Pet

    htmltext = "<html><head><body>You Don't Have Summon or Pet!</body></html>"

    st.exitQuest(1)

    elif st.player.getPvpFlag() > 0 :#Player Flag

    htmltext = "<html><head><body>You can't buff while you are <font color=\"800080\">flagged!</font><br>Wait some time and try again!</body></html>"

    st.exitQuest(1)

    elif st.player.getKarma() > 0 :#Player com Karma

    st.exitQuest(1)

    htmltext = "<html><head><body>You have too much <font color=\"FF0000\">karma!</font><br>Come back,<br>when you don't have any karma!</body></html>"

    elif st.player.isInCombat() :#Player modo de Combate

    st.exitQuest(1)

    htmltext = "<html><head><body>You can't buff while you are attacking!<br>Stop your fight and try again!</body></html>"

     

    else:

    st.setState(State.STARTED)

    return InitialHtml

    return htmltext

     

    And I think it's must be something like this:

     

    def onTalk (self,npc,player):#verifica player se tem PET/Flag/Karma ou modo de combate.

    htmltext = "<html><head><body>Vc naun tem requisitos para usar NPC</body></html>"

    st = player.getQuestState(qn)

    if not st : return htmltext

    npcId = npc.getNpcId()

    if player.getPet() == None :#Player sem Pet

    htmltext = "<html><head><body>You Don't Have Summon or Pet!</body></html>"

    st.exitQuest(1)

    elif st.player.getPvpFlag() > 0 :#Player Flag

    htmltext = "<html><head><body>You can't buff while you are <font color=\"800080\">flagged!</font><br>Wait some time and try again!</body></html>"

    st.exitQuest(1)

    elif st.player.getKarma() > 0 :#Player com Karma

    st.exitQuest(1)

    htmltext = "<html><head><body>You have too much <font color=\"FF0000\">karma!</font><br>Come back,<br>when you don't have any karma!</body></html>"

    elif st.player.isInCombat() :#Player modo de Combate

    st.exitQuest(1)

    htmltext = "<html><head><body>You can't buff while you are attacking!<br>Stop your fight and try again!</body></html>"

    elif player.getClassId().getId() == 93, player.getClassId().getId() == 15 :#What classes can't go here.

    st.exitQuest(1)

    htmltext = "<html><head><body>You can't buff while you are attacking!<br>Stop your fight and try again!</body></html>"

    else:

    st.setState(State.STARTED)

    return InitialHtml

    return htmltext

  4. Hello. I need compile 1 java file to class file (L2 Java). But idk how. I can't put in to other java, becouse other java don't match mine decompiled class file. I have been changed some thing in tvtevent.java, but idk how to compile that file to .class. If someone can help me, please just help!!!!

  5. Hello. I try to put this event  to my server. But I have 6 errors :/

     

    [javac] Compiling 1516 source files to C:\workspace\L2_GameServer\build\classes

       [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:7487: 'try' without 'catch' or 'finally'

       [javac] try

       [javac] ^

       [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:7701: 'catch' without 'try'

       [javac] catch (Exception e;)

       [javac] ^

       [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:7701: ')' expected

       [javac] catch (Exception e;)

       [javac]                ^

       [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:7701: not a statement

       [javac] catch (Exception e;)

       [javac]      ^

       [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:7701: illegal start of expression

       [javac] catch (Exception e;)

       [javac]                   ^

       [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:7705: 'finally' without 'try'

       [javac] finally

       [javac] ^

       [javac] 6 errors

     

    I don't know what tu do ;///.

     

    I'am using L2jServer 7669, 4423 pack :)

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock