| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 3,909
» Latest member: artemde96
» Forum threads: 5,153
» Forum posts: 41,375
Full Statistics
|
| Online Users |
There are currently 77 online users. » 0 Member(s) | 76 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: 614
|
All in One Exporter
Forum: Tools
Last Post: Kain88
01-25-2026, 07:04 AM
» Replies: 4
» Views: 436
|
HELP! ReZasCashServer It ...
Forum: Ep4 Support
Last Post: Kain88
01-24-2026, 03:24 PM
» Replies: 2
» Views: 169
|
Hi, does anyone know the ...
Forum: Help
Last Post: Desarija
01-21-2026, 11:29 AM
» Replies: 1
» Views: 115
|
LastChaos Nemesis
Forum: Server Advertising
Last Post: Desarija
01-20-2026, 04:06 PM
» Replies: 3
» Views: 238
|
Looking for EP4 Guidance
Forum: General Discussion
Last Post: xHypnosiaa
01-19-2026, 08:33 AM
» Replies: 1
» Views: 172
|
We're in need of creative...
Forum: Project Recruitment
Last Post: RGT
01-16-2026, 12:48 AM
» Replies: 0
» Views: 119
|
Last Chaos build deployme...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-08-2026, 11:14 AM
» Replies: 0
» Views: 78
|
Last Chaos global server ...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-07-2026, 07:01 PM
» Replies: 0
» Views: 33
|
EP-2/EP-3 Mixed files
Forum: Archived General Server Releases
Last Post: TeKnodE
01-06-2026, 09:53 PM
» Replies: 1
» Views: 298
|
|
|
| Please help with npsk.exeand updater |
|
Posted by: Pofmuis - 05-06-2012, 06:17 AM - Forum: General Discussion
- Replies (2)
|
 |
Hi there, server login and game login work, so does register page. but when i try to log into account. failed.... and where do i find upfater for xampp... ? I would greatly appreciate it.
|
|
|
| TUTORIAL FOR ADD Swift Horse Diesel |
|
Posted by: RomainLastChaos - 05-04-2012, 02:52 PM - Forum: Ep1 Guides
- Replies (20)
|
 |
ok so i will help guys for add him
1 download it-> 2
2 go to data folder of your client
3 merge the NPC with your NPC after he said remplace it remplace
4 go ingame drop /itemdrop 1707 after make the quest
5 use the command /petlevelup 37
6 mount him and can see are Selto
if i have helped you press the button Thanks
(And sorry for my bad english )
d
|
|
|
| Version Editor |
|
Posted by: SkySin - 05-04-2012, 01:26 AM - Forum: Tools
- Replies (13)
|
 |
Nothing special edits your vtm.brn file quick and easy. Requires no runtimes.
You can download it at
2
|
|
|
| Safe registration script |
|
Posted by: Wizatek - 05-02-2012, 09:43 PM - Forum: Ep1 Websites
- Replies (21)
|
 |
Hi.
I seen a lot of PHP scripts that access the database in a unsafe way, giving hackers way to much information or maybe even access to your database.
To prevent this from happening i wrote this script to make the user registration a lot more secure.
<?php
// Settings to change
$conf['db']['server'] = '';
$conf['db']['dbase'] = '';
$conf['db']['user'] = '';
$conf['db']['pass'] = '';
// Set this to true if u want to use encrypted passwords in the database.
// Your Engine.dll must support this in order to set it to true.
// Its highly recommended to use it
$conf['use_encryption'] = false;
// Dont change below here unless u know what u are doing -------------------------------------------------------------------
$conf['db']['dsn'] = sprintf("mysql:host=%s;dbname=%s", $conf['db']['server'], $conf['db']['dbase']);
try
{
$db = new PDO($conf['db']['dsn'], $conf['db']['user'], $conf['db']['pass']);
}
catch(PDOException $e)
{
die('Error connecting to the databaseRegistration is not possible at this moment.');
}
if( isset( $_POST['submit'] ) )
{
if( strlen( $_POST['username'] ) < 3 || strlen( $_POST['username'] ) > 15 )
echo 'Pick a username between 3 and 15 characters long';
elseif( !ctype_alnum( $_POST['username'] ) )
echo 'Please use only alfanumeric characters as username ( a-Z 0-9 )';
elseif( strlen( $_POST['pass1'] ) < 3 || strlen( $_POST['pass1'] ) > 15 )
echo 'Pick a password between 3 and 15 characters long';
elseif( strcmp( $_POST['pass1'] , $_POST['pass2'] ) != 0 )
echo 'Please use 2x exactley the same passwords';
else
{
$dbh = $db->prepare("SELECT count(*) FROM bg_user WHERE user_id = :userid");
$dbh->bindParam(':userid', $_POST['username'], PDO: ARAM_STR);
$dbh->execute();
$result = $dbh->fetch();
if( $result[0] != 0 )
echo 'Username already takenPlease choose another name';
else
{
( $conf['use_encryption'] ? $pass = md5( $_POST['pass1'] ) : $pass = $_POST['pass1'] )
$dbh = $db->prepare("INSERT INTO bg_user (user_id,passwd) VALUES(:userid,:passwd)");
$dbh->bindParam(':userid', $_POST['username'], PDO: ARAM_STR);
$dbh->bindParam(':passwd', $pass , PDO: ARAM_STR);
$dbh->execute();
echo 'Your account is created.';
}
}
}
else
echo
'
<form method="post">
<table>
<tr>
<td>Username</td>
<td><input type="text" name="username" /></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="pass1" /></td>
</tr>
<tr>
<td>Password (again)</td>
<td><input type="password" name="pass2" /></td>
</tr>
<tr>
<td> colspan="2"><input type="submit" name="submit" value="Register" /></td>
</tr>
</table>
</form>
';
?>
|
|
|
|