View Full Version : Big problem with caracter creation!!!Please help me ;)
Hi and sorry for my bad english...
I have a new problem with my server... when a player create a new caracter the caracter is a GM... When i will go look the DB in user_data the builder is 1. I don't know why but before it work correctly. Where I can modify that probleme please?
Thinks per advance for your reply ;)
Hi and sorry for my bad english...
I have a new problem with my server... when a player create a new caracter the caracter is a GM... When i will go look the DB in user_data the builder is 1. I don't know why but before it work correctly. Where I can modify that probleme please?
Thinks per advance for your reply ;)
ANRDaemon
28.04.2006, 18:44
Check server config.
ANRDaemon
28.04.2006, 18:44
Check server config.
Silentz0r
28.04.2006, 19:42
If i remenber, check the date in the server and change it to a newer day... like today xD.
Silentz0r
28.04.2006, 19:42
If i remenber, check the date in the server and change it to a newer day... like today xD.
check your procedure lin_CreateChar
check your procedure lin_CreateChar
Thinks for your reply but I'm a noob in DB and I don't know where I can find lin_createchar or the server config. My server is open since 3 month and before the creation was correctly but now the account isn't Gm but all char create are GM....
Thinks per advance!!!! ;)
Thinks for your reply but I'm a noob in DB and I don't know where I can find lin_createchar or the server config. My server is open since 3 month and before the creation was correctly but now the account isn't Gm but all char create are GM....
Thinks per advance!!!! ;)
gurkanhu
29.04.2006, 03:48
open lin2world.sql with notepad press ctrl+f and type lin_CreateChar thats all :P
gurkanhu
29.04.2006, 03:48
open lin2world.sql with notepad press ctrl+f and type lin_CreateChar thats all :P
Very thx!!!!! I have find but "builder" is write 3 times and I don't know which modify...
Thinks ;)
1: lin_CreateChar
create character sp
INPUT
@char_name NCHAR(12),
@account_name NCHAR(13),
@account_id INT,
@pledge_id INT,
@builder TINYINT,
Is builder or not. BOOL
2:
CREATE PROCEDURE [DBO].[lin_CreateChar]
(
@char_name NVARCHAR(24),
@account_name NVARCHAR(24),
@account_id INT,
@pledge_id INT,
@builder TINYINT,
@gender TINYINT,
3:
SET @char_name = RTRIM(@char_name)
DECLARE @char_id int
SET @char_id = 0
-- debug code delete in commercial
IF (GETDATE() < '2004-1-1')
SET @builder = 1
IF @char_name LIKE N' '
BEGIN
RAISERROR ('Character name has space : name = [%s]', 16, 1, @char_name)
RETURN -1
END
When I have modify something in DB lin2world.sql are necessary that reboot the server?