Jump to content

wongerlt

Members
  • Posts

    522
  • Credits

  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by wongerlt

  1. its edited with xdat editor, don't need edit interface.u You can paint how u want with photoshop and adapt with xdat editor.
  2. 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.
  3. 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.
  4. i ask u log file u send me config file.. so
  5. why spaces before minutes?? RestartByTimeOfDay = 00: 00,12: 00 must be RestartByTimeOfDay = 00:00,12:00
  6. 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
  7. 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"); ?>
  8. i dont see anything https://bitbucket.org/MobiusDev/l2j_mobius/src/master/L2J_Mobius_C6_Interlude/
  9. i think l2j mobius not support python scripts, try make Java.
  10. 1. Open data/stats/items/0000-0099.xml 1.1 Look, example at item id=1 1.2 Compare with ur custom weapon. 1.3 And i think u will see where is problem if not then sorry, we can't help. 2. Check server logs, maybe its not load at all. 3. Check enchant config u can find it in config folder.
  11. then just something wrong in java or u not update server gameserver lib. u can do simple log to check.. requestrefine.java if (Config.LS_STACKABLE) { player.sendMessage("LS STACKABLE BLABLA"); if(!player.destroyItem("RequestRefine", refinerItem.getObjectId(), 1, null, false)) return false; } else if (!player.destroyItem("RequestRefine", refinerItem, null, false)) return false;
  12. ls and bogs are stackable in database? i mean etcitems table.
  13. you just make mistake some where.. maybe Config.LS_STACKABLE are not TRUE. you can just check/log what happening in RequestRefine.java when u click refine..
  14. total votes: script.php return total votes. <?php error_reporting(0); $ctx = stream_context_create(array('https'=> array( 'timeout' => 2 ) )); $file = @file_get_contents("https://api.hopzone.net/lineage2/votes?token=YOUR_TOKEN",false,$ctx); if(!$file){ echo 0; exit; } $file = @json_decode($file, true); echo isset($file['totalvotes']) ? $file['totalvotes'] : 0; ?> IP IS VOTED? script.php?ip=PLAYER_IP return TRUE/FALSE <?php error_reporting(0); if (!filter_var($_GET['ip'], FILTER_VALIDATE_IP)) echo "FALSE".exit; $ctx = stream_context_create(array('https'=> array( 'timeout' => 2 ) )); $file = @file_get_contents("https://api.hopzone.net/lineage2/vote?token=YOUR_TOKEN&ip_address=".$_GET['ip'],false,$ctx); if(!$file){ echo "FALSE"; exit; } $file = @json_decode($file, true); echo isset($file['voted'])&&$file['voted']==1?"TRUE":"FALSE"; ?>
  15. u cant just change link.. these links output are different like before ur used links.
×
×
  • Create New...