Thread: ≈ Manor procedures
View Single Post
Old 03.01.2007, 13:45   #1
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default Manor procedures

hi all
it is normal if players must set manor every day?
First time I think yes..but now I see sometimes in cacheD some errors with procedure lin save ..last manor.. something like that..
problems with converting varchar to datetime..

I tried to edit manor table and save manor procedures and changed datetime to varchar.. but still get some errors..

Can anyone post here your manor procedures?

Code:
01/02/2007 06:00:xx.xx4, Error sql: EXEC lin_SetLastTaxUpdate '2007-0-1 12:0:52', '2007-0-2 0:0:4', '2007-0-2 6:0:8' (0)
01/02/2007 06:00:xx.xx4, Error sql: exec lin_SaveManorInfo 7, 7, 0, 0, 1, '0-0-0 0:0:0' (0)
01/02/2007 06:00:xx.xx4, Error 42000:[Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to datetime.
01/02/2007 06:00:xx.xx4, Error 42000:[Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to datetime.
01/02/2007 06:00:xx.xx4, [.\Socket.cpp][12448] cannot update last tax change date.
01/02/2007 06:00:xx.xx4, [.\ManorDb.cpp][207]Cannot Save manor info, [7]-[7][0][0]
SetLastTaxUpdate:
Code:
ALTER PROCEDURE [dbo].[lin_SetLastTaxUpdate]  
(  
@income  varchar,
@tax varchar,
@manor varchar
I changed it from datetime to varchar.. It seems to bad.. but I get "vice versa" error earlier (Error converting data type datetime to varchar.) .. so I changed it to varchar..

SaveManorInfo
Code:
 @last_changed varchar
rodier is offline