Jump to content

Bleadd

Members
  • Posts

    523
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Bleadd

  1. try.. it should work..
  2. <?xml version="1.0" encoding="UTF-8"?> <!-- Externalhost here (Internet IP) or Localhost IP for local test --> <gameserver address="YOUR EXTERNAL IP" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd"> <!-- Localhost here --> <define subnet="127.0.0.0/8" address="local (192.168....)" /> <!-- Internalhosts here (LANs IPs) --> <define subnet="10.0.0.0/8" address="local (192.168....)" /> <define subnet="172.16.0.0/19" address="local (192.168....)" /> <define subnet="192.168.0.0/16" address="local (192.168....)" /> </gameserver> # Bind ip of the LoginServer, use * to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: * (0.0.0.0) LoginserverHostname = *(or local, (192..168....) if same machine for login server and gameserver) # Default: 2106 LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: * (0.0.0.0) LoginHostname = * # The port on which login will listen for GameServers # Default: 9014 LoginPort = 9014 # --------------------------------------------------------------------------- # Networking # --------------------------------------------------------------------------- # Where's the Login server this gameserver should connect to # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 127.0.0.1 LoginHost = 127.0.0.1 # TCP port the login server listen to for gameserver connection requests # Default: 9014 LoginPort = 9014 # Bind address for gameserver. You should not need to change it in most cases. # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: * (0.0.0.0) GameserverHostname = * (or local ip, same than loginserver ^^') # Default: 7777 GameserverPort = 7777 Should work..
  3. For the second ask : search for "Fake PC"
  4. isOnline method return a booleans so if (i != null && i.isOnline()) will work.
  5. You take example from a Npoly in peace_zones.xml and you make it with your own coord (using /loc) each node equals a point from the Npoly.
  6. For CC you put : abnormalLvl="1" abnormalType="counter_critical"> For Eye of paagrio you put : abnormalLvl="1" abnormalType="counter_critical"> ....
  7. stack/abnormal. i don't remember very well but try.
  8. Check table Droplist maybe?
  9. aCis
  10. Sorry for double post, but can't edit my post.. So : Peace_zones.xml <zone name="mage_start_peace_3" type="PeaceZone" shape="NPoly" minZ="-3659" maxZ="-2659"> <!-- [17_25] --> <node X="-88457" Y="248867" /> <node X="-88611" Y="249099" /> <node X="-89054" Y="249756" /> <node X="-89279" Y="250048" /> <node X="-89684" Y="250143" /> <node X="-90008" Y="249970" /> <node X="-88864" Y="248209" /> <node X="-88542" Y="248446" /> </zone> each node is a point of your Npoly ..
  11. Data/zones/peace_zones.xml.
  12. Chronicle? Check sig.
  13. Try to code by yourself.. I think nobody will code for you for free but if you post a problem about a code made by yourself, i think you can be helped..
  14. I think you need a new table with script php on your website. If the person click on button link, his ip is store in a DB for xx hours. And after in L2PcInstance, you make a request to know if the ip of the character can be found in the DB of vote. If yes, add skill.
  15. Check .xml of buffs that increases criticPower (Dance red, but idk the name) and add the % you want in Bow Mastery..
  16. I have an idea.. It's a crap and sh*t trick but if i substract 14 days and add 3 days, will it work? Edit : After a moment of thinking : it's the same problem..
  17. hello, If i change SQL query, the siege date will be every x days? public void saveSiegeDate() { if (_scheduledStartSiegeTask != null) { _scheduledStartSiegeTask.cancel(true); _scheduledStartSiegeTask = ThreadPoolManager.getInstance().scheduleGeneral(new Siege.ScheduleStartSiegeTask(getCastle()), 1000); } Connection con = null; PreparedStatement statement = null; try { con = L2DatabaseFactory.getInstance().getConnection(); statement = con.prepareStatement("UPDATE castle SET siegeDate = ?, regTimeEnd = ?, regTimeOver = ? WHERE id = ?"); statement.setLong(1, getSiegeDate().getTimeInMillis()); statement.setLong(2, getTimeRegistrationOverDate().getTimeInMillis()); statement.setString(3, String.valueOf(getIsTimeRegistrationOver())); statement.setInt(4, getCastle().getCastleId()); statement.execute(); } catch (Exception e) { _log.log(Level.WARNING, "Exception: saveSiegeDate(): " + e.getMessage(), e); } finally { L2DatabaseFactory.close(con); } } If i replace statement.setLong(1, getSiegeDate().getTimeInMillis()); by statement.setLong(1, 259200000); 259200000 = 3 days. The sieges will be every 3 days? L2j H5. Cordially, Bleadd
  18. What is this .xml? tax in a special zone with /vendor? L2J H5.
  19. http://maxcheaters.com/forum/index.php?action=search2 Keyword : rin4a http://maxcheaters.com/forum/index.php?topic=39966.msg271939#msg271939 Srsly.. Use your brain a little bit & stop fap fap !
  20. Don't tested and i think there is some syntax errors :P if (getClassId() == "id you want) { if (isInOlympiadMode()) { L2Skill sk = new L2Skill (id skill you want, true); addSkill(sk); } else { removeskill(sk); } } or a switch case.. it's a little crappy code, but i think can work..
  21. sure.. i don't know how, but you can check the class in the condition. But check Tryskell post.
×
×
  • Create New...