Homes script register [PHPRetro Addon]

Status
Not open for further replies.
Socius Decennalis
Decennium
Joined
May 4, 2007
Messages
63
Reaction score
3
Hi there!

I have made a script thats making your home when you register

*Open: register.php
Search for:

Code:
$db->query("INSERT INTO ".PREFIX."transactions (userid,time,amount,descr) VALUES ('".$row[0]."','".time()."','".$scredits."','Welcome to " . $sitename . "!')");

Paste after it:

Code:
$db->query("INSERT INTO ".PREFIX."homes (ownerid,itemid,x,y,z,skin,location) VALUES ('".$row[0]."','101','482','86','3','defaultskin','0')");
$db->query("INSERT INTO ".PREFIX."homes (ownerid,itemid,x,y,z,skin,location) VALUES ('".$row[0]."','107','485','352','6','defaultskin','0')");
$db->query("INSERT INTO ".PREFIX."homes (ownerid,itemid,x,y,z,skin,location) VALUES ('".$row[0]."','105','70','290','9','defaultskin','0')");    }

Image: Down

Greetz, MrLerwa
 
Last edited:
Re: PHPRetro Homes script registrer

Hi there!

I have made a script thats making your home when you registrer
Demo: (Dutch)

*Open: register.php
Search for:

Code:
$db->query("INSERT INTO ".PREFIX."transactions (userid,time,amount,descr) VALUES ('".$row[0]."','".time()."','".$scredits."','Welcome to " . $sitename . "!')");

Paste after it:

Code:
$db->query("INSERT INTO ".PREFIX."homes (ownerid,itemid,x,y,z,skin,location) VALUES ('".$row[0]."','101','482','86','3','defaultskin','0')");
$db->query("INSERT INTO ".PREFIX."homes (ownerid,itemid,x,y,z,skin,location) VALUES ('".$row[0]."','107','485','352','6','defaultskin','0')");
$db->query("INSERT INTO ".PREFIX."homes (ownerid,itemid,x,y,z,skin,location) VALUES ('".$row[0]."','105','70','290','9','defaultskin','0')");    }

Image:


I have a Dutch translation :P

Greetz, MrLerwa

Sorry for bad English Im Dutch :ott1:

nice

8/10
 
Re: PHPRetro Homes script registrer

Demo is down again but, i still don't understand this.
Mischien als je het uitlegt in nederlands zegt snap ik het :P
( Maybe if you say it in dutch i could understand it)
 
Hey, I've got a question or a problem with the page. The script is great and works. However, I'd have another problem.

This validation comes to the section "Name" I've completely erased, but I still can not have an account with the name "MOD" Create in me at the hotel. Can someone help me there?
 
You can't you need to work with SQL/Phpmyadmin then it can!
You need to export the user you want
You need the same id in users as cms_users
Only change the name and id to MOD- and a id that doensn't exist
Then it works!
 
You can't you need to work with SQL/Phpmyadmin then it can!
You need to export the user you want
You need the same id in users as cms_users
Only change the name and id to MOD- and a id that doensn't exist
Then it works!
Yes, I know.

I already made it just as you described it. Create a new account with a new ID and also in cms_users. Still the same problem arises continually. As soon as I log in I want to come: "Nick or password incorrect".

So I can not log in at all, even though the account exists in the database
 
Yes, I know.

I already made it just as you described it. Create a new account with a new ID and also in cms_users. Still the same problem arises continually. As soon as I log in I want to come: "Nick or password incorrect".

So I can not log in at all, even though the account exists in the database

Who can help me with my problem?
 
Who can help me with my problem?

I do know where the mod validation is! It's in the habblet folder en then open ajax_namecheck.php change MOD- to VIP- or something and make an account then change it back to protect :)
People i am also working at an archievements system v25+ and automatic bobba ban system!

Greetz, Mr.Lerwa
 
Status
Not open for further replies.
Back