Register for your free account! | Forgot your password?

You last visited: Today at 05:05

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

Advertisement



How To Remove +8 limit

Discussion on How To Remove +8 limit within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2010
Posts: 689
Received Thanks: 375
How To Remove +8 limit

How To Remove +8 limit gm console

No Limit max +255 please help


Help please
bende16 is offline  
Old 02/06/2019, 12:56   #2
 
Incendlary's Avatar
 
elite*gold: 0
Join Date: Jan 2019
Posts: 17
Received Thanks: 7
Such data exists on the GameServer itself and Chernobyl mentioned that 7 years ago.
You can only change the maximum opt through stored procedure (only applied for SQL and SMC) or you can try figuring out the packets opcodes.
Incendlary is offline  
Old 02/07/2019, 17:39   #3
 
sirout1's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 302
Received Thanks: 33
sirout1 is offline  
Old 07/30/2019, 12:03   #4
 
elite*gold: 0
Join Date: Jun 2019
Posts: 36
Received Thanks: 1
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_SMC_EDIT_ITEM] Script Date: 04/17/2014 18:51:30 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[_SMC_EDIT_ITEM]
----------------------------------------------------- params to find target item
@torage int, /* 0 = inventory, 1 = chest, 2 = guild chest, 3 = Avatar Inventory */
@OwnerName varchar(128), /* account id or char id */
@ int,
@ItemIDToEdit bigint, /* just for check validity */
----------------------------------------------------- params to modify the item
@RefItemID int,
@OptLvl tinyint,
@ bigint,
@Data int,
@reater varchar(32),
@MagParamNum int,
@MagParam1 bigint,
@MagParam2 bigint,
@MagParam3 bigint,
@MagParam4 bigint,
@MagParam5 bigint,
@MagParam6 bigint,
@MagParam7 bigint,
@MagParam8 bigint,
@MagParam9 bigint,
@MagParam10 bigint,
@MagParam11 bigint,
@MagParam12 bigint
as
----------------------------------------------------
-- step 1. check validity of parameters
----------------------------------------------------
if @torage <> 0 and @torage <> 1 and @torage <> 2 and @torage <> 3)
begin
select -1 -- invalid target storage
return
end
declare @ownerid int
declare @ItemID bigint
set @ownerid = 0
set @ItemID = 0
if @torage = 0)
begin
select @ownerid = charid from _char where charname16 = @OwnerName
if (@@rowcount = 0 or @ownerid = 0 or @ownerid is null)
begin
select -2 -- can't find owner
return
end
select @ItemID = ItemID from _inventory where charid = @ownerid and slot = @
end
else if @torage = 1)
begin
select @ownerid = JID from _AccountJID where AccountID = @ownername
if (@@rowcount = 0 or @ownerid = 0 or @ownerid is null)
begin
select -2 -- can't find owner
return
end
select @ItemID = itemid from _chest where userjid = @ownerid and slot = @
end
else if @torage = 2)
begin
select @ownerid = [id] from _guild where [name] = @ownername
if (@@rowcount = 0 or @ownerid = 0 or @ownerid is null)
begin
select -2 -- can't find owner
return
end
select @ItemID = itemid from _guildchest where guildid = @ownerid and slot = @
end
else
begin
select @ownerid = charid from _char where charname16 = @OwnerName
if (@@rowcount = 0 or @ownerid = 0 or @ownerid is null)
begin
select -2 -- can't find owner
return
end
select @ItemID = ItemID from _InventoryForAvatar where charid = @ownerid and slot = @
end

if (@itemID = 0 or @itemid is null)
begin
select -3 -- can't find the item
return
end
if (@itemid <> @ItemIDToEdit)
begin
select -4 -- it's not the one that you wanna edit
return
end
declare @1 int
declare @2 int
select @1 = TypeID1, @2 = TypeID2 from _RefObjCommon with(nolock) where ID = @RefItemID
if @1 <> 3)
begin
select -5 -- about to assign non-item object
return
end
if @2 <> 1) -- is equipment
begin
-- can't assign magic param or optlevel to non-equip item
if (@MagParamNum > 0 or @OptLvl > 0)
begin
select -6
return
end
end

----------------------------------------------------
-- step 2. correct some non-critical parameters
----------------------------------------------------
if (LEN @reater) = 0)
set @reater = NULL

----------------------------------------------------
-- step 3. modify target item to desired values
----------------------------------------------------
if (@MagParamNum = 0)
begin
update _Items
set RefItemID = @RefItemID, OptLevel = @OptLvl, Variance = @, Data = @Data, CreaterName = @reater, MagParamNum = 0
where id64 = @ItemID
end
else
begin
update _Items
set RefItemID = @RefItemID, OptLevel = @OptLvl, Variance = @, Data = @Data, CreaterName = @reater, MagParamNum = @MagParamNum,
MagParam1 = @MagParam1, MagParam2 = @MagParam2, MagParam3 = @MagParam3, MagParam4 = @MagParam4,
MagParam5 = @MagParam5, MagParam6 = @MagParam6, MagParam7 = @MagParam7, MagParam8 = @MagParam8,
MagParam9 = @MagParam9, MagParam10 = @MagParam10, MagParam11 = @MagParam11, MagParam12 = @MagParam12
where id64 = @ItemID
end

if (@@error <> 0 or @@rowcount = 0)
begin
select -7
return
end
select 1
return
suntrockdinokna is offline  
Reply


Similar Threads Similar Threads
[Request Help] Remove mobs / remove eur items / remove npc
02/15/2013 - SRO Private Server - 0 Replies
Iam sure all now saies this guy is mad :D why not remove the db i want to know how i can remove mobs from samrkand and add alex mobs there and remove eur item from npc and drobs and remove some npcs ty guys _________________________ I see that there is too much help here it's my topic no.2 without any answer
HandshakeProcess: handshake retry limit reached! (limit 32 character !NO CHARACTER!)
08/16/2012 - Metin2 Private Server - 10 Replies
Hey Leute. In mom haben wir das Prob das CH2 immer bei uns abscheist. und der fehler. HandshakeProcess: handshake retry limit reached! (limit 32 character !NO CHARACTER!) socket_accept: accept: Software caused connection abort (fd 12) kommt. Könnte jemand mal bitte helfen weil meines wissen nach kommt der fehler glaube ich nur wen mehr als 32 Maps auf einen Core laufen was aber auch wieder komisch ist weil bei uns sind es genau 31.
[B] EA-Origin Acc. BFBC2 Limit Edition & Crysis2 Limit Edition [S] PSC/E*g /uvm...
10/19/2011 - elite*gold Trading - 0 Replies
Hey , Ich Vkfe/Tausche mein eigenen EA-Origin acc. Vorhanden: ID/EMAIL PW Inhalt des acc's.: BattleField Bat Company 2 + Vietnam
New Hack No Card Limit/kein karten limit
05/12/2010 - General Gaming Discussion - 3 Replies
#reoved



All times are GMT +1. The time now is 05:08.


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.