Aller au contenu

Photo

Master Server down ,how do we stop character swiping?


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
IronRook

IronRook
  • Members
  • 23 messages
 It seems people can use others characters...you guys have a script to check when players login?:sick:

#2
FunkySwerve

FunkySwerve
  • Members
  • 1 308 messages
Yes. You need to link playernames and cd keys, at a minimum. The simplest way to do this is flipping on a setting in your ini. That works fine, but it swells your ini up with all the cd key associations, making kind of a mess. The ini setting is in nwnplayer.ini under server options:
Master Server Authentication Required For Player Login=0
Account validation required during Master Server down times=0

Set MS Authentication to 0 if it isn't, and set account validation to 1, and save.

If you're comfortable with databases, I strongly recommend doing this validation yourself instead of turning on the ini setting, as you can control it much better, allowing multiple cd keys and the like.

For advanced coders, I suggest passwording based on NWNX-MySQL using its encryption capabilities. The problem with just linking accounts to cd keys is that dedicated theives can spoof the server into thinking they're using the proper key. This, however, is NOT all that common - your run-of-the-mill douchebag won't know how.

If you like, I can post some code by way of example, of either the custom cd key validation, or of passwording.

Funky

Modifié par FunkySwerve, 03 juillet 2011 - 04:34 .


#3
IronRook

IronRook
  • Members
  • 23 messages
Thanks FunkySwerve !

Im no good with database but if you were going to give an example of a script I could use to prevent

douchebags from joining the server to ruin things for players.I will try to hammer it into my

oncliententer script.Why dont we call the script "_douchebag"  ^_^

Modifié par IronRook, 03 juillet 2011 - 02:35 .


#4
Lazarus Magni

Lazarus Magni
  • Members
  • 1 134 messages
In what way does setting account validation to true not allow multiple cd keys? Does that mean if it is set to 1, a player will only beable to play on the server with 1 cd key (presumably the first one they ever log in with)?

#5
IronRook

IronRook
  • Members
  • 23 messages
I did the settings like you told me FunkySwerve but now cant login because password cant be verified.

What s the next step lol.

#6
HUNTER_of_Wisdom

HUNTER_of_Wisdom
  • Members
  • 9 messages
Hi Guys.
Please Funk, post the exemples to this, I like this idea and I need this, if you have a little tutorial is better.

Thanks.

:o

Modifié par HUNTER_of_Wisdom, 14 juillet 2012 - 06:25 .


#7
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
Securing Your Server Without Master Server Authentication