Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 08.08.2006, 13:44   #1
scrap512
Архивный участник
 
Join Date: Jul 2006
Posts: 77
Default Installing c4 db

With the New PP-IRC c4 pack is it possible to install the c4 db scripts without losing my current player database information (without having to wipe) I run a small private server for me and about 60 local people that play at my cafe

Thanks in advance for your time and help!!
scrap512 is offline  
Old 09.08.2006, 07:06   #2
Emperial
Архивный участник
 
Join Date: Aug 2006
Posts: 1
Default

In the DBScript folder, run the following scripts "ch1 to ch2" "ch2 to ch3" "ch3 to ch4". It upgrades your database to C4, and you will not lose any player database information!
Emperial is offline  
Old 09.08.2006, 08:31   #3
red978
Архивный участник
 
Join Date: Aug 2006
Posts: 10
Default

inside PP retail C4 there is a lot of file in DBscript folder, in what order i have to use them, to set up a new server???
red978 is offline  
Old 09.08.2006, 11:46   #4
scrap512
Архивный участник
 
Join Date: Jul 2006
Posts: 77
Default

thanks Emperial did it didnt loose any info but i do have a slight problem now , people can not create characters.
scrap512 is offline  
Old 09.09.2006, 18:29   #5
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Bump, Anyone get this working successfully?
Kenster is offline  
Old 11.09.2006, 16:13   #6
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Offering 50$ for a working C1 to C4 Transfer script. Send me a private message, as it seems no one will post one for free.
Kenster is offline  
Old 12.09.2006, 23:03   #7
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Any idea what this means ?

Msg 468, Level 16, State 9, Procedure give_lotto_price, Line 48
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Korean_Wansung_CI_AS" in the equal to operation.

Got the rest transfered. Thanks
Kenster is offline  
Old 12.09.2006, 23:33   #8
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

Quote:
Originally Posted by Kenster View Post
Any idea what this means ?

Msg 468, Level 16, State 9, Procedure give_lotto_price, Line 48
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Korean_Wansung_CI_AS" in the equal to operation.

Got the rest transfered. Thanks
Kenster, its a collation issue. Collation refers to character type like Unicode, ASCII etc and the various variations in which they can be stored. Generally when you get a collation error, it means that the data is being stored incorrectly from its original value and the sql server doesnt know what to do with it unless you tell it exactly what to do in a script.

When I implimented our new c4 server without a wipe, I simply used the "chronicle4_20051222.sql" and created an entire new database system. Then, I copied over all the existing databases to a temp database system and applied the "ch1 to ch2.sql" and etc to them. Afterwards, I then exported the tables from each database I wanted to save down to a flat file which was comma delimited. Imported the flat file for each table and durring the process, defined the field type for each field based upon the source. Not doing this will lead to data malformations.

I do not have a script "per-say" because it really should be done step-by-step to ensure 100% data security so there is no data loss.
Firedaemon is offline  
Old 13.09.2006, 00:03   #9
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Fire, nice detailed reply. Would you happen to have a valid source of information on how to fix this problem. It the only precdurce that I cannot get to work. And Im afraid I don't know what part of the lotto system will cause this to be bugged.

Thanks,
Kenster is offline  
Old 13.09.2006, 00:42   #10
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

If you review the collation of your existing tables, they are probably set as "SQL_Latin1_General_CP1_CI_AS" which was the collation of the old C1 database system. This is a simple idea, but may just work for you.

Execute the following query, which will modify the collation of your database.

Code:
ALTER DATABASE [lin2world] COLLATE Korean_Wansung_CI_AS
My guess is that the temporary tables in which the stored procedure `give_lotto_price` is creating is of a different collation type than the stored data.
Firedaemon 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:38.