Jump to content
  • 0

[Help]Looking For PhP Code


Question

3 answers to this question

Recommended Posts

  • 0
Posted

You can find online script free here just search. I dont know for the other codes that you want.

yes i know but that code who i find dont show me IP players

  • 0
Posted

create config.php and put

 

<?php
$L2JBS_config["mysql_host"]="localhost";	// MySQL Host 	["localhost"]
$L2JBS_config["mysql_port"]="3306";		// MySQL Port			["3306"]
$L2JBS_config["mysql_db"]="l2jdb";		// MySQL Database	["l2jdb"]
$L2JBS_config["mysql_login"]="root";		// MySQL User			["root"]	
$L2JBS_config["mysql_password"]="master";	// MySQL Password			["root"]
include("_config_procs.php");

error_reporting(0);
?>[/

 

create _config_procs.php and put

 

<?php
  $link = mysql_connect($L2JBS_config['mysql_host'].":".$L2JBS_config['mysql_port'], $L2JBS_config['mysql_login'], $L2JBS_config['mysql_password']);
  if (!$link)
die("Couldn't connect to MySQL");
  @mysql_select_db($L2JBS_config['mysql_db'], $link);
error_reporting(0);

?>

 

create for example bobi.php and put this

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>GameMasters Script By Leki</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
body,td,th {
color: #CCCCCC;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
body {
background-color: #000000;
}
-->
</style>
</head>
<body>
<table style="border: 1px solid; border-color: #444444; background-color:#222222;" align="center" width="100%">
  <tr>
    <th class='Stil7' colspan="5" align="center" width="100%">Top 100 PK</th>
  </tr>
  <tr>
    <th width="1%" style="border: 1px solid; border-color: #444444; background-color:#222222;">ID</th>
    <th width="10%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Character Name </th>
    <th width="2%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Class </th>
    <th width="6%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> IP Address </th>
  </tr>

  <?php 
require("Config.php");
$activity = mysql_query("SELECT
characters.char_name,
characters.obj_Id,
characters.char_name,
characters.level,
characters.classid,
characters.online,
char_templates.ClassId,
char_templates.ClassName,
accounts.login,
accounts.lastIP,
characters.account_name
FROM
characters ,
char_templates ,
accounts
WHERE
characters.online =  1 AND
char_templates.ClassId =  characters.classid AND
characters.account_name =  accounts.login
ORDER BY characters.char_name DESC
LIMIT 20
");
$i = 1;

while($row = mysql_fetch_array($activity))

{
	if (!($i%2)) echo "<tr bgcolor='#000000' align='center'>";
	else
	echo "<tr bgcolor='#161616' align='center'>";
	echo "<td>"."<center>".$i."</center>"."</td>";
	echo "<td>"."<center>".$row['char_name']."</center>"."</td>";
	echo "<td>"."<center>".$row['ClassName']."</center>"."</td>";
	echo "<td>"."<center>".$row['lastIP']."</center>"."</td>";
	$i++;
}
?>
</table>
</body>
</html>

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Connect to the server you need to >>>download<<< game client launch from /system_en/. Login server setup on auto registration, admin rights in game by default . Or you can use a patch specifying the l2.ini Connect to address classic.lucera2.com if you already have a game client Download updated patch All major/minor subsystems operate in a proper view. Absolutely ready to combat the server.
    • Connect to the server you need to >>>download<<< a game client launch from /system_en/. Login server setup on auto registration, admin rights in game by default . Or you can use a patch specifying the l2.ini Connect to address auth.lucera2.com All major/minor subsystems operate in a proper view. Absolutely ready to combat the server. From what remains - to sharpen the skills, which will be ready within a week (on the classic client it is not at all)
    • in terms of "Java" even this comment can be copied and presented as l2gold related pack   in terms of "l2off" real l2gold copies very few, actual live servers can be counted in 1 hand   Q:Why is it that no one can gather a team of at least 10 people because you need 10 experienced people, each has their own life, commitments and finally different views of how that server should actually work because all of them would expect something ($$$$) in return for their suposed involvement and such projects dont even go out of development.   ps let me know who you would trust to do this i dare you name 3 only people not 10.     finally i keep the copyrights for this post from becoming an l2gold server  
    • Buy Lucera2 Fully automated payment system, after payment you instantly get access to the product and repository   Product info: Detailed info Test servers: Interlude, Classic, Legacy, Multiprotocol Product costs $120 with a lifetime license. The monthly fee provides optional access to updates and tech support, costing $20. Server minimum requirements Product files repository accessible upon acquisition. Currently, lucera2 development is the best server market implementation of chronicles!   If you have questions, Don't worry and ask you convenient/contact via: Teams :  deazertir Telegram: https://t.me/lucera2 Facebook: https://m.me/Lucera2Dev Discord: Lucera2
    • WE HAVE VERY BIG DISCOUNTS ON ADEN, ITEMS, AND ACCOUNTS!!! HURRY TO BUY!!! DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO
  • Topics

×
×
  • 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