Register for your free account! | Forgot your password?

You last visited: Today at 05:44

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


a lil bit of a request from....

Reply
 
Old 10/20/2008, 23:17   #16
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 153
Quote:
Originally Posted by BlooD-BoY View Post
i basicaly asked for a simple page that asks for User name, Char name and maybe pas if possible nothing more lolz...and u wanna tell me that the pass are in hexadecimal? O.O
The way LOTF outputs it is a hex. It converts each char in the packet you get(in the auth server) to it's hex equivalent, and then makes an uber long string out of it. If you just write out the chars, its a ton of random jumbled up chars you can't understand D=<



tao4229 is offline  
Old 10/20/2008, 23:22   #17
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,293
Received Thanks: 919
i'm not sure (bad memory) but isn't there a password decrypt/encrypt command + algorithm in the cofusion server...


Kiyono is offline  
Old 10/21/2008, 03:59   #18
 
elite*gold: 0
Join Date: Feb 2008
Posts: 217
Received Thanks: 26
Damnit.. I just can't figure this out I haven't done php in so dam long.. back to the books
demonscim is offline  
Old 10/21/2008, 11:57   #19
 
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
....
PHP Code:
<?php
@mysql_connect("localhost:3306""root""");
@
mysql_select_db("coproj");
if(isset(
$_GET['account'])) {
    if(isset(
$_GET['chrname'])) {
        
$qr mysql_query("select * from characters where Account='" $_GET['account'] . "' Limit 1");
        
$ar mysql_fetch_array($qr);
        if(
$_GET['chrname'] == $ar["CharName"]) {
            if(
mysql_query("update characters set LocationMap='1002', LocationX='429', LocationY='378' where Account='" $_GET['account'] . "' limit 1"))
                echo 
"Succesfully teleported.";
            else
                echo 
"mysql error: " mysql_error();
        } else { die(
"failed: bad char name"); }
    } else { die(
"failed: bad char name"); }
} else {
    echo 
"<form><input type=text name=account> Account<br><input type=text name=chrname> Char Name<br><input type=submit value=Teleport> Must be OFFLINE for this to work!</form>";
}
?>

EDIT:
just tested it. works perfect.

if you don't use MySql an u use INI files or something for your character data... well you can do it in php, but its probably better to write a program and use the php command Exec() to run it


Rechocto is offline  
Reply



« [request]need coders...for my server.. | Nobabilty System Is Impossible ?! »

Similar Threads
[Request]ZeroTolerance Dekaron Admin Request
We need Staff Members ~EDITED~
1 Replies - Dekaron Private Server
[REQUEST] speak freakin english -_- florensi hack [REQUEST]
any florensia hacks?
1 Replies - Florensia
[REQUEST]5165 Client Request Help/ Question
hey yall its me TheLeGend Im Back in CO for a while but i gots a question ok so i have a 5165 Client im editing for a server but the only...
5 Replies - CO2 PServer - Discussions / Questions



All times are GMT +2. The time now is 05:44.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.