mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Quelques corrections de merge
This commit is contained in:
parent
edf0b19c75
commit
11ca113401
3 changed files with 13 additions and 10 deletions
|
@ -4,7 +4,6 @@
|
|||
//////////////////////////
|
||||
//////////////////////////
|
||||
|
||||
//////////////////////////
|
||||
|
||||
// If you set this variable to 1, your client.cfg will be overwritten when you quit the client.
|
||||
// You will loose all the comments and identation in this file.
|
||||
|
|
|
@ -2440,7 +2440,7 @@ NLMISC_COMMAND(mode, "Change the mode for an entity in a slot", "<Slot> <Mode> [
|
|||
return true;
|
||||
}
|
||||
|
||||
NLMISC_COMMAND(behaviour, "Change the behaviour for an entity in a slot", "<Slot> <Behaviour> [<Attack Intensity>] [<Impact Intensity>] [<delta HP>] [dt(tick)]")
|
||||
NLMISC_COMMAND(behaviour, "Change the behaviour for an entity in a slot", "<Slot> <Behaviour> [<Attack Intensity>] [<Impact Intensity>] [<delta ChaScore1>] [dt(tick)]")
|
||||
{
|
||||
// Check parameters.
|
||||
if(args.size() < 2 || args.size() > 6)
|
||||
|
@ -2505,7 +2505,7 @@ NLMISC_COMMAND(behaviour, "Change the behaviour for an entity in a slot", "<Slot
|
|||
behaviour.Combat.ImpactIntensity = impactIntensity;
|
||||
}
|
||||
if(args.size() > 4)
|
||||
fromString(args[4], behaviour.DeltaHP);
|
||||
fromString(args[4], behaviour.DeltaChaScore1);
|
||||
}
|
||||
// get the dt
|
||||
sint32 dt= 10;
|
||||
|
|
|
@ -2812,6 +2812,8 @@ string checkLogin(const string &login, const string &password, const string &cli
|
|||
// R2 login sequence
|
||||
std::string cryptedPassword = CCrypt::crypt(password, Salt);
|
||||
|
||||
std::string url = ClientCfg.ConfigFile.getVar("StartupHost").asString() + ClientCfg.ConfigFile.getVar("StartupPage").asString();
|
||||
|
||||
if(!HttpClient.sendGet(url + "?cmd=login&login=" + login + "&password=" + cryptedPassword + "&clientApplication=" + clientApp + "&cp=2" + "&lg=" + ClientCfg.LanguageCode))
|
||||
return "Can't send (error code 2)";
|
||||
|
||||
|
@ -2892,6 +2894,8 @@ string checkLogin(const string &login, const string &password, const string &cli
|
|||
// standard ryzom login sequence
|
||||
std::string cryptedPassword = CCrypt::crypt(password, Salt);
|
||||
|
||||
std::string url = ClientCfg.ConfigFile.getVar("StartupHost").asString() + ClientCfg.ConfigFile.getVar("StartupPage").asString();
|
||||
|
||||
if(!HttpClient.sendGet(url + "?login=" + login + "&password=" + cryptedPassword + "&clientApplication=" + clientApp + "&cp=2"))
|
||||
return "Can't send (error code 2)";
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue