Jump to content

millers

VIP Member
  • Posts

    69
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About millers

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

millers's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Hmm didn't know about that ! well more like c,speed att,speed hacks add buffs,items and so on !
  2. Hello guys could u suggest some good guards,protections for l2jacis ? and would like to know how to protect your server us much us possible any sugestion or guides ?
  3. Hi guys i have a little problem here and really dont know what's wrong with it . So today i tried to add some custom items but in the end i get some strange error what says : Cannot create item 0 , ItemTable: Highest used itemID : 9852 . Here is all from error.log file Jan 31, 2015 1:37:09 AM net.sf.l2j.gameserver.skills.DocumentItem parseDocument WARNING: Cannot create item 0 java.lang.NullPointerException at net.sf.l2j.gameserver.skills.DocumentItem.parseItem(DocumentItem.java:95) at net.sf.l2j.gameserver.skills.DocumentItem.parseDocument(DocumentItem.java:78) at net.sf.l2j.gameserver.skills.DocumentBase.parse(DocumentBase.java:120) at net.sf.l2j.gameserver.skills.SkillsEngine.loadItems(SkillsEngine.java:107) at net.sf.l2j.gameserver.datatables.ItemTable.load(ItemTable.java:162) at net.sf.l2j.gameserver.datatables.ItemTable.<init>(ItemTable.java:155) at net.sf.l2j.gameserver.datatables.ItemTable$SingletonHolder.<clinit>(ItemTable.java:383) at net.sf.l2j.gameserver.datatables.ItemTable.getInstance(ItemTable.java:135) at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:160) at net.sf.l2j.gameserver.GameServer.main(GameServer.java:385) package what i'm using is trace editon Based on aCis revision: 315 if that help... Item what i tried to add was Tried With id=9853 the same stoory .. <item id='23569' name="Dynasty Leather Armor"> <set name="default_action" val="equip" /> <set name="armor_type" val="light" /> <set name="bodypart" val="fullarmor" /> <set name="crystal_type" val="s" /> <set name="crystal_count" val="870" /> <set name="material" val="leather" /> <set name="weight" val="5400" /> <set name="price" val="0" /> <set name="item_skill" val="11961-1" /> <for> <add val='170' order='0x10' stat='pDef'/> <enchant val='0' order='0x0C' stat='pDef'/> </for> </item> I really hope someone can help me with it didn't find anything near about this error in google. and how about this code i found it in itemtable.java it looks a bit wierd for me : /** * Returns instance of ItemTable * @return ItemTable */ public static ItemTable getInstance() { return SingletonHolder._instance; } /** * Returns a new object Item * @return */ public Item newItem() { return new Item(); } /** * Constructor. */ protected ItemTable() { _armors = new HashMap<>(); _etcItems = new HashMap<>(); _weapons = new HashMap<>(); load(); } private void load() { int highest = 0; for (L2Item item : SkillsEngine.getInstance().loadItems()) { if (highest < item.getItemId()) highest = item.getItemId(); if (item instanceof L2EtcItem) _etcItems.put(item.getItemId(), (L2EtcItem) item); else if (item instanceof L2Armor) _armors.put(item.getItemId(), (L2Armor) item); else _weapons.put(item.getItemId(), (L2Weapon) item); } buildFastLookupTable(highest); } /** * Builds a variable in which all items are putting in in function of their ID. * @param size */ private void buildFastLookupTable(int size) { // Create a FastLookUp Table called _allTemplates of size : value of the highest item ID _log.info("ItemTable: Highest used itemID : " + size); _allTemplates = new L2Item[size + 1]; // Insert armor item in Fast Look Up Table for (L2Armor item : _armors.values()) _allTemplates[item.getItemId()] = item; // Insert weapon item in Fast Look Up Table for (L2Weapon item : _weapons.values()) _allTemplates[item.getItemId()] = item; // Insert etcItem item in Fast Look Up Table for (L2EtcItem item : _etcItems.values()) _allTemplates[item.getItemId()] = item; } /** * Returns the item corresponding to the item ID * @param id : int designating the item * @return L2Item */ public L2Item getTemplate(int id) { if (id >= _allTemplates.length) return null; return _allTemplates[id]; }
  4. Thanks for info so that means if i want to make new mob with stats i dont need to add some crazy thing like 330,32032323 def i can just do it like 330 and thats it?
  5. Hello i'm looking for someone ho could explaine me how npc.xml stats works for example if i want to create new npc with brand new stats like 200k hp 200k mana 250 def 250 mdef 5k patt and 5k matt ? i was looking on original mobs in game but i dont understand anything here is example why : npc.xml file says <set name="hp" val="2975.2369188"/> <set name="mp" val="1742.976"/> <set name="hpRegen" val="8.721"/> <set name="mpRegen" val="3.0804"/> <set name="pAtk" val="938.20801458"/> <set name="pDef" val="354.8183475"/> <set name="mAtk" val="656.66638089"/> <set name="mDef" val="239.180922"/> <set name="crit" val="4"/> <set name="atkSpd" val="253"/> in game it shows : all what i dont understand .. is where dos it get stats like this from and what means example: <set name="pDef" val="354.8183475"/> all these extreme numbers makes no sense !? can someone explaine me how to add some diff stats to mobs,npcs.!!! Soory for my creepy English! EDIT: Oh and how dose the chance rate work ??? chance="800000" chance="700000" chance="300000" chance="75000"
  6. Hello i'm looking for information or guide how to setup mssql so it works with webserver like xampp or wamp server .. I try'd many things what could i find in internet but they all seems to not work for me .. i have error code in my website unknown command mssql_connect !!? Any advice ?
  7. minimum requirements from server side to run a PVP server without Problems .! ?
  8. i found it but it's not working i deleted the line but the rb is not spawning ..
  9. i dont have this folder gameserver/handler/admincommandhandlers/adminspawn.java
  10. i think this is for interlude pack becouse i can't find the file what i need ..
  11. Hello i have a question where i can edit the core so i can spawn more than one raidboss. i'm using l2jserver freya ! Problem Resolved!
  12. Aya no it will not help .. Problem Resolved you can lock it :) Problem was in sql file lines .. :)
×
×
  • Create New...