Jump to content

wongerlt

Members
  • Posts

    558
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by wongerlt

  1. Config.DEFAULT_GLOBAL_CHAT.equalsIgnoreCase("on") make sure this setting is `on` not true/false but `on`
  2. you need change system , bcz l2top co have api https://l2top.co/reward-system show source code ur vote manager.
  3. what??? just change id.. https://l2top.co/index.php?page=server_info&id=11082
  4. http://prntscr.com/sx5v1f
  5. http://prntscr.com/sx42nh now compare ur url and url in example.
  6. first must be. which pack u using?
  7. u need edit interface.u to do that. easy
  8. if(getPartyMembers().size()<4){ for (final L2PcInstance member : getPartyMembers()) if (member.isInsideZone(L2Character.ZONE_UNUSED)) member.teleToLocation(81035,148614,-3464); }
  9. You need add checks in L2Party.java removePartyMember if(playerinsidezone(blablabla)) teleportFromZone;
  10. @Override protected void onEnter(final L2Character character) { if (character instanceof L2PcInstance) { L2PcInstance player = (L2PcInstance) character; if (player.isInParty()) { if(player.getParty().getPartyMembers().size()<4){ player.teleToLocation(81450,148610,-3493); // pt members < 4 then to giran or aden return; } }else{ player.teleToLocation(81450,148610,-3493); // to giran or aden? return; } player.setInsideZone(.............urzone....); } } and l2party.java in public synchronized void removePartyMember(final L2PcInstance player, final boolean sendMessage) add check is in zone then teleport to ur place.
  11. its edited with xdat editor, don't need edit interface.u You can paint how u want with photoshop and adapt with xdat editor.
  12. string list. put to list each ppl ip while put ip address check is already exists or no if exists then ppl already rewarded. easy way.
  13. 1. Set shop with any items. 2. Stand up 3. trade or put to wh. 4. Set shop again. it will be saved with last set shop. dont worry.
  14. and where error about auto restart?
  15. hmm, maybe in log folder?
  16. i ask u log file u send me config file.. so
  17. sorry but not possible to fix that.
  18. show loggerout.log
  19. why spaces before minutes?? RestartByTimeOfDay = 00: 00,12: 00 must be RestartByTimeOfDay = 00:00,12:00
  20. when i saw on your topic "classic" then i thought it will be classic gold, which was in the old good days of c4 but not c6. but as I see it will be cosmos :D
  21. how with my solution it can be? :D
  22. many servers use this script: <?php echo "<b>Real</b> Online Players in Server: ".(1200+rand(1,100)); ?> or u can use this: cronjob.php <?php $servername = "localhost"; $username = "username"; $password = "password"; $dbname = "myDB"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { file_put_contents("online.txt",'0'); } $result = $conn->query("SELECT COUNT(`online`) as online_ppl FROM `characters` WHERE `online`='1'"); if ($result->num_rows > 0) { $row = $result->fetch_assoc(); file_put_contents("online.txt",$row['online_ppl']); } } else { file_put_contents("online.txt",'0'); } $conn->close(); ?> https://www.w3schools.com/php/php_mysql_select.asp example every 5~10min. and then print in website <?php echo file_get_contents("online.txt"); ?>
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..