I seem that my DB table user_item has few collumn --- > bad stored procedures
My user_item table
item_id int
char_id int
item_type int
amount int
enchant int
eroded int
bless int
ident int
wished tinyint
warehouse int
errors
07/11/2010 20:01:39.812, Error sql: EXEC lin_CreateItem 13489,6881,0,0,0,0,0,0,0,254,0,0,0,0,0,0,0 (0)
07/11/2010 20:01:39.875, Error 42000:[Microsoft][ODBC SQL Server Driver][sql Server]Procedure or function lin_CreateItem has too many arguments specified.
07/11/2010 20:05:17.203, Error sql: EXEC lin_UpdateUserItem 912,8615,97,0,0,0,0,0,0,15487441,232,4903,34620,49140,52648,37716,49156,2132 (0)
07/11/2010 20:05:17.203, Error 42000:[Microsoft][ODBC SQL Server Driver][sql Server]Procedure or function lin_UpdateUserItem has too many arguments specified.
USE [lin2world]
GO
/****** Object: StoredProcedure [dbo].[lin_UpdateUserItem] Script Date: 07/11/2010 21:12:30 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[lin_UpdateUserItem]
(
@char_id INT,
@item_type INT,
@amount INT,
@enchant INT,
@eroded INT,
@bless INT,
@ident INT,
@wished tinyint,
@warehouse INT,
@item_id INT
)
AS
SET NOCOUNT ON
UPDATE user_item set char_id=@char_id, item_type=@item_type, amount=@amount, enchant=@enchant, eroded=@eroded, bless=@bless, ident=@ident, wished=@wished, warehouse=@warehouse WHERE item_id=@item_id
Could you please help me with this table and with this procedures
Added: a brand-new default dashboard template.
You can now add multiple game/login server builds.
Full support for running both PTS & L2J servers simultaneously, with switching between them.
Payment systems: added OmegaPay and Pally (new PayPal-style API).
Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account.
Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.
Look demo site: demo
MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
Question
fendar
Hi
I have a problem when user tried buy item
I got those errors
I seem that my DB table user_item has few collumn --- > bad stored procedures
My user_item table
errors
my lin_CreateItem function
my lin_UpdateUserItem
Could you please help me with this table and with this procedures
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now