Register for your free account! | Forgot your password?

You last visited: Today at 19:28

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

Advertisement



[Epic Release] Inventory Viewer

Discussion on [Epic Release] Inventory Viewer within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

View Poll Results: Keep Update this tool ?
Yes 17 70.83%
No, Waste of time 7 29.17%
Voters: 24. You may not vote on this poll

Reply
 
Old   #1
 
ahmed4ever2u's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,515
Received Thanks: 891
Thumbs up [Epic Release] Inventory Viewer

  • this tool is only for server owners.
  • made just for fun.
  • First version V 1.00
      • - support 3 pages.
      • - shows item Name and Plus only.
      • - shows gold.
  • updates will follow
  • Suggestions are welcomed.


  • Download link
ahmed4ever2u is offline  
Thanks
10 Users
Old 07/08/2015, 04:13   #2

 
elite*gold: 27
Join Date: Jan 2015
Posts: 1,343
Received Thanks: 892
Awesome, all your releases are epic!
Aaron* is offline  
Old 07/08/2015, 04:15   #3

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 542
Received Thanks: 191
very good *--*

Bro linck error
XxGhostSpiriTxX is offline  
Thanks
1 User
Old 07/08/2015, 04:20   #4
 
@$$'s Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 734
Received Thanks: 88
Link not working
@$$ is offline  
Old 07/08/2015, 04:21   #5
 
witchymoo's Avatar
 
elite*gold: 40
Join Date: Jul 2013
Posts: 167
Received Thanks: 201
ohhh hahaha niceee, you made the GUI version, awesome work

I always used SQL query to check such stuff since i have no knowledge in programming.Well, here it is: (Inventory and Storage)
Code:
USE [SRO_VT_SHARD]
GO
SET NOCOUNT ON;
/*
 * Check items in inventory and storage -- Witchy Moo 20150622
 */
DECLARE @CharName VARCHAR(64)
DECLARE @CharID INT
DECLARE @UserJID INT
DECLARE @ItemID BIGINT
DECLARE @CharSlot TINYINT
DECLARE @CodeName128 VARCHAR(64)

SET @CharName = 'Witchy'	-- set character name here

/* Check items in inventory */
PRINT CHAR(10)+'Inventory Items:'
SELECT @CharID = CharID FROM [_Char] WHERE CharName16 = LTRIM(RTRIM(@CharName))
DECLARE cur CURSOR FOR SELECT ItemID, Slot FROM [_Inventory] WITH (NOLOCK) WHERE CharID = @CharID AND ItemID > 0 ORDER BY Slot ASC
OPEN cur
FETCH NEXT FROM cur INTO @ItemID, @CharSlot
WHILE @@FETCH_STATUS = 0
BEGIN
	SELECT @CodeName128 = CodeName128 FROM [_RefObjCommon] WITH (NOLOCK) WHERE ID = (SELECT RefItemID FROM [_Items] WITH (NOLOCK) WHERE ID64 = @ItemID)
	PRINT '- Inventory slot ' + CAST(@CharSlot AS VARCHAR) + ': ItemID: ' + CAST(@ItemID AS VARCHAR) + ' Code: ' + @CodeName128
	FETCH NEXT FROM cur INTO @ItemID, @CharSlot
END;
CLOSE cur
DEALLOCATE cur
/* Check items in storage */
PRINT CHAR(10)+'Storage Items:'
SELECT @UserJID = UserJID FROM _User WHERE CharID = @CharID
DECLARE cur CURSOR FOR SELECT ItemID, Slot FROM [_Chest] WITH (NOLOCK) WHERE UserJID = @UserJID AND (ItemID <> 0 AND ItemID IS NOT NULL) ORDER BY Slot ASC
OPEN cur
FETCH NEXT FROM cur INTO @ItemID, @CharSlot
WHILE @@FETCH_STATUS = 0
BEGIN
	SELECT @CodeName128 = CodeName128 FROM [_RefObjCommon] WITH (NOLOCK) WHERE ID = (SELECT RefItemID FROM [_Items] WITH (NOLOCK) WHERE ID64 = @ItemID)
	PRINT '- Storage Slot ' + CAST(@CharSlot AS VARCHAR) + ': ' +@CodeName128
	FETCH NEXT FROM cur INTO @ItemID, @CharSlot
END;
CLOSE cur
DEALLOCATE cur
Result:
witchymoo is offline  
Thanks
2 Users
Old 07/08/2015, 05:00   #6
 
ahmed4ever2u's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,515
Received Thanks: 891
Quote:
Originally Posted by witchymoo View Post
ohhh hahaha niceee, you made the GUI version, awesome work

