Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 19:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Item Mall Error 0

Discussion on Item Mall Error 0 within the Shaiya Private Server forum part of the Shaiya category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 38
Received Thanks: 15
Item Mall Error 0

I just open my private server ep 4.5 with files i found here on elitepvpers 1 week ago and everything work fine..everything...till yesterday..i come in game,buy Apparence Change Scroll and i dc..error 0. (wtf)
I lost 1 whole day by reading posts on interent but i didnt found solution anywhere soo...i delet whole server and re-make it from zero..
The 1st thing i try when i re-make server was:
-enter with the origin account (admin / admin123)(the only 1 that exist) and buy something from item mall (original one) but i get dc (error 0)
Thats strange cuz i was at 0 Ap and item that i try buy was 99AP soo normaly if item mall work fine it have to say "inssufcient point" and not dc me with error 0..I read on orther posts that some ppl have this error when buy some item that cost AP soo i set cost to 0 AP and try buy again..but nothing change..same error 0 every time.
Thta mean the problem wasnt my Cash.SData but something different and,like i say befor i didnt found any solution.
Dont answer me "use search bottom" cuz i alredy use it and i read 50 useless thread with no solution...
Igris32 is offline  
Old 09/14/2012, 20:52   #2
 
TeddyBear94's Avatar
 
elite*gold: 10
Join Date: May 2012
Posts: 1,857
Received Thanks: 2,632
mh what amount of change scroll u putted in? if u put a to high number in it can dc u and ur server
TeddyBear94 is offline  
Old 09/14/2012, 21:19   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 38
Received Thanks: 15
Quote:
Originally Posted by TeddyBear94 View Post
mh what amount of change scroll u putted in? if u put a to high number in it can dc u and ur server
i know what u talk about,that happend alredy but only with potion.with orther item it say "inventory is full".
anyway apparance change scroll is in stock of 1 in Cash.SData and also in Item.SData soo the problem is not that.
Igris32 is offline  
Old 09/14/2012, 21:20   #4
 
JohnHeatz's Avatar
 
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
Can you show us the logs in which this is shown?
JohnHeatz is offline  
Old 09/14/2012, 22:24   #5
 
elite*gold: 0
Join Date: Mar 2009
Posts: 38
Received Thanks: 15
Quote:
Originally Posted by JohnHeatz View Post
Can you show us the logs in which this is shown?
Here is the error:

Quote:
2012-09-14 22:09:47 PS_DBAGENT__system log start (DBAgent01)

2012-09-14 22:09:54 connect game, Name=



2012-09-14 22:09:54 connect game, Name=



2012-09-14 22:11:04 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Errore durante la conversione del tipo di dati da varchar a datetime., SQL STATE: 42000, NATIVE ERROR: 8114 (0x1FB2)

2012-09-14 22:11:04 SaveBuyPointItem 10 Titan qerr=0, {?=call usp_Save_User_BuyPointItems_NCash(1,10,0,'B1_free0 021','2012-09-14 22:11:04')}
Anway i tryied to make this
Quote:
Proc [dbo].[usp_Save_User_BuyPointItems_NCash]
@UserUID int,
@CharID int,
@UsePoint int,
@ProductCode varchar(20),
@textDate varchar(30)
as
Didnt Work..

Im sure that SQL Server 2005 make this error but im not pro soo i dont know how to fix.
Edit: i think i will try to download SQL 2012 But not sure if it will work on XP SP3
Igris32 is offline  
Old 09/15/2012, 18:52   #6
 
x-DoeSn'TxMaTTeR-x's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 152
Received Thanks: 72
I'm having this error too now T.T
So..I tought that was bout installation fkd up and i formatted the VB.
Reinstalled all sent item and cash query started the client and...Still error 0.
But I saw 1 thing.Really strange..
When i started the game,and i went to create a toon, it said error Name already exist.
The very very first and second time i formatted all and reinstalled all...this didn't happened...
Now with all clean, i got this error.And after i fixed it, the item mall continued with error 0.
If you look in epvp, you will see no one have the fix for this..Yeah...there's a guide in the index too but it dont' really work..
there may be an error in the NAME ALREADY EXIST FIX query that fk up the item mall?
I'm sure these 2 things are linked.
Let us know pls! Don't leave us xD


Quote:
USE [PS_GameData]
GO
drop procedure [dbo].[usp_Save_Char_Item_Add_E]
GO

SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO


/****** 개체: 저장 프로시저 dbo.usp_Save_Char_Item_Add_E ******/


CREATE Proc usp_Save_Char_Item_Add_E

@CharID int,
@ItemUID bigint,
@Bag tinyint,
@Slot tinyint,
@ItemID int,
@Type tinyint,
@TypeID tinyint,
@Quality int,
@Gem1 tinyint,
@Gem2 tinyint,
@Gem3 tinyint,
@Gem4 tinyint,
@Gem5 tinyint,
@Gem6 tinyint,
@Craftname varchar(20) = '',
@Count tinyint,
@MaketimeZ varchar(50),
@Maketype char(1)

