Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Homes script register [PHPRetro Addon]

Status
Not open for further replies.
Newbie Spellweaver
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:
Newbie Spellweaver
Joined
Sep 26, 2009
Messages
47
Reaction score
1
Re: PHPRetro Homes script registrer

Nice i've been looking for this !
 
Newbie Spellweaver
Joined
May 4, 2007
Messages
63
Reaction score
3
Re: PHPRetro Homes script registrer

Thats right sorry, i am at school my server is going online about 8 hours :p
 
Newbie Spellweaver
Joined
Dec 19, 2007
Messages
24
Reaction score
0
Re: PHPRetro Homes script registrer

Which file I need to change?
register.php ?
 
Newbie Spellweaver
Joined
May 4, 2007
Messages
63
Reaction score
3
Re: PHPRetro Homes script registrer

Oops forgotten :p Yes it is register.php

Screenie added
 
Last edited:
What about no.
Joined
Nov 7, 2009
Messages
423
Reaction score
210
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 :eek:tt1:

nice

8/10
 
Newbie Spellweaver
Joined
Apr 17, 2007
Messages
89
Reaction score
2
Re: PHPRetro Homes script registrer

sunniehotel, sunnieday, who stole the name from who, lol

nice i suppose
 
Developer
Loyal Member
Joined
Jul 28, 2009
Messages
983
Reaction score
133
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)
 

Mhm

Newbie Spellweaver
Joined
Apr 6, 2009
Messages
5
Reaction score
0
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?
 
Newbie Spellweaver
Joined
May 4, 2007
Messages
63
Reaction score
3
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!
 

Mhm

Newbie Spellweaver
Joined
Apr 6, 2009
Messages
5
Reaction score
0
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
 

Mhm

Newbie Spellweaver
Joined
Apr 6, 2009
Messages
5
Reaction score
0
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?
 
Newbie Spellweaver
Joined
May 4, 2007
Messages
63
Reaction score
3
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
Top