Jump to content

Recommended Posts

Posted

Well, I've Searched For This Tool And I Found This.... Check It Out...! xD

 

 

 

L2Admin 2, Lineage2 administration tool, remake.

This administration tool was written using adriahu "Advanced cached php class" (GPL license).

 

Changelog

 

RC2 changelog:

Added 2 language files English and Russian, it is possible to translate to any language you want even to Chinese. (but don't forget about converting file to UTF-8 using notepad)

Improved template engine, soon I will post how to use it, it's very easy. (thanks to Forcer for help)

"Move char to account" function now gets only "char name" and "account name", "account id" will be retrieved from DB.

 

What L2Admin supports:

UTF-8 encoding.

AJAX implementation.

Template system, HTML with CSS.

Basicaly all the cached packets.

Have very easy code which support implementing new pages.

Have 9 working functions listed below.

Check if char is online

Change player name

Give item (need test, or working solution)

Delete item

Change player

Move char to another account

Block chat

Change player stats

Set player stats

Quick announce (supports many languages)

 

[glow=red,2,300]How to install:[/glow]

 

1.Upload archive to your web-server with php5 (with mbstring and mssql support).

2.Edit includes/config.php, fill mssql and cached connection details, also set admin password.

3.Try to enter admin page, you will see authorization dialog, enter a password and enter.

4.You will see admin menu, thats all, you may start using functions.

 

 

Changelog

 

RC2 changelog:

Added 2 language files English and Russian, it is possible to translate to any language you want even to Chinese. (but don't forget about converting file to UTF-8 using notepad)

Improved template engine, soon I will post how to use it, it's very easy. (thanks to Forcer for help)

"Move char to account" function now gets only "char name" and "account name", "account id" will be retrieved from DB.

 

I need contributors who can make template operators parser. (IF, WHILE and so on)

 

What my L2Admin supports:

UTF-8 encoding.

AJAX implementation.

Template system, HTML with CSS.

Basicaly all the cached packets.

Have very easy code which support implementing new pages.

Have 9 working functions listed below.

Check if char is online

Change player name

Give item (need test, or working solution)

Delete item

Change player

Move char to another account

Block chat

Change player stats

Set player stats

Quick announce (supports many languages)

 

How to add your own admin page:

1. For an example, create file named page_test.class.php in includes/pages/.

2. Open it and write it into:

 

 

<?php
class Page_Test implements IPage{
function process(){
	return file_get_contents('templates/default/a_test.tpl');
}
}
?>

 

 

3. Create file a_test.tpl in templates/Default/.

4. Open it and write:

<table align='center' border='1' style='width:350px;margin:10px;border-style:dashed;'>
<tr>
	<td align='left' valign='center' style='padding:10px;'>
		<big class='MainPageCaption'>Test.</big><br>
		<big class='MainPageText'>This is a test page.</big><br>
	</td>
</tr>
</table>

 

5. Open menu.tpl and add new link to page (page and Ajax argument must be a part of text after page_ in page filename, in this example it's page_test.class.php):

 

<tr>
<td class='menuItem' onmouseover='HLMenu(this,1)' onmouseout='HLMenu(this,0)'>
	<a class='MenuUrls' href='index.php?page=test' onclick='Ajax("test");return false;'>
		<big class='MenuBullet'>•</big> Test
	</a>
</td>
</tr>

 

I will support this project for some time.

 

And big thanks to user Dekabrist, his testing helps this project grow up.

 

 

 

 

Download Link :

 

http://rapidshare.com/files/118559586/L2Admin_2.zip.html

 

 

Credits To :

 

hel

 

 

Have Fun!

 

 

Posted

Nice one

 

btw its only for l2off servers :)

 

define('MssqlServer', '127.0.0.1');

define('MssqlUsername', 'sa');

define('MssqlPassword', '');

define('CachedServer', '127.0.0.1');

define('CachedPort', '2012');

 

//move it , thx

  • 1 month later...
  • 3 months later...
  • 1 month later...
  • 1 month later...
  • 4 weeks later...
  • 3 months later...
Posted

Fatal error: Call to undefined function socket_create() in C:\wamp\www\llll\includes\cached_conn.class.php on line 28

 

what happened ? we try to change name .

  • 2 weeks later...
  • 1 month later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...