NOTICE: NWN Authentication Server Down
#101
Posté 10 juillet 2011 - 10:06
///scripted by FunkySwerve /////
int VerifyPlayernameAgainstCDKey(object oPlayer) {
int nBoot = FALSE;
string sPName = GetPCPlayerName(oPlayer);
string sKey = GetPCPublicCDKey(oPlayer);
string sNewKey, sAddingKey, sStoredKey = GetCampaignString("PlayernameKey", sPName);
/* there's at least one key stored already */
if (sStoredKey != "") {
sAddingKey = GetStringLeft(sStoredKey, 3);
sStoredKey = GetStringRight(sStoredKey, GetStringLength(sStoredKey) - 3);
/* they indicated that they wanted to add a key this login */
if (sAddingKey == "ADD") {
/* their current key is not in the key string, add it unless at 7 keys already */
if (FindSubString(sStoredKey, sKey) == -1) {
int nKeyLength = GetStringLength(sStoredKey);
/* allow 7 keys max SET-key-key-key-key-key-key-key SET/ADD + 7 spacers + 7x8 keys = 66 */
if (nKeyLength > 65) {
nBoot = TRUE;
/* must mark as no longer adding */
SetCampaignString("PlayernameKey", sPName, "SET" + sStoredKey);
/* add the key to the string */
} else {
sNewKey = "SET" + sStoredKey + "-" + sKey;
SetCampaignString("PlayernameKey", sPName, sNewKey);
DelayCommand(25.0, FloatingTextStringOnCreature("New CD Key Successfully Added!", oPlayer, FALSE));
}
/* let them know they already had this key in their string */
} else {
DelayCommand(25.0,
FloatingTextStringOnCreature("CD Key Addition Failed! This key already listed for this account!", oPlayer,
FALSE));
/* must mark as no longer adding */
SetCampaignString("PlayernameKey", sPName, "SET" + sStoredKey);
}
/* they are not adding, and the cd key doesnt match those listed - boot and log */
}
/* new account, add the key */
} else {
SetCampaignString("PlayernameKey", sPName, "SET-" + sKey);
}
return nBoot;
}
void main() {
object oPC = GetEnteringObject();
/* verify CD keys and double logins to stop hackers */
if (VerifyPlayernameAgainstCDKey(oPC)) {
if (GetIsObjectValid(oPC))
BootPC(oPC);
return;
}
}
#102
Posté 10 juillet 2011 - 11:34
int VerifyPlayernameAgainstCDKey(object oPlayer) {
int nBoot = FALSE;
string sPName = GetPCPlayerName(oPlayer);
string sKey = GetPCPublicCDKey(oPlayer);
string sNewKey, sAddingKey, sStoredKey = GetCampaignString("PlayernameKey", sPName);
/* there's at least one key stored already */
if (sStoredKey != "") {
sAddingKey = GetStringLeft(sStoredKey, 3);
sStoredKey = GetStringRight(sStoredKey, GetStringLength(sStoredKey) - 3);
/* they indicated that they wanted to add a key this login */
if (sAddingKey == "ADD") {
/* their current key is not in the key string, add it unless at 7 keys already */
if (FindSubString(sStoredKey, sKey) == -1) {
int nKeyLength = GetStringLength(sStoredKey);
/* allow 7 keys max SET-key-key-key-key-key-key-key SET/ADD + 7 spacers + 7x8 keys = 66 */
if (nKeyLength > 65) {
nBoot = TRUE;
/* must mark as no longer adding */
SetCampaignString("PlayernameKey", sPName, "SET" + sStoredKey);
/* add the key to the string */
} else {
sNewKey = "SET" + sStoredKey + "-" + sKey;
SetCampaignString("PlayernameKey", sPName, sNewKey);
DelayCommand(25.0, FloatingTextStringOnCreature("New CD Key Successfully Added!", oPlayer, FALSE));
}
/* let them know they already had this key in their string */
} else {
DelayCommand(25.0,
FloatingTextStringOnCreature("CD Key Addition Failed! This key already listed for this account!", oPlayer,
FALSE));
/* must mark as no longer adding */
SetCampaignString("PlayernameKey", sPName, "SET" + sStoredKey);
}
/* they are not adding, and the cd key doesnt match those listed - boot and log */
} else if (FindSubString(sStoredKey, sKey) == -1) {
string sReport = "INCORRECT CD KEY DETECTED! ID: " + sPName + "; Name: " +
GetName(oPlayer) + "; CD Key: " + sKey + "; IP: " + GetPCIPAddress(oPlayer);
WriteTimestampedLogEntry(sReport);
SendMessageToAllDMs(sReport);
nBoot = TRUE;
}
/* new account, add the key */
} else {
SetCampaignString("PlayernameKey", sPName, "SET-" + sKey);
}
return nBoot;
}
void main() {
object oPC = GetEnteringObject();
/* verify CD keys and double logins to stop hackers */
if (VerifyPlayernameAgainstCDKey(oPC)) {
if (GetIsObjectValid(oPC))
BootPC(oPC);
return;
}
}
Funky
Modifié par FunkySwerve, 11 juillet 2011 - 12:00 .
#104
Posté 11 juillet 2011 - 09:01
Modifié par IrnBruu, 11 juillet 2011 - 09:02 .
#105
Posté 11 juillet 2011 - 05:17
BioWare's cs used to be great at one time. I hope everybody considering subscribing to SW:ToR takes note of this.Makes me kind of nervous about spending my hard earned cash on any more of their products to be honest.
That's not any kind of veiled threat on my part either,I know they don't know me from Adam, or care.
But if they're not bringing the ms back up, they should just say so, or at least say they're still working on it, but this is a 9 ( 10?) yr old game and it's not their #1 priority. Tell us something for cryin' out loud.
Modifié par Throkwatt, 11 juillet 2011 - 05:20 .
#106
Posté 11 juillet 2011 - 09:47
#107
Posté 12 juillet 2011 - 03:10
#108
Posté 12 juillet 2011 - 09:43
Modifié par Keviant, 12 juillet 2011 - 09:44 .
#109
Posté 12 juillet 2011 - 03:22
Throkwatt wrote...
Wow, no response yet?
BioWare's cs used to be great at one time. I hope everybody considering subscribing to SW:ToR takes note of this.Makes me kind of nervous about spending my hard earned cash on any more of their products to be honest.
That's not any kind of veiled threat on my part either,I know they don't know me from Adam, or care.
But if they're not bringing the ms back up, they should just say so, or at least say they're still working on it, but this is a 9 ( 10?) yr old game and it's not their #1 priority. Tell us something for cryin' out loud.
Agreed bioware were a lot better with cs a while ago but they seem to be slipping on all fronts of late in my opinion, there games are getting worse as time goes on. Orgins was good as was mass effect but both sequels were both lesser games than the originals especially so with DA 2, SW:ToR will have to be something really special for me to bother with it but just the fact it's an mmo puts me off already and with how they are treating long time customers/fans with the whole lack of information over the old legacy site and the nwn master server makes me wonder if I should ever spend money on there games again.
#110
Posté 12 juillet 2011 - 06:06
#111
Posté 12 juillet 2011 - 10:13
#112
Posté 14 juillet 2011 - 12:06
#113
Posté 14 juillet 2011 - 01:33
Give us something, here.
#114
Posté 15 juillet 2011 - 11:34
Basically since you already have authenticated cd keys in your nwnplayer.ini, you may as well use them.
http://social.biowar...15716/3#7825067
I am assuming ou know a small bit about scripting and you are using nwnx.
-driller
Vladiat0r wrote...
For some reason, our server is not able to use the cached account=cdkey [Login Information] to authenticate players. When I enable account verification, logging in hangs forever. Disabling account verification lets the users login. I want account verification enabled and to use the saved Login Information. I've re-created the nwnplayer.ini with manually-entered cdkey information, reverted the module to a previous version. I can't think of anything wrong. Anyone else seeing this behavior?
#115
Posté 20 juillet 2011 - 03:58
#116
Posté 20 juillet 2011 - 11:54
#117
Posté 20 juillet 2011 - 01:52
It has been three weeks since the Master Server has ceased operation and four since the community was given any official word on when or even if that service will resume. Part of Bioware's good reputation was because historically they've been straight with the community. Are we no longer worth even that courtesy?
#118
Posté 21 juillet 2011 - 01:26
IrnBruu wrote...
Throkwatt wrote...
Wow, no response yet?
BioWare's cs used to be great at one time. I hope everybody considering subscribing to SW:ToR takes note of this.Makes me kind of nervous about spending my hard earned cash on any more of their products to be honest.
That's not any kind of veiled threat on my part either,I know they don't know me from Adam, or care.
But if they're not bringing the ms back up, they should just say so, or at least say they're still working on it, but this is a 9 ( 10?) yr old game and it's not their #1 priority. Tell us something for cryin' out loud.
Agreed bioware were a lot better with cs a while ago but they seem to be slipping on all fronts of late in my opinion, there games are getting worse as time goes on. Orgins was good as was mass effect but both sequels were both lesser games than the originals especially so with DA 2, SW:ToR will have to be something really special for me to bother with it but just the fact it's an mmo puts me off already and with how they are treating long time customers/fans with the whole lack of information over the old legacy site and the nwn master server makes me wonder if I should ever spend money on there games again.
I think we need to come to terms with the idea that the Bioware we all knew and loved is dead. When all is said and done this is EA games now. They may or may not fix this, and if they do fix it it's clearly not a priority. More importantly, WE, the fanbase for the franchise, no longer matter. In the long run if this community is going to survive we're going to have to do everything we can to become self-reliant.
#119
Posté 21 juillet 2011 - 03:40
#120
Posté 21 juillet 2011 - 11:48
#121
Posté 21 juillet 2011 - 11:55
Modifié par UrkOfGreyhawk, 21 juillet 2011 - 11:57 .
#122
Posté 23 juillet 2011 - 05:51
#123
Posté 23 juillet 2011 - 01:15
#124
Posté 23 juillet 2011 - 03:46
Modifié par OldTimeRadio, 23 juillet 2011 - 03:47 .
#125
Posté 23 juillet 2011 - 04:08





Retour en haut






