Register for your free account! | Forgot your password?

You last visited: Today at 19:41

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

Advertisement



Help FB Scroll Procedure

Discussion on Help FB Scroll Procedure within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2020
Posts: 33
Received Thanks: 0
Help FB Scroll Procedure

I Have Procedure FB and want delete Variance From This Procedure Because i have scroll stats in server

[ This Procedure FB ] Anyone can edit it and send me new procedure

Want Delete IT From Procedure [ Variance=0 ]
When i try to delete it from procedure
Get This Error

Msg 156, Level 15, State 1, Procedure FB, Line 57
Incorrect syntax near the keyword 'where'.

Thanks

USE [SRO_VT_SHARDLOG]
GO
/****** Object: StoredProcedure [dbo].[FB] Script Date: 14/03/2017 12:00:00 ص ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================

CREATE PROCEDURE [dbo].[FB]
@CHARID INT
AS
BEGIN

SET NOCOUNT ON;


DECLARE @ItemID int
,@Charname VarChar(50)
,@Head int
,@CHEST int
,@LEGS int
@ int
,@HAND int
,@FOOT int
@ int
@ int
@ int
,@ERRING int
@ int
@ int

SELECT @Charname=CHARNAME16 FROM SRO_VT_SHARD.._CHAR WHERE CHARID=@Charid
SET @Charid = (select CharID from SRO_VT_SHARD.._Char where CharName16=@Charname)
SET @Head = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=0 and CharID=@Charid)
SET @CHEST = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=1 and CharID=@Charid)
SET @LEGS = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=4 and CharID=@Charid)
SET @ = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=2 and CharID=@Charid)
SET @HAND = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=3 and CharID=@Charid)
SET @FOOT = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=5 and CharID=@Charid)
SET @ = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=11 and CharID=@Charid)
SET @ = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=12 and CharID=@Charid)
SET @ = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=10 and CharID=@Charid)
SET @ERRING = (Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=9 and CharID=@Charid)
SET @ =(Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=6 and CharID=@Charid)
SET @ =(Select ItemID from SRO_VT_SHARD.dbo._Inventory where Slot=7 and CharID=@Charid)

update SRO_VT_SHARD.._Items
set MagParamNum=6,
MagParam1 =858993459290,
MagParam2 =7301444403351,
MagParam3 =34359738441,
MagParam4=257698037899,
MagParam5=7301444403363,
MagParam6=34359738447,
Variance=0
where ID64 =@Head
---------------

update SRO_VT_SHARD.._Items
set MagParamNum=6,
MagParam1 =858993459290,
MagParam2 =257698037898,
MagParam3 =7301444403351,
MagParam4=7301444403363,
MagParam5=34359738441,
MagParam6=34359738447,
Variance=0
where ID64 =@CHEST

----------------------

update SRO_VT_SHARD.._Items
set MagParamNum=4,
MagParam1 =858993459290,
MagParam2 =257698037898,
MagParam3 =34359738447,
MagParam4=34359738441,
Variance=0
where ID64 @

----------------------
update SRO_VT_SHARD.._Items
set MagParamNum=4,
MagParam1 =858993459290,
MagParam2 =257698037898,
MagParam3 =34359738447,
MagParam4=34359738441,
Variance=0
where ID64 =@HAND


update SRO_VT_SHARD.._Items
set MagParamNum=6,
MagParam1 =858993459290,
MagParam2 =257698037898,
MagParam3 =7301444403351,
MagParam4=34359738447,
MagParam5=7301444403363,
MagParam6=34359738441,
Variance=0
where ID64 =@LEGS

-----------------------

update SRO_VT_SHARD.._Items
set MagParamNum=4,
MagParam1 =858993459290,
MagParam2 =257698037898,
MagParam3 =34359738447,
MagParam4=34359738441,
Variance=0
where ID64 =@FOOT

update SRO_VT_SHARD.._Items
set MagParamNum=6,
MagParam1 =34359738447,
MagParam2 =85899346101,
MagParam3 =85899346095,
MagParam4 =85899346089,
MagParam5 =85899346107,
MagParam6 =34359738441,
Variance=0
where ID64 @



update SRO_VT_SHARD.._Items
set MagParamNum=6,
MagParam1 =34359738447,
MagParam2 =85899346101,
MagParam3 =85899346095,
MagParam4 =85899346089,
MagParam5 =85899346113,
MagParam6 =34359738441,
Variance=0
where ID64 @

update SRO_VT_SHARD.._Items
set MagParamNum=6,
MagParam1 =34359738447,
MagParam2 =34359738441,
MagParam3 =85899346113,
MagParam4 =85899346107,
MagParam5 =85899346089,
MagParam6 =85899346101,
Variance=0
where ID64 @


update SRO_VT_SHARD.._Items
set MagParamNum=6,
MagParam1 =34359738447,
MagParam2 =34359738441,
MagParam3 =85899346113,
MagParam4 =85899346107,
MagParam5 =85899346095,
MagParam6 =85899346089,
Variance=0
where ID64 =@ERRING

update SRO_VT_SHARD.._Items
set MagParamNum=5,
MagParam1 =34359738447,
MagParam2 =34359738441,
MagParam3 =858993459291,
MagParam4 =429496729715,
MagParam5 =257698037862,
Variance=0
where ID64 @


update SRO_VT_SHARD.._Items
set MagParamNum=4,
MagParam1 =858993459291,
MagParam2 =34359738441,
MagParam3 =34359738447,
MagParam4 =429496730022,
Variance=0
where ID64 @
set nocount off;
END
russia_22 is offline  
Old 01/05/2021, 11:15   #2
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,840
Received Thanks: 4,672
Arrow SRO Private Server -> SRO PServer Quest…

#moved
Devsome is offline  
Old 01/05/2021, 11:29   #3
 
elite*gold: 0
Join Date: Dec 2020
Posts: 33
Received Thanks: 0
Quote:
Originally Posted by Devsome View Post
#moved
this not quest
this just procedure scroll
russia_22 is offline  
Old 01/05/2021, 14:05   #4
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,840
Received Thanks: 4,672
Quote:
Originally Posted by russia_22 View Post
this not quest
this just procedure scroll
Quote:
I Have Procedure FB and want delete Variance From This Procedure Because i have scroll stats in server
is now in that section SRO PServer Questions & Answers.
Devsome is offline  
Reply


Similar Threads Similar Threads
Lottery Scroll Procedure Problem
04/08/2020 - SRO Private Server - 4 Replies
Hello Guys I want to make 3 kinds of Lottery Scroll with a different Reward table USE GO /****** Object: Table . Script Date: 07/24/2017 19:54:32 ******/ SET ANSI_NULLS ON GO
hello . i need some help with procedure . someone can help me
02/29/2020 - SRO Private Server - 2 Replies
hello . i need some help with procedure . someone can help me i have procedure and he have bug ... can someone help me ??? USE GO /****** Object: StoredProcedure . Script Date: 2/28/2020 2:46:43 PM ******/ SET ANSI_NULLS ON GO
Procedure For +3 Scroll [_AddTimedJob]
01/14/2015 - SRO PServer Guides & Releases - 0 Replies
Hey every one ! 2day i'll Release new scroRZePvpers this procedure created for give extra +3 to the item in slot '1' at char inventory, but this scroll not work if your item +8 or more. i mean it will give the extra +3 to any D11 EGY A or B +1 ~ +7 in Slot 1 in your inventory. you can change the values as u want ! Slot, Extra plus, Items ID's and which item plus to work
[Release] Silk Scroll Procedure
11/24/2014 - SRO PServer Guides & Releases - 3 Replies
Here it is :) Add this to LOG_DB. _AddLogChar



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


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.