Jump to content
  • 0

Web Scripts


Question

Posted

Hi i want someone help me with this.

 

I have some scripts of Online players,Server status,acc creation,hero,olympiad points, etc  etc from here.

 

[sHARE] Hero, Olympiad Points, etc Status Scripts for L2J !

 

and

 

[share]PHP Status/Acc creation/Online players Scripts For your Site!!!

 

These are some scripts that i founded searching in maxcheaters forum.

 

But i am still searching for a guide about how i can use them,how i can connect with database and all this.

 

i need to have compiled server?

 

what i need if someone can help me.

 

Or if there is any guide i am sry but i searched. i didnt find anything.i press all possible key words.

 

 

Thx

2 answers to this question

Recommended Posts

  • 0
Posted

Hello, i dont think that you will find any guide on those thinks because there are lots of them..

 

ok now lets try help you:

 

1st) no, you dont need to compile the server.

 

2nd)

define('mySQL_hostname', '127.0.0.1');  //database IP
  define('mySQL_database', 'Database');  //database name
  define('mySQL_username', 'User');  //database user
  define('mySQL_password', 'Pass');  //database password

 

find those in your scripts and change it with your needs. here is a custom one:

 

define('mySQL_hostname', '127.0.0.1');  //If mySQL is hosted on your pc let that 127.0.0.1. if not add the IP that mySQL is hosted on
  define('mySQL_database', 'l2jdb');  //replace "l2jdb" if this is not your database name (retail: l2jdb)
  define('mySQL_username', 'root');  //replace "root" with your username (retail: root)
  define('mySQL_password', '');  //change the password with your mySQL's pass (retail: "null")

 

when you finish that name the file you edited to any name you need example l2.php. then add this in your index.html file:

 

<form action="YOUR_FILES_NAME.php" method=post>
                        UserID:<input type="text" name="name" size 20><br><br>
                        Password:<input type="password" name="pass" size 20><br><br>
                         <input type=submit name="submit" value="Login">
            </form>

 

 

i hope i helped you a bit. good luck

Guest
This topic is now closed to further replies.


×
×
  • Create New...