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!

Change nick php script

Status
Not open for further replies.
Junior Spellweaver
Joined
Jul 5, 2007
Messages
181
Reaction score
9
Hello everyone there, i have nothing to say you all, test and report bugs.

=Master= , please check my code if there is something wrong fix it and share with people, i did my best.

Credits : Kudo^
 

Attachments

You must be registered for see attachments list
Experienced Elementalist
Joined
Jun 24, 2005
Messages
287
Reaction score
41
Re: [Release] Change nick php script

Thanks Brat.. testing :)
 
Divine Celestial
Loyal Member
Joined
Aug 24, 2007
Messages
890
Reaction score
5
Re: [Release] Change nick php script

SSS? Please.. i wanna see Example can you put SSS Please
 
Skilled Illusionist
Joined
May 6, 2006
Messages
330
Reaction score
1
Re: [Release] Change nick php script

Is not good, if u change nick, all characters nick will have same nick like the one you change

PHP:
	$query4 = mssql_query("UPDATE AccountCharacter SET GameID1 = '$newnick' WHERE GameID1 = '$oldnick' AND Id = '$login'");
	$query5 = mssql_query("UPDATE AccountCharacter SET GameID2 = '$newnick' WHERE GameID2 = '$oldnick' AND Id = '$login'");
	$query6 = mssql_query("UPDATE AccountCharacter SET GameID3 = '$newnick' WHERE GameID3 = '$oldnick' AND Id = '$login'");
	$query7 = mssql_query("UPDATE AccountCharacter SET GameID4 = '$newnick' WHERE GameID4 = '$oldnick' AND Id = '$login'");
	$query8 = mssql_query("UPDATE AccountCharacter SET GameID5 = '$newnick' WHERE GameID5 = '$oldnick' AND Id = '$login'");
	$query9 = mssql_query("UPDATE AccountCharacter SET GameIDC = '$newnick' WHERE GameIDC = '$oldnick' AND Id = '$login'");
 
Custom Title Activated
Loyal Member
Joined
Sep 10, 2006
Messages
5,265
Reaction score
47
Re: [Release] Change nick php script

first u need to get GameID from the char name,, and use the "IF" :D
 
Kingdom of Shadows
Loyal Member
Joined
Jul 13, 2007
Messages
923
Reaction score
320
Re: [Release] Change nick php script

i will try to fix it,if i will have time tomorrow will be ready
P.S: nice idea kudo
 
Newbie Spellweaver
Joined
Aug 16, 2006
Messages
41
Reaction score
24
Re: [Release] Change nick php script

Kudo^ this is not your work . I've downloaded this php script some days ago from an old thread .
 
Newbie Spellweaver
Joined
Apr 14, 2005
Messages
12
Reaction score
0
Re: [Release] Change nick php script

:xmas:
Code:
$msquery="
    Update dbo.AccountCharacter
	SET GameID1 = '$new_nick'  WHERE GameID1 = '$old_nick' and Id = '$login'
	Update dbo.AccountCharacter
	SET GameID2 = '$new_nick'  WHERE GameID2 = '$old_nick' and Id = '$login'
	Update dbo.AccountCharacter
	SET GameID3 = '$new_nick'  WHERE GameID3 = '$old_nick' and Id = '$login'
	Update dbo.AccountCharacter
	SET GameID4 = '$new_nick'  WHERE GameID4 = '$old_nick' and Id = '$login'
	Update dbo.AccountCharacter
	SET GameID5 = '$new_nick'  WHERE GameID5 = '$old_nick' and Id = '$login'
	Update dbo.Character
	SET Name = '$new_nick' WHERE AccountID = '$login' AND Name = '$old_nick'
	Update dbo.Guild
	SET G_Master = '$new_nick' WHERE G_Master = '$old_nick'
	Update dbo.GuildMember
	SET Name = '$new_nick' WHERE Name = '$old_nick'
	Update dbo.T_CGuid
	SET Name = '$new_nick' WHERE Name = '$old_nick'
	Update dbo.T_FriendList
	SET FriendName = '$new_nick' WHERE FriendName = '$old_nick'
	Update dbo.T_FriendMail
	SET FriendName = '$new_nick' WHERE FriendName = '$old_nick'
	Update dbo.T_FriendMain
	SET Name = '$new_nick' WHERE Name = '$old_nick'
	Update dbo.T_WaitFriend
	SET FriendName = '$new_nick' WHERE FriendName = '$old_nick'
	Update dbo.OptionData
	SET Name = '$new_nick' WHERE Name = '$old_nick'
	";
 
Junior Spellweaver
Joined
Jul 5, 2007
Messages
181
Reaction score
9
Re: [Release] Change nick php script

Kudo^ this is not your work . I've downloaded this php script some days ago from an old thread .
Not my work ?!?!?!?!?! :fyou:
THINK BEFORE POST!!!!!!!!!!!
If you fount it somewhere it's because i have released it some time ago(it's old!)
 
Master Summoner
Loyal Member
Joined
Jun 17, 2006
Messages
549
Reaction score
3
Re: [Release] Change nick php script

Not my work ?!?!?!?!?! :fyou:
THINK BEFORE POST!!!!!!!!!!!
If you fount it somewhere it's because i have released it some time ago(it's old!)

Then why release it again...:punch:
 
Newbie Spellweaver
Joined
Oct 2, 2005
Messages
58
Reaction score
0
Re: [Release] Change nick php script

still...not a gud idea....ppl on your server will keep spamming and then change nick...
 
Last edited:
Experienced Elementalist
Joined
Dec 28, 2007
Messages
288
Reaction score
2
Re: [Release] Change nick php script

yup nothing new :)
 
Status
Not open for further replies.
Back
Top