Jump to content

empacto

Members
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

About empacto

Profile Information

  • Gender
    Male
  • Country
    Brazil

empacto's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Casteli High Five PvP Inauguration Today at 6pm http://lineage2casteli.com/index.php Facebook page: fb.com/castelifreya Do you know the project Casteli will present today? Come to know this project that has been developed for 2 years. The real PvP and unique systems we show you! Bring your Clan, today we start the server and you can already mark Siege to guarantee your flag! Sunday (2017/07/09) already has siege enjoy! Safe +8 Max +16/20 Mini Events all Time Events TvT, CTF and more 20 Events No Custom! Come and see our way of doing pvp. We have several unique systems! Active team ready to support you. Come here to Hard PvP all days!
  2. I solved it! The problem was that the computer's ram memory was smaller than 4 gigs. Delete some files since it was giving error after the 24 I left only until the 23
  3. I put the files in the folder Geodata server soon after having placed when I start Gameserver.bat it to load up that file "[06/07 13:13:15] Loaded ./data/geodata\24_13.l2j" he error after it. Someone help me please. [13:13:16] ERROR: Failed to load geodata driver! java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at l2r.gameserver.GeoData.<init>(GeoData.java:72) at l2r.gameserver.GeoData$SingletonHolder.<clinit>(GeoData.java:679) at l2r.gameserver.GeoData.getInstance(GeoData.java:674) at l2r.gameserver.GameServer.<init>(GameServer.java:206) at l2r.gameserver.GameServer.main(GameServer.java:530) Caused by: java.io.IOException: Map failed at sun.nio.ch.FileChannelImpl.map(Unknown Source) at com.l2j.geodriver.GeoDriver._loadGeoFile(GeoDriver.java:146) at com.l2j.geodriver.GeoDriver.<init>(GeoDriver.java:112) ... 9 more Caused by: java.lang.OutOfMemoryError: Map failed at sun.nio.ch.FileChannelImpl.map0(Native Method) ... 12 more Game Server Terminated Abnormally! Game Server Terminated. Pressione qualquer tecla para continuar. . .
  4. I'm having trouble adding npc the script settings "__init__.py" are not working on my l2jsunrise server! Can anyone adapt? import sys from l2r import Config from l2r.gameserver.model.quest import State from l2r.gameserver.model.quest import QuestState from l2r.gameserver.model.quest.jython import QuestJython as JQuest qn = "99940_SafeEnchant" QuestId = 99940 QuestName = "SafeEnchant" QuestDesc = "custom" ENCHANT_CHECK = 1 AMOUNT_OF_ENCHANT = 5 PAYMENT_ITEM_ID = 57 PAYMENT_AMOUNT = 1 ENCHANT_NPC = 80007 weapons = ['Sword','Blunt','Dagger','Bow','Pole','Etc','Fist','Dual Sword','Dual Fist','Big Sword','Big Blunt','Ancient','Crossbow','Rapier','Dual Dagger'] armors = ['Light','Heavy','Magic','Shield','Sigil'] jewels = ['None'] acceptableItemTypes = weapons+armors+jewels 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 = "Você não tem itens encantáveis equipados ou em sua mochila." htmltext = "<html><title>LNG Destruction</title><body><center> Para que seu item seja encantado é preciso que o mesmo esteja +0.<br>Por favor selecione um item a ser encantado na lista abaixo<br><br>" + htmltext + "</center></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>Houve algum problema relacionado a este Npc, reporte ao administrador.</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) Does anyone know where I choose the safe enchant of L2jsurise? I do not think I want the weapons to be enchanted until +20
×
×
  • 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