Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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  
 


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 15:35.