Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,898
» Latest member: Glassvwk
» Forum threads: 5,151
» Forum posts: 41,373

Full Statistics

Online Users
There are currently 18 online users.
» 0 Member(s) | 17 Guest(s)
Bing

Latest Threads
Last Chaos Server Sale
Forum: The Black Market (Buy, Sell, Trade)
Last Post: XWrongX2
01-26-2026, 11:07 PM
» Replies: 3
» Views: 594
All in One Exporter
Forum: Tools
Last Post: Kain88
01-25-2026, 07:04 AM
» Replies: 4
» Views: 413
HELP! ReZasCashServer It ...
Forum: Ep4 Support
Last Post: Kain88
01-24-2026, 03:24 PM
» Replies: 2
» Views: 142
Hi, does anyone know the ...
Forum: Help
Last Post: Desarija
01-21-2026, 11:29 AM
» Replies: 1
» Views: 103
LastChaos Nemesis
Forum: Server Advertising
Last Post: Desarija
01-20-2026, 04:06 PM
» Replies: 3
» Views: 221
Looking for EP4 Guidance
Forum: General Discussion
Last Post: xHypnosiaa
01-19-2026, 08:33 AM
» Replies: 1
» Views: 163
We're in need of creative...
Forum: Project Recruitment
Last Post: RGT
01-16-2026, 12:48 AM
» Replies: 0
» Views: 109
Last Chaos build deployme...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-08-2026, 11:14 AM
» Replies: 0
» Views: 64
Last Chaos global server ...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-07-2026, 07:01 PM
» Replies: 0
» Views: 24
EP-2/EP-3 Mixed files
Forum: Archived General Server Releases
Last Post: TeKnodE
01-06-2026, 09:53 PM
» Replies: 1
» Views: 288

 
  Help me in npc please.
Posted by: cyberjack - 07-10-2011, 12:25 AM - Forum: General Discussion - No Replies


could someone help me?

 

How can I create NPC items and put them

Print this item

  [PHP] Dual-Class Rankings
Posted by: Sycohazza - 07-09-2011, 12:18 AM - Forum: Emulation Guides - Replies (7)


DEMO: 2

 

This is a rankings script to display the dual classes of players

 

class text color matches the color in game behind and weapon / armor icons

 

Must be above level 31 to be on rankings

 

 

 

 

[rankings.php]

 

<?php

//currently an example, change to your desired infomation
$dbuser = "user";
$dbpass = "pass";
$dbhost = "127.0.0.1";
$dbname = "lcep2";

//connect to database
$msconn = mysql_connect($dbhost, $dbuser, $dbpass);
$db = mysql_select_db($dbname, $msconn);
mysql_query("set names UTF8");

$q = mysql_query("SELECT a_level, a_class, a_charname, a_job FROM t_characters WHERE a_job>0 AND a_level>31 ORDER BY a_level DESC");
echo "</pre>
<table width="400" border="0" cellpadding="2" cellspacing="2">LevelNameClass</table>
<font color="#FF0000">Highlander</font>";} <br>elseif ($row["a_class"] == 0 && $row["a_job"] == 2 ) {$class = "<font color="#FF0000">Warmaster</font>";} <br><br>//knight<br>elseif ($row["a_class"] == 1 && $row["a_job"] == 1 ) {$class = "<font color="#0000FF">Royal Knight</font>";} <br>elseif ($row["a_class"] == 1 && $row["a_job"] == 2 ) {$class = "<font color="#0000FF">Templar Knight</font>";} <br><br>//Healer<br>elseif ($row["a_class"] == 2 && $row["a_job"] == 1 ) {$class = "<font color="#008000">Archer</font>";} <br>elseif ($row["a_class"] == 2 && $row["a_job"] == 2 ) {$class = "<font color="#008000">Cleric</font>";} <br><br>//Mage<br>elseif ($row["a_class"] == 3 && $row["a_job"] == 1 ) {$class = "<font color="#800080">Wizard</font>";} <br>elseif ($row["a_class"] == 3 && $row["a_job"] == 2 ) {$class = "<font color="#800080">Witch</font>";} <br><br>//Rogue<br>elseif ($row["a_class"] == 4 && $row["a_job"] == 1 ) {$class = "<font color="#FFA500">Assassin</font>";} <br>elseif ($row["a_class"] == 4 && $row["a_job"] == 2 ) {$class = "<font color="#FFA500">Ranger</font>";}<br><br>//Sorcerer<br>elseif ($row["a_class"] == 5 && $row["a_job"] == 1 ) {$class = "<font color="#9B30FF">Elementalist</font>";} <br>elseif ($row["a_class"] == 5 && $row["a_job"] == 2 ) {$class = "<font color="#9B30FF">Specialist</font>";} <br><br>//Nightshadow<br>elseif ($row["a_class"] == 6 && $row["a_job"] == 0 ) {$class = "NightShadow";}<br><br><br><br><br> echo "";<br> echo "<font size="3">".$row["a_level"]."</font>";<br> echo "<font size="3">".$row["a_charname"]."</font>";<br> echo "<font size="3">".$class."</font>";<br> }<br> echo "<br>";<br>?><br><b

 

 

 

