Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 28.04.2006, 15:38   #1
Tchongy
Архивный участник
 
Join Date: Aug 2005
Posts: 16
Default 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
Tchongy is offline  
Old 28.04.2006, 15:38   #2
Tchongy
Архивный участник
 
Join Date: Aug 2005
Posts: 16
Default 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
Tchongy is offline  
Old 28.04.2006, 18:44   #3
ANRDaemon
Архивный участник
 
Join Date: Feb 2006
Posts: 158
Default

Check server config.
ANRDaemon is offline  
Old 28.04.2006, 18:44   #4
ANRDaemon
Архивный участник
 
Join Date: Feb 2006
Posts: 158
Default

Check server config.
ANRDaemon is offline  
Old 28.04.2006, 19:42   #5
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

If i remenber, check the date in the server and change it to a newer day... like today xD.
Silentz0r is offline  
Old 28.04.2006, 19:42   #6
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

If i remenber, check the date in the server and change it to a newer day... like today xD.
Silentz0r is offline  
Old 28.04.2006, 19:50   #7
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default

check your procedure lin_CreateChar
torune is offline  
Old 28.04.2006, 19:50   #8
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default

check your procedure lin_CreateChar
torune is offline  
Old 29.04.2006, 03:00   #9
Tchongy
Архивный участник
 
Join Date: Aug 2005
Posts: 16
Default

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!!!!
Tchongy is offline  
Old 29.04.2006, 03:00   #10
Tchongy
Архивный участник
 
Join Date: Aug 2005
Posts: 16
Default

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!!!!
Tchongy is offline  
Old 29.04.2006, 03:48   #11
gurkanhu
Архивный участник
 
Join Date: Mar 2006
Posts: 110
Default

open lin2world.sql with notepad press ctrl+f and type lin_CreateChar thats all :P
gurkanhu is offline  
Old 29.04.2006, 03:48   #12
gurkanhu
Архивный участник
 
Join Date: Mar 2006
Posts: 110
Default

open lin2world.sql with notepad press ctrl+f and type lin_CreateChar thats all :P
gurkanhu is offline  
Old 29.04.2006, 14:52   #13
Tchongy
Архивный участник
 
Join Date: Aug 2005
Posts: 16
Default

Very thx!!!!! I have find but "builder" is write 3 times and I don't know which modify...

Thinks
Tchongy is offline  
Old 29.04.2006, 15:11   #14
Tchongy
Архивный участник
 
Join Date: Aug 2005
Posts: 16
Default

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?
Tchongy is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:33.