[REL] Random PHP old school client! [EASY]

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
This is in the CMS releases since it's partly a CMS page? But old school, if moderators have a problem you can move it!

Alright, so I got bored and might make a old school, but I did an easy to configure old school PHP client. (Doesn't need MYSQL).

I left in the DCRS,VARIABLES and TEXTS, as some people have an hard time finding them, also I left in some decent ports for you to use.

The other bits just fill in your information, here is the file code, save it as index.php (or anything else you want).

PHP:
<?php
// info for the client // I'l leave you the mus ports.
$musport = '30001';
$infoport = '1232';
$clientreloadurl = 'the reload url';
$connectioninfohost = 'your hamachi/normal IP address';

// dcrs // I'l leave them DCRS there for you.
$dcr = 'http://www.alexgroup27.com.ve/dcrsall/V18/habbo.dcr';
$texts = 'http://flux-hotel.webs.com/external_texts.txt';
$variables = 'http://kevooo.webs.com/var.txt';

// hotel information
$hotelname = 'Your Hotel Name!';
?>

<center><?php echo "$hotelname"; ?></center>
<center>
	<object classid='clsid:166B1BCA-3F9C-11CF-8075-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0' id='habbo' width='720' height='540'>

      <param name='src' value='<?php echo "$dcr"; ?>'>

      <param name='swRemote' value='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true' '>

      <param name='swStretchStyle' value='none'>

      <param name='swText' value=''>

      <param name='bgColor' value='#000000'>

      <param name='sw6' value='external.texts.txt=<?php echo "$texts"; ?>'>

      <param name='sw2' value='connection.info.host=<?php echo "$connectioninfohost"; ?>;connection.info.port=<?php echo "$infoport"; ?>'>

      <param name='sw4' value='connection.mus.host=game.habbohotel.nl;connection.mus.port=30001'>

      <param name='sw3' value='client.reload.url=<?php echo "$clientreloadurl"; ?>'>

      <param name='sw1' value='site.url=http://www.habbohotel.nl;url.prefix=http://www.habbohotel.nl'>

      <param name='sw5' value='external.variables.txt=<?php echo "$variables"; ?>'>

      <embed src='<?php echo "$dcr"; ?>' bgColor='#000000' width='720' height='540' swRemote='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true'' swStretchStyle='none' swText='' type='application/x-director' pluginspage='http://www.macromedia.com/shockwave/download/' sw6='external.texts.txt=<?php echo "$texts"; ?>' sw2='connection.info.host=<?php echo "$connectioninfohost"; ?>;connection.info.port=<?php echo "$infoport"; ?>' sw4='connection.mus.host=game.habbohotel.nl;connection.mus.port=30001' sw3='client.reload.url=<?php echo "$clientreloadurl"; ?>' sw1='site.url=http://www.habbohotel.co.uk;url.prefix=http://www.habbohotel.co.uk' sw5='external.variables.txt=<?php echo "$variables"; ?>'>

      </embed>

    </object></center>

- Enjoy.
 

Jordon

New Member
Nov 28, 2010
38
0
Thanks Craig, Finally A Loader That Works, Also May I Ask How Do I Add My Own Custom Furni For It To Work On It?
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
Thanks guys @ Jordan, use your own DCRS and add the furni to the server + CCTS to the DCRS.
 

Dayron1234

Rapnameiszero,cuzIhavezero,toleranceforidiots
Jun 30, 2010
772
35
Nice craig never knew you can make a old school client in PHP plus I believe this is one safe to stop hackers?
 

vLife

New Member
Dec 18, 2010
21
0
Nice craig never knew you can make a old school client in PHP plus I believe this is one safe to stop hackers?

Yes, you ever could of done this.
As for stoping hackers you would be meaning scripters. Which has to do with the server itself.
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Easy and excellent idea, all clients should be like this to be honest, safes the effort of looking for where to put the DCRs links, etc..
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
@Kryptos that's why I did it, thought, meh will save time for future hotels lol.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
Not my DCR's ^^, were just to test if the client had worked, xD.
 

Jeisa

Member
May 4, 2011
112
2
Can you use a MUS Port in Old school for a character to be updated instantly? For example: Giving badges, how do you make it so the changes take effect instantly?
 

Jeisa

Member
May 4, 2011
112
2
How can i make it that it doesn't show the dcr links?#palmface#


Use this script, add it to the <BODY> part of your file. Creds:
<script language=JavaScript>
<!--

//Disable right click script III- By Renigade ([email protected])
//For full source code, visit

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!docum ent.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>
 

Users who are viewing this thread

Top