Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Need Help :)

Newbie Spellweaver
Joined
Sep 21, 2009
Messages
8
Reaction score
0
Hello,
I need your help.
I have created a local server and I can somehow not create an account ...
I have tested two KOAM, one gets no connection to ssql and the other connect and show that account is created but i try login there this would not exist.
Please help me
 
Newbie Spellweaver
Joined
Sep 21, 2009
Messages
8
Reaction score
0
Thanks for ur reply :)
I dont understand this :D



So Server is already Running i only need Account :D



So what i can check? Server is running :D
 
Upvote 0
Experienced Elementalist
Joined
Sep 29, 2008
Messages
224
Reaction score
436
SET IDENTITY_INSERT [Login] On INSERT INTO Login(UID, ID, PWD, Birth, Type, ExpTime) VALUES ('1', '1', 0x2C, '19000101', '0', '4000')

SQL Server Management Studio -> kal_auth -> tables -> right click to Login -> script table as -> insert to -> new query editor window then copy paste and execute
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Sep 21, 2009
Messages
8
Reaction score
0
So what must i do with this Code.. im newbie sorry ������
Idk where I must put in this code or whatever :D



SET IDENTITY_INSERT [Login] On INSERT INTO Login(UID, ID, PWD, Birth, Type, ExpTime) VALUES ('1', '1', 0x2C, '19000101', '0', '4000')

SQL Server Management Studio -> kal_auth -> tables -> right click to Login -> script table as -> insert to -> new query editor window then copy paste and execute

Done It
USE [kal_auth]
GO

INSERT INTO [dbo].[Login]
([ID]
,[PWD]
,[Birth]
,[Type]
,[ExpTime]
,[Info]
,[PWD2ND]
,[hello])
VALUES
(<ID, varchar(16),>
,<PWD, varbinary(16),>
,<Birth, smalldatetime,>
,<Type, tinyint,>
,<ExpTime, int,>
,<Info, int,>
,<PWD2ND, int,>
,<hello, int,>)
GO
SET IDENTITY_INSERT [Login] On INSERT INTO Login(UID, ID, PWD, Birth, Type, ExpTime) VALUES ('1', '1', 0x2C, '19000101', '0', '4000')
The Failure
Message 102, Level 15, Status 1, Line 14
Incorrect syntax near '<'.
Message 195, Level 15, Status 7, Line 25
'IDENTIT' is not recognized as a SET option.



Idk why there is <hello, int,>) lol, changed hello to login, but didnt work too -.-"
 
Last edited:
Upvote 0
Joined
Jun 23, 2006
Messages
782
Reaction score
399
Select kal_auth and just execute INSERT INTO Login(UID, ID, PWD, Birth, Type, ExpTime) VALUES ('1', '1', 0x2C, '19000101', '0', '4000')
aaaand don't mess with values you know nothing about.

in german...
(Wähle kal_auth aus, und führe einfach den oberen Befehl aus... INSERT INTO Login(UID, ID, PWD, Birth, Type, ExpTime) VALUES ('1', '1', 0x2C, '19000101', '0', '4000').
Spiel nicht mit Variablen wovon du absolut keine Ahnung hast.
Das sind eigentlich nur Felder, wo irgendwas eingefügt werden soll. Vielleicht war es einfach ein Test-Feld, vielleicht auch nicht.. Du musst die Änderung rückgängig machen, falls du den Namen oder Typen geändert hast.
Sollte es nicht klappen mit dem INSERT, google nach deutschen mssql tutorials...
Ich kann dir hier nicht wirklich helfen, weil ich nie die Files von den anderen benutzt habe..)
 
Upvote 0
Newbie Spellweaver
Joined
Sep 21, 2009
Messages
8
Reaction score
0
Select kal_auth and just execute INSERT INTO Login(UID, ID, PWD, Birth, Type, ExpTime) VALUES ('1', '1', 0x2C, '19000101', '0', '4000')
aaaand don't mess with values you know nothing about.

in german...
(Wähle kal_auth aus, und führe einfach den oberen Befehl aus... INSERT INTO Login(UID, ID, PWD, Birth, Type, ExpTime) VALUES ('1', '1', 0x2C, '19000101', '0', '4000').
Spiel nicht mit Variablen wovon du absolut keine Ahnung hast.
Das sind eigentlich nur Felder, wo irgendwas eingefügt werden soll. Vielleicht war es einfach ein Test-Feld, vielleicht auch nicht.. Du musst die Änderung rückgängig machen, falls du den Namen oder Typen geändert hast.
Sollte es nicht klappen mit dem INSERT, google nach deutschen mssql tutorials...
Ich kann dir hier nicht wirklich helfen, weil ich nie die Files von den anderen benutzt habe..)

If i press Right Click on dbo.login i go to Insert In -> As New > Then It Open a Window with this Code
USE [kal_auth]
GO

INSERT INTO [dbo].[Login]
([ID]
,[PWD]
,[Birth]
,[Type]
,[ExpTime]
,[Info]
,[PWD2ND]
,[Login])
VALUES
(<ID, varchar(16),>
,<PWD, varbinary(16),>
,<Birth, smalldatetime,>
,<Type, tinyint,>
,<ExpTime, int,>
,<Info, int,>
,<PWD2ND, int,>
,<Login, int,>)
GO
 
Upvote 0
Joined
Jun 23, 2006
Messages
782
Reaction score
399
Ah okay, then just edit the Values.
[...]
VALUES
(<ID, varchar(16),>
,<PWD, varbinary(16),>
,<Birth, smalldatetime,> [...]
to
VALUES
('1', <--- is your ID
,0x2C, <--- is your PWD which is '0'
,'19000101'[...] <--- is your birthdate
without the <-------
you must fill the other values. pwnd2nd is 000000 or 00000000(idk if it's 6 or 8 numbers for second pw) I dont know what your Login column is. I think it was the "hello" which was maybe the uid?/

Maybe tell us which files and os you're using and what you already tried. Like enable DEP etc.
 
Last edited:
Upvote 0
Back
Top