Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[REL] AfterCMS | Plus Emulator | PHP7
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="richtheclever" data-source="post: 417781" data-attributes="member: 59189"><p><strong>Hello guys, so i put everything in htdocs folder and edited the config and client but when i try to log in, i can't, it always says invalid username or password. can anyone help me please?</strong></p><p><strong>its like this:</strong> <a href="http://prntscr.com/gfr256" target="_blank">http://prntscr.com/gfr256</a></p><p></p><p><strong>Second thing is, please have a look at my client.php too just in case i cannot enter client when the problem above fixed.</strong></p><p><strong>thanks in advance!</strong></p><p></p><p><strong>This is my config.php</strong></p><p><?php</p><p></p><p>$main = (object) array(</p><p> "path" => "<a href="http://IP" target="_blank"><span style="color: #ff0000">http://IP</span></a>", # Sin / al final</p><p> "title" => "<span style="color: #ff0000">TITLE</span>",</p><p> "swf" => "<a href="http://IP/swf" target="_blank"><span style="color: #ff0000">http://IP/swf</span></a>",</p><p> "baseURL" => "<a href="http://IP/swf/gordon/PRODUCTION-201701242205-837386173/" target="_blank"><span style="color: #ff0000">http://IP/swf/gordon/PRODUCTION-201701242205-837386173/</span></a>",</p><p> "min_rank" => "6",</p><p> "fb_account" => "MemesAhora",</p><p></p><p> "mysql" => array(</p><p> "host" => "localhost",</p><p> "db" => "<span style="color: #ff0000">dbname</span>",</p><p> "user" => "root",</p><p> "pass" => "",</p><p> )</p><p>);</p><p></p><p>?></p><p></p><p><strong>This is my client.php</strong></p><p><?php</p><p> </p><p>require 'protected/environment.php';</p><p></p><p>if(!is_logged()){</p><p> header("Location: ".$config->path."/");</p><p>}</p><p></p><p>$ip = getRealIP();</p><p></p><p>$ticket = 'Habbot-'.rand(9,999).'/'.substr(sha1(time()).'/'.rand(9,9999999).'/'.rand(9,9999999).'/'.rand(9,9999999),0,33);</p><p></p><p>$query = $db->query("UPDATE users SET auth_ticket='".$ticket."', ip_last='".$ip."' WHERE id='".$row['id']."'");</p><p></p><p>?></p><p><!DOCTYPE html></p><p><html lang="en"></p><p><head></p><p> <meta charset="UTF-8"></p><p> <title><?=$main->title;?>: Jugar</title></p><p> <link rel="stylesheet" href="<?=$main->path;?>/public/css/client.css" type="text/css"></p><p> <link rel="shortcut icon" href="<?=$main->path;?>/favicon.gif"></p><p> <script type="text/javascript" src="<?=$main->path;?>/public/js/swfobject.js"></script></p><p></head></p><p><body></p><p> <script type="text/javascript"></p><p> var BaseUrl = "<?=$main->baseURL;?>";</p><p> var flashvars =</p><p> {</p><p> "client.starting" : "Espere por favor, <?=$main->title;?> está cargando",</p><p> "client.allow.cross.domain" : "1",</p><p> "client.notify.cross.domain" : "0",</p><p> "connection.info.host" : "<?=$main->mysql['<span style="color: #ff0000">IP</span>'];?>",</p><p> "connection.info.port" : "30000",</p><p> "site.url" : "<?=$main->path;?>",</p><p> "url.prefix" : "<?=$main->path;?>",</p><p> "hotelview.banner.url" : "<?=$main->path;?>/game/rs4.php",</p><p> "client.reload.url" : "<?=$main->path;?>/client.php",</p><p> "client.fatal.error.url" : "<?=$main->path;?>/client.php",</p><p> "client.connection.failed.url" : "<?=$main->path;?>/client.php",</p><p> "external.variables.txt" : "<?=$main->swf;?>/gamedata/external_variables.txt",</p><p> "external.texts.txt" : "<?=$main->swf;?>/gamedata/external_flash_texts.txt",</p><p> "productdata.load.url" : "<?=$main->swf;?>/gamedata/productdata.txt",</p><p> "furnidata.load.url" : "<?=$main->swf;?>/gamedata/furnidata.xml",</p><p> "use.sso.ticket" : "1",</p><p> "sso.ticket" : "<?=$ticket; ?>",</p><p> "processlog.enabled" : "0",</p><p> "flash.client.url" : BaseUrl,</p><p> "flash.client.origin" : "popup",</p><p> "forward.type" : "2",</p><p> "forward.id" : "<?php if(isset($_GET['room'])){echo $_GET['room'];}?>",</p><p> };</p><p> var params =</p><p> {</p><p> "base" : BaseUrl + "/",</p><p> "allowScriptAccess" : "always",</p><p> "menu" : "false" </p><p> };</p><p> swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);</p><p> </script></p><p></p><p><div id="client"></div></p><p></body></p><p></html></p><p></p><p><span style="color: #000000">The ones in </span><span style="color: #ff0000"><strong>RED</strong></span><span style="color: #000000"> color are the one that i changed. Also my db password is none, so i left it empty.</span></p></blockquote><p></p>
[QUOTE="richtheclever, post: 417781, member: 59189"] [B]Hello guys, so i put everything in htdocs folder and edited the config and client but when i try to log in, i can't, it always says invalid username or password. can anyone help me please? its like this:[/B] [URL]http://prntscr.com/gfr256[/URL] [B]Second thing is, please have a look at my client.php too just in case i cannot enter client when the problem above fixed. thanks in advance![/B] [B]This is my config.php[/B] <?php $main = (object) array( "path" => "[URL='http://IP'][COLOR=#ff0000]http://IP[/COLOR][/URL]", # Sin / al final "title" => "[COLOR=#ff0000]TITLE[/COLOR]", "swf" => "[URL='http://IP/swf'][COLOR=#ff0000]http://IP/swf[/COLOR][/URL]", "baseURL" => "[URL='http://IP/swf/gordon/PRODUCTION-201701242205-837386173/'][COLOR=#ff0000]http://IP/swf/gordon/PRODUCTION-201701242205-837386173/[/COLOR][/URL]", "min_rank" => "6", "fb_account" => "MemesAhora", "mysql" => array( "host" => "localhost", "db" => "[COLOR=#ff0000]dbname[/COLOR]", "user" => "root", "pass" => "", ) ); ?> [B]This is my client.php[/B] <?php require 'protected/environment.php'; if(!is_logged()){ header("Location: ".$config->path."/"); } $ip = getRealIP(); $ticket = 'Habbot-'.rand(9,999).'/'.substr(sha1(time()).'/'.rand(9,9999999).'/'.rand(9,9999999).'/'.rand(9,9999999),0,33); $query = $db->query("UPDATE users SET auth_ticket='".$ticket."', ip_last='".$ip."' WHERE id='".$row['id']."'"); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title><?=$main->title;?>: Jugar</title> <link rel="stylesheet" href="<?=$main->path;?>/public/css/client.css" type="text/css"> <link rel="shortcut icon" href="<?=$main->path;?>/favicon.gif"> <script type="text/javascript" src="<?=$main->path;?>/public/js/swfobject.js"></script> </head> <body> <script type="text/javascript"> var BaseUrl = "<?=$main->baseURL;?>"; var flashvars = { "client.starting" : "Espere por favor, <?=$main->title;?> está cargando", "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "0", "connection.info.host" : "<?=$main->mysql['[COLOR=#ff0000]IP[/COLOR]'];?>", "connection.info.port" : "30000", "site.url" : "<?=$main->path;?>", "url.prefix" : "<?=$main->path;?>", "hotelview.banner.url" : "<?=$main->path;?>/game/rs4.php", "client.reload.url" : "<?=$main->path;?>/client.php", "client.fatal.error.url" : "<?=$main->path;?>/client.php", "client.connection.failed.url" : "<?=$main->path;?>/client.php", "external.variables.txt" : "<?=$main->swf;?>/gamedata/external_variables.txt", "external.texts.txt" : "<?=$main->swf;?>/gamedata/external_flash_texts.txt", "productdata.load.url" : "<?=$main->swf;?>/gamedata/productdata.txt", "furnidata.load.url" : "<?=$main->swf;?>/gamedata/furnidata.xml", "use.sso.ticket" : "1", "sso.ticket" : "<?=$ticket; ?>", "processlog.enabled" : "0", "flash.client.url" : BaseUrl, "flash.client.origin" : "popup", "forward.type" : "2", "forward.id" : "<?php if(isset($_GET['room'])){echo $_GET['room'];}?>", }; var params = { "base" : BaseUrl + "/", "allowScriptAccess" : "always", "menu" : "false" }; swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null); </script> <div id="client"></div> </body> </html> [COLOR=#000000]The ones in [/COLOR][COLOR=#ff0000][B]RED[/B][/COLOR][COLOR=#000000] color are the one that i changed. Also my db password is none, so i left it empty.[/COLOR] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[REL] AfterCMS | Plus Emulator | PHP7
Top