Please verify you are human

[Release] Aion Scripte
  Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Aion > Aion Private Server
You last visited: Today at 04:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Aion Scripte

Discussion on [Release] Aion Scripte within the Aion Private Server forum part of the Aion category.

Reply
 
Old   #1
 
Aimsharp[EU]'s Avatar
 
elite*gold: 112
Join Date: Aug 2011
Posts: 183
Received Thanks: 52
[Release] Aion Scripte

Hier werde ich alle kleinen Scripte Releasen die mir so einfallen und ich erstellt habe.
Quote:
Das hier ist eure Config datei. Diese müsst Ihr nur einmal erstellen da sie für die weiteren Scripte ebenfalls genutzt wird.
PHP Code:
<?php
/***
* Mysql Connection
*/

    
define('DB_HOST''localhost');                 // Host IP (Standart: localhost)
    
define('DB_USER''root');                             // MySQL Username 
    
define('DB_PASS''');                                    // MySQL Passwort
    
define('DB_NAME''');                 // MySQL Datenbank
    
define('DB_GAME''ac_server_gs');            // Gameserver Datenbank
    
define('DB_LOGIN' ,'ac_server_ls');            // Loginserver Datenbank
    
    
$options = array(
        
PDO::ATTR_ERRMODE                                     => PDO::ERRMODE_WARNING,
        
PDO::ATTR_STRINGIFY_FETCHES                    => false,
        
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY     => true,
        
PDO::MYSQL_ATTR_INIT_COMMAND                 => 'SET NAMES utf8'
    
);
    
$connection = new PDO('mysql:host='.DB_HOST.';dbname='.DB_NAMEDB_USERDB_PASS$options);

?>

Quote:
Dieses Script ist eine User Rekord + User Online anzeige.
Das hier in die PHP datei in der die anzeige ausgelesen werden soll.
PHP Code:
<?php
/***
* Mysql Connection
*/

    
define('DB_HOST'    ,     'localhost');                 // Host IP (Standart: localhost)
    
define('DB_USER'    ,     'root');                             // MySQL Username 
    
define('DB_PASS'    ,     '');                                    // MySQL Passwort
    
define('DB_NAME'    ,     'votesystem');                 // MySQL Datenbank
    
define('DB_GAME'    ,     'ac_server_gs');            // Gameserver Datenbank
    
define('DB_LOGIN' ,        'ac_server_ls');            // Loginserver Datenbank
    
    
$options = array(
        
PDO::ATTR_ERRMODE                                     => PDO::ERRMODE_WARNING,
        
PDO::ATTR_STRINGIFY_FETCHES                    => false,
        
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY     => true,
        
PDO::MYSQL_ATTR_INIT_COMMAND                 => 'SET NAMES utf8'
    
);
    
$connection = new PDO('mysql:host='.DB_HOST.';dbname='.DB_NAMEDB_USERDB_PASS$options);
    
/***
* Script
*/
    
$sql         'SELECT * FROM '.DB_GAME.'.`players` WHERE `online` = 1';
    
$stm         $connection->query($sql);
    
$online    $stm->rowCount();
    
    
$sql        'SELECT * FROM '.DB_NAME.'.`log_max` WHERE `id` = 1';
    
$stmRec    =    $connection->query($sql);
    
$ds            $stmRec->fetch(PDO::FETCH_ASSOC);
    
$maxRec =    $ds['max'];
    
    if(
$online >= $maxRec
    {
        
$connection->query('UPDATE '.DB_NAME.'.`log_max` SET `max` = '.$online.'');
    }

    
/***
    * String $online = All actually online users
    * String $maxRec = Record users on your Server
    */
?>
Players Online: <?php echo $online?> (Record: <?php echo $maxRec?>)
Viel spaß beim nutzen .


Mit dem nächsten Script könnt Ihr auslesen welches Item bei welchen Mobs droppt.
Sprich. ID oder Name von Item eingeben und Name von Mob bekommen der es dropt.

Release in den nächsten Tagen.

MfG
Aimsharp[EU] is offline  
Reply


Similar Threads Similar Threads
[Release] Unpacked Aion binaries version 1.5.1.10 (aion.bin, crysystem.dll, game.dll)
06/19/2010 - Aion Hacks, Bots, Cheats & Exploits - 3 Replies
Here are the unpacked binaries of the Aion version 1.5.1.10 which some private servers use. The files were unpacked by me. Protection used was Winlicense/Themida. Just copy the binaries into the "bin32" folder in your Aion directory and do what ever you like. Anti-virus sofware may alarm, don't worry the files are clean. The false positive is probably caused by Themida. I left the game.dll untouched with all the sections Themida left that's why the size is so big. I didn't clean...



All times are GMT +1. The time now is 04:19.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.