Invalid Accountname

06/16/2020 21:17 VipexYTL#1
Someone can tell me what to do cant fix this act4 send me that message
[Only registered and activated users can see links. Click Here To Register...]
<add key="LogPort" value="42069" />
<add key="LogIP" value="blabla mi ip" />
<add key="LogKey" value="LogKey" />
<add key="MasterAuthKey" value="Authk...etc xD" />
<add key="MasterPort" value="4545" />
<add key="MasterIP" value="blabla mi ip" />
<add key="SessionLimit" value="500" />
<add key="Act4Port" value="5100" />
<add key="Language" value="en" />
<add key="WorldPort" value="5100" />
<add key="MaxBankGold" value="100000000000" />
<add key="AutoReboot" value="true" />
<add key="IPAddress" value="blabla mi ip" />
<add key="PublicIP" value="blabla mi ip" />
<add key="ServerGroup" value="S1-eggegeeg" />

Thats my settings with that settings i can run like all sources rn but dont know how to fix that
Discord:VipexYTL#4497

I think i have to say the magic words if i want help (i pay guys.) -.-
06/16/2020 21:20 crasseflamme#2
Quote:
Originally Posted by VipexYTL View Post
Someone can tell me what to do cant fix this act4 send me that message
[Only registered and activated users can see links. Click Here To Register...]
















Thats my settings with that settings i can run like all sources rn but dont know how to fix that
Discord:VipexYTL#4497

I think i have to say the magic words if i want help (i pay guys.) -.-
Just update the entry point Paket :)
06/16/2020 21:25 VipexYTL#3
Yea.. look bro as a professional developer with that information its too ''easy'' im lost
06/16/2020 21:29 crasseflamme#4
Search for EntryPoint and use the debug Mode, Set a Break and look what he is sending when you go to act4.
06/16/2020 21:34 VipexYTL#5
I dont even get any error i just got that message invallid accountname and thats all if i search in charracter find this
[Packet(3, "OpenNos.EntryPoint")]
public void LoadCharacters(string packet)
{
string[] loginPacketParts = packet.Split(' ');
bool isCrossServerLogin = false;

// Load account by given SessionId
if (Session.Account == null)
{
bool hasRegisteredAccountLogin = true;
AccountDTO account = null;
if (loginPacketParts.Length > 4)
{
if (loginPacketParts.Length > 7 && loginPacketParts[4] == "DAC"
&& loginPacketParts[8] == "CrossServerAuthenticate")
{
isCrossServerLogin = true;
account = DAOFactory.AccountDAO.LoadByName(loginPacketParts[5]);
}
else
{
account = DAOFactory.AccountDAO.LoadByName(loginPacketParts[4]);
}
}

try
{
if (account != null)
{
if (isCrossServerLogin)
{
hasRegisteredAccountLogin =
CommunicationServiceClient.Instance.IsCrossServerL oginPermitted(account.AccountId,
Session.SessionId);
}
else
{
hasRegisteredAccountLogin =
CommunicationServiceClient.Instance.IsLoginPermitt ed(account.AccountId,
Session.SessionId);
}
}
}
catch (Exception ex)
{
Logger.Error("MS Communication Failed.", ex);
Session.Disconnect();
return;
}

if (loginPacketParts.Length > 4 && hasRegisteredAccountLogin)
{
if (account != null)
{// 6 to 8
if (account.Password.ToLower().Equals(CryptographyBas e.Sha512(loginPacketParts[8]))
|| isCrossServerLogin)
{
Session.InitializeAccount(new Account(account), isCrossServerLogin);
ServerManager.Instance.CharacterScreenSessions[Session.Account.AccountId] = Session;
}
else
{
Logger.Debug($"Client {Session.ClientId} forced Disconnection, invalid Password.");
Session.Disconnect();
return;
}
}
else
{
Logger.Debug($"Client {Session.ClientId} forced Disconnection, invalid AccountName.");
Session.Disconnect();
return;
}
}
else
{
Logger.Debug(
$"Client {Session.ClientId} forced Disconnection, login has not been registered or Account is already logged in.");
Session.Disconnect();
return;
}
}

if (isCrossServerLogin)
{
if (byte.TryParse(loginPacketParts[6], out byte slot))
{
SelectCharacter(new SelectPacket {Slot = slot});
}
}
else
{
I tested this packet on another source and its workign perfectly
06/16/2020 21:39 crasseflamme#6
Doesnt needed to Copy Paste the code here, as I said, use the Debug Mode and understand what this code is doing. You dont need to pay someone if you just do this.
06/16/2020 21:51 VipexYTL#7
Idk bro il try i run that on debug mode i just get the same message invalid accountname thats everything i get and in character its the only message i get searching that but idk thx for ur time il do my best
06/17/2020 00:30 NosRaible#8
Its because you're using a (Old & outdated) Leaked CMNOS source codes. You can only get the fixes from yourself.