I always used SQL query to check such stuff since i have no knowledge in programming.Well, here it is: (Inventory and Storage)
Code:
USE [SRO_VT_SHARD]
GO
SET NOCOUNT ON;
/*
 * Check items in inventory and storage -- Witchy Moo 20150622
 */
DECLARE @CharName VARCHAR(64)
DECLARE @CharID INT
DECLARE @UserJID INT
DECLARE @ItemID BIGINT
DECLARE @CharSlot TINYINT
DECLARE @CodeName128 VARCHAR(64)

SET @CharName = 'Witchy'	-- set character name here

/* Check items in inventory */
PRINT CHAR(10)+'Inventory Items:'
SELECT @CharID = CharID FROM [_Char] WHERE CharName16 = LTRIM(RTRIM(@CharName))
DECLARE cur CURSOR FOR SELECT ItemID, Slot FROM [_Inventory] WITH (NOLOCK) WHERE CharID = @CharID AND ItemID > 0 ORDER BY Slot ASC
OPEN cur
FETCH NEXT FROM cur INTO @ItemID, @CharSlot
WHILE @@FETCH_STATUS = 0
BEGIN
	SELECT @CodeName128 = CodeName128 FROM [_RefObjCommon] WITH (NOLOCK) WHERE ID = (SELECT RefItemID FROM [_Items] WITH (NOLOCK) WHERE ID64 = @ItemID)
	PRINT '- Inventory slot ' + CAST(@CharSlot AS VARCHAR) + ': ItemID: ' + CAST(@ItemID AS VARCHAR) + ' Code: ' + @CodeName128
	FETCH NEXT FROM cur INTO @ItemID, @CharSlot
END;
CLOSE cur
DEALLOCATE cur
/* Check items in storage */
PRINT CHAR(10)+'Storage Items:'
SELECT @UserJID = UserJID FROM _User WHERE CharID = @CharID
DECLARE cur CURSOR FOR SELECT ItemID, Slot FROM [_Chest] WITH (NOLOCK) WHERE UserJID = @UserJID AND (ItemID <> 0 AND ItemID IS NOT NULL) ORDER BY Slot ASC
OPEN cur
FETCH NEXT FROM cur INTO @ItemID, @CharSlot
WHILE @@FETCH_STATUS = 0
BEGIN
	SELECT @CodeName128 = CodeName128 FROM [_RefObjCommon] WITH (NOLOCK) WHERE ID = (SELECT RefItemID FROM [_Items] WITH (NOLOCK) WHERE ID64 = @ItemID)
	PRINT '- Storage Slot ' + CAST(@CharSlot AS VARCHAR) + ': ' +@CodeName128
	FETCH NEXT FROM cur INTO @ItemID, @CharSlot
END;
CLOSE cur
DEALLOCATE cur
Result:
i always lose sql scripts
also my sql query's in the tool are much more simpler than yours
ahmed4ever2u is offline  
Old 07/08/2015, 11:17   #7
 
elite*gold: 0
Join Date: Jul 2015
Posts: 613
Received Thanks: 192
Awesome,you are released epic tools
Zargrin is offline  
Old 07/08/2015, 14:23   #8
 
where_love2003's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 193
Received Thanks: 27
have virus
where_love2003 is offline  
Thanks
1 User
Old 07/08/2015, 14:31   #9


 
tschulian's Avatar
 
elite*gold: 294
Join Date: Sep 2013
Posts: 1,410
Received Thanks: 635
Quote:
Originally Posted by where_love2003 View Post
have virus
Head_Banger du wirst doch wohl nicht Viren verteilen

#isso

danke für den Release! Ist nützlich und klappt super!
Suggestion wäre da noch delete Function mit einzubringen.
tschulian is offline  
Old 07/08/2015, 19:44   #10
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 774
Quote:
Originally Posted by witchymoo View Post
ohhh hahaha niceee, you made the GUI version, awesome work

I always used SQL query to check such stuff since i have no knowledge in programming.Well, here it is: (Inventory and Storage)
Code:
USE [SRO_VT_SHARD]
GO
SET NOCOUNT ON;
/*
 * Check items in inventory and storage -- Witchy Moo 20150622
 */
DECLARE @CharName VARCHAR(64)
DECLARE @CharID INT
DECLARE @UserJID INT
DECLARE @ItemID BIGINT
DECLARE @CharSlot TINYINT
DECLARE @CodeName128 VARCHAR(64)

SET @CharName = 'Witchy'	-- set character name here

