Jump to content

AccessDenied

Banned
  • Posts

    2,105
  • Credits

  • Joined

  • Last visited

  • Days Won

    8
  • Feedback

    100%

Everything posted by AccessDenied

  1. ah i see, okey i got it somehow So every file like RequestBypassToServer read specific packets sended by client and the method that does this job is the protected void readImpl() { } which is override actualy so declared to the parent class. Still the opacity of it is low like 30% but i start get it even if i cant adjust or do anything yet cause i lack in knowledge
  2. Well yes i noticed, right now i'm running Lineage 2 without server so it can run without any server required, but afcourse you cant talk to npc's or do things like equip armor e.t.c. I noticed that. Maybe can you be a bit more specific and give me an example like lets say something like handlers in datapack or more specific the keys that you press like control to attack that server read as _forceControl. Thanks
  3. Thanks for that, i am more interest in understand how a texture how a model in other words the client communicate with a server and controlled using these packets than just code in server side without know how handlers work behind the scene. I used to do some gaming develop such as Unreal and i am still up to but again even if you work on it it doesnt really make you understand how client work with the code part, where they meet. I always liked to dig inside things and know how they work even if for now still this does not make big sense to make. Well thanks again for the informations, helps a bit.
  4. Hello ms pamela32, i dont only want to copy i want make a new one and i actualy want make a "semi-custom" system no like pet i just copy to use pet as template and ill learn a bit (work on it) and make a better system Thanks for information though
  5. I made it work <3 it spawn normaly, imma test it. Tryskellll it workkkkkkkkkkkkkkkksssssss :33333333333333 me happy :P
  6. Thank you, yes you're right that is beyond my knowledge but so far whatever i learned i did it alone by searching -Php, ajax, Aion (java), l2j (currently) so is not bad to dig a bit inside to check also the way that client-server communicate. thanks again Tryskel ill search it alone
  7. Also sweets here a proof that none L2Pet works i checked all default pets None spawn .. whatever extends L2Pet doesnt spawn so maybe the L2PetInstance is not for spawn
  8. So i understood but in more practical way when you have a free source lets say from Joey (L2java) which has scripts in different project (Datapack) and core into another (Core) is there a file that does those checks. I want try in other words manualy downgrade a X chronicle to another or upgrade it. I don't care which chronicle will be i just want to see it happen, so this mean i dont care for codes, quests or whatever it has inside. With a search i did i saw people asking this but their answers were kinda no finished like "use wireshark to check what clients sends e.t.c" which is not helpful. Again im asking the practical way so i can do it, the file maybe that does this or a bit more info. Thanks
  9. Dont think saw as i read the source the lineage 2 has 2 options or to load sql from npc or if config is activated from custom_npc as far as i tested spawns that extends L2Npc or other Instance it works L2Pet Instance doesnt work.. my npc is inside custom_npc (yes is True in config) and its the only one that doesnt spawn everything else work fine.
  10. Alright, thanks for the introduce but about the part of downgrade or upgrade lets say i want to make a server from C6 to c4 what exactly i have to edit (what i touch) to adjust these packets? Also then these packets are the lines i saw ReadD(); andcouldnt understand what it is Example lets say we work on PHP and you ask me "how it works when i click the Login button" i tell you it does this and this but you're actualy interest in the behind part to create this *.php file with the checks and redirect to a site.
  11. No need i already mention that if i have a pet and i click on my item it says " you already have a pet" so this mean it use the handler and it execute until the last line by the way thanks for the friendly answers, i come from Aion community and lineage 2 is working different. Thanks tryskel and sweets
  12. The npc is inside custom_npc 11106 18544 Elf 1 Elf 1 Monster2.inferno_drake_100_bi 20 20 50 etc L2Pet 40 40.000000000000000 40.000000000000000 40.000000000000000 40.000000000000000 40 40 40 40 40 40 40 40 40 40 40 40 40 40 0 40 0 0 0 60 120 1 1 0 0 but because is L2Pet instance i cant spawn it.. it says "target not found" also i have no log for handles in _log_ folder..
  13. Hello i just want to ask an information from experienced members. When we say in a game "change packets" lets say we have a game that its version is 2.0 but then a client come with 3.0 version so we need change our server Packets to version 3.0 what does it mean? I'm not familiar with it so if someone could give a nice explanation i would appreciate. Thanks a lot!
  14. I did as i said at csv 4) summon_items.csv line ### Elf Summon ### 77714;11106;1 and when u say npc_data you mean npcaidata? if not yes i added the npc 11106 at custom_npc and it extends L2Pet class
  15. yes but i copied the one from wolf collar.. how wolf collar works then ? without npc id..
  16. I'm pretty sure i saw you in lord of the rings dont lie to me -.-
  17. I readed line by like the SummonHandler and anything relative to summon to understand and so far all these are used and needed.. but i dont know what else i miss Also i added the item in system and the skill maybe the system need a Pet Line in some file? Like maybe it has something like PetGrp.dat? i cant see anything like that
  18. There is no error or anything but sure let me post my things 1) My Pet_Data.xml <pet id="11106" index="1"> <set name="food" val="2515" /> <set name="hungry_limit" val="55" /> <set name="load" val="54510" /> <stats> <stat level="1"> <set name="max_meal" val="248" /> <set name="exp" val="0" /> <set name="get_exp_type" val="73" /> <set name="consume_meal_in_battle" val="2" /> <set name="consume_meal_in_normal" val="2" /> <set name="org_pattack" val="2.11864406779661" /> <set name="org_pdefend" val="11.1111111111111" /> <set name="org_mattack" val="1.44675925925926" /> <set name="org_mdefend" val="8.13062889692864" /> <set name="org_hp" val="24.8725961538461" /> <set name="org_mp" val="20" /> <set name="org_hp_regen" val="55" /> <set name="org_mp_regen" val="0.9" /> <set name="soulshot_count" val="1" /> <set name="spiritshot_count" val="1" /> </stat> </stats> </pet> 2) My Custom Item for call the summon 3) My Custom skill that item use 4) summon_items.csv line ### Elf Summon ### 77714;11106;1
  19. Hello again -.- sorry i bother you all the time i am used to develop Aion no L2j (im learning) so i dig into lineage 2 and so far i understood pretty much many things by reading the source at the same time btw i work on Freya So i want make a custom Summon-pet like Wolf collar things i did 1) Made a L2Pet in custom_npc (done) 2) Make a custom item in Customitems.xml that is using SummonHandler (bypass) (done) 3) Made the skill for the item (1 level) (done) 4) Wrote the itemId, summonId, duration into the summon_data.scv file 5) Insert the item - skill into system (etcitem.grp, itemname,grp) Inside game i click on item and nothing happen BUT when i use normal wolf and i click on my item it says "You already have a pet" which mean it works (it use the handler) Anything i miss? Ps the SummonHandler i read it all (this is how i knew what to do) like these lines final int npcId = sitem.getNpcId(); if (npcId == 0) return; final L2NpcTemplate npcTemplate = NpcTable.getInstance().getTemplate(npcId); if (npcTemplate == null) return; but i dont know what else i miss :O
  20. :OOOOOO it worked <3 SweetS you earned my sister... i love youuuuu <3 idk why it created problem :/ this boolean check also if the engine is running .. but since it works thanks Also thanks to Tryskel.
  21. Im testing with wolf (the little one) Wolf collar also my 738 line in L2Character is if (EventEngine.areTogether(getObjectId(), getTarget().getObjectId())) sendPacket(ActionFailed.STATIC_PACKET); which is a check for an event engine but i dont get why since event engine is off or they dont participate..
  22. btw it should be L2Summon or L2PetInstance pet ?
  23. I know i miss many checks but i just want to test first.. i really dont get why this error java.lang.NullPointerException at com.l2jserver.gameserver.model.actor.L2Character.doAttack(L2Character .java:738) at com.l2jserver.gameserver.model.actor.L2Character$AIAccessor.doAttack( L2Character.java:3747) at com.l2jserver.gameserver.ai.L2SummonAI.thinkAttack(L2SummonAI.java:93 ) at com.l2jserver.gameserver.ai.L2SummonAI.onEvtThink(L2SummonAI.java:144 ) at com.l2jserver.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI. java:706) at com.l2jserver.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:45 9) at com.l2jserver.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:34 6) at com.l2jserver.gameserver.GameTimeController$MovingObjectArrived.run(G ameTimeController.java:209) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
  24. Yeap this is what i wrote in the first place and it give error java.lang.NullPointerException at com.l2jserver.gameserver.model.actor.L2Character.doAttack(L2Character .java:738) at com.l2jserver.gameserver.model.actor.L2Character$AIAccessor.doAttack( L2Character.java:3747) at com.l2jserver.gameserver.ai.L2SummonAI.thinkAttack(L2SummonAI.java:93 ) at com.l2jserver.gameserver.ai.L2SummonAI.onEvtThink(L2SummonAI.java:144 ) at com.l2jserver.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI. java:706) at com.l2jserver.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:45 9) at com.l2jserver.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:34 6) at com.l2jserver.gameserver.GameTimeController$MovingObjectArrived.run(G ameTimeController.java:209) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
×
×
  • Create New...