Register for your free account! | Forgot your password?

You last visited: Today at 01:26

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

Advertisement



[RELEASE] Upgrade System

Discussion on [RELEASE] Upgrade System within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old 04/20/2015, 02:33   #16
 
elite*gold: 0
Join Date: Jan 2008
Posts: 79
Received Thanks: 8
won't explain to get some money lol !!
btw i made it work
and ty for the best on i have ever seen #karemsa
the one and the only one <3
raptter is offline  
Old 08/05/2015, 07:48   #17
 
elite*gold: 0
Join Date: Feb 2012
Posts: 551
Received Thanks: 46
great it's working fine but i tried to make one for weapon , 1 for set , 1 for acc , 1 for shield the weapon and the shield is working so good but the set and the acc upgrade only 1 item not the whole set or acc i think it's from selecting the refitemid idk what's wrong really
PS : i added new procedures for each sort of item with the different slots
weapon = 6 , shield = 7 , set between 0 and 5 , acc between 9 and 12
thebigbody is offline  
Old 08/05/2015, 09:19   #18
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 762
Quote:
Originally Posted by thebigbody View Post
great it's working fine but i tried to make one for weapon , 1 for set , 1 for acc , 1 for shield the weapon and the shield is working so good but the set and the acc upgrade only 1 item not the whole set or acc i think it's from selecting the refitemid idk what's wrong really
PS : i added new procedures for each sort of item with the different slots
weapon = 6 , shield = 7 , set between 0 and 5 , acc between 9 and 12
a variable can only hold 1 value (ItemID in this case) so you have to do a while loop
Syloxx is offline  
Old 08/05/2015, 16:55   #19
 
elite*gold: 0
Join Date: Feb 2012
Posts: 551
Received Thanks: 46
Quote:
Originally Posted by Syloxx View Post
a variable can only hold 1 value (ItemID in this case) so you have to do a while loop
you have tut for that or even hints cuz i really dunno how to do it
and what if i made one for every slot that may cause lag ?
thebigbody is offline  
Old 08/05/2015, 17:30   #20
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 762
Code:
DECLARE @Slot tinyint = 0 /*_# choose your start slot*/

WHILE @Slot BETWEEN 0 AND 10000
BEGIN
    /*_# INSERT QUERY HERE*/

    SET @Slot += 1
END
thats my hint for you
Syloxx is offline  
Thanks
1 User
Old 08/05/2015, 19:21   #21
 
elite*gold: 0
Join Date: Feb 2012
Posts: 551
Received Thanks: 46
well thx for the hint but i think iam kinda nooby to figure it out too
so i made my own way like i told u before 1 proc to each slot of item
but ofc 1 scroll to execute the 6 proc for set and other one for the 4 proc for acc
anyway it's working 100% thank you very much
thebigbody is offline  
Old 05/30/2018, 15:39   #22
 
elite*gold: 0
Join Date: Jan 2009
Posts: 152
Received Thanks: 28
well i know this is an old threat but, i got a question if the query ran with a scroll, is there a way to prevent the scroll from being started if the required item not in slot 13 for example ?
memoxl is offline  
Old 05/30/2018, 15:57   #23
 
blapanda's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 757
Quote:
Originally Posted by memoxl View Post
well i know this is an old threat but, i got a question if the query ran with a scroll, is there a way to prevent the scroll from being started if the required item not in slot 13 for example ?
No, that needs the same mechanic of the growth-pet revive, grab pet time extension or gear gender change. The option you are using (teleport and update table information) is a usual "if you have not the possibility editing the source code"-approach and cannot be checked natively.

The only thing you can do is making an additional if statement while teleporting "if in slot 13 item not weapon (but using a scroll to do things with a weapon) then add back scroll while teleporting/refreshing character data".
blapanda is offline  
Thanks
1 User
Old 05/30/2018, 16:04   #24
 
elite*gold: 0
Join Date: Jan 2009
Posts: 152
Received Thanks: 28
Quote:
Originally Posted by blapanda View Post
No, that needs the same mechanic of the growth-pet revive, grab pet time extension or gear gender change. The option you are using (teleport and update table information) is a usual "if you have not the possibility editing the source code"-approach and cannot be checked natively.

The only thing you can do is making an additional if statement while teleporting "if in slot 13 item not weapon (but using a scroll to do things with a weapon) then add back scroll while teleporting/refreshing character data".
Thank you so much for your reply, and yea that was the idea i was thinking about if there is no way to prevent the scroll from starting then no way but puting the scroll back to the character
memoxl is offline  
Old 05/30/2018, 18:50   #25
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 762
Quote:
Originally Posted by memoxl View Post
well i know this is an old threat but, i got a question if the query ran with a scroll, is there a way to prevent the scroll from being started if the required item not in slot 13 for example ?
Hey,
there is actually a way 2 do that (never realized it... just an idea)

You set the item type "Gender Switch" or "COS Item" to the new item (via TypeID) and then you need a packet filter.

The Client sends the Item Slot to the Server and well... you basically block that packet on your packet filter, call an execute with the slot as arg to the SQL Server and force teleport with an clientless bot (/totown)

just a concept... didnt developed it yet

or another idea (also filter based) ... my query returns values... you can just execute the query from the filter instead of the Log_DB and well... if Return Value != 0 block package from usage and send a message to the client

the 1st idea allows you to basically use any slot with a nice GUI (just like a scroll you use to swap the gender of items)
the 2nd is easier to develop but forces you to use a static slot and you also dont need a clientless bot here.

Incase you would use the 2nd feature... it could be developed with a config in mind so you could basically use that for ANY scroll not just that one

if you are interested i could develop a kind of sub filter that includes that feature but we would have to talk about the price.
If otherwise is another developer reads that and got some spare time feel free to develop that idea... unfortionally i am currently pretty busy and i haven't any spare time i could offer for free :S

Incase an other developer wanna do that:
please dont forget to delete the item and that in a correct way (dont just set ItemID = 0 in _Inventory srsly you just fill the _Items table with trash... Silkroad is actually smart enough to recicle unused entries in the _Items table... thats why there is an Serial... because ID64 will be reused)

Quote:
Originally Posted by blapanda View Post
No, that needs the same mechanic of the growth-pet revive, grab pet time extension or gear gender change. The option you are using (teleport and update table information) is a usual "if you have not the possibility editing the source code"-approach and cannot be checked natively.

The only thing you can do is making an additional if statement while teleporting "if in slot 13 item not weapon (but using a scroll to do things with a weapon) then add back scroll while teleporting/refreshing character data".
My Query already readds the scroll incase there isnt an action...
Syloxx is offline  
Old 09/25/2018, 02:32   #26
 
where_love2003's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 190
Received Thanks: 27
what about it ?
Quote:
EXEC TM_SHARD.._ADD_ITEM_EXTERN @CharName, @Scroll, 1, 0;
if weapon not plus 7 will not back again scroll
where_love2003 is offline  
Reply


Similar Threads Similar Threads
[Release] Quest Upgrade System
06/14/2016 - SRO PServer Guides & Releases - 26 Replies
I had some free time and i was thinking to write a procedure that upgrades your items by quests instead of using scrolls, and i have made it and tested it. it worked so i decided to release it since i don't need it. FAQ How does this system work? You have to collect a certain number of a weapon, and once gained you can upgrade that count of that weapon to a newer seal of that weapon from a quest. But i don't have upgrade quest,how to make it? MaDenGo released it before , it is not...
[Release] Upgrade System - 3 Lines only, Better performance
03/23/2015 - SRO PServer Guides & Releases - 5 Replies
Hey guys, Everybody here heard of this system, most of ya guys probably know it. But unfortunately every release related to this system doesn't work properly or has a bad performance, so i decided to code a new one and release it. FAQ What is this? -This is a system that will upgrade your weapon to a newer seal/degree. How does it work? -Simply put a +9 item in your first slot and use upgrade scroll or whatever you'll name it and you'll get a new weapon. How can i configure it?
Guards-Online | Cap 120-12D | High Rates | Old job system | Play2Win | Upgrade System
11/21/2014 - SRO PServer Advertising - 62 Replies
http://i.epvpimg.com/MVR9h.png Hello elitepvpers, I would like to introduce our new private server Guards.. ◘Links Website|Download|Registration|Facebook http://i.epvpimg.com/nMCph.png|http://s14.directu pload.net/images/140122/wqc4kxi2.png|http://s14.di rectupload.net/images/140122/fnq6eumq.png|http://i .epvpimg.com/QNpqc.png| Basic Information:
[Majestic Online] • Cap 110 • |New System| • |Pve| • |High Rate| • |Upgrade System|
06/27/2014 - SRO PServer Advertising - 8 Replies
http://i.imgur.com/HDqWVLp.jpg Hello Guys ,Server Back Online With a Great System & Sorry For Late Let's Start http://i.imgur.com/5GTRvc6.png?1



All times are GMT +2. The time now is 01:26.


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.