Jump to content

wongerlt

Members
  • Posts

    522
  • Credits

  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by wongerlt

  1. hmm, then try make assasins varbiable public and at doPKPVPManage() assasins++; change to killer.assasins++; switch(killer.assasins) { and other at announce. and change to old code at onDeath. just to assasins = 0; maybe it will work, idk.
  2. why isDead return true when u alive??? try check if(isDead()) sendMessage('u alive:); else sendMessage('u died'); and check on both players what write.
  3. what source u use? u try add assasins = 0; at pcinstance.java at doDie( function? put here ur pcinstance.java
  4. then try check at this position: for (L2PcInstance p : players.keySet()) if (getTeam(p) == teamId) list.add(p); for dublicates maybe, is already exsist in list or no
  5. if (party != null&&subPlayers.getParty() == null) party.addPartyMember(subPlayers);
  6. ok found one solution. I see all object id start at 26*******, example 268438424, for web donate system i make start id 16*******, example 160000001 with incresement, maybe its not good? so why in every server object id start with 26*******???
  7. this shit replace me insered item from web donate system. private void updateInDb() { if (Config.ASSERT) assert _existsInDb; if (_wear) return; if (_storedInDb) return; Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(false); PreparedStatement statement = con.prepareStatement("UPDATE items SET owner_id=?,count=?,loc=?,loc_data=?,enchant_level=?,price_sell=?,price_buy=?,custom_type1=?,custom_type2=?,mana_left=? " + "WHERE object_id = ?"); statement.setInt(1, _ownerId); statement.setInt(2, getCount()); statement.setString(3, _loc.name()); statement.setInt(4, _locData); statement.setInt(5, getEnchantLevel()); statement.setInt(6, _priceSell); statement.setInt(7, _priceBuy); statement.setInt(8, getCustomType1()); statement.setInt(9, getCustomType2()); statement.setInt(10, getMana()); statement.setInt(11, getObjectId()); statement.executeUpdate(); _existsInDb = true; _storedInDb = true; DatabaseUtils.close(statement); statement = null; } catch (final Exception e) { if (Config.ENABLE_ALL_EXCEPTIONS) e.printStackTrace(); LOGGER.error("Could not update item " + getObjectId() + " in DB: Reason: "); e.printStackTrace(); } finally { CloseUtil.close(con); con = null; } if (_existsInDb) fireEvent(EventType.STORE.name, (Object[]) null); } any solution? or ideas?
  8. Hello is possible? Im with php insered item, example: INSERT INTO `items` (`owner_id`,`object_id`,`item_id`,`count`,`enchant_level`,`loc`,`loc_data`,`custom_type1`,`custom_type2`,`mana_left`) VALUES ('".$char['obj_Id']."',(SELECT MAX(object_id)+1 FROM items AS object_id),'".$item."','1','".$row['enchant_level']."','INVENTORY',0,0,0,-1) then at same time game server overwrite me insered item with same object id? because some time it just put without any error, but in table the row wrong.. cant find problem
  9. it just not work, look at image. http://prntscr.com/hbgs5r
  10. same shit. HTTP/1.1 302 Found Server: HYPERFILTER - HWP/2.0.0 Date: Thu, 16 Nov 2017 23:19:27 GMT Content-Length: 0 Connection: close Cache-Control: no-cache Location: https://api.hopzone.net/lineage2/votes?token=AFCC4Ez3trnOwZNY P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA" DDOS: Protected by HyperFilter : http://www.hyperfilter.com HF-Wall: HIT-4/THROTTLED_4
  11. gera ta nuoroda, ten paveikslelis su hopzone webu "502" :D
  12. man net i hopzone neleidzia ieit, http://prntscr.com/hbg5av na pas mane kitokia vote sistema, klaida tokia, kad hopzone jokio atsakymo neduoda, tipo "request timeout"
  13. turbut hopzone neveikia, nes ir man ziuriu nebegauna informacijos, reikia laukt kol jie ten patys sutvarkys savo sistema.
  14. check hopzone profile, about new api. example: http://api.hopzone.net/lineage2/votes?token=AFCC4Ez3trnOwZNY but u need edit hopzone code in java source.
  15. its not hard to check all dat files, actionname-e.dat
  16. sysstring-e.dat (client text) and systemmsg-e.dat (for server messages)
×
×
  • Create New...