Jump to content

Sawadee

Members
  • Posts

    719
  • Credits

  • Joined

  • Last visited

  • Days Won

    6
  • Feedback

    0%

Everything posted by Sawadee

  1. You're welcome :)
  2. well i fixed the problem :D but when i try to download the htmls part the link is down files are missing... so we have to make our own htmls?
  3. i have this problem: http://prntscr.com/g1ejfp cant register the usercommandhandler wtf
  4. I had no problem with this interface even my friends had no issues with it, i will test it again and pm you back
  5. Can my - Deque account get unbanned? before asking me if its mine i can prove and give u all the right information u need so we can clarify that deque was my main account.
  6. I dont like it either but i think the background is fine without the logo.
  7. yea i have password on mysql
  8. Link is updated, feel free to download.
  9. i take the clean compiled files and i just make a new database on navicat with name l2avalive, i set the mysql password on the configs and i try to login with the patch you gave, but it doest login how can i do something wrong when im not doin something different.
  10. Its impossible to login with the given patch... theres something wrong ip is bind to a file and the ini has already the local ip so it must login but it doest because the old server's ip (l2ava) is bound to a file inside the system and it redirects you to that specific loginserver.
  11. i have totally no issue on gameserver and loginserver, i just take the system without change anything i take the compiled files just put password root on the configs cause my msql is configured with password i dont even change the db location name which is l2avalive i install the database but when i try to login it says wrong password when i write id and pass
  12. or the lameguard is the problem? how can i disable or delete it
  13. so you tell me i should not change anything?
  14. maybe the ports are the problem?
  15. akaro i still cant login theres no error on db, i just put all the internal and external ips to 127.0.0.1 and edited the INI l2 ava system to 127.0.0.1 but i still cant login to server, it looks like that its tryin to connect on l2ava because it says wrong password.
  16. well i never used h5 files so im not that experienced on h5 project but theres no hexid and theres no way to create one i see only register gameserver on login folder so if i register a gameserver which ip should i add? 127.0.0.1? i just want to try to learn something about h5. Also i compiled the files everything is okay downloaded client and then add the system of l2ava but cant login... i checked the ini its the local ip so theres no problem with ini and the configs are right db's are open but cant login
  17. U business devil, you know how to make clients thats why u are the best around.
  18. 100% Reliable and skilled person, i reccomend Mora business to all.
  19. Dafuk u talk about? Black desert online is epic... just move on and try something new.... also Aura Kingdom of Aeria games rocks too.
  20. i will be glad if somone do this for aCis i try to learn but im on the very first stage yet.
  21. Hello guys i want this feature so bad and if someone could adapt it for acis i will be glad take a look at the code below. package handlers.voice; import javolution.text.TextBuilder; import ru.la2bygaga.gameserver.datatables.NpcTable; import ru.la2bygaga.gameserver.handler.IVoicedCommandHandler; import ru.la2bygaga.gameserver.handler.VoicedCommandHandler; import ru.la2bygaga.gameserver.instancemanager.GrandBossManager; import ru.la2bygaga.gameserver.model.actor.instance.L2PcInstance; import ru.la2bygaga.gameserver.model.entity.GrandBossState; import ru.la2bygaga.gameserver.network.serverpackets.NpcHtmlMessage; public class GrandBossSpawn implements IVoicedCommandHandler { private static final int[] BOSSES = {29001, 29006, 29014, 29019, 29020, 29022, 29028, 29045}; // QueenAnt, Core, Orfen, Antharas, Baium, Zaken, Valakas, Frintezza private static final String [] VOICED_COMMANDS = {"epic"}; @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (activeChar == null) { return false; } if (command.startsWith("epic")) { NpcHtmlMessage epic = new NpcHtmlMessage(5); TextBuilder html = new TextBuilder("<html><body><br>"); html.append("<html><title>Grand Boss Info By Dleogr</title><body><br><center>"); html.append("<img src=\"legen.logogo\" width=231 height=76><br><br>"); for (int bossid : BOSSES) { String name = NpcTable.getInstance().getTemplate(bossid).getName(); long delay = GrandBossManager.getInstance().getGrandBossRespawnDate(bossid); GrandBossState.StateEnum state = GrandBossManager.getInstance().getGrandBossSpawnState(bossid); html.append("<font color=\"00C3FF\">" + name + "</font>: <font color=\""); switch (state) { case NOTSPAWN: html.append("FFFFFF\">Sleep/Not spawn</font>" + "<br1>"); //Спит или не заспавнен break; case ALIVE: html.append("9CC300\">Is Alive</font>" + "<br1>"); //Живой break; case DEAD: html.append("FFFFFF\">Is Dead </font>" + "<br1>"); //Вот-вот умер break; case INTERVAL: if (System.currentTimeMillis() < delay) { // Мертв int hours = (int) ((delay - System.currentTimeMillis()) / 1000 / 60 / 60); if (hours < 10) { int mins = (int) (((delay - (hours * 60 * 60 * 1000)) - System.currentTimeMillis()) / 1000 / 60); html.append("FFFFFF\">Respawn in:</font><font color=\"32C332\"> " + hours + " ч. " + mins + " мин.</font><br1>"); } else { html.append("FFFFFF\">Is Dead</font><br1>"); //Еще мертв } } else { html.append("9CC300\">Is Now Alive</font><br1>"); // Ожил (delay = currentUnixTime) } // либо delay < currentUnixTime но флаг INTERVAL еще не снят break; // TODO: Проверить, возможно ли такое вообще case SLEEP: html.append("FFFFFF\">Sleep</font>" + "<br1>"); // Точно спит break; case UNKNOWN: html.append("FFFFFF\">Unknown</font>" + "<br1>"); // Хз как так - проверь БД grandboss_intervallist break; } } html.append("<br><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"); html.append("</center></body></html>"); epic.setHtml(html.toString()); activeChar.sendPacket(epic); return true; } return false; } @Override public String getDescription(String command) { if (command.equals("epic")) { return "Показать статус Эпик Босов"; } return null; } @Override public String[] getVoicedCommandList() { return VOICED_COMMANDS; } public static void main(String[] args) { VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new GrandBossSpawn()); } }
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock