Jump to content

wongerlt

Members
  • Posts

    522
  • Credits

  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by wongerlt

  1. 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.
  2. 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.
  3. 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?
  4. They dont care anything until you pay to them. Just avoid them.
  5. yeah... and i tried to understand what a point to select mob which have lowest distance between other mob but not player.. totally nonsense
  6. how this nonsense must work? var closestTarget = targets.stream().min((o1, o2) -> (int) MathUtil.calculateDistance(o1, o2, false)).get();
  7. I created interface control for this if someone interested just pm.
  8. if(p.getIPAddress().contains(player.getIPAddress()) & & p.getObjectId() != player.getObjectId()) {
  9. firstly check with phx multisell packet it is send correct item id
  10. 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
  11. public boolean useVoicedCommand(String command, PlayerInstance activeChar, String target) { if(!activeChar.isGM()) return true;
  12. after restart augment keep on same item with same aug skill? data appears in `augmentations` table?
  13. i have used this pack 1132 and there no bugs with augment. u doing something wrong.
  14. maybe after server wipe you not clear augment table in database.
  15. 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 (?,?,?,?)
  16. sellbuff_saveSellerData and sellbuff_restoreSellerData procedures.
  17. did you create `procedures` in your main database? and why u use it???
  18. but you tested ur query manually in navicat??? it's not weird you just didn't see mistake. just debug every action. easy.
  19. in ur code print query, random example: try (Connection con = ConnectionPool.getConnection(); PreparedStatement ps = con.prepareStatement(INSERT_MACRO)) { ps.setInt(1, _owner.getObjectId()); ps.setInt(2, macro.id); ps.setInt(3, macro.icon); ps.setString(4, macro.name); ps.setString(5, macro.descr); ps.setString(6, macro.acronym); ps.setString(7, sb.toString()); ps.execute(); System.out.println(ps); // print query to console. } copy it from console and then execute in navicat in ur MAIN database. idk how explain if u not see anything in console then something wrong in ur java code.
  20. like i said test ur query via navicat in main db. maybe different mysql version? it can occur syntax errors and etc..
  21. or just simple mistake that u didn't see. one simple method to test just print ur mysql query and execute on ur main db via navicat.
×
×
  • Create New...