|
You last visited: Today at 17:15
Advertisement
[Help]Executing Cash.Sdata on SQL
Discussion on [Help]Executing Cash.Sdata on SQL within the Shaiya Private Server forum part of the Shaiya category.
11/11/2015, 23:11
|
#1
|
elite*gold: 0
Join Date: Apr 2014
Posts: 27
Received Thanks: 1
|
[Help]Executing Cash.Sdata on SQL
Im Trying to Execute Cash.Sdata but i got the next Error
what can i do?
|
|
|
11/11/2015, 23:38
|
#2
|
elite*gold: 0
Join Date: Oct 2015
Posts: 12
Received Thanks: 1
|
Quote:
Originally Posted by Quesito
Im Trying to Execute Cash.Sdata but i got the next Error
what can i do?
|
read the error, that is your issue. the data you are trying to set does not match the table definition.
could you show me your table contents/designer for your dbo.ProductList in PS_GameDefs? or simply add me on skype @ therealaviate.
here is how you can see the current data:
that is how mine is.
|
|
|
11/12/2015, 06:57
|
#3
|
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
|
You need remove RowID, use botton search that in many topic are writed this.
|
|
|
11/12/2015, 08:48
|
#4
|
elite*gold: 0
Join Date: Apr 2015
Posts: 424
Received Thanks: 113
|
Add rowID values into your cash.sql
|
|
|
11/12/2015, 10:36
|
#5
|
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
|
Quote:
Originally Posted by SkuulCandy
Add rowID values into your cash.sql
|
just remove only the RowID why should add the rowid in cash for each variant, instead eliminating what we do not have problems.
|
|
|
11/12/2015, 17:55
|
#6
|
elite*gold: 0
Join Date: Apr 2014
Posts: 300
Received Thanks: 472
|
Execute this query and then execute your cash.sql. This will drop (delete) your current ProductList table and remake it without the RowID column.
Code:
USE [PS_GameDefs]
GO
DROP TABLE [dbo].[ProductList]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[ProductList](
[ProductName] [varchar](50) NOT NULL,
[ProductCode] [varchar](20) NOT NULL,
[BuyCost] [int] NOT NULL,
[ItemID1] [int] NOT NULL,
[ItemCount1] [tinyint] NOT NULL,
[ItemID2] [int] NULL,
[ItemCount2] [tinyint] NULL,
[ItemID3] [int] NULL,
[ItemCount3] [tinyint] NULL,
[ItemID4] [int] NULL,
[ItemCount4] [tinyint] NULL,
[ItemID5] [int] NULL,
[ItemCount5] [tinyint] NULL,
[ItemID6] [int] NULL,
[ItemCount6] [tinyint] NULL,
[ItemID7] [int] NULL,
[ItemCount7] [tinyint] NULL,
[ItemID8] [int] NULL,
[ItemCount8] [tinyint] NULL,
[ItemID9] [int] NULL,
[ItemCount9] [tinyint] NULL,
[ItemID10] [int] NULL,
[ItemCount10] [tinyint] NULL,
[ItemID11] [int] NULL,
[ItemCount11] [tinyint] NULL,
[ItemID12] [int] NULL,
[ItemCount12] [tinyint] NULL,
[ItemID13] [int] NULL,
[ItemCount13] [tinyint] NULL,
[ItemID14] [int] NULL,
[ItemCount14] [tinyint] NULL,
[ItemID15] [int] NULL,
[ItemCount15] [tinyint] NULL,
[ItemID16] [int] NULL,
[ItemCount16] [tinyint] NULL,
[ItemID17] [int] NULL,
[ItemCount17] [tinyint] NULL,
[ItemID18] [int] NULL,
[ItemCount18] [tinyint] NULL,
[ItemID19] [int] NULL,
[ItemCount19] [tinyint] NULL,
[ItemID20] [int] NULL,
[ItemCount20] [tinyint] NULL,
[ItemID21] [int] NULL,
[ItemCount21] [tinyint] NULL,
[ItemID22] [int] NULL,
[ItemCount22] [tinyint] NULL,
[ItemID23] [int] NULL,
[ItemCount23] [tinyint] NULL,
[ItemID24] [int] NULL,
[ItemCount24] [tinyint] NULL,
CONSTRAINT [PK_ProductList] PRIMARY KEY CLUSTERED
(
[ProductCode] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
|
|
|
11/12/2015, 18:04
|
#7
|
elite*gold: 0
Join Date: Dec 2012
Posts: 142
Received Thanks: 686
|
|
|
|
11/23/2015, 07:59
|
#8
|
elite*gold: 0
Join Date: Apr 2014
Posts: 27
Received Thanks: 1
|
Thanks Guys
|
|
|
|
Similar Threads
|
Cash.sdata
02/05/2012 - Shaiya - 13 Replies
Hi guys. now i have next problem. i want change my item shop. but i can save cash.data from my game.saf :/ someone know how i can save this in my hard disk ??
and btw yesturday i can save this but when i edit my shop i cant save again :/ and my shop not fix :/ help :D
|
[Release] Cash Shop (cash.sdata) Editor
01/29/2012 - Shaiya PServer Development - 20 Replies
This tool is superseded by shStudio
Release 0.6.1 (February 17)
As requested by one of you, you can now use your own list of icons (instead of the embedded one).
The tool does not contain a .dds decoder so you must save your icon file in bmp format and save it in the same directory than the tool with the "cashIcons.bmp" name. If such file is present it's used, otherwise embedded list is used.
The "icon picker" has also be redesign to no longer use the stupid 1-column mode of the...
|
Cash.sdata
12/03/2011 - Shaiya Private Server - 2 Replies
hello a question I change the data (dbo.ProductList) but the shop does not change its why please
bonjour une question je modifie dans la data ( dbo.ProductList ) mais dans la boutique sa ne change pas pourquoi svp
Hello a question I modify in dated her(it) (dbo. ProductList) but in the shop his(her,its) do not change why svp
:confused:
|
Cash.sdata Problem?
11/04/2011 - Shaiya - 1 Replies
How I use it Cash.sdata ???
|
Cash.sdata
04/07/2011 - Shaiya Private Server - 3 Replies
Hello, Is there someone is going to help me I wonder about goods Item?
|
All times are GMT +2. The time now is 17:15.
|
|