Jump to content

SkyNet

Members
  • Posts

    650
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by SkyNet

  1. so u will make a server how mxc player want it ? //fail

    most player here looking for a HR server to play maybe 1 month on + to find bugs etc if there aren't any they will leave ^^

     

    and also that u accept suggestions about the client makes me laugh... so u will collect ideas and then u will start to work on a pack to fix/edit the pack for weeks/months.... gz

  2. as i said i didn't test it^^

     

    but now i did and its worked :P

     

    gameserver\data\scripts\teleports\999_NoblesseShop

    __init__.py

    # Created by Ham Wong on 2007.02.28

    import sys

    from com.l2jserver.gameserver.model.quest        import State

    from com.l2jserver.gameserver.model.quest        import QuestState

    from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest

     

    qn = "999_NoblesseShop"

    NPC=[your npc ID]

     

    html = '<html><title>Gatekeeper</title><body><br>Ah, you\'re a Noblesse! I can offer you a special service then.<br><br><br>\

    <table width=280><tr><td align=left width=180><a action="bypass -h npc_%objectId%_Link merchant/NPC ID - PAGE.htm">Armor</a></td></tr></table><br><br>\

            <table width=280><tr><td align=left width=180><a action="bypass -h npc_%objectId%_Link merchant/NPC ID - PAGE.htm">Weapon</a></td></tr></table><br><br>\

    <table width=280><tr><td align=left width=180><a action="bypass -h npc_%objectId%_Link merchant/NPC ID - PAGE.htm">Jewely</a></td></tr></table><br><br>\

    <br><br><br><br><a action="bypass -h npc_%objectId%_Chat 0">Back</a></body></html>'

     

    class Quest (JQuest) :

     

    def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

     

    def onAdvEvent (self,event,npc, player) :

        return event

     

    def onTalk (self,npc,player):

        st = player.getQuestState(qn)

        if player.isNoble() == 1 :

          bypass = 'Quest 999_NoblesseShop noble-nopass.htm'

          if st.getQuestItemsCount(13722):

            bypass = 'npc_%objectId%_Chat 44'

          htmltext=html.replace("%bypass%",str(bypass)).replace("%objectId%",str(npc.getObjectId()))

        else :

          htmltext="nobleshop-no.htm"

        return htmltext

     

    QUEST      = Quest(-1,qn,"Teleports")

     

    for item in NPC:

      QUEST.addStartNpc(item)

      QUEST.addTalkId(item)

     

    re-name nobleteleporter-no.htm to nobleshop-no.htm

     

    gameserver\data  open scripts.cfg and add under  # Teleports    teleports/999_NoblesseShop/__init__.py

     

    set in your merchant the link

    <a action="bypass -h npc_%objectId%_Quest 999_NoblesseShop">Enter Noblesse Shop</a>
    

     

     

    enjoy ;)

  3. just another fail greek server... ?!

     

    Sry for the downtime we had some problems with the machine! all fixed

    u mean home pc ?

    because u open a server without having a web site ?

    Server Started on 24.03.2010

    thought its new ?

     

    and almost all your features don't fit with the stuff at the website :s

     

    forum doesn't work and some other links too....

     

    //next

×
×
  • Create New...