AS
DECLARE @Maketime as datetime
SELECT @Maketime = CONVERT(datetime, @MaketimeZ, 120)
--SET NOCOUNT ON

IF(@Quality >= 5000)
BEGIN
SET @Quality=0
END

INSERT INTO CharItems
(CharID, bag, slot, ItemID, Type, TypeID, ItemUID, quality, gem1, gem2, gem3, gem4,
gem5, gem6, craftname, [count], maketime, maketype)
VALUES(@CharID, @Bag, @Slot, @ItemID, @Type, @TypeID, @ItemUID, @Quality, @Gem1, @Gem2, @Gem3, @Gem4,
@Gem5, @Gem6, @Craftname, @Count, @Maketime, @Maketype)

IF(@@ERROR = 0)
BEGIN
RETURN 1
END
ELSE
BEGIN
RETURN -1
END

--SET NOCOUNT OFF



GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
x-DoeSn'TxMaTTeR-x is offline  
Old 09/15/2012, 19:02   #7
 
elite*gold: 0
Join Date: Mar 2009
Posts: 38
Received Thanks: 15
Im almost sure that problem of Item Mall is in this query.

This is my query from: usp_Save_User_BuyPointItems_NCash

Quote:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[usp_Save_User_BuyPointItems_NCash]') AND type in (N'P', N'PC'))
BEGIN
EXEC dbo.sp_executesql @statement = N'

/****** Shoping Mall Fixed by sandolkakos Website: ******/



CREATE Proc [dbo].[usp_Save_User_BuyPointItems_NCash]

@UserUID int,
@CharID int,
@UsePoint int,
@ProductCode varchar(20),
@UseDate datetime

AS

SET NOCOUNT ON
SET XACT_ABORT ON

DECLARE @UseType int
DECLARE @ReturnValue int

SET @UseType = 1 -- 掘衙

BEGIN DISTRIBUTED TRANSACTION


EXEC @ReturnValue = PS_UserData.dbo.usp_Update_UserPoint @UserUID, @UsePoint
IF ( @ReturnValue < 0 )
BEGIN
GOTO ERROR
END
-- ?檣? 離馬(Old, 夥煎 UPDATE僥 陳塒唳辦 醴憮?纂陛 號檜 橾橫陴)
--UPDATE PS_UserData.dbo.Users_Master SET Point=Point-@UsePoint WHERE UserUID=@UserUID
--IF( @@ERROR<>0 OR @@ROWCOUNT=0)
--BEGIN
-- GOTO ERROR
--END

-- ?檣? 煎斜 晦煙
INSERT INTO PointLog(UseType,UserUID,CharID,UsePoint,ProductCo de,UseDate)
VALUES(@UseType,@UserUID,@CharID,@UsePoint,@Produc tCode,@UseDate)
IF( @@ERROR<>0)
BEGIN
GOTO ERROR
END

COMMIT TRAN
RETURN 1

ERROR:
ROLLBACK TRAN
RETURN -1


SET XACT_ABORT OFF
SET NOCOUNT OFF

'
END
Igris32 is offline  
Old 09/15/2012, 21:43   #8
 
JohnHeatz's Avatar
 
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
Code:
2012-09-14 22:11:04 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server][B][COLOR="Red"]Errore durante la conversione del tipo di dati da varchar a datetime[/COLOR][/B]., SQL STATE: 42000, NATIVE ERROR: 8114 (0x1FB2)
That is the error, just check for the way on doing this conversion, and you will get it fixed, as the error is telling you exactly that there was an "error during the conversion from varchar to datetime".
JohnHeatz is offline  
Old 09/15/2012, 22:56   #9
 
x-DoeSn'TxMaTTeR-x's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 152
Received Thanks: 72
I resolved deleting my virtual machine reinstalling it with Omega server file and msql 2008 and not the 2005.
Ty anyway
x-DoeSn'TxMaTTeR-x is offline  
Old 09/16/2012, 21:12   #10
 
elite*gold: 0
Join Date: Mar 2009
Posts: 38
Received Thanks: 15
Quote:
Originally Posted by JohnHeatz View Post
Code:
2012-09-14 22:11:04 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server][B][COLOR="Red"]Errore durante la conversione del tipo di dati da varchar a datetime[/COLOR][/B]., SQL STATE: 42000, NATIVE ERROR: 8114 (0x1FB2)
That is the error, just check for the way on doing this conversion, and you will get it fixed, as the error is telling you exactly that there was an "error during the conversion from varchar to datetime".
Ehm,tell me where is the problem dont help me to solve it.
I alredy know the problem is here ( i think) but i dont know to solve it. That way i ask help here
Quote:
CREATE Proc [dbo].[usp_Save_User_BuyPointItems_NCash]

