Jump to content

wongerlt

Members
  • Posts

    552
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by wongerlt

  1. Hello, How validate location in water? Now when i send validatelocation packet with x/y/z/heading changes in client only x/y/heading. its interlude bug or what?
  2. Easy peasy i have one simple PHP script. <?php $acis = glob("acis/*xml"); // npc folder acis. $npcs = array(); function one($string,$one,$two){ $s = @explode($one,$string); $s = @explode($two,$s[1]); return @$s[0]; } if (is_array($acis)) { foreach($acis as $filename) { $file = file_get_contents($filename); $file = explode("<npc",$file); unset($file[0]); foreach ($file as &$value) { $value = "<npc".$value; $id = one($value,'id="','"'); $type = one($value,'name="type" val="','"'); $level = one($value,'name="level" val="','"'); $aggro = one($value,'aggro="','"'); $npcs[$id] = array("type"=>$type,"level"=>$level,'aggro'=>$aggro); } } } $file = file_get_contents("npcnames.txt"); $file = explode("\r\n",$file); $client = array(); foreach($file as $npc) { $ex = explode(" ",$npc); $client[$ex[0]] = $ex; } // 0 - id // 1 - name // 2 - title // 3 - r // 4 - g // 5 - b // 6 - reserved foreach($npcs as $id => &$npc){ if($npc['type'] == "Monster"){ $client[$id][2] = $npc['level']." Level"; if($npc['aggro']>0){ $client[$id][3] = "FF"; $client[$id][4] = "FF"; $client[$id][5] = "FF"; } } } // print npcnames.... CTRL+U in browser. foreach($client as &$val){ echo implode(" ",$val)."\r\n"; } ?> you can adapt for any pack.
  3. Delete from `droplist` where `mob_id` IN(select `mob_id` from `raidboss_table` where 1) Just change names..
  4. Any info about ur Big problem? I can fix it for u but it will cost for u.
  5. you can try edit it with Resource Hacker just open window.dll from system folder and change Icon image.
  6. If its acis then u need geodata.
  7. in this place about 2k mobs, ofc with Provoke skill i cant take all mobs. But anyway not big lag, not like in dextroy video.
  8. what u think, acis not have bugs and other s...?
  9. but still something is wrong in ur server side. MMO_MAX_SEND_PER_PASS = 12, must work without lag with only 10+ mobs. https://mega.nz/file/Gc13lC6T#2aZj_JYa-zyvjvRD07uCpED0fQ_ZGZvXmL6sD1ao2n4 1. run L2Phx as admin 2. run l2.exe 3. login to server. 4. and u will see in l2 phx all packets client/server.
  10. im using frozen older rev. and there no problem like this. Tried with more than 2k mobs in one place everything work fine. Try write to chat something when monster hp bar freezes and if message late that mean ur pc instance busy with something else, i think, maybe one of ur mod. or something like that and its happens with all mobs? tried other not dinosaurs?
  11. They dont care anything until you pay to them. Just avoid them.
  12. yeah... and i tried to understand what a point to select mob which have lowest distance between other mob but not player.. totally nonsense
  13. how this nonsense must work? var closestTarget = targets.stream().min((o1, o2) -> (int) MathUtil.calculateDistance(o1, o2, false)).get();
  14. I created interface control for this if someone interested just pm.
  15. if(p.getIPAddress().contains(player.getIPAddress()) & & p.getObjectId() != player.getObjectId()) {
  16. firstly check with phx multisell packet it is send correct item id
  17. hmm, i have only one easy idea: example: when u send karma to client in server side change karma variable int mobskills = 75; int karma = 8564; int karmaplusmobskills = karma<<16|mobskills; then in interface ui script: _karma = _KARMAFROMSERVER>>16; _mobskilled = _KARMAFROMSERVER-(_karma<<16); something like this
  18. public boolean useVoicedCommand(String command, PlayerInstance activeChar, String target) { if(!activeChar.isGM()) return true;
  19. seems problem server side.
  20. after restart augment keep on same item with same aug skill? data appears in `augmentations` table?
  21. i have used this pack 1132 and there no bugs with augment. u doing something wrong.
  22. maybe after server wipe you not clear augment table in database.
  23. i mean procedures not table... if not then: change CALL sellbuff_restoreSellerData(?) to SELECT * FROM sellbuff_seller_data WHERE char_obj_id=? change CALL sellbuff_saveSellerData(?,?,?,?) to INSERT INTO sellbuff_seller_data VALUES (?,?,?,?)
  24. sellbuff_saveSellerData and sellbuff_restoreSellerData procedures.
×
×
  • 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