Change nick php script

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Account Upgraded | Title Enabled! Kudo^ is offline
    MemberRank
    Jul 2007 Join Date
    PortugalLocation
    425Posts

    Change nick php script

    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^
    Attached Files Attached Files


  2. #2
    Play4Freeā„¢ Booms is offline
    MemberRank
    Jun 2005 Join Date
    worldwideLocation
    489Posts

    Re: [Release] Change nick php script

    Thanks Brat.. testing :)

  3. #3
    Alpha Member christoper is offline
    MemberRank
    Aug 2007 Join Date
    PhP DecoderLocation
    1,560Posts

    Re: [Release] Change nick php script

    SSS? Please.. i wanna see Example can you put SSS Please

  4. #4
    Account Upgraded | Title Enabled! Kudo^ is offline
    MemberRank
    Jul 2007 Join Date
    PortugalLocation
    425Posts

    Re: [Release] Change nick php script

    Quote Originally Posted by christoper View Post
    SSS? Please.. i wanna see Example can you put SSS Please
    You need an screenshot of a simple page with login field , password , old nick new nick?
    stfu , think before post!

  5. #5
    Account Upgraded | Title Enabled! =Master= is offline
    MemberRank
    May 2006 Join Date
    <? here ?>Location
    507Posts

    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 Code:
        $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'"); 

  6. #6
    Elite Member O_o oleg35 is offline
    MemberRank
    Jan 2007 Join Date
    nvm i'm RussianLocation
    403Posts

    Re: [Release] Change nick php script

    ha ha can fix ?

  7. #7
    Omega penihop is offline
    MemberRank
    Sep 2006 Join Date
    SpamzoneLocation
    5,569Posts

    Re: [Release] Change nick php script

    first u need to get GameID from the char name,, and use the "IF" :D

  8. #8
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    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

  9. #9
    Member PsychoJr is offline
    MemberRank
    Aug 2006 Join Date
    RomaniaLocation
    73Posts

    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 .

  10. #10
    Enthusiast oggyss is offline
    MemberRank
    Apr 2005 Join Date
    LatvijaLocation
    26Posts

    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'
    	";

  11. #11
    Account Upgraded | Title Enabled! Kudo^ is offline
    MemberRank
    Jul 2007 Join Date
    PortugalLocation
    425Posts

    Re: [Release] Change nick php script

    Quote Originally Posted by PsychoJr View Post
    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!)

  12. #12
    Banned DarkMaster. is offline
    BannedRank
    Feb 2007 Join Date
    BulgariaLocation
    812Posts

    Re: [Release] Change nick php script

    nothing new^^

  13. #13
    Account Upgraded | Title Enabled! RayOfLight is offline
    MemberRank
    Jun 2006 Join Date
    EverywhereLocation
    1,301Posts

    Re: [Release] Change nick php script

    Quote Originally Posted by Kudo^ View Post
    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:

  14. #14
    Account Upgraded! :P BoneDragoN is offline
    MemberRank
    Apr 2007 Join Date
    Athens (GR)Location
    595Posts

    Re: [Release] Change nick php script

    Quote Originally Posted by RayOfLight View Post
    Then why release it again...:punch:
    haha...Answer now xD!

    Anyway thnx

  15. #15
    Valued Member netaxis200 is offline
    MemberRank
    Oct 2005 Join Date
    anywhereLocation
    149Posts

    Re: [Release] Change nick php script

    still...not a gud idea....ppl on your server will keep spamming and then change nick...
    Last edited by netaxis200; 07-02-08 at 10:54 AM.



Page 1 of 2 12 LastLast

Advertisement