[Tut]ALLOW alt code when creating character

Results 1 to 14 of 14
  1. #1
    Member phpbb88 is offline
    MemberRank
    Jan 2007 Join Date
    Hong KongLocation
    74Posts

    wink [Tut]ALLOW alt code when creating character

    for those who want to ALLOW alt code in char. name, but using a db that restrict alt code.this tut can help u
    since there isnt any tut about that so im gonna make one
    it's easy.Go to ur database and find dbo.spInsertChar located at GunzDB/Programmability/Stored Procedures/
    Modify it.

    Code:
    IF  (SELECT dbo.fnCheckString(@Name) as Test)= 1
    BEGIN 
    ROLLBACK TRAN
    return (-1)
    END
    just find out these commands and delete them,after that excute to GunzDB
    Finished. =D

    sorry for my bad english =p


  2. #2
    Alpha Member gregon13 is offline
    MemberRank
    Nov 2007 Join Date
    CanadaLocation
    1,945Posts

    Re: [Tut]ALLOW alt code when creating character

    Quote Originally Posted by phpbb88 View Post
    for those who want to ALLOW alt code in char. name, but using a db that restrict alt code.this tut can help u
    since there isnt any tut about that so im gonna make one
    it's easy.Go to ur database and find dbo.spInsertChar located at GunzDB/Programmability/Stored Procedures/
    Modify it.

    Code:
    IF  (SELECT dbo.fnCheckString(@Name) as Test)= 1
    BEGIN 
    ROLLBACK TRAN
    return (-1)
    END
    just find out these commands and delete them,after that excute to GunzDB
    Finished. =D

    sorry for my bad english =p
    ... If i'm not mistaken doesn't that allow multiple characters with the same name to be created as well when you remove that string?

  3. #3
    RageZone GunZ | Ex-Owner Ricky Blaze is offline
    MemberRank
    Nov 2009 Join Date
    New YorkLocation
    608Posts

    Re: [Tut]ALLOW alt code when creating character

    Quote Originally Posted by phpbb88 View Post
    for those who want to ALLOW alt code in char. name, but using a db that restrict alt code.this tut can help u
    since there isnt any tut about that so im gonna make one
    it's easy.Go to ur database and find dbo.spInsertChar located at GunzDB/Programmability/Stored Procedures/
    Modify it.

    Code:
    IF  (SELECT dbo.fnCheckString(@Name) as Test)= 1
    BEGIN 
    ROLLBACK TRAN
    return (-1)
    END
    just find out these commands and delete them,after that excute to GunzDB
    Finished. =D

    sorry for my bad english =p
    I guess i kinda understood tht..thx..dude

  4. #4
    Member phpbb88 is offline
    MemberRank
    Jan 2007 Join Date
    Hong KongLocation
    74Posts

    Re: [Tut]ALLOW alt code when creating character

    Quote Originally Posted by gregon13 View Post
    ... If i'm not mistaken doesn't that allow multiple characters with the same name to be created as well when you remove that string?
    I just tested and the answer is no,it doesnt.
    gregon,im using ur server and client pack, since im a chinese, there was a great problem for me. ur db failed to load chinese
    I then compared urs with the original BR one and discovered that those strings were added to restrict alt code(lol stupid way cuz im not good at SQL)
    Last edited by phpbb88; 25-11-09 at 07:07 PM.

  5. #5
    RageZone GunZ | Ex-Owner Ricky Blaze is offline
    MemberRank
    Nov 2009 Join Date
    New YorkLocation
    608Posts

    Re: [Tut]ALLOW alt code when creating character

    Quote Originally Posted by phpbb88 View Post
    I just tested and the answer is no,it doesnt.
    gregon,im using ur server and client pack, since im a chinese, there was a great problem for me. ur db failed to load chinese
    I then compared urs with the original BR one and discovered that those strings were added to restrict alt code(lol stupid way cuz im not good at SQL)
    Oh so there restricted, ight.

  6. #6
    Alpha Member gregon13 is offline
    MemberRank
    Nov 2007 Join Date
    CanadaLocation
    1,945Posts

    Re: [Tut]ALLOW alt code when creating character

    Quote Originally Posted by phpbb88 View Post
    I just tested and the answer is no,it doesnt.
    gregon,im using ur server and client pack, since im a chinese, there was a great problem for me. ur db failed to load chinese
    I then compared urs with the original BR one and discovered that those strings were added to restrict alt code(lol stupid way cuz im not good at SQL)
    yea I didn't think aabout that considering I am english so it was set-up for english so I didn't think about it affecting any one else's language

  7. #7
    Member phpbb88 is offline
    MemberRank
    Jan 2007 Join Date
    Hong KongLocation
    74Posts

    Re: [Tut]ALLOW alt code when creating character

    Quote Originally Posted by gregon13 View Post
    yea I didn't think aabout that considering I am english so it was set-up for english so I didn't think about it affecting any one else's language
    its okay.at least u did a very good job =D

  8. #8
    Account Upgraded | Title Enabled! 4ndr34s is offline
    MemberRank
    Sep 2007 Join Date
    At My Home O_oLocation
    587Posts

    Re: [Tut]ALLOW alt code when creating character

    Lol let's have fun banning the hackers

  9. #9
    Account Upgraded | Title Enabled! adminjoker is offline
    MemberRank
    Jun 2009 Join Date
    USA - Stuart -Location
    247Posts

    Re: [Tut]ALLOW alt code when creating character

    what if i don't want eny of them using alt codes how do i lock it? Thanks

  10. #10
    Account Upgraded | Title Enabled! 4ndr34s is offline
    MemberRank
    Sep 2007 Join Date
    At My Home O_oLocation
    587Posts

    Re: [Tut]ALLOW alt code when creating character

    here is released a patch by rotana for block all ascii codes u have just to find it

  11. #11
    Member phpbb88 is offline
    MemberRank
    Jan 2007 Join Date
    Hong KongLocation
    74Posts

    Re: [Tut]ALLOW alt code when creating character

    Quote Originally Posted by adminjoker View Post
    what if i don't want eny of them using alt codes how do i lock it? Thanks
    here u are
    http://forum.ragezone.com/f497/tutor...-names-500260/

  12. #12
    RageZone GunZ | Ex-Owner Ricky Blaze is offline
    MemberRank
    Nov 2009 Join Date
    New YorkLocation
    608Posts

    Re: [Tut]ALLOW alt code when creating character

    Well this will allowed spaces? since Alt + 0160 = Space which i usually use in my Chars.

  13. #13
    Account Upgraded | Title Enabled! adminjoker is offline
    MemberRank
    Jun 2009 Join Date
    USA - Stuart -Location
    247Posts

    Re: [Tut]ALLOW alt code when creating character

    thank you very much phpbb88. Thanked ^^

  14. #14
    Member phpbb88 is offline
    MemberRank
    Jan 2007 Join Date
    Hong KongLocation
    74Posts

    Re: [Tut]ALLOW alt code when creating character

    Quote Originally Posted by Ricky Blaze View Post
    Well this will allowed spaces? since Alt + 0160 = Space which i usually use in my Chars.
    It should be. cuz the alt+0160 thing isnt really equal to space.its some code ur computer cant show it

    ---------- Post added at 03:08 PM ---------- Previous post was at 03:07 PM ----------

    Quote Originally Posted by adminjoker View Post
    thank you very much phpbb88. Thanked ^^
    Thank you very much! =)
    Its my first one!



Advertisement