@UserUID int,
@CharID int,
@UsePoint int,
@ProductCode varchar(20),
@UseDate datetime


AS

SET NOCOUNT ON
SET XACT_ABORT ON
Igris32 is offline  
Old 08/25/2014, 16:16   #11
 
elite*gold: 0
Join Date: Aug 2014
Posts: 1
Received Thanks: 0
help me guys pls

hi guys i got insert error when i am trying to Execute Cash.sdata in SQL server 2005 it's says Msg 213, Level 16, State 1, Line 1
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 2
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 3
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 4
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 5
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 6
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 7
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 8
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 9
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 10
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 11
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 12
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 13
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 14
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 15
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 16
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 17
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 18
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 19
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 20
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 21
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 22
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 23
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 24
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 25
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 26
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 27
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 28
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 29
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 30
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 31
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 32
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 33
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 34
Insert Error: Column name or number of supplied values does not match table definition.
Msg 213, Level 16, State 1, Line 35
Insert Error: Column name or number of supplied values does not match table definition.
help me please
qesha is offline  
Old 08/25/2014, 16:53   #12
 
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 392
You might want to post the actual values you are trying to input into SQL. I assume it is from the ShStudio script once you saved Cash.Sdata, and you're not trying to import the Sdata itself to your database..somehow..

If i remember correctly, it's because the values given by ShStudio don't include 1 or more of the useless columns in that DB table, you just need to drop/recreate the table without any columns that aren't present in the Sql Script made by ShStudio and it'll work properly.

This is an example of what i assume the data you are trying to write into SQL looks like.
And this is what my 'Cash' table looks like. Compare it to your own to see if you have any more/less columns.
Truth1010 is offline  
Thanks
1 User
Old 08/25/2014, 16:59   #13
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,455
It's the good old issue. Remove the RowID column or make it an identity and it'll work.
nubness is offline  
Thanks
1 User
Old 07/27/2015, 08:21   #14
 
elite*gold: 0
Join Date: Jul 2015
Posts: 6
Received Thanks: 0
Before you post it in SQL you add ('''Name of Sale', More......)
shaiyacreatureboang is offline  
Old 07/27/2015, 11:11   #15
 
elite*gold: 0
Join Date: Jun 2014
Posts: 113
Received Thanks: 32
Quote:
Originally Posted by shaiyacreatureboang View Post
Before you post it in SQL you add ('''Name of Sale', More......)
Please don't bring back old threads.
Pave99 is offline  
Closed Thread


Similar Threads Similar Threads
Ep.5 Shaiya item mall Error= 0
05/09/2024 - Shaiya Private Server - 15 Replies
Hello I met this problem earlier today when i tryed to modify my item mall. I extracted Cash.SData out of data.sah of my own client and modified in there with some items. When I try to buy them i get dced.(error 0). I checked the log PS_DBAGENT_system and i got this error 2012-09-05 06:58:39 PS_DBAGENT__system log start (DBAgent01) 2012-09-05 06:58:42 connect game, Name= 2012-09-05 06:58:42 connect game, Name=
[VSro]Item Mall Error
07/27/2013 - SRO Private Server - 3 Replies
Hello everyone i have add weapon elixier a grade to item mall and all 4 tables refshopgoods refpricepolicyofitem refscrapofpackageitem refpackageitem
Item mall error
06/13/2012 - Shaiya Private Server - 0 Replies
Hi there guys.. I have a lil problem with my item mall at first it had an EXP error. I fixed that error. But now the problem got worse: If someone buys the whole server goes down. This is the error:
Item Mall and GameServer Error
09/21/2011 - SRO Private Server - 6 Replies
hi, item from the mall when you receive the item Error to cause such a gameserver? the game will disconnect Query Error!!! Query Result : -1, Query : {CALL _STRG_ADD_PACKAGEITEM (24,6702,23,48626,1,30300,0,0,0,99,'')} SQL Error State:08004, Native Error Code: 38F, ODBC Error: Could not locate entry in sysdatabases for database 'SRO_VT_ACCOUNT'. No entry found with that name. Make sure that the name is entered correctly. {CALL _STRG_ADD_PACKAGEITEM...
Item Mall error on EP5
07/24/2011 - Shaiya Private Server - 2 Replies
Hello all , My server is 5.3 and is public for friends , now i got a problem with the Item mall , i had never problems with it till yesterday. I checked My logs and it give 1 Error in PS_DBAGENT: 2011-04-17 13:50:12 err=-1, Er is een fout opgetreden bij het converteren van het gegevenstype VARCHAR naar DATETIME., SQL STATE: 42000, NATIVE ERROR: 8114 (0x1FB2) 2011-04-17 13:50:12 SaveBuyPointItem 11 adminn qerr=0, {?=call usp_Save_User_BuyPointItems_NCash(1,11,0,'Uber...



All times are GMT +1. The time now is 19:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.