Jump to content

zasmqniq

Members
  • Posts

    21
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by zasmqniq

  1. Yeah i am so sad the project is down i think this is the best pack i ever saw really thanks to the devs and i think they shouldnt take the haters so hard dont do it you did a great job for sure! one big thanks to you! Anyhow i will continue to post fixes at the forum ofr the haters that you talk so no problem of that :) and please gyiz stop hate so much when you check something that is working and its good !
  2. Gyiz i figure out the shop problem was in my System when i changed it was all ok and wanted to ask how to add Points for the shop to the char.... cant find table in mysql...
  3. gyiz how to setup a GM Char i tryied everything and doesnt work....
  4. gyiz anyone can help with the client i just cant find a right system or editor for it just cant connect to my server i have runed it etc with good IP etc....
  5. gyiz can i ask you something i saw there are missing some of ai/ like the grandboss etc then how can they start when the player is in the layer is there any manager or something ???
  6. WOW THANKS MATE can y share the set too :)) heh
  7. oh looks really nice is there anyway you can share the wings from 12?
  8. hi there i read a lot in the forums someone maybe tell me i am not but i did read and i didnt find anything that i need and i tested a lot things but nothing work for me so i want to ask anyone do you know about how to make a pvp zone L2J Server latest revision used i mean i have the pack and when i get to my area like giran area when i zone check it it will me its a pvp but when someone kill me i spawn to the city so here are my files and by the way i have a lot files and no one in my SQL DB thats why i ask you what should i do now i have 3 files pvp.xml , peace.xml , zone.xml and i have no tables like zone_verticles and zone tables only this files Zone.xml <?xml version="1.0" encoding="UTF-8"?> <list enabled="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/zones.xsd"> <!-- Monster Race Track --> <zone name="dion_monster_race1" type="DerbyTrackZone" shape="NPoly" minZ="-3652" maxZ="-3452"> <!-- [20_23] --> <node X="11714" Y="181568" /> <node X="14406" Y="181571" /> <node X="14405" Y="182673" /> <node X="11714" Y="182673" /> </zone> <zone name="dion_monster_race2" type="DerbyTrackZone" shape="NPoly" minZ="-3610" maxZ="-3410"> <!-- [20_23] --> <node X="13309" Y="181324" /> <node X="14061" Y="181324" /> <node X="14061" Y="181610" /> <node X="13309" Y="181610" /> </zone> <zone name="dion_monster_race3" type="DerbyTrackZone" shape="NPoly" minZ="-3608" maxZ="-3408"> <!-- [20_23] --> <node X="13559" Y="182641" /> <node X="14073" Y="182640" /> <node X="14073" Y="182919" /> <node X="13560" Y="182918" /> </zone> <zone name="dion_monster_race4" type="DerbyTrackZone" shape="NPoly" minZ="-3612" maxZ="-3412"> <!-- [20_23] --> <node X="12196" Y="182662" /> <node X="12447" Y="182663" /> <node X="12447" Y="182766" /> <node X="12197" Y="182766" /> </zone> <zone name="dion_monster_race5" type="DerbyTrackZone" shape="NPoly" minZ="-3624" maxZ="-3424"> <!-- [20_23] --> <node X="11706" Y="182774" /> <node X="13194" Y="182769" /> <node X="13194" Y="183006" /> <node X="11701" Y="183017" /> </zone> <zone name="dion_monster_race6" type="DerbyTrackZone" shape="NPoly" minZ="-3616" maxZ="-3416"> <!-- [20_23] --> <node X="11701" Y="184017" /> <node X="13188" Y="184011" /> <node X="13194" Y="184265" /> <node X="11701" Y="184260" /> </zone> <zone name="dion_monster_race7" type="DerbyTrackZone" shape="NPoly" minZ="-3620" maxZ="-3420"> <!-- [20_23] --> <node X="11697" Y="183013" /> <node X="11945" Y="183019" /> <node X="11940" Y="184015" /> <node X="11697" Y="184015" /> </zone> <zone name="dion_monster_race8" type="DerbyTrackZone" shape="NPoly" minZ="-3624" maxZ="-3424"> <!-- [20_23] --> <node X="12945" Y="183013" /> <node X="13193" Y="183008" /> <node X="13193" Y="184009" /> <node X="12945" Y="184009" /> </zone> <zone name="Seed of Annihilation 1" id="60006" type="EffectZone" shape="NPoly" minZ="-10700" maxZ="-10100"> <stat name="maxDynamicSkillCount" val="1" /> <stat name="showDangerIcon" val="false" /> <stat name="initialDelay" val="1000" /> <stat name="reuse" val="3000" /> <node X="-180000" Y="183000" /> <node X="-178300" Y="184666" /> <node X="-173000" Y="184666" /> <node X="-173000" Y="174500" /> <node X="-187350" Y="174500" /> <node X="-187350" Y="184666" /> <node X="-182000" Y="184666" /> <node X="-180500" Y="183000" /> </zone> <zone name="Seed of Annihilation 2" id="60007" type="EffectZone" shape="NPoly" minZ="-15900" maxZ="-14950"> <stat name="maxDynamicSkillCount" val="1" /> <stat name="showDangerIcon" val="false" /> <stat name="initialDelay" val="1000" /> <stat name="reuse" val="3000" /> <node X="-180000" Y="182500" /> <node X="-178800" Y="183500" /> <node X="-176500" Y="183500" /> <node X="-176500" Y="187000" /> <node X="-173000" Y="187000" /> <node X="-173000" Y="175000" /> <node X="-187500" Y="175000" /> <node X="-187500" Y="187600" /> <node X="-183500" Y="187600" /> <node X="-183500" Y="183500" /> <node X="-181000" Y="183500" /> <node X="-180500" Y="182500" /> </zone> <zone name="Seed of Annihilation 3" id="60008" type="EffectZone" shape="NPoly" minZ="-12850" maxZ="-10800"> <stat name="maxDynamicSkillCount" val="1" /> <stat name="showDangerIcon" val="false" /> <stat name="initialDelay" val="1000" /> <stat name="reuse" val="3000" /> <node X="-212800" Y="182800" /> <node X="-211000" Y="185000" /> <node X="-205000" Y="185000" /> <node X="-205000" Y="172000" /> <node X="-221000" Y="172000" /> <node X="-221000" Y="187000" /> <node X="-216000" Y="187000" /> <node X="-213500" Y="182800" /> </zone> <!-- (vertices, min Z and Max Z are estimated) --> <zone name="Den of Evil 1" type="EffectZone" shape="Cylinder" minZ="-2300" maxZ="-2100" rad="750"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="74313" Y="-116888" /> </zone> <zone name="Den of Evil 2" type="EffectZone" shape="Cylinder" minZ="-2400" maxZ="-2200" rad="850"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="63170" Y="-106621" /> </zone> <zone name="Den of Evil 3" type="EffectZone" shape="Cylinder" minZ="-1200" maxZ="-1000" rad="1200"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="68030" Y="-107150" /> </zone> <zone name="Den of Evil 4" type="EffectZone" shape="Cylinder" minZ="-3100" maxZ="-2900" rad="1200"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="62351" Y="-117376" /> </zone> <zone name="Den of Evil 5" type="EffectZone" shape="Cylinder" minZ="-2200" maxZ="-2000" rad="1200"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="68100" Y="-116006" /> </zone> <zone name="Den of Evil 6" type="EffectZone" shape="Cylinder" minZ="-2600" maxZ="-2400" rad="1200"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="69911" Y="-118790" /> </zone> <zone name="Den of Evil 7" type="EffectZone" shape="Cylinder" minZ="-3000" maxZ="-2800" rad="1200"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="67520" Y="-122211" /> </zone> <zone name="Den of Evil 8" type="EffectZone" shape="Cylinder" minZ="-3100" maxZ="-2900" rad="1500"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="74325" Y="-121296" /> </zone> <zone name="Den of Evil 9" type="EffectZone" shape="Cylinder" minZ="-3100" maxZ="-2850" rad="1200"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="70788" Y="-125554" /> </zone> <zone name="Den of Evil 10" type="EffectZone" shape="Cylinder" minZ="-3200" maxZ="-3000" rad="1200"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="76155" Y="-127355" /> </zone> <zone name="Den of Evil 11" type="EffectZone" shape="Cylinder" minZ="-3400" maxZ="-3200" rad="750"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="71543" Y="-128820" /> </zone> </list> Here is my next file pvp.xml <?xml version="1.0" encoding="UTF-8"?> <list enabled="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/zones.xsd"> <!-- PVP Zones --> <zone name="dion_monster_pvp" type="ArenaZone" shape="NPoly" minZ="-3596" maxZ="0"> <!-- [20_23] --> <node X="11947" Y="183019" /> <node X="12937" Y="183019" /> <node X="12943" Y="184010" /> <node X="11941" Y="184010" /> </zone> <zone name="gludin_pvp" type="ArenaZone" shape="NPoly" minZ="-3752" maxZ="-352"> <!-- [17_22] --> <node X="-88411" Y="141732" /> <node X="-87429" Y="141733" /> <node X="-87429" Y="142708" /> <node X="-88408" Y="142708" /> </zone> <zone name="giran_pvp_battle" type="ArenaZone" shape="NPoly" minZ="-3850" maxZ="-350"> <!-- [22_22] --> <node X="72493" Y="142263" /> <node X="73493" Y="142264" /> <node X="73493" Y="143261" /> <node X="72495" Y="143258" /> </zone> <zone name="colosseum_battle1" type="ArenaZone" shape="NPoly" minZ="-3498" maxZ="-3298"> <!-- [24_19] --> <node X="151252" Y="45918" /> <node X="151219" Y="46182" /> <node X="150677" Y="46786" /> <node X="148334" Y="46788" /> <node X="147748" Y="46166" /> <node X="147744" Y="45916" /> <node X="148238" Y="45301" /> <node X="150781" Y="45307" /> </zone> <zone name="colosseum_battle2" type="ArenaZone" shape="NPoly" minZ="-3498" maxZ="-3298"> <!-- [24_19] --> <node X="151236" Y="47268" /> <node X="151255" Y="47520" /> <node X="150785" Y="48132" /> <node X="148258" Y="48126" /> <node X="147712" Y="47532" /> <node X="147728" Y="47294" /> <node X="148278" Y="46707" /> <node X="150697" Y="46709" /> </zone> <zone name="colosseum_battle3" type="ArenaZone" shape="NPoly" minZ="-3587" maxZ="-3387"> <!-- [24_19] --> <node X="148047" Y="46276" /> <node X="150955" Y="46276" /> <node X="150956" Y="47052" /> <node X="148049" Y="47053" /> </zone> </list> I am sorry but i cant show the peace.xml the words are too many but i have all my areas there i mean the pvp arenas So i am asking what should i do i am a total newbie in this but i read a lot guides and i try a lot and nothing seems to work .... Thanks you
  9. import sys from com.l2jserver import Config 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 = "99940_SafeEnchant" print "=============================" print " NPC ENCHANTER - OK " print "=============================" QuestId = 99940 QuestName = "SafeEnchant" QuestDesc = "custom" ENCHANT_CHECK = 1 AMOUNT_OF_ENCHANT = 20 PAYMENT_ITEM_ID = 9142 PAYMENT_AMOUNT = 20 ENCHANT_NPC = 22111 weapons = ['Holy','Dark','Fire','Water','Earth','Wind'] armors = ['Holy','Dark','Fire','Water','Earth','Wind'] acceptableItemTypes = weapons+armors class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent (self,event,st) : if event == "choose_item" : htmltext = "" for Item in st.getPlayer().getInventory().getItems(): # given an item instance, get the item template to check what type it is itemType = Item.getItem().getItemType().toString() itemGrade = Item.getItem().getCrystalType() if itemType in acceptableItemTypes and itemGrade > 0 : htmltext += "<a action=\"bypass -h Quest 99940_SafeEnchant enchantItem_" + str(Item.getObjectId()) +"\">" + Item.getItem().getName() + "+" + str(Item.getEnchantLevel()) + "</a><br>" if htmltext == "": htmltext = "You have no enchantable items equiped or in your inventory." htmltext = "<html><title>Lineage II HeaVen</title><body>Your item needs to be +10<br>Please select a item from the list:<br><br>" + htmltext + "</body></html>" elif event.startswith("enchantItem_"): # get the object id out of the event string objId = int(event.replace("enchantItem_", "")) # to avoid exploitation, check if the stored objectId still corresponds to an existing item Item = st.getPlayer().getInventory().getItemByObjectId(objId ) if Item : itemType = Item.getItem().getItemType().toString() itemEnchant = Item.getEnchantLevel() if st.getQuestItemsCount(PAYMENT_ITEM_ID) >= PAYMENT_AMOUNT : if (itemType in weapons and itemEnchant >= ENCHANT_CHECK) or (itemType in armors and itemEnchant >= ENCHANT_CHECK) or (itemType in jewels and itemEnchant >= ENCHANT_CHECK) : htmltext = "notPlusZero.htm" else : Item.setEnchantLevel(itemEnchant+AMOUNT_OF_ENCHANT) st.takeItems(PAYMENT_ITEM_ID, PAYMENT_AMOUNT) htmltext = "Congratulations.htm" else : htmltext = "notEnoughItems.htm" else : htmltext = "Error.htm" return htmltext def onTalk (self,npc,player): htmltext = "<html><body>You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements.</body></html>" st = player.getQuestState(qn) if not st : return htmltext if npc.getNpcId() == ENCHANT_NPC : htmltext = "Start.htm" return htmltext QUEST = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc) QUEST.addStartNpc(ENCHANT_NPC) QUEST.addTalkId(ENCHANT_NPC) So the problm is i cant figure out what command to use for the enchant for the weapons and armor not if they are equals so is it going to be a problm to help me sorry for asking again...
  10. Hello to everyone i am new in this and i want to ask for a little help here i dont have problem with anything just can anyone tell me how can i make this npc for enchanting the element power of armor or weapon to max 9 lvl dark holy etc or help me with the script... Thanks you !
×
×
  • 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