question about .chr

04/09/2010 01:02 pintser#1
in game when u do: /recall, /botjail, /goto (normal charname) Doesnt work..

If i do /recall, /botjail, /goto (charname [PM] It does work(ore [VIP] [PM] [ANYHING CAN BE ADD HERE] it will work.

I guess, my loggin/registering, is adding: [ ] behind the char names automaticly so i cannot recall them(not the brackets, only the space)


explenation:

In console i typ:

/accounts
then i click on a acc name.
In the table: status, a [ ] is added( not the brackets, only the Space)
if i delete it, it does work..

now my question:(finally to the point:)
ive searched my whole source, at the register voids etc, but cant seem to find the problem, dos any 1 know how to find this?

:).. greetz,
(NO flame)
04/09/2010 01:19 Paralyzer[GM]#2
Yep its the reg page goto my release thread and use the reg page there and my database.cs and it will work.
04/09/2010 18:14 pintser#3
dont u have a fix for it, not feeeling like throwing my work away with otgher DB
04/09/2010 19:04 Paralyzer[GM]#4
Just look for the changes in database.cs
04/12/2010 18:24 pintser#5

This is my Databse.cs Create char.
Can u find any mistakes then?
04/12/2010 18:40 ~Yuki~#6
Its on Accounts. Not on Chars.
04/12/2010 22:42 Arcо#7
Erg, its the command.
Look at the command and it has a PM check.
Take out that check and its brackets.
04/12/2010 22:54 pintser#8
what command?

oo u mean:

/recall
/bann
/goto
/ctele

???
04/13/2010 00:15 Arcо#9
Quote:
Originally Posted by pintser View Post
what command?

oo u mean:

/recall
/bann
/goto
/ctele

???
If you look above /recall there is an if (gc.mychar.authinfo.status == "[PM]) check right there, take it out.
04/16/2010 06:16 eleven#10
lol
no it is the same thing i had
if you do /accounts in the NewestCOServer prompt you will notice a space in the Character Status space and the reason the commands work on [PM]/[GM]/[VIP] is you deleted the space that was there
if this helped please say thankyou!
04/16/2010 07:48 pintser#11
Quote:
Originally Posted by eleven View Post
lol
no it is the same thing i had
if you do /accounts in the NewestCOServer prompt you will notice a space in the Character Status space and the reason the commands work on [PM]/[GM]/[VIP] is you deleted the space that was there
if this helped please say thankyou!
lol...
i was looking for an Fix, not an explenation...
but ty

@arco:
Quote:
if (Cmd[0] == "/recall")
{
if (Cmd[1] != "all")
{

Game.Character C = Game.World.CharacterFromName(Cmd[1]);
if (C != null && C != GC.MyChar)
C.Teleport(GC.MyChar.Loc.Map, GC.MyChar.Loc.X, GC.MyChar.Loc.Y);

}
else
{
foreach (Game.Character C in Game.World.H_Chars.Values)
C.Teleport(GC.MyChar.Loc.Map, GC.MyChar.Loc.X, GC.MyChar.Loc.Y);
}
}
this is my /recall...
04/16/2010 13:26 Arcо#12
Quote:
Originally Posted by pintser View Post
lol...
i was looking for an Fix, not an explenation...
but ty

@arco:


this is my /recall...
And whats RIGHT above that?
04/16/2010 15:48 HardNotTo#13
Quote:
Originally Posted by pintser View Post
lol...
i was looking for an Fix, not an explenation...
but ty

@arco:


this is my /recall...
its in your registration page, not your source. check your password variable in your registration page, it will be something like: text, "pass " <--see the extra space between the s and the ", remove the space. that space is trying to get the server to create a "Status" on the character, like we would do via console /newacc name pass [PM]
04/16/2010 17:37 pintser#14
Quote:
Originally Posted by HardNotTo View Post
its in your registration page, not your source. check your password variable in your registration page, it will be something like: text, "pass " <--see the extra space between the s and the ", remove the space. that space is trying to get the server to create a "Status" on the character, like we would do via console /newacc name pass [PM]

this is a little piece of my reg page, below is what i found:

$Text .= "$code$Password(2 spaces here) ";

willbe:

$Text .= "$code$Password ";

Ore:

$Text .= "$code$Password";

this 1?
04/16/2010 19:43 HardNotTo#15
Quote:
Originally Posted by pintser View Post

this is a little piece of my reg page, below is what i found:

$Text .= "$code$Password(2 spaces here) ";

willbe:

$Text .= "$code$Password ";

Ore:

$Text .= "$code$Password";

this 1?
those would be the ones, just remove the extra spaces between the d and the " so it will be

$Text .="$code$Password";