Jump to content

Search the Community

Showing results for tags 'Help'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

  • Lineage II Server Packs [Java]
  • Lineage II Server Packs [PTS]
  • Lineage II Server Scripts
  • Lineage II Client Scripts
  • Lineage II Items & Chars
  • Website Templates
  • DenArt Designs's Demo Updater

Forums

  • General Zone
    • Announcements and News
    • Newbies Introduce Urself
    • Maxcheaters Competitions & Events
    • Votes/Polls Area
    • Report Section
    • Downloads Section
  • Lineage II General Section
    • General Discussion [English]
    • Request Support [English]
  • Lineage II Hacks,Cheats and Bots
    • Hacks & Cheats [English]
    • Request Hacks & Cheats [English]
    • Botting [English]
    • Request Botting [English]
  • Lineage II Private Servers
    • Buy Advertising Link #1
    • Private Servers
    • Buy Advertising Link #2
    • [Previews] L2 Private Servers
    • Clans and Alliances
  • Lineage II Marketplace
    • Marketplace [Items & Chars]
    • Marketplace [L2Packs & Files]
    • Marketplace [Powerlvl & Support]
  • Lineage II OFF Server Development
    • Server Development Discussion [L2OFF]
    • Request Server Development Help [L2OFF]
    • Server Shares & Files [L2OFF]
  • Lineage II Java Server Development
    • Server Development Discussion [L2J]
    • Request Server Development Help [L2J]
    • Server Shares & Files [L2J]
    • Private Projects [L2J]
  • Lineage II Client Development
    • Client Development Discussion
  • MMO Games
    • League of Legends
    • World Of Warcraft Area
    • Other Multiplayer Games
  • General Section
    • General Marketplace
    • Consoles/Mobiles/PDA Gaming Zone
    • Webmasters Zone
    • Hacking/Coding Zone
  • Graphics/GFX Zone
    • Graphics/GFX General Discussion
    • Graphics/GFX Showcase
    • Graphics/GFX Resources/Tools
  • VIP/SVIP/Donators Zone
    • VIPs/Donators Discussion
    • VIPs Lineage II
    • VIPs [GFX] Zone
    • VIPs Download Area
  • MaxCheaters Corner
    • Tech/World News
    • Off-Topics
    • Spam Topics
  • TEST's Topics
  • L2Classic Club's Just trying this thing out
  • Lineage 2 Revolution Club's Discussions
  • Lineage 2 Revolution Club's Tutorials
  • Lineage 2 Revolution Club's Request Help
  • DenArt Designs's Hello and welcome to my club!
  • DenArt Designs's News

