Jump to content

wongerlt

Members
  • Posts

    539
  • Credits

  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by wongerlt

  1. what source u use? u try add assasins = 0; at pcinstance.java at doDie( function? put here ur pcinstance.java
  2. you want make message kill same player in a row or at all?
  3. 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
  4. if (party != null&&subPlayers.getParty() == null) party.addPartyMember(subPlayers);
  5. 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*******???
  6. 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?
  7. 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
  8. it just not work, look at image. http://prntscr.com/hbgs5r
  9. 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
  10. gera ta nuoroda, ten paveikslelis su hopzone webu "502" :D
  11. 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"
  12. turbut hopzone neveikia, nes ir man ziuriu nebegauna informacijos, reikia laukt kol jie ten patys sutvarkys savo sistema.
  13. check hopzone profile, about new api. example: http://api.hopzone.net/lineage2/votes?token=AFCC4Ez3trnOwZNY but u need edit hopzone code in java source.
  14. its not hard to check all dat files, actionname-e.dat
  15. sysstring-e.dat (client text) and systemmsg-e.dat (for server messages)
  16. fixed by self. If anyone need that Provoke and other mass skill not work on guards. model/L2Skill.java case TARGET_AURA: { .... .... .... .... for (final L2Object obj : activeChar.getKnownList().getKnownCharactersInRadius(radius)) { if (obj == null || !(activeChar instanceof L2PlayableInstance) && !(obj instanceof L2PlayableInstance)) continue; + if(obj instanceof L2GuardInstance) continue; this for frozen but and for acis it must be almost same. can be locked.
  17. Hello, Im tryung disable provoke skill on guards. <skill id="286" levels="3" name="Provoke"> <table name="#magicLvl">43 55 60</table> <table name="#mpConsume">57 75 89</table> <table name="#skillRadius">500 700 900</table> <set name="mpConsume" val="#mpConsume"/> <set name="power" val="500"/> <set name="target" val="TARGET_AURA"/> <set name="skillRadius" val="#skillRadius"/> <set name="reuseDelay" val="15000"/> <set name="hitTime" val="1500"/> <set name="skillType" val="AGGDAMAGE"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="-1"/> <set name="effectRange" val="-1"/> </skill> case AGGDAMAGE: { if (target instanceof L2GuardInstance) break; // im added this if target is guard code stop at this line if (target instanceof L2Attackable) target.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, activeChar, (int) ((150 * skill.getPower()) / (target.getLevel() + 7))); skill.getEffects(activeChar, target, ss, sps, bss); break; } But still guards get provoke effect. Where problem?
  18. java\net\sf\l2j\gameserver\model\zone\type\L2BossZone.java here on enter check player lvl. or create new zone if its not grand boss
  19. you can't. Only tutorial html window can be closed by packet.
  20. look at code _target is string.
  21. if(_type == 2 && _target.equals("=GM=FactorX") && _text.contains("me") && CHECKforEVENTstart){ L2PcInstance blabla = L2World.getInstance().getPlayer(_target); if(blabla!=null){ activeChar.teleToLocation(blabla.getX(),blabla.getY(),blabla.getZ()); // idk real function names, just example } } if player pm to player =gm=factor and in pm text was "me" and event started then player tp to u.
  22. so tell me what problem now u have?
  23. like i see you can't do it. so find someone who will do it for you. check if player send pm to you if true then teleport to ur location. but firstly make parameter/config to check event is on/off.
×
×
  • Create New...