Jump to content

wongerlt

Members
  • Posts

    559
  • Joined

  • Last visited

  • Days Won

    8
  • Feedback

    0%

Everything posted by wongerlt

  1. 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"); ?>
  2. i dont see anything https://bitbucket.org/MobiusDev/l2j_mobius/src/master/L2J_Mobius_C6_Interlude/
  3. i think l2j mobius not support python scripts, try make Java.
  4. 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.
  5. really??? http://prntscr.com/rmpr17
  6. 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;
  7. ls and bogs are stackable in database? i mean etcitems table.
  8. 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..
  9. 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"; ?>
  10. Or just pretext to make wipe :D
  11. u cant just change link.. these links output are different like before ur used links.
  12. http://prntscr.com/rgm1xr
  13. https://www.4shared.com/web/q/#query=l2gold-project
  14. Hello, Any solution to avoid delay between click button in me html? Because if now i click button/Url in community board i need wait ~3-5 sec then i can click again, otherwise if i click bypass client just not send to server..
  15. can u share system patch? i will try to look
  16. about client side just copy and paste to excel and not need to count :D http://prntscr.com/qaik55 just me advice.
  17. i have do it with formulas.java example how i change mag dmg. CalcMagicDam(...){ .......... .... and at function end if(attacker instanceof L2PcInstance){ L2PcInstance pcInst = (L2PcInstance) attacker; int attackerClass = pcInst.getClassId().getId(); double balance = 1; if(pcInst.isInOlympiadMode()){ balance = BalanceDataTable.getInstance().getClassData(attackerClass).getOMSkillDamage(); }else{ balance = BalanceDataTable.getInstance().getClassData(attackerClass).getMSkillDamage(); } damage /= balance; } } same shit and with other stats/damages and etc. Its just me idea for you. Its good way or no idk.
  18. with old map file i see ground texture, with ur not. What can be wrong?
  19. yes, but he not tested i think, because all ground without textures, like in me screenshot.
  20. Same topic: i dont know why some one lock it.
  21. No way!!! Better to try learn by yourself. ok i fixed invisible walls (just deleted it) but now have another problem :D http://prntscr.com/pjsxl2 when save map ground textures not showing.. Maybe someone know why?
  22. Yes, some place have invisible walls or what, rly i dont know, i just see shadow on it. just recorded: https://www.youtube.com/watch?v=etVIGTzUqXw&feature=youtu.be
  23. Hello, Maybe someone have this map for interlude? without bugs. Already tryed to search.
  24. in item name must include all search words so draconic armor not show. its good if u not remember part of item name.
×
×
  • 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..