Hi to all! I found an article here in the explained forum as add adena in char. I tried to make with another one procedure that I found. more it is generating an error…. could speak to me where is the error? I go to post scripts to facilitate.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Based on all your comments, I realized that you are a complete beginner who doesn't understand anything about programming or even the basic concepts of the Java language.
Go study, gain some basic knowledge about the subject, and after you've studied and acquired at least a minimal understanding, you can come back here and ask for clarifications, and I’ll help you with all your questions. 🤣🤣🤣🤣
@Möbius
You should start a comedy show on television, you're very funny, and for those who know your face as well as I do, I can say you'd make a great clown.
The more you try to explain yourself and claim you're the god of L2j, actually, I believe you think of yourself as this god of L2j, but you forget that in this world, there are many programmers better than you who don't engage in fraudulent scams against people.
just like you are doing
@HypeH
Ah, the relentless crusader for truth and justice strikes again! Your tireless dedication to vague accusations and baseless claims is truly inspiring. While some of us spend our days debugging code, fixing issues, and releasing stable updates for the benefit of the community, you, my friend, are out here wielding your mighty sword of… well, nothing in particular.
As for your claims about my project, allow me to say this: The proof is in the code. The official files are available for anyone to review, test, and use. If you truly believe you’ve found some grand scandal, then by all means, shine your spotlight on it. Until then, this theater of yours is nothing but a one-man comedy show ...and the reviews aren’t great.
Spoken by the great scammer who claims to help a community while charging several euros for lousy codes with backdoors.
In terms of project updates, I must agree with you. I posted this several days ago, but I will soon make available here several current fixes, including the ones you are charging innocent people a lot of money for. 🤣😂🤣😂😎
Question
horo
Hi to all! I found an article here in the explained forum as add adena in char. I tried to make with another one procedure that I found. more it is generating an error…. could speak to me where is the error? I go to post scripts to facilitate.
precedure: lin_BetaAddItem
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
/****** Object: Stored Procedure dbo.lin_BetaAddItem Script Date: 2003-09-20 ?? 11:51:56 ******/
ALTER PROCEDURE [dbo].[lin_BetaAddItem]
(
@char_id int,
@Item_type int,
@amount int
)
AS
SET NOCOUNT ON
DECLARE @tempRowCount INT
DECLARE @bIsStackable TINYINT
SELECT @bIsStackable = IsStackable FROM ITEMNAME WHERE id = @Item_type
If @bIsStackable Is NULL
Begin
RAISERROR ('Not exist Item Type', 16, 1)
End
Else
Begin
If @bIsStackable = 1
Begin
Update user_item set amount = amount + @amount where item_type = @Item_type and char_id = @char_id
Set @tempRowCount = @@ROWCOUNT
If @tempRowCount = 0
INSERT INTO user_item (char_id, item_type, amount, enchant, eroded, bless, ident, wished, warehouse) VALUES (@char_id, @Item_type, @amount, 0,0,0,0,0,0)
End
Else If @amount = 1
Begin
INSERT INTO user_item (char_id, item_type, amount, enchant, eroded, bless, ident, wished, warehouse) VALUES (@char_id, @Item_type, @amount, 0,0,0,0,0,0)
Set @tempRowCount = @@ROWCOUNT
End
Else
Begin
RAISERROR ('Amount is invalid', 16, 1)
End
End
If @tempRowCount Is NOT NULL
Select @tempRowCount
==================
script PHP
thanks a lot to all
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.