V15 Server setup problem

07/28/2015 15:06 Yothri#1
Hi,

war schon lange nicht mehr in der Szene hier aktiv und wollte jetzt aber mit ein paar Freunden umbedingt nochmal nen v15 server aufsetzen.

Nunja, wollte auch paar kleine Modifikationen in der Source vornehmen. Compilen klappt alles super, habe auch das Snippet für den Salt aus dem F.A.Q Bereich genommen. Dann noch in die WinMain.rc mitm Texteditor die sprache auf deutsch (6) geändert und compiled.

Account erstellt mit kikugalanettest (passwort "test") und beim einloggen kommt die meldung falsches passwort.

Jetzt ist die Frage warum und wie ich das beheben kann?

EDIT: Hab mal probiert das Passwort test im klartext in die datenbank zu speichern. Wenn ich das passswort jetzt falsch eingebe kommt falsches passwort wenn ich richtig test eingebe steht iwas in der messagebox, aber der client crasht so schnell das ich nich lesen kann was drin steht. in den logs steht auch nichts.

Danke im voraus
07/28/2015 19:34 ╠ KαѕαιNσHαиα ╣#2
Are you sure the Salt you're using is correct?
Open VersionCommon.h on your Neuz source folder and check for the line:

Code:
#define DEV_SALT	"the_salt_is_here"
There is the defined salt for the passwords.
07/28/2015 19:45 'Mope'#3
adde mich skype ich helfe dir über Teamviewer oder Anydesk
07/28/2015 20:20 Yothri#4
Quote:
Originally Posted by ╠ KαѕαιNσHαиα ╣ View Post
Are you sure the Salt you're using is correct?
Open VersionCommon.h on your Neuz source folder and check for the line:

Code:
#define DEV_SALT	"the_salt_is_here"
There is the defined salt for the passwords.
What exactly is this DEV_SALT?
Is the Neuz in any Developer mode or something?

@Mope, wenns garnich geht dann meld ich mich bei dir. Probiere jetz erstma mit dem DEV_SALT

Edit: #define DEV_SALT gibts bei mir in der VersionCommon.h garnich.
07/28/2015 20:27 'Mope'#5
ja add mich dann einfach wenn du hilfe brauchst.
07/29/2015 14:54 Yothri#6
Problem besteht immer noch, habe jetzt mittlerweile auch auf vs2003 source gewechselt. Weder im Original Zustand noch mit dem Snippet von der F.A.Q funktioniert es. Ich bekomme immer Passwort falsch.
Übrigens habe ich in der WinMain.rc die Sprache auf Deutsch gesetzt, falls dies relevant ist (sollte aber doch nicht mehr nach dem changen aufs Snippet von der F.A.Q) ?
07/29/2015 15:51 Drabur#7
Fang einfach noch mal von vorne an und versuch alle schritte noch mal neu zu machen
07/29/2015 16:19 Yothri#8
Quote:
Originally Posted by Drabur View Post
Fang einfach noch mal von vorne an und versuch alle schritte noch mal neu zu machen
xD Genau das war meine Vorgehensweise jetzt schon zum 3. Mal.
Es ist ja auch nicht so als wäre das alles Neuland für mich, nur hatte ich dieses Problem damals als ich nen Public Server gehostet hatte nie. Konnte einfach die Neuz compilen und feddig.
07/29/2015 21:29 ╠ KαѕαιNσHαиα ╣#9
Quote:
Originally Posted by Yothri View Post
What exactly is this DEV_SALT?
Is the Neuz in any Developer mode or something?
Is one of the "salt" you are using to connect to the server.

Example:

Your server supports salt: serus, but your client is setted for: kikugalanet
When you login you will get: password incorrect.
Because in fact neuz will encrypt the password using kikugalanet salt, instead of serus.

You might want to check all the "szKey" values in your Neuz.cpp
Because them all are the corrently salt used for login, edit the used ones if needed.

If this isn't the reason of your password incorrect message.
Then probably there is something wrong with the server installation itself.
07/30/2015 12:06 Yothri#10
Quote:
Originally Posted by ╠ KαѕαιNσHαиα ╣ View Post
Is one of the "salt" you are using to connect to the server.

Example:

Your server supports salt: serus, but your client is setted for: kikugalanet
When you login you will get: password incorrect.
Because in fact neuz will encrypt the password using kikugalanet salt, instead of serus.

You might want to check all the "szKey" values in your Neuz.cpp
Because them all are the corrently salt used for login, edit the used ones if needed.

If this isn't the reason of your password incorrect message.
Then probably there is something wrong with the server installation itself.
By checking all the szKey values you meant to try out all the languages that are there right? Well did this almost for every szKey in that HashMD5 function.

What is weird is, the Neuz.exe given in the Resource Folder i downloaded from the Offi Files Index works perfectly and i can login into the world.
07/30/2015 14:00 - DK#11
Lass dir von Mope helfen ^^ Er weiß was er tut und er kann es :) und wenn er es nicht schafft, dann meld dich bei mir :)
07/30/2015 14:28 Yothri#12
Quote:
Originally Posted by .ACE. View Post
Lass dir von Mope helfen ^^ Er weiß was er tut und er kann es :) und wenn er es nicht schafft, dann meld dich bei mir :)
Hatte Mopr schon im TV bei mir aufm PC. Gab allerdings Probleme mitm Compilen nach seinen Änderungen müsste die dannn noch mal anpassen.