Product Groups

  • Advertisements
  • Special Groups

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 196 results

  1. Hello everyone! In my server, while it is running normally some times it just stucks. And it needs restart, from the host. Also some times im getting this error. Could someone help me? Thanks in advance!
  2. "Hi I'm having NOITEMNAME issue with this shield, I already tested several ways, but without results, anyone knows what can be?"
  3. Hello, i've added this website: but when i try to open it,it says : what should i edit?...i have this 3 files in config folder: 1.Connect.php <?php # IP DO DEDICADO $ip = "79.137.33.234"; // Connect PHP PDO $connect = 'mysql:host=localhost;dbname=l2jdb'; try { $db = new PDO($connect,'root',''); $db->setattribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $e) { echo $e->getMessage(); } /*=======================================================================================*\ ||########################| CONFIGURE NEWS |#########################|| \*=======================================================================================*/ $authorconf = 'Admin'; # Nome do author que irá aparecer nas news ?> 2.Conf.php <?php $conexao = mysql_connect('localhost','root','') or die (mysql_error()); $banco = mysql_select_db('l2jdb', $conexao) or die(mysql_error()); $end = 'localhost'; # Endere�o ou IP do seu site sem o 'http://www.', escreva assim: 'seusite.com.br' ou '200.145.221.89' $nomedosite = 'L2 Forgot Life'; $host_smtp = 'mail.l2forgotlife.com'; $email_contato = 'EMAIL@l2forgotlife.com'; $senha_email_contato = 'SENHA'; ?> 3.Config.php <?php $conexao = mysql_connect('localhost','root','') or die (mysql_error()); $banco = mysql_select_db('l2jdb', $conexao) or die(mysql_error()); $end = 'localhost'; # Endere�o ou IP do seu site sem o 'http://www.', escreva assim: 'seusite.com.br' ou '200.145.221.89' $nomedosite = 'L2 Forgot Life'; $host_smtp = 'mail.l2forgotlife.com'; $email_contato = 'EMAIL@l2forgotlife.com'; $senha_email_contato = 'SENHA'; ?>
  4. Hello, ive made a hero coin, but when i click in game nothing happens. The code: https://pastebin.com/6C1P1Z5i I've also registered the item in the gameserver, with the rest handlers. Thx in advanced!
  5. everytime i try to buff it , it doesnt apply...it's like it apply and dissapears in the same moment...even if i take it from the buffer,or add the skill to me and try to buff myself i tryed to copy the original stats of the skill,the same this is how it look like: <skill id="1352" levels="1" name="Elemental Protection"> <set name="mpInitialConsume" val="14"/> <set name="mpConsume" val="56"/> <set name="target" val="TARGET_ONE"/> <set name="reuseDelay" val="10000"/> <set name="hitTime" val="4000"/> <set name="skillType" val="BUFF"/> <set name="isMagic" val="true"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="400"/> <set name="effectRange" val="900"/> <set name="aggroPoints" val="662"/> <for> <effect count="1" name="Buff" time="1200" val="0"> <mul order="0x30" stat="waterVuln" val="0.8"/> <mul order="0x30" stat="fireVuln" val="0.8"/> <mul order="0x30" stat="windVuln" val="0.8"/> <mul order="0x30" stat="earthVuln" val="0.8"/> </effect> </for> </skill>
  6. Hi everyone, in this moment i need to find the summon's Cubic texture and animations. I really need change that texture to another and i cant find it. I know thats a skill but i guess it uses some texture. If someone tell me that i will very grateful. Thanks !!
  7. 2019.2.16 11:12:55 OS : Windows Vista 6.2 (Build: 9200) CPU : GenuineIntel PentiumPro-class processor @ 2803 MHz with 2047MB RAM Video : NVIDIA GeForce GTX 750 (1735) General protection fault! History: UStruct::SerializeBin <- (Class Engine.ShadowBitmapMaterial ShadowActor[0]) <- UObject::Serialize <- (ShadowBitmapMaterial Transient.ShadowBitmapMaterial59) <- TestReach <- (ShadowBitmapMaterial Transient.ShadowBitmapMaterial59) <- UStruct::SerializeBin <- (Class Engine.ShadowProjector ShadowTexture[0]) <- UObject::Serialize <- (ShadowProjector 20_22.ShadowProjector63) <- AActor::Serialize <- TestReach <- (ShadowProjector 20_22.ShadowProjector63) <- ULevelBase::Serialize <- ULevel::Serialize <- TestReach <- (Level 20_22.myLevel) <- UStruct::SerializeBin <- (Class Engine.GameEngine GLevel[0]) <- UObject::Serialize <- (GameEngine Transient.GameEngine0) <- UGameEngine::Serialize <- (GameEngine Transient.GameEngine0) <- UGameEngine::Serialize <- (GameEngine Transient.GameEngine0) <- TestReach <- (GameEngine Transient.GameEngine0) <- TArray<< <- UGameEngine::L2SerializeRootSet <- UGameEngine::L2CollectGarbage <- UGameEngine::DetachLevel <- UGameEngine::CheckPurgeLevel <- Level_was_loaded <- UGameEngine::L2_Teleport <- UGameEngine::Tick <- UpdateWorld <- MainLoop as the title says
  8. καλησπερα παιδια ειναι ενα bug που συναντάω πολυ καιρο τωρα και ειναι αποκλειστικα για kamael στις περιοχες οπως SOI ή SOA οπου ενα καμαελ κανει το σκιλλ Aura bird και με καποιο τροπο βγαινει απο το transformation και κραταει το buff στο χαρακτηρα του.Το ιδιο ισχυει και για το Final Flying Form .Η οποια διαδικασια φαινετε να γινετε γρηγορα και δεν φαινετε να το γνωριζουν πολλα ατομα.Αμα μπορει καποιος που το ξερει να με βοηθησει ή να μου πει πως γινετε θα το εκτιμουσα , ευχαριστω οσους απαντησουν.
  9. Hello maxcheaters ! Im looking for help in some bug - exploit in which in some servers you can transform very quickly to aura bird owl and final FLYING form and then distransform and STILL have to buff of transformation on your buffs and get extra stats. In a few words you can "stuck" these buffs on your buffs and still be in your main character. Can anyone help me? Thank you in advance!
  10. Καλησπερα παιδες για αλλη μια φορα αλλο ενα προβλημα παρουσιαστηκε αυτη τ φορα με τα αυτοματα rewards του hopzone οταν βαζω το λινκ εχω αυτο εδω το error στην κονσολα και μεσα στο σερβερ λεει οτι το hopzone link ειναι down (l2j frozen 1132rev) 1: 2:
  11. l2jfrozen 1004 interlude. So I added this code: But when drops are too many I get the usual error Html is too long try using DB for this action. So I want to add pages for it but I dont have a clue what I am doing. These are the codes Im trying to follow: https://pastebin.com/pCEGRBLR https://pastebin.com/6hdGbztm I dont know if I even add the lines to the correct java . This is what I have done in the RequestBypassToServer.java. https://pastebin.com/23quwrAC
  12. Is there any way to add a packet in the game? I want to add a new enchant book, I've done everything on the client but I'm missing the server side, I've created a 'RequestExEnchantSkillGOD' class that looks like 'RequestExEnchantSkillSafe', and I added it in L2GamePacketHandler, but it does not work, does anyone know if there is a way? Packet i want to add: Added in L2GamePacketHandler: I have the client-side working fine: But when I click on it nothing happens with my packet. But isnt works. Thanks in advance.
  13. Hi! Is anyone know that l2tower is working on l2warland? Maybe is there any method to banning using this bot? Thx for help!
  14. Hello, everyone. I tried to start but i got message about impossible party duel. Anybody knows about supporting party duels in this extender? Have some important conditions for start party duel? Regards.
  15. Hello everyone, i have a problem, i dont know how change IP ADDRESS in classic client, who can help me? :)
  16. Hello guys, These past days I have been trying to implement this L2CraftManager into my own private server, but with no success. I am using an older build version from L2jFrozen for Interlude. I have everything set up but when I try to compile the server it gives the following error: Buildfile: F:\L2\EclipseWorkspace\FrozenBackup\trunk\gameserver\build.xml prepare-local: prepare-final: init: version: [echo] L2jFrozen Gameserver Revision: exported compile: [javac] Compiling 845 source files to F:\L2\EclipseWorkspace\FrozenBackup\trunk\gameserver\build\classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [javac] F:\L2\EclipseWorkspace\FrozenBackup\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2CraftManagerInstance.java:88: error: cannot find symbol [javac] && !_item.isHeroitem()) [javac] ^ [javac] symbol: method isHeroitem() [javac] location: variable _item of type L2ItemInstance [javac] F:\L2\EclipseWorkspace\FrozenBackup\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2CraftManagerInstance.java:335: error: cannot find symbol [javac] L2RecipeList _recipe = RecipeController.getInstance().getRecipesId(_item.getItemId()); [javac] ^ [javac] symbol: method getRecipesId(int) [javac] location: class RecipeController [javac] F:\L2\EclipseWorkspace\FrozenBackup\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2CraftManagerInstance.java:377: error: cannot find symbol [javac] L2RecipeList _recipeList = RecipeController.getInstance().getRecipeByItemId(_recipe.getItemId()); [javac] ^ [javac] symbol: method getRecipeByItemId(int) [javac] location: class RecipeController [javac] F:\L2\EclipseWorkspace\FrozenBackup\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2CraftManagerInstance.java:432: error: cannot find symbol [javac] L2RecipeList _recipeList = RecipeController.getInstance().getRecipeByItemId(_recipe.getItemId()); [javac] ^ [javac] symbol: method getRecipeByItemId(int) [javac] location: class RecipeController [javac] F:\L2\EclipseWorkspace\FrozenBackup\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2CraftManagerInstance.java:528: error: cannot find symbol [javac] L2RecipeList _recipeList = RecipeController.getInstance().getRecipeByItemId(_recipe.getItemId()); [javac] ^ [javac] symbol: method getRecipeByItemId(int) [javac] location: class RecipeController [javac] 5 errors [javac] 1 warning BUILD FAILED I understand the error, but still I cannot find a solution. That .getRecipeByItemId is giving me a hard time.I tried different approaches, but my knowledge is very limited. I hope you can give me a helping hand with this. Much appreciated. Thanks! Btw! Forgot to attach the whole code :D: package com.l2jfrozen.gameserver.model.actor.instance; import java.util.ArrayList; import java.util.StringTokenizer; import javolution.text.TextBuilder; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.controllers.RecipeController; import com.l2jfrozen.gameserver.datatables.sql.ItemTable; import com.l2jfrozen.gameserver.model.Inventory; import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance; import com.l2jfrozen.gameserver.model.multisell.L2Multisell; import com.l2jfrozen.gameserver.model.actor.instance.L2RecipeInstance; import com.l2jfrozen.gameserver.model.L2RecipeList; import com.l2jfrozen.gameserver.network.SystemMessageId; import com.l2jfrozen.gameserver.network.serverpackets.InventoryUpdate; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jfrozen.gameserver.network.serverpackets.SystemMessage; import com.l2jfrozen.gameserver.templates.L2EtcItemType; import com.l2jfrozen.gameserver.templates.L2Item; import com.l2jfrozen.gameserver.templates.L2NpcTemplate; import com.l2jfrozen.util.random.Rnd; import javolution.text.TextBuilder; public class L2CraftManagerInstance extends L2MerchantInstance { public static final int ADENA_ID = 57; public static final int ITEMS_PER_PAGE = 5; // items list size in craft and crystallize pages public L2CraftManagerInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("multisell")) { L2Multisell.getInstance().SeparateAndSend(Integer.parseInt(command.substring(9).trim()), player, false, getCastle().getTaxRate()); } else if (command.startsWith("Crystallize")) // List player inventory items for crystallization { int _pageId; ArrayList<Integer> _itemsSelected = new ArrayList<Integer>(); Inventory _inventory = player.getInventory(); StringTokenizer st = new StringTokenizer(command.substring(11).trim()); try { if (st.countTokens()>1) { _pageId= Integer.parseInt(st.nextToken()); while (st.hasMoreTokens()) { int _itemObjId=Integer.parseInt(st.nextToken()); if ((_inventory.getItemByObjectId(_itemObjId)!=null)&& (!_itemsSelected.contains(_itemObjId))) _itemsSelected.add(_itemObjId); } } else _pageId= Integer.parseInt(command.substring(11).trim()); } catch (NumberFormatException e) { _pageId=0; } ArrayList<Integer> _items = new ArrayList<Integer>(); int _priceTotal = 0; ArrayList<Integer> _crystals = new ArrayList<Integer>(); _crystals.add(0,0);_crystals.add(1,0);_crystals.add(2,0); _crystals.add(3,0);_crystals.add(4,0);_crystals.add(5,0); for(L2ItemInstance _item : _inventory.getItems()) { if (!_item.isStackable() && _item.getItem().getCrystalType() != L2Item.CRYSTAL_NONE && _item.getItem().getCrystalCount() > 0 && !_item.isHeroitem()) { _items.add(_item.getObjectId()); if (_itemsSelected.contains(_item.getObjectId())) { int _count =_crystals.get(_item.getItem().getCrystalType())+_item.getCrystalCount(); _crystals.set(_item.getItem().getCrystalType(), _count); int _crystalId = 1457 + _item.getItem().getCrystalType(); int _price = (int)( Config.ALT_CRAFT_PRICE * _count * ItemTable.getInstance().getTemplate(_crystalId).getReferencePrice()); if (_price==0) _price=Config.ALT_CRAFT_DEFAULT_PRICE; _priceTotal+=_price; } } } if (_items.size()==0) { sendOutOfItems(player,"at least one","breakable item"); return; } int _itemsOnPage=ITEMS_PER_PAGE; int _pages = _items.size()/_itemsOnPage; if (_items.size()>_pages*_itemsOnPage) _pages++; if (_pageId>_pages) _pageId=_pages; int _itemStart=_pageId*_itemsOnPage; int _itemEnd=_items.size(); if (_itemEnd - _itemStart > _itemsOnPage) _itemEnd = _itemStart + _itemsOnPage; String _elementsSelected=""; for (int i=0;i<_itemsSelected.size();i++) _elementsSelected+=" "+_itemsSelected.get(i); NpcHtmlMessage npcReply = new NpcHtmlMessage(1); TextBuilder replyMSG = new TextBuilder("<html><body>"); replyMSG.append("<center>Items to Crystallize</center>"); replyMSG.append("<img src=\"L2UI.SquareWhite\" width=270 height=1> <img src=\"L2UI.SquareBlank\" width=1 height=3>"); replyMSG.append("<table width=270><tr>"); replyMSG.append("<td width=66><button value=\"Back\" action=\"bypass -h npc_"+getObjectId()+((_pageId==0)?"_Chat 0":"_Crystallize ")+(_pageId-1)+_elementsSelected+"\" width=66 height=16 back=\"L2UI.DefaultButton_click\" fore=\"L2UI.DefaultButton\"></td>"); replyMSG.append("<td width=138></td>"); replyMSG.append("<td width=66>"+((_pageId+1<_pages)?"<button value=\"Next\" action=\"bypass -h npc_"+getObjectId()+"_Crystallize "+(_pageId+1)+_elementsSelected+"\" width=66 height=16 back=\"L2UI.DefaultButton_click\" fore=\"L2UI.DefaultButton\">":"")+"</td>"); replyMSG.append("</tr></table>"); replyMSG.append("<br><br>"); replyMSG.append("<table width=270><tr>"); if (Config.ALT_CRAFT_ALLOW_CRYSTALLIZE) { replyMSG.append("<td width=35><button value=\"\" action=\"bypass -h npc_"+getObjectId()+"_BreakItem"+_elementsSelected+"\" width=32 height=32 back=\"icon.skill0248\" fore=\"icon.skill0248\"></td>"); replyMSG.append("<td width=135>"); replyMSG.append("<table border=0 width=100%>"); replyMSG.append("<tr><td><font color=\"B09878\">Cristallize</font></td></tr>"); replyMSG.append("<tr><td><font color=\"B09878\">selected items "+(_itemsSelected.size()==0?"":"("+_itemsSelected.size()+")")+"</font></td></tr></table></td>"); replyMSG.append("<td width=100>"); replyMSG.append("<table border=0 width=100%>"); replyMSG.append("<tr><td><font color=\"A2A0A2\">Total price:</font></td></tr>"); replyMSG.append("<tr><td><font color=\"B09878\">"+_priceTotal+" Adena</font></td></tr></table></td>"); } replyMSG.append("</tr></table><br>"); for (int i=_itemStart;i<_itemEnd;i++) { L2ItemInstance _item = _inventory.getItemByObjectId(_items.get(i)); if (_item==null) continue; int _crystalId = 1457 + _item.getItem().getCrystalType(); String _crystal = _item.getItem().getCrystalType()==1?"D": _item.getItem().getCrystalType()==2?"C": _item.getItem().getCrystalType()==3?"B": _item.getItem().getCrystalType()==4?"A":"S"; int _count =_item.getCrystalCount(); int _price = (int)(Config.ALT_CRAFT_PRICE * _count * ItemTable.getInstance().getTemplate(_crystalId).getReferencePrice()); if (_price == 0) _price=Config.ALT_CRAFT_DEFAULT_PRICE; replyMSG.append("<br><table width=270><tr>"); replyMSG.append("<td width=35><img src="+getCrystalIcon(_item.getItem().getCrystalType())+" width=32 height=32 align=left></td>"); replyMSG.append("<td width=215>"); replyMSG.append("<table border=0 width=100%>"); replyMSG.append("<tr><td><font color=\"A2A0A2\">"+ItemTable.getInstance().getTemplate(_item.getItemId()).getName()+(_item.getEnchantLevel()==0?"":" +"+_item.getEnchantLevel())+"</font></td></tr>"); replyMSG.append("<tr><td><font color=\"A2A0A2\">"+_crystal+" Crystals:</font> <font color=\"B09878\">"+_count+"</font></td></tr></table></td>"); if (Config.ALT_CRAFT_ALLOW_CRYSTALLIZE) { if (_itemsSelected.contains(_items.get(i))) replyMSG.append("<td valign=center width=20><button value=\"\" action=\"bypass -h npc_"+getObjectId()+"_Crystallize "+_pageId+_elementsSelected.replace(" "+_items.get(i).toString(),"") +"\" width=16 height=16 back=\"L2UI.CheckBox_checked\" fore=\"L2UI.CheckBox_checked\"></td>"); else replyMSG.append("<td valign=center width=20><button value=\"\" action=\"bypass -h npc_"+getObjectId()+"_Crystallize "+_pageId+" "+_items.get(i).toString()+_elementsSelected+"\" width=16 height=16 back=\"L2UI.CheckBox\" fore=\"L2UI.CheckBox\"></td>"); } else replyMSG.append("<td valign=center width=20></td>"); replyMSG.append("</tr></table>"); } replyMSG.append("</body></html>"); npcReply.setHtml(replyMSG.toString()); player.sendPacket(npcReply); } else if (command.startsWith("BreakItem") &&Config.ALT_CRAFT_ALLOW_CRYSTALLIZE) // Crystallize selected items { ArrayList<Integer> _itemsSelected = new ArrayList<Integer>(); Inventory _inventory = player.getInventory(); StringTokenizer st = new StringTokenizer(command.substring(9).trim()); try { while (st.hasMoreTokens()) { int _itemObjId=Integer.parseInt(st.nextToken()); if ((_inventory.getItemByObjectId(_itemObjId)!=null)&& (!_itemsSelected.contains(_itemObjId))) _itemsSelected.add(_itemObjId); } } catch (NumberFormatException e){} if (_itemsSelected.size()==0) { sendOutOfItems(player,"at least one","breakable items"); return; } int _priceTotal = 0; ArrayList<Integer> _crystals = new ArrayList<Integer>(); _crystals.add(0,0);_crystals.add(1,0);_crystals.add(2,0); _crystals.add(3,0);_crystals.add(4,0);_crystals.add(5,0); for (int i=0;i<_itemsSelected.size();i++) { L2ItemInstance _item = _inventory.getItemByObjectId(_itemsSelected.get(i)); if( _item!=null && _item.getOwnerId()==player.getObjectId() && !_item.isStackable() && _item.getItem().getCrystalType() != L2Item.CRYSTAL_NONE && _item.getItem().getCrystalCount() > 0 && i<_itemsSelected.size()) { int _count =_crystals.get(_item.getItem().getCrystalType())+_item.getCrystalCount(); _crystals.set(_item.getItem().getCrystalType(), _count); int _crystalId = 1457 + _item.getItem().getCrystalType(); int _price = (int)(Config.ALT_CRAFT_PRICE * _count * ItemTable.getInstance().getTemplate(_crystalId).getReferencePrice()); if (_price==0) _price=Config.ALT_CRAFT_DEFAULT_PRICE; _priceTotal+=_price; } else _itemsSelected.remove(i); } if (_inventory.getInventoryItemCount(ADENA_ID,0)<_priceTotal) { sendOutOfItems(player,Integer.toString(_priceTotal),"Adena"); return; } InventoryUpdate iu = new InventoryUpdate(); player.destroyItemByItemId("CraftManager", ADENA_ID, _priceTotal, player, true); iu.addModifiedItem(player.getInventory().getItemByItemId(ADENA_ID)); for (int i=0;i<_itemsSelected.size();i++) { L2ItemInstance _item = _inventory.getItemByObjectId(_itemsSelected.get(i)); if( _item!=null && _item.getOwnerId()==player.getObjectId() && !_item.isStackable() && _item.getItem().getCrystalType() != L2Item.CRYSTAL_NONE && _item.getItem().getCrystalCount() > 0) { if (_item.isEquipped()) { L2ItemInstance[] unequiped = player.getInventory().unEquipItemInSlotAndRecord(_item.getEquipSlot()); if (_item.isEquipped()) for (L2ItemInstance element : unequiped) iu.addModifiedItem(element); } player.destroyItem("CraftManager", _itemsSelected.get(i), 1, player, true); iu.addModifiedItem(player.getInventory().getItemByObjectId(_itemsSelected.get(i))); } } for (int i=0;i<_crystals.size();i++) { if (_crystals.get(i)>0) { int _crystalId = 1457 + i; SystemMessage sm = new SystemMessage(SystemMessageId.EARNED_S2_S1_S); sm.addItemName(_crystalId); sm.addNumber(_crystals.get(i)); player.sendPacket(sm); _inventory.addItem("CraftManager", _crystalId, _crystals.get(i), player, player.getTarget()); iu.addModifiedItem(player.getInventory().getItemByItemId(_crystalId)); } } player.sendPacket(iu); player.broadcastUserInfo(); } else if (command.startsWith("Manufacture")) // List recipes from player inventory { int _pageId; try { _pageId= Integer.parseInt(command.substring(11).trim()); } catch (NumberFormatException e) { _pageId=0; } Inventory _inventory = player.getInventory(); ArrayList<Integer> _recipes = new ArrayList<Integer>(); for(L2ItemInstance _item : _inventory.getItems()) { if (_item.getItemType()==L2EtcItemType.RECEIPE) { L2RecipeList _recipe = RecipeController.getInstance().getRecipesId(_item.getItemId()); if (_recipe!=null)_recipes.add(_item.getObjectId()); } } if (_recipes.size()==0) { sendOutOfItems(player,"at least one","recipe"); return; } int _itemsOnPage=ITEMS_PER_PAGE; int _pages = _recipes.size()/_itemsOnPage; if (_recipes.size()>_pages*_itemsOnPage) _pages++; if (_pageId>_pages) _pageId=_pages; int _itemStart=_pageId*_itemsOnPage; int _itemEnd=_recipes.size(); if (_itemEnd - _itemStart > _itemsOnPage) _itemEnd = _itemStart + _itemsOnPage; NpcHtmlMessage npcReply = new NpcHtmlMessage(1); TextBuilder replyMSG = new TextBuilder("<html><body>"); replyMSG.append("<center>List of Recipes</center>"); replyMSG.append("<img src=\"L2UI.SquareWhite\" width=270 height=1> <img src=\"L2UI.SquareBlank\" width=1 height=3>"); replyMSG.append("<table width=270><tr>"); replyMSG.append("<td width=66><button value=\"Back\" action=\"bypass -h npc_"+getObjectId()+((_pageId==0)?"_Chat 0":"_Manufacture ")+(_pageId-1)+"\" width=66 height=16 back=\"L2UI.DefaultButton_click\" fore=\"L2UI.DefaultButton\"></td>"); replyMSG.append("<td width=138></td>"); replyMSG.append("<td width=66>"+((_pageId+1<_pages)?"<button value=\"Next\" action=\"bypass -h npc_"+getObjectId()+"_Manufacture "+(_pageId+1)+"\" width=66 height=16 back=\"L2UI.DefaultButton_click\" fore=\"L2UI.DefaultButton\">":"")+"</td>"); replyMSG.append("</tr></table>"); replyMSG.append("<br>"); for (int i=_itemStart;i<_itemEnd;i++) { L2ItemInstance _recipe = _inventory.getItemByObjectId(_recipes.get(i)); if (_recipe==null) continue; L2RecipeList _recipeList = RecipeController.getInstance().getRecipeByItemId(_recipe.getItemId()); boolean _isConsumable = ItemTable.getInstance().getTemplate(_recipeList.getItemId()).isConsumable(); if (_recipeList==null) continue; int _price = (int)(Config.ALT_CRAFT_PRICE * _recipeList.getSuccessRate()/100 * ItemTable.getInstance().getTemplate(_recipeList.getItemId()).getReferencePrice()); if (_price == 0) _price=Config.ALT_CRAFT_DEFAULT_PRICE; int _grade = ItemTable.getInstance().getTemplate(_recipeList.getItemId()).getCrystalType(); String _recipeIcon = _recipeList.isDwarvenRecipe() ? getRecipeIcon(_grade):"icon.etc_recipe_green_i00"; replyMSG.append("<br>"); replyMSG.append("<table width=270><tr>"); replyMSG.append("<td valign=top width=35><button value=\"\" action=\"bypass -h npc_"+getObjectId()+"_CraftInfo "+_recipes.get(i)+" 1 "+_pageId+"\" width=32 height=32 back=\""+_recipeIcon +"\" fore=\""+_recipeIcon +"\"></td>"); replyMSG.append("<td valign=top width=235>"); replyMSG.append("<table border=0 width=100%>"); replyMSG.append("<tr><td><font color=\"A2A0A2\">"+ItemTable.getInstance().getTemplate(_recipe.getItemId()).getName()+"</font></td></tr>"); replyMSG.append("<tr><td><font color=\"A2A0A2\">Product:</font> <font color=\"B09878\">"+(_isConsumable?_recipeList.getCount()+" ":"")+ItemTable.getInstance().getTemplate(_recipeList.getItemId()).getName()+"</font></td></tr></table></td>"); replyMSG.append("</tr></table>"); replyMSG.append("<br>"); } replyMSG.append("</body></html>"); npcReply.setHtml(replyMSG.toString()); player.sendPacket(npcReply); } else if (command.startsWith("CraftInfo")) // Show information about choosen recipe { int _recipeObjId=0; int _pageId=0; int _quantity=1; StringTokenizer st = new StringTokenizer(command.substring(9).trim()); try { if (st.countTokens()>2) { _recipeObjId = Integer.parseInt(st.nextToken()); _quantity = Integer.parseInt(st.nextToken()); } else _recipeObjId = Integer.parseInt(st.nextToken()); _pageId = Integer.parseInt(st.nextToken()); } catch (NumberFormatException e){} Inventory _inventory = player.getInventory(); L2ItemInstance _recipe = _inventory.getItemByObjectId(_recipeObjId); L2RecipeList _recipeList = RecipeController.getInstance().getRecipeByItemId(_recipe.getItemId()); boolean _isConsumable = ItemTable.getInstance().getTemplate(_recipeList.getItemId()).isConsumable(); if( _recipe!=null && _recipe.getOwnerId()==player.getObjectId() && _recipe.getItemType()==L2EtcItemType.RECEIPE && _recipeList!=null) { int _price =(int)(Config.ALT_CRAFT_PRICE * _recipeList.getSuccessRate()/100 * _quantity * (_isConsumable?_recipeList.getCount():1) * ItemTable.getInstance().getTemplate(_recipeList.getItemId()).getReferencePrice()); if (_price==0) _price=Config.ALT_CRAFT_DEFAULT_PRICE; NpcHtmlMessage npcReply = new NpcHtmlMessage(1); TextBuilder replyMSG = new TextBuilder("<html><body>"); replyMSG.append("<center>Craft Info</center>"); replyMSG.append("<img src=\"L2UI.SquareWhite\" width=270 height=1> <img src=\"L2UI.SquareBlank\" width=1 height=3>"); replyMSG.append("<table width=270><tr>"); replyMSG.append("<td width=66><button value=\"Back\" action=\"bypass -h npc_"+getObjectId()+"_Manufacture "+_pageId+"\" width=66 height=16 back=\"L2UI.DefaultButton_click\" fore=\"L2UI.DefaultButton\"></td>"); replyMSG.append("<td width=138></td>"); replyMSG.append("<td width=66></td>"); replyMSG.append("</tr></table>"); replyMSG.append("<br>"); replyMSG.append("<table width=270><tr>"); if ((_recipeList.isDwarvenRecipe()&&Config.ALT_CRAFT_ALLOW_CRAFT)||(!_recipeList.isDwarvenRecipe()&&Config.ALT_CRAFT_ALLOW_COMMON)) replyMSG.append("<td valign=top width=35><button value=\"\" action=\"bypass -h npc_"+getObjectId()+"_CraftItem "+_recipeObjId+" "+_quantity+"\" width=32 height=32 back=\"icon.skill0172\" fore=\"icon.skill0172\"></td>"); else replyMSG.append("<td valign=top width=35><img src=icon.skill0172 width=32 height=32 align=left></td>"); replyMSG.append("<td valign=top width=235>"); replyMSG.append("<table border=0 width=100%>"); replyMSG.append("<tr><td><font color=\"A2A0A2\">"+ItemTable.getInstance().getTemplate(_recipeList.getItemId()).getName()+"</font></td></tr>"); replyMSG.append("<tr><td><font color=\"A2A0A2\">Product:</font> <font color=\"B09878\">"+(_isConsumable?_recipeList.getCount()*_quantity+" ":_quantity>1?_quantity:"")+ItemTable.getInstance().getTemplate(_recipeList.getItemId()).getName()+"</font></td></tr>"); if ((_recipeList.isDwarvenRecipe()&&Config.ALT_CRAFT_ALLOW_CRAFT)||(!_recipeList.isDwarvenRecipe()&&Config.ALT_CRAFT_ALLOW_COMMON)) replyMSG.append("<tr><td><font color=\"A2A0A2\">Price:</font> <font color=\"B09878\">"+_price+" Adena</font></td></tr></table></td>"); else replyMSG.append("<tr><td></td></tr></table></td>"); replyMSG.append("</tr></table>"); replyMSG.append("<br>"); replyMSG.append("<center>"); replyMSG.append("<table width=210>"); replyMSG.append("<tr><td valign=top width=70><font color=\"B09878\">Enter quantity:</font></td><td></td></tr>"); replyMSG.append("<tr><td valign=top width=70><edit var=\"quantity\" width=70></td>"); replyMSG.append("<td valign=top width=70><button value=\"Calculate\" action=\"bypass -h npc_"+getObjectId()+"_CraftInfo "+_recipeObjId+" $quantity "+_pageId+"\" width=66 height=16 back=\"L2UI.DefaultButton_click\" fore=\"L2UI.DefaultButton\"></td>"); replyMSG.append("</tr></table>"); replyMSG.append("</center>"); replyMSG.append("<br>"); replyMSG.append("<br>"); replyMSG.append("<table width=270><tr>"); replyMSG.append("<td width=220><font color=\"A2A0A2\">Ingredients</font></td>"); replyMSG.append("<td width=50><font color=\"A2A0A2\">Quantity</font></td></tr>"); L2RecipeInstance[] _recipeItems = _recipeList.getRecipes(); for (L2RecipeInstance _recipeItem:_recipeItems) { L2ItemInstance _item = _inventory.getItemByItemId(_recipeItem.getItemId()); String _quantityState="<font color=\"55FF55\">"+_quantity*_recipeItem.getQuantity()+"</font>"; if ((_item==null)||(_item.getCount()<_quantity*_recipeItem.getQuantity())) _quantityState="<font color=\"FF5555\">"+(int)(_quantity*_recipeItem.getQuantity()*Config.ALT_RATE_CRAFT_COST)+"</font>"; replyMSG.append("<tr><td width=220>"+ItemTable.getInstance().getTemplate(_recipeItem.getItemId()).getName()+"</td>"); replyMSG.append("<td width=50>"+_quantityState+"</td></tr>"); } replyMSG.append("</table>"); replyMSG.append("</body></html>"); npcReply.setHtml(replyMSG.toString()); player.sendPacket(npcReply); } } else if (command.startsWith("CraftItem") && (Config.ALT_CRAFT_ALLOW_CRAFT || Config.ALT_CRAFT_ALLOW_COMMON)) // Craft amount of items using selected recipe { int _recipeObjId=0; int _quantity=1; StringTokenizer st = new StringTokenizer(command.substring(9).trim()); if (st.countTokens()!=2) return; try { _recipeObjId = Integer.parseInt(st.nextToken()); _quantity = Integer.parseInt(st.nextToken()); } catch (NumberFormatException e){} Inventory _inventory = player.getInventory(); L2ItemInstance _recipe = _inventory.getItemByObjectId(_recipeObjId); L2RecipeList _recipeList = RecipeController.getInstance().getRecipeByItemId(_recipe.getItemId()); boolean _isConsumable = ItemTable.getInstance().getTemplate(_recipeList.getItemId()).isConsumable(); if( _recipe!=null && _recipe.getOwnerId()==player.getObjectId() && _recipe.getItemType()==L2EtcItemType.RECEIPE && _recipeList!=null && ((_recipeList.isDwarvenRecipe()&&Config.ALT_CRAFT_ALLOW_CRAFT)||(!_recipeList.isDwarvenRecipe()&&Config.ALT_CRAFT_ALLOW_COMMON))) { L2RecipeInstance[] _recipeItems = _recipeList.getRecipes(); boolean _enoughtMaterials=true; for (L2RecipeInstance _recipeItem:_recipeItems) { L2ItemInstance _item = _inventory.getItemByItemId(_recipeItem.getItemId()); if ((_item==null)||(_item.getCount()<(int)(_quantity*_recipeItem.getQuantity()*Config.ALT_RATE_CRAFT_COST))) _enoughtMaterials=false; } int _price =(int)(Config.ALT_CRAFT_PRICE * _recipeList.getSuccessRate()/100 * _quantity * _recipeList.getCount() * ItemTable.getInstance().getTemplate(_recipeList.getItemId()).getReferencePrice()); if (_price==0) _price=Config.ALT_CRAFT_DEFAULT_PRICE; if (_inventory.getInventoryItemCount(ADENA_ID,0)<_price) { sendOutOfItems(player,Integer.toString(_price),"Adena"); return; } if (!_enoughtMaterials) { sendOutOfItems(player,"proper amount","materials"); return; } int _quantitySuccess=0; for(int i=0;i<_quantity;i++) if (Rnd.get(100) < _recipeList.getSuccessRate()) _quantitySuccess++; InventoryUpdate iu = new InventoryUpdate(); for (L2RecipeInstance _recipeItem:_recipeItems) { player.destroyItemByItemId("CraftManager", _recipeItem.getItemId(), (int)(_quantity*_recipeItem.getQuantity()*Config.ALT_RATE_CRAFT_COST), player, true); iu.addModifiedItem(player.getInventory().getItemByItemId(_recipeItem.getItemId())); } player.destroyItemByItemId("CraftManager", ADENA_ID, _price, player, true); iu.addModifiedItem(player.getInventory().getItemByItemId(ADENA_ID)); if (_quantitySuccess>0) { SystemMessage sm = new SystemMessage(SystemMessageId.EARNED_S2_S1_S); sm.addItemName(_recipeList.getItemId()); sm.addNumber(_quantitySuccess * _recipeList.getCount()); player.sendPacket(sm); sm=null; iu.addModifiedItem(player.getInventory().getItemByItemId(_recipeList.getItemId())); _inventory.addItem("CraftManager", _recipeList.getItemId(), _quantitySuccess * (_isConsumable?_recipeList.getCount():1), player, player.getTarget()); } player.sendPacket(iu); iu=null; player.broadcastUserInfo(); sendCraftedItems(player,_quantitySuccess * (_isConsumable?_recipeList.getCount():1),(_quantity-_quantitySuccess)* (_isConsumable?_recipeList.getCount():1),ItemTable.getInstance().getTemplate(_recipeList.getItemId()).getName()); } } else super.onBypassFeedback(player,command); } public String getRecipeIcon(int grade) { return "icon.etc_recipe_"+( grade==1?"blue": grade==2?"yellow": grade==3?"red": grade==4?"violet": grade==5?"black":"white")+"_i00"; } public String getCrystalIcon(int grade) { return "icon.etc_crystal_"+(grade==1?"blue": grade==2?"green": grade==3?"red": grade==4?"silver":"gold")+"_i00"; } public void sendOutOfItems(L2PcInstance player, String count, String itemname) { NpcHtmlMessage npcReply = new NpcHtmlMessage(1); TextBuilder replyMSG = new TextBuilder("<html><body>"); replyMSG.append(getName()+":<br>"); replyMSG.append("Come back later, when you will have "+count+" of "+itemname+"."); replyMSG.append("</body></html>"); npcReply.setHtml(replyMSG.toString()); player.sendPacket(npcReply); } public void sendCraftedItems(L2PcInstance player, int success, int failed, String itemname) { NpcHtmlMessage npcReply = new NpcHtmlMessage(1); TextBuilder replyMSG = new TextBuilder("<html><body>"); replyMSG.append(getName()+":<br>"); if (success==0) replyMSG.append("I am sorry, "+player.getName()+", but all attempts to create <font color=\"LEVEL\">"+itemname+"</font> failed. All your materials have been lost."); else if (failed==0) replyMSG.append("Congratulations, "+player.getName()+", I created "+success+" <font color=\"LEVEL\">"+itemname+"</font> for you!"); else replyMSG.append("Here you go, "+player.getName()+", "+success+" <font color=\"LEVEL\">"+itemname+"</font> successfully created, but "+failed+" broken while craft."); replyMSG.append("</body></html>"); npcReply.setHtml(replyMSG.toString()); player.sendPacket(npcReply); } @Override public String getHtmlPath(int npcId, int val) { String pom = ""; if (val == 0) { pom = "" + npcId; } else { pom = npcId + "-" + val; } return "data/html/default/" + pom + ".htm"; } }
  17. Hello guys, I hope someone can help me. I'm using deadz interface 2.1 and whenever I go into olympiad arenas my whole screen goes white, I can only see myself and my enemy. Textures really bugged or something, maybe I can delete some file and it will be fixed. Any ideas? Thanks in advance.
  18. Καλησπέρα MXC υπάρχει μήπως κάποιο code για 1Active 1 Passive Augment skills? χρησιμοποιώ l2jfrozen 1132Rev δυστυχώς στα config έχει μονο # Augments Active and Passive skills delete on change weapon DeleteAgmentPassiveEffectOnChangeWep=true DeleteAgmentActiveEffectOnChangeWep=False οποτε θα "stuckaroun" όλα τα active
  19. Where can i find the location that the server calculates the EXP that the player gets, when he kills a monster? Thx in advanced!
  20. What can be null here? code: package com.dev.phantomEngine.task; import java.util.List; import com.dev.phantomEngine.PhantomPlayer; import com.dev.phantomEngine.PhantomPlayerManager; public class AITask implements Runnable { private final int _from; private int _to; public AITask(int from, int to) { _from = from; _to = to; } @Override public void run() { adjustPotentialIndexOutOfBounds(); List<PhantomPlayer> fakePlayers = PhantomPlayerManager.INSTANCE.getFakePlayers().subList(_from, _to); try { // fakePlayers.stream().filter(x -> !x.getFakeAi().isBusyThinking()).forEach(x -> x.getFakeAi().thinkAndAct()); for (PhantomPlayer p : fakePlayers) { if (!p.getFakeAi().isBusyThinking()) <- Here-> { p.getFakeAi().thinkAndAct(); <- Here-> } } } catch (Exception ex) { ex.printStackTrace(); } } private void adjustPotentialIndexOutOfBounds() { if (_to > PhantomPlayerManager.INSTANCE.getFakePlayersCount()) { _to = PhantomPlayerManager.INSTANCE.getFakePlayersCount(); } } } print stack trace points to these lines
  21. Why no edit I do in interface.u and then compile works? I changed two numbers in MagicSkillDrawerWnd, to change these lines and the name of the button: In this OnClickCheckBox function: Before it was 2068 and 2069 respectively, now its 5068 and 5069 I created the systrings in the system But the problem is that I compile the interface with this little modification, I change the current one, I enter the game and no such modification works, what am I doing wrong? Can someone give me a light, help me? Thanks for the reply.
  22. καλησπέρα . έχω θέμα με τα soulshots τα οποία δεν ενεργοποιούνται σε κάθε attack βρήκα παρόμοιο πρόβλημα στο φόρουμ και την λύση του αλλά δεν μπορώ να βρω πουθενά που είναι αυτός ο κώδικας στο eclipse. αμα ξέρει κάποιος ας μου πει https://maxcheaters.com/topic/195577-soulshot-issue/ ευχαριστώ
  23. Hello, l2jfrozen, 1004 , interlude I recently changed the stats from Char_templates in database for all fighters to have same CON/STR etc. Same for mages. So right now they have all the stats the same except HP/CP . Where in core I change this so they can have the same hp/cp?
  24. I added 2 items on gm shop,but when i try to buy them they have black icon and i get crit error everytime i put the mouse on them. the crit error message: 2019.2.7 23:19:04 OS : Windows Vista 6.2 (Build: 9200) CPU : GenuineIntel PentiumPro-class processor @ 2803 MHz with 2047MB RAM Video : NVIDIA GeForce GTX 750 (1735) General protection fault! History: UUIDATA_ITEM::execGetSetItemIDList <- UObject::execClassContext <- (ToolTip Transient.ToolTip0 @ Function Interface.ToolTip.968 : 11BE) <- UObject::ProcessEvent <- (ToolTip Transient.ToolTip0, Function Interface.ToolTip.OnEvent) <- XMLUIManager::ExecuteUIEvent <- NCTooltipManager::MakeTooltipInfo <- NCItemWnd::OnPostPaint <- NCVirtualWndMain::PostDrawChildWindow <- NCVirtualWndMain::DispatchWndMsg <- NConsoleWnd::ConsolePostRender <- UGameEngine::Draw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- UpdateWorld <- MainLoop The multisell: <?xml version='1.0' encoding='utf-8'?> <!-- Custom Shop --> <list> <!-- Mask --> <item id="1"> <ingredient id="3478" count="1000"/> <ingredient id="6393" count="10"/> <production id="77444" count="1"/> </item> <!-- Mask --> <item id="2"> <ingredient id="3478" count="1000"/> <ingredient id="6393" count="10"/> <production id="77445" count="1"/> </item> </list> A photo: Click me
  25. I added in the buffer a button that gives "vote buff" to the players. added the cost in 10 vote medals. But....its ok if for example i have 20 vote medals in inventory,it consumes 10....But if i have 8 medals it consumes 8 and still gives me the buff. If the medals number are bigger than 10 then yes it consumes 10 only....but it also gives the buff even for 2 medals or 1. i want the cost to be 10 and if i dont have 10 medals to say a message saying "incorrect item count" or like that event id= 104 medal id = 6393 skill id = 2064 NPC=[20701] ADENA_ID=57 MEDAL_ID=6393 QuestId = 20701 QuestName = "NPCBuffer" QuestDesc = "custom" InitialHtml = "1.htm" if event == "104": st.takeItems(MEDAL_ID,10) SkillTable.getInstance().getInfo(2064,1).getEffects(st.getPlayer(),st.getPlayer()) return "1.htm" st.setState(COMPLETED)
×