if you want a to limit the amount of people to display

 

$q = mysql_query("SELECT a_level, a_class, a_charname, a_job FROM t_characters WHERE a_job>0 AND a_level>31 ORDER BY a_level DESC LIMIT 50");

 

 

notice

 

DESC LIMIT 50

Print this item

  [PHP] Registration form
Posted by: Sycohazza - 07-08-2011, 07:56 PM - Forum: Emulation Guides - Replies (16)


This is a simple form that allows you to register for lastchaos, fill in the dbuser, dbpass, dbhost and db name and your all set.

also youll want to change the message for welcome to pyrexiastudios lastchaos to your own server name

 

"

"you should change register2.php to the same page the that the form is on

 

 

DEMO: 2

 

Features

 

anti sql inject

username limit 15 (like the lastchaos username limit)

password has to be more than 6 characters

all fields must be filled in to register

 

Working on

No spaces in username

Must have @ and atleast 1 . in your email

 

 

updated for 00211

<?php

echo "Register";

$dbuser = "root";
$dbpass = "";
$dbhost = "127.0.0.1";
$dbname = "lcep2";

//Function to sanitize values received from the form. Prevents SQL injection
function clean($str) {
$str = @trim($str);
if(get_magic_quotes_gpc()) {
$str = stripslashes($str);
}
return mysql_escape_string($str);
}

//form data
$submit = strip_tags(@$_POST [submit]) ;

$username = clean(strip_tags(@$_POST [username])) ;

$password = clean(strip_tags(@$_POST [password])) ;
$repeatpassword = clean(strip_tags(@$_POST [repeatpassword])) ;

$email = strip_tags(@$_POST [email]) ;
$date = date("Y-m-d") ;

if ($submit)
{

//check for existance
if ($username&&$password&&$repeatpassword&&$email)
{
//password match
if ($password==$repeatpassword)
{
//opens database
$msconn = mysql_connect($dbhost, $dbuser, $dbpass);
$db = mysql_select_db($dbname, $msconn);
mysql_query("set names UTF8");

//Check for duplicate login ID
if($username != ) {
$qry = "SELECT * FROM t_users WHERE a_username=$username";
$result = mysql_query($qry);
if($result) {
if(mysql_num_rows($result) > 0)
{
echo Username already in use.;
}

else
{
//username and email lengh
if (strlen($username)>15||strlen($email)>30)
{
echo "lengh of Username or Email is too long!";
}

else
{
//check password lengh
if (strlen($password)>15||strlen($password)<6)
{
echo "Password must be between 6 and 15 characters";
}
else
{
//register the user

//open database

$queryreg = mysql_query("INSERT INTO t_users VALUES (,$username,$password,1,0,0,$email,$date,)");

die("You are now registered for PyrexiaStudios LastChaos");

}

}

}
}
}
}
else
echo "Your Passwords do not match!";

}
else
echo "Please fill in all of the fields!";
}

?>

</pre>
<table width="296">
Username:
 
>
   
Password:
 

   
Repeat Password:
 

   
Email:
 
>
  

 

</table>
<br><br><b

 

[special Thanks to Max for help with anti sql injection]

Print this item

  Is this ok ?
Posted by: izzendurri - 07-08-2011, 04:58 PM - Forum: General Discussion - Replies (7)


Hey is it ok, when i make a homepage and forum about the emulator ?

 

Link: 2

Link: 2

Print this item

  The end of the world
Posted by: Wrong - 07-08-2011, 03:54 PM - Forum: General Discussion - Replies (4)


lol looni there are the clouds I edited DX

 

Print this item

  Pre-modded Full Client
Posted by: Sutz - 07-08-2011, 10:30 AM - Forum: Client Side - Replies (35)


Ok I get alot of people asking how to get the client working even after looking at the guide so thought id make it simple an upload a fully working pre-modded client.

 

Whats in client:

LC777 full update

Englsh patch (newest)

Multi client patch

Wizateks patch (newest)

Xtrap removed

Launcher removed

Connects to demo server IP

Added a game starter .bat

Server list renamed to: Katar-Demo Server

 

Client size is 1GB Zipped!!

 

2

This Client is for 0.0211 Server Release

 

2

This Client is for 0.0301 Server Release (Server files not released yet)

 

---------------

If you wish you can use this client on any emu server by Wizatek all you need to do is download the IP changer put it in the client DIR run an change the IP an the client will connect to the new IP of your choice.

Print this item

  Forum Ranks
Posted by: pako71 - 07-07-2011, 02:44 PM - Forum: General Discussion - Replies (13)


I made the rank of the forum here I think I will likeSmile

 

download here

2

 

2

 

I mean such rankSmile

 

preview

 

2

Print this item

  In-game Monsters icon (maps)
Posted by: LooniboonS - 07-07-2011, 11:51 AM - Forum: General Discussion - Replies (20)


Hello forum users and Wizatek lovers!

 

Me and Wiz have been talking about adding Monsters icon on the maps (in-game) to the emulator.

The thing is, i do think this is nice and useful at some time. I also think this is something Last Chaos is missing so i thought i came up with the idea and Wizatek did like it. But do you? Would you like to have this in-game?

 

Example: Juno Map

 

We would be greatful for your honestly.

 

/ LooniboonS

Print this item

  GM Commands
Posted by: Wizatek - 07-06-2011, 11:35 PM - Forum: General Discussion - Replies (48)


Hi Smile

 

I want to make the ability a GM has really huge.

The current GM possibilities on official servers are very limited.

 

 

 

What command do u think would be good or fun to add ?

 

please describe the command, and what the command should do

Print this item

  [PHP] t_item display class, armor and weapon for website
Posted by: Sycohazza - 07-06-2011, 07:33 PM - Forum: Emulation Guides - Replies (14)


DEMO: 2

 

VERSION 2.1 ADDED

Fixed Image Links

 

VERSION 2 ADDED

Added icons

Added Nighshadow

Changed table width to 600

Rearranged the order of the titles

changed the language from England English to American English

 

(OLD) VERSION 1

This is like Maxs but more categorized into class / weapon / armor

Easily integrated into a website

 

Guide to intergrating into your website

edit config.php to desired ip, DB user, DB pass & database name

Take everything from display.php file and place it where you want on your website

copy all files apart from display.php (you dont want to overwrite your current index.php)into the same directory as the page that it will be displaying on

Note: if you you want this on a page not called index.php. in deisplay.php do a find and replace on index.php and replace all to your file name

 

 

Download

file to large for attatchment.

 

Version 2.1

2

 

Version 2.1 Patch [ if you already had v2 and need to patch over it ]

2

 

 

[special Thanks to Wizatek for the auto icon list]

Print this item