Register for your free account! | Forgot your password?

You last visited: Today at 04:51

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

Advertisement



New Upgrade System Vsro S4A

Discussion on New Upgrade System Vsro S4A within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old 11/05/2013, 20:02   #16
 
elite*gold: 0
Join Date: Nov 2013
Posts: 62
Received Thanks: 5
niceeeeeeeeeeeeeeeeeeee
Power Road is offline  
Old 11/08/2013, 20:39   #17
 
StayAlive-Online's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 174
Received Thanks: 29
this code you can use it with any thing in game to change x item to y item with option or not

i thing this is good idea to make some special change in your server
StayAlive-Online is offline  
Old 11/08/2013, 21:17   #18
 
ahmed4ever2u's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,511
Received Thanks: 886
lol . ?
NetWork you know that i'm going to **** you so hard.
ahmed4ever2u is offline  
Old 11/08/2013, 21:59   #19
 
elite*gold: 2
Join Date: Aug 2011
Posts: 833
Received Thanks: 1,130
Not to be picky... but this piece of code could have potentially horrible side effects on your server especially considering you dont even remove the old item completely, just un-link it from the characters inventory. Also, you have it coded to only work with 14th degree blade and no indication on how to modify that... whether it should convert all inventory items +7 to the next degree or only the ones you choose. You also did not take into account an inventory that is full or if the items are equiped, again more potential bugs and/or lost items.
Timlock is offline  
Old 11/09/2013, 00:22   #20
 
StayAlive-Online's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 174
Received Thanks: 29
Quote:
Originally Posted by ahmed4ever2u View Post
lol . ?
NetWork you know that i'm going to **** you so hard.
r u talk yo me ?
StayAlive-Online is offline  
Old 11/09/2013, 05:04   #21
 
elite*gold: 0
Join Date: Apr 2012
Posts: 32
Received Thanks: 3
so this is working ?..
SupremeSRO is offline  
Old 11/09/2013, 16:06   #22
 
elite*gold: 2
Join Date: Aug 2011
Posts: 833
Received Thanks: 1,130
Quote:
Originally Posted by SupremeSRO View Post
so this is working ?..
its not a complete system, just part of one... a very small part, which only works with 14d blade...
Timlock is offline  
Thanks
1 User
Old 11/09/2013, 18:59   #23
 
StayAlive-Online's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 174
Received Thanks: 29
Quote:
Originally Posted by Timlock View Post
its not a complete system, just part of one... a very small part, which only works with 14d blade...
bro here i made 1 code to d14 but you can change it to any D with any +
StayAlive-Online is offline  
Old 11/25/2013, 10:59   #24
 
elite*gold: 0
Join Date: Aug 2010
Posts: 32
Received Thanks: 1
not work for me i want guide
focus2525 is offline  
Old 12/02/2013, 01:37   #25
 
elite*gold: 0
Join Date: Nov 2013
Posts: 122
Received Thanks: 37
okay i can do the degree change side ( i mean change the code for the degree i want)
but please can you provide us with the scroll code, am a sort of new in the SQL/Pk2 editing ... so if you please help me
Yousefayyoub is offline  
Old 08/09/2014, 05:10   #26
 
elite*gold: 0
Join Date: Feb 2014
Posts: 157
Received Thanks: 70
when make this code this happen what this

Msg 137, Level 15, State 1, Procedure _AddTimedJob, Line 61
Must declare the scalar variable "@CharName16".
Msg 137, Level 15, State 2, Procedure _AddTimedJob, Line 62
Must declare the scalar variable "@CharName16".
hancook1st is offline  
Old 08/09/2014, 11:24   #27
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 762
PHP Code:
 if (@JobID SKILL_ID)
    
BEGIN
        
DECLARE @OldItemCodeName VARCHAR(128) = 'ITEM_EU_TSWORD_14_B_RARE',
                @
OldItemPlus INT 7,
                @
NewItemCodeName VARCHAR(128) = 'ITEM_EU_TSWORD_15_A_RARE',
                @
NewItemPlus INT 0,
                @
ReplaceID INT,
                @
CharName16 VARCHAR(16)

        
SELECT @ReplaceID TOP 1 ItemID FROM _Inventory IV
        INNER JOIN _Items I
        ON I
.ID64 IV.ItemID
        INNER JOIN _RefObjCommon ROC
        ON ROC
.ID I.RefItemID
        WHERE IV
.CharID=CharID AND ROC.CodeName128=@OldItemCodeName AND I.OptLevel = @OldItemPlus

        SELECT 
@CharName16 FROM _Char WHERE CharID = @CharID

        
IF (@ReplaceID IS NOT NULL)
        
BEGIN
            UPDATE _Inventory SET ItemID 
0 WHERE ItemID = @ReplaceID AND CharID = @CharID
            EXEC _ADD_ITEM_EXTERN 
@CharName16 , @NewItemCodeName , @NewItemPlus
        
RETURN -3
        END
    END 
fixed and rewrote it but I dont recommend it

Want a better and full version? just pm me, then we can negotiate the price
Syloxx is offline  
Old 08/10/2014, 06:21   #28
 
Eslam Galull's Avatar
 
elite*gold: 85
Join Date: Aug 2010
Posts: 1,278
Received Thanks: 521
did you ever test this before release ! ?
Eslam Galull is offline  
Old 03/08/2016, 16:14   #29
 
elite*gold: 16
Join Date: Oct 2015
Posts: 12
Received Thanks: 4
Msg 137, Level 15, State 2, Procedure _AddTimedJob, Line 67
Must declare the scalar variable "@olditemCodeName".
Msg 137, Level 15, State 1, Procedure _AddTimedJob, Line 71
Must declare the scalar variable "@CharName16".
Msg 137, Level 15, State 2, Procedure _AddTimedJob, Line 72
Must declare the scalar variable "@CharName16".
help me pls
clbgms is offline  
Reply


Similar Threads Similar Threads
Vsro Weapon Upgrade System
02/16/2014 - SRO PServer Guides & Releases - 51 Replies
Well this is the 2nd version = Non Beta :) Installing Open your SHARD DB and Goto _Chest then add new column called (Type) http://img846.imageshack.us/img846/3636/17351573. png http://img832.imageshack.us/img832/4476/15631955. png http://img211.imageshack.us/img211/3139/38677783. png
Vsro Weapon Upgrade System (query used to do )
09/05/2012 - SRO Private Server - 1 Replies
Declare @maxserial BIgINT = (select MAX(serial64)from _Items)+1, @RefItemID BIGINT, @UpgradeItemCodeName VARCHAR (70), @Data BigInt, @maxID64 BIgINT = (select MAX(ID64)from _Items)+1, @Optlevel INT , @Check_Correct VARCHAR (40) IF NOT EXISTS (select UserJID From _Chest where UserJID IN (select UserJID from _User where CharID IN (select CharID from _Memo where Message like '%Upgrade%My%SWORD%')))
Vsro Weapon Upgrade System !
09/03/2012 - SRO Private Server - 40 Replies
i made a little trick which depends on the db i was able to create main tool which it allow you to upgrade your weapons inside vsro ! ofc its not like ISRO ! well let me explain more if a player have D11 weapon and its FB +7 and he wish to get D12 weapon clean .. if he want to upgrade his bow he will send a message for him self (upgrade my bow) then he will teleport some where and pom ! he will find his new bow and the old one is gone !



All times are GMT +2. The time now is 04:51.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.