Jump to content

wongerlt

Members
  • Posts

    539
  • Credits

  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by wongerlt

  1. I created interface control for this if someone interested just pm.
  2. if(p.getIPAddress().contains(player.getIPAddress()) & & p.getObjectId() != player.getObjectId()) {
  3. firstly check with phx multisell packet it is send correct item id
  4. 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
  5. public boolean useVoicedCommand(String command, PlayerInstance activeChar, String target) { if(!activeChar.isGM()) return true;
  6. seems problem server side.
  7. after restart augment keep on same item with same aug skill? data appears in `augmentations` table?
  8. i have used this pack 1132 and there no bugs with augment. u doing something wrong.
  9. maybe after server wipe you not clear augment table in database.
  10. 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 (?,?,?,?)
  11. sellbuff_saveSellerData and sellbuff_restoreSellerData procedures.
  12. did you create `procedures` in your main database? and why u use it???
  13. but you tested ur query manually in navicat??? it's not weird you just didn't see mistake. just debug every action. easy.
  14. 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.
  15. like i said test ur query via navicat in main db. maybe different mysql version? it can occur syntax errors and etc..
  16. 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.
  17. maybe u have changes in other tables? show code.
  18. via interface.u
  19. try with OnIncomingPacket() in tower script.
  20. if server without protection u can do it easy with l2tower bot. html/multisell/buylist.
  21. if its trance files u need java 1.7. And this file have many bugs like dupe items/skills
  22. change second server port 7777 to 7778 or an other.
  23. with little edit in source you can do it with packets. ConfirmDlg() DlgAnswer() Easy.
  24. maybe u just gave wrong ip address to your friends? :D
×
×
  • Create New...