-
Posts
559 -
Joined
-
Last visited
-
Days Won
8 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by wongerlt
-
if you hold f1 its not help :D
-
Help Inventory Full
wongerlt replied to milosvamp's question in Request Server Development Help [L2J]
show us how u put the code. -
Help Olympiad Settings problem.
wongerlt replied to tomaszow's question in Request Server Development Help [L2J]
ok... then edit l2olympiadmanager instance, make registration at ur > set date -
Help Olympiad Settings problem.
wongerlt replied to tomaszow's question in Request Server Development Help [L2J]
best way is delete npc then after 1-2 week spawn it again -
Help Olympiad Settings problem.
wongerlt replied to tomaszow's question in Request Server Development Help [L2J]
just manualy end olympiad in admin "Manual hero" at start day. Then ur olympiad start again after 1 sec (validation period) and end after 2 weeks. -
Its dual session bug. And i think u using acis "L2 Gold trance files". to fix this bug open this file "net\sf\l2j\gameserver\LoginServerThread.java" find this function "public void addGameServerLogin(String account, L2GameClient client)" and change with this: public void addGameServerLogin(String account, L2GameClient client) { L2GameClient savedClient = _accountsInGameServer.get(account); if (savedClient != null) { if (savedClient.isDetached()) { _log.info("Old Client was disconnected: Offline or OfflineMode --> Login Again [Account: " + account + "]"); _accountsInGameServer.put(account, client); } else { _log.info("Old Client was online --> Close Old Client Connection [Account: " + account + "]"); savedClient.closeNow(); _accountsInGameServer.remove(account); } } else { _log.info("Client was not online --> New Client Connection [Account: " + account + "]"); _accountsInGameServer.put(account, client); } }
-
Shift + click item in chat IL
wongerlt replied to MaKasTreRo's question in Request Server Development Help [L2J]
IL not have this feature, not posible :P posible only with client development. -
Help All private stores in one npc
wongerlt replied to admirolas3's question in Request Server Development Help [L2J]
its simple: else if (currentCommand.startsWith("category")) { String categoryName = st.nextToken(); final StringBuilder sb = new StringBuilder(200); for (Player storeChar : World.getInstance().getPlayers()) { if (storeChar.isInStoreMode() && storeChar.getStoreType() == StoreType.SELL) { for (TradeItem i : storeChar.getSellList().getItems()) { if (categoryName.startsWith("dagger")) { if(i.getItem().getItemType() == WeaponType.DAGGER){ sb.append("<table width=240 height=42><tr>"); sb.append("<td width=32 height=32 align=center><img src=Icon.item"+i.getItem().getItemId()+" width=32 height=32></td>"); sb.append("<td>" + i.getItem().getName() + "</td>"); sb.append("</tr><tr><td height=7></td></tr></table>"); } } } } if(sb == null || sb.toString().equals("")) { sb.append("No items to show"); } final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); html.setFile("data/html/auctioneerManager/categoryView.htm"); html.replace("%objectId%", getObjectId()); html.replace("%items%", sb.toString()); player.sendPacket(html); } and change table, u dont need to create new table on every found item. use <tr> tag. -
maybe no, check other multisell xml files, if u see in other xml's <npcs> then add.
-
what acis version? i think i new version need add npc id in xml file, example: <?xml version='1.0' encoding='utf-8'?> <!-- PI Trap stone multisell --> <list> <npcs> <npc>32115</npc> <!-- Asamah --> </npcs> <!-- Trap stone --> <item> <ingredient id="57" count="750"/> <production id="8764" count="1"/> </item> </list>
-
try maybe this Multisell change to multisell, first letter must be lowercase.
-
where is bugged?
-
from l2gold trance pack u can get it for free.
-
Hello, Any one haved this problem and how to solve it? After some connections to telnet they stop respond to client. No errors in logs or something like it. Me php code: function telas($command){ $telnet = fsockopen("*********", "1234", $errno, $errstr, 5); if($telnet) { echo "OK<BR>"; fputs($telnet, "PASWORD TO Login"); fputs($telnet, "\r\n"); fputs($telnet, $command); fputs($telnet, "\r\n"); fputs($telnet, "exit\r\n"); while ($line = fgets($telnet)) { $line = trim($line); echo $line."<br>"; } fclose($telnet); }else { echo $errno; echo $errstr; } }
-
vote medals u can get also from mobs, not only from vote system. about what corruption u talk?
-
up, start today 18:00
-
Source Fandc/ro-Team H5-L2Ava Files Sources.
wongerlt replied to Akar0's topic in Server Shares & Files [L2J]
config\GMAccess.d/full.xml and put your char object id then restart server. -
Help Serverguard - Acys 368
wongerlt replied to nortim's question in Request Server Development Help [L2J]
its nonsense not guard, just delete it. just tell me why u need this and we find another solution.. -
yes, now i see, other chars see correct heading, except self heading.
-
Buffer Target You And Show Buff
wongerlt replied to Afou To Patisa's question in Request Server Development Help [L2J]
what is wrong with ur brain? hmm, i remember how on one buffer try buff some (~5) players, so buffer very lagging when buff all players at same time. One solution is to spawn 10 buffer npc. did u try change hit time? because it set 5 sec i see. broadcastPacket(new MagicSkillUse(this, player, 5557, 1, 5000, 1)); make it 500 -
Buffer Target You And Show Buff
wongerlt replied to Afou To Patisa's question in Request Server Development Help [L2J]
better is turn off animation on buffers, i think will be many packets if in town will be many players :D -
try reduce php version, or chnage all to mysqli_....
-
Help Custom Cancel Task (Show Debuff)
wongerlt replied to RiperRO's question in Request Server Development Help [L2J]
yes, easy for frozen example: ((L2PcInstance)target).shortBuffStatusUpdate(1056, 1, 15); put it after ThreadPoolManager.getInstance().scheduleGeneral(new CustomCancelTaskManager((L2............. example: if (cancelledBuffs.size() > 0) { ((L2PcInstance)target).shortBuffStatusUpdate(1056,1,10); ThreadPoolManager.getInstance().scheduleGeneral(new CustomCancelTaskManager((L2PcInstance)target, cancelledBuffs), 10 *1000); } -
Code Custom Cancel Task [L2Jfrozen]
wongerlt replied to Psyancy's topic in Server Shares & Files [L2J]
yes i fixed it. Need only rename CustomCancelTask.java to CustomCancelTaskManager.java and in import change CustomCancelTask to CustomCancelTaskManager. -
Why all time after rr, char heading set to east side. I checked it on acis and frozen, same situation. (Interlude) on database it save correct heading.