/* Check items in inventory */
PRINT CHAR(10)+'Inventory Items:'
SELECT @CharID = CharID FROM [_Char] WHERE CharName16 = LTRIM(RTRIM(@CharName))
DECLARE cur CURSOR FOR SELECT ItemID, Slot FROM [_Inventory] WITH (NOLOCK) WHERE CharID = @CharID AND ItemID > 0 ORDER BY Slot ASC
OPEN cur
FETCH NEXT FROM cur INTO @ItemID, @CharSlot
WHILE @@FETCH_STATUS = 0
BEGIN
	SELECT @CodeName128 = CodeName128 FROM [_RefObjCommon] WITH (NOLOCK) WHERE ID = (SELECT RefItemID FROM [_Items] WITH (NOLOCK) WHERE ID64 = @ItemID)
	PRINT '- Inventory slot ' + CAST(@CharSlot AS VARCHAR) + ': ItemID: ' + CAST(@ItemID AS VARCHAR) + ' Code: ' + @CodeName128
	FETCH NEXT FROM cur INTO @ItemID, @CharSlot
END;
CLOSE cur
DEALLOCATE cur
/* Check items in storage */
PRINT CHAR(10)+'Storage Items:'
SELECT @UserJID = UserJID FROM _User WHERE CharID = @CharID
DECLARE cur CURSOR FOR SELECT ItemID, Slot FROM [_Chest] WITH (NOLOCK) WHERE UserJID = @UserJID AND (ItemID <> 0 AND ItemID IS NOT NULL) ORDER BY Slot ASC
OPEN cur
FETCH NEXT FROM cur INTO @ItemID, @CharSlot
WHILE @@FETCH_STATUS = 0
BEGIN
	SELECT @CodeName128 = CodeName128 FROM [_RefObjCommon] WITH (NOLOCK) WHERE ID = (SELECT RefItemID FROM [_Items] WITH (NOLOCK) WHERE ID64 = @ItemID)
	PRINT '- Storage Slot ' + CAST(@CharSlot AS VARCHAR) + ': ' +@CodeName128
	FETCH NEXT FROM cur INTO @ItemID, @CharSlot
END;
CLOSE cur
DEALLOCATE cur
Result:
why you still using cursors? o.O
Syloxx is offline  
Old 07/08/2015, 20:15   #11


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
Quote:
Originally Posted by Syloxx View Post
why you still using cursors? o.O
I had this exact thought.
​Exo is offline  
Old 07/08/2015, 20:17   #12
 
elite*gold: 10
Join Date: May 2013
Posts: 1,986
Received Thanks: 1,154
seems legit
Jimmy* is offline  
Old 07/08/2015, 20:48   #13
 
ledgervera's Avatar
 
elite*gold: 80
Join Date: May 2014
Posts: 199
Received Thanks: 456
Lightbulb Suggestion

Add a feature on the program that shows item units.
ledgervera is offline  
Thanks
1 User
Old 07/08/2015, 20:55   #14
 
Imodorox's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 410
Received Thanks: 333
Good Job thanks alot
Imodorox is offline  
Old 07/08/2015, 20:56   #15
 
elite*gold: 0
Join Date: May 2015
Posts: 182
Received Thanks: 61
good job ..
Winor is offline  
Reply


Similar Threads Similar Threads
[RELEASE] Ingame Inventory Viewer
12/04/2015 - Metin2 PServer Guides & Strategies - 99 Replies
So... today Exsta, DrAg0n (from inforge) and I were discussing about how many people like going around praising about their "own creations", trying to make people envy them. And we were growing tired of this behavious. A lot. Many people talk about this mysterious "Inventory Viewer", or "Equipment Viewer", or "Armory"; whatever, call it what you want, I hope you got the point. Thing is, us three decided to try something, and I'm writing here the results of our tries. Now, everything was...
[Release] Web Inventory Viewer
09/12/2013 - Metin2 PServer Guides & Strategies - 32 Replies
Hi e*pvp. I want to give You my php script. With it you can browse inventory in your webpage. Version 1:
[RELEASE] Inventory Viewer Query v1
12/08/2012 - Rappelz Private Server - 18 Replies
Today I release to all smart enough to use, a inventory viewing query that can be embedded into a program or simply used in SSMS. It displays the following info: Owner_ID, Owner_Name, Account_Name, Item_Name, Item_Code, Item_Amount, Item_level, Item_enhance, Item_wear_info, Item_sockets0-3, item_time_remaining, item_last_updated_time /* Query Created by: iSmokeDrow Purpose: Viewing User Inventory Version: 1



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


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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