[RELEASE]Skalidor's Remove RedStats/Blues from Items

03/01/2016 19:53 Royalblade*#1
I heard some people are selling this shit for 100$. So I'm releasing this just to fuck around with them.

So this shit removes any kind of blue from an item, that you want removed for whatever reason. Currently its designed to remove red stats but it can be changed to anything by changing BETWEEN 1 - 4 if I remember correctly.
Been over 3 years now that I have this shit. Time to get rid of it.

Oh by the way, this shit is slow as hell probably since it was written at the beginning of my so-called sro career.
There's no proper error handling, transactions or anything. Just pure bullshit. I know, I could've done this a lot easier by STUFF-ing or PIVOT-ing, for example. However, 3 yrs old, what do ya expect.

PS: I'm not releasing the table _RefMagicOptNew; Either you make your own or use statics for the blues.
I've released a formula to calculate blues static somewhere on epvp or RZ before. Don't remember where that shit was. However currently its as dynamic as it can be for various blues.

HF.

- The beloved Royalblade
03/02/2016 01:30 Yui..#2
+1
03/02/2016 09:00 EdwardTeach+-#3
professional as always man
03/02/2016 10:31 Syloxx#4
hmm Akasch, bin besseres von dir gewohnt...

meine query ist sehr viel kürzer und auch schneller :)
03/02/2016 19:57 AdventureOnline#5
+11
03/03/2016 00:24 Royalblade*#6
Quote:
Originally Posted by Syloxx View Post
hmm Akasch, bin besseres von dir gewohnt...

meine query ist sehr viel kürzer und auch schneller :)
This shall answer your concern. Additionally, this is dynamic and parts of it come from other queries of mine. To be exact, the ingame item linking query.

Furthermore, it's executed once a day max. I don't see no need to re-write something for performance when it's almost never executed.

However, yes its crap. Crappy enough to be released on epvp aint it?

Quote:
Originally Posted by Royalblade* View Post
Oh by the way, this shit is slow as hell probably since it was written at the beginning of my so-called sro career.
There's no proper error handling, transactions or anything. Just pure bullshit. I know, I could've done this a lot easier by STUFF-ing or PIVOT-ing, for example. However, 3 yrs old, what do ya expect.
03/03/2016 08:14 Syloxx#7
Quote:
Originally Posted by Royalblade* View Post
This shall answer your concern. Additionally, this is dynamic and parts of it come from other queries of mine. To be exact, the ingame item linking query.

Furthermore, it's executed once a day max. I don't see no need to re-write something for performance when it's almost never executed.

However, yes its crap. Crappy enough to be released on epvp aint it?
Pff as I would take effort to read all the stuff you wrote 😂
03/03/2016 08:26 PlantiX#8
Quote:
Originally Posted by Syloxx View Post
hmm Akasch, bin besseres von dir gewohnt...

meine query ist sehr viel kürzer und auch schneller :)

Nicht gelesen was er dazu geschrieben hat?
03/04/2016 05:59 Bocc1337#9
haha man wtf is that just remove blue from any item? mite want to try this . much much faster..


if (@Operation = '16' and @[Only registered and activated users can see links. Click Here To Register...]Refid ='65001')
begin
Update SRO_VT_SHARD.dbo._Items Set MagParamNum = 0, MagParam1 = NULL, MagParam2 = NULL, MagParam3 = NULL, MagParam4 = NULL, MagParam5 = NULL, MagParam6 = NULL, MagParam7 = NULL, MagParam8 = NULL, MagParam9 = NULL, MagParam10 = NULL, MagParam11 = NULL, MagParam12 = NULL where ID64 in (select ItemID from [SRO_VT_SHARD].[dbo].[_Inventory] where CharID = @[Only registered and activated users can see links. Click Here To Register...]D and Slot= 13 and ItemID>0)
end


Have fun so where my 100 dollers :)
03/04/2016 06:37 sarkoplata#10
Quote:
Originally Posted by sonsof2004 View Post
haha man wtf is that just remove blue from any item? mite want to try this . much much faster..


if (@Operation = '16' and @[Only registered and activated users can see links. Click Here To Register...]Refid ='65001')
begin
Update SRO_VT_SHARD.dbo._Items Set MagParamNum = 0, MagParam1 = NULL, MagParam2 = NULL, MagParam3 = NULL, MagParam4 = NULL, MagParam5 = NULL, MagParam6 = NULL, MagParam7 = NULL, MagParam8 = NULL, MagParam9 = NULL, MagParam10 = NULL, MagParam11 = NULL, MagParam12 = NULL where ID64 in (select ItemID from [SRO_VT_SHARD].[dbo].[_Inventory] where CharID = @[Only registered and activated users can see links. Click Here To Register...]D and Slot= 13 and ItemID>0)
end


Have fun so where my 100 dollers :)
feelsbadman
03/04/2016 12:55 Syloxx#11
Quote:
Originally Posted by sonsof2004 View Post
haha man wtf is that just remove blue from any item? mite want to try this . much much faster..


if (@Operation = '16' and @[Only registered and activated users can see links. Click Here To Register...]Refid ='65001')
begin
Update SRO_VT_SHARD.dbo._Items Set MagParamNum = 0, MagParam1 = NULL, MagParam2 = NULL, MagParam3 = NULL, MagParam4 = NULL, MagParam5 = NULL, MagParam6 = NULL, MagParam7 = NULL, MagParam8 = NULL, MagParam9 = NULL, MagParam10 = NULL, MagParam11 = NULL, MagParam12 = NULL where ID64 in (select ItemID from [SRO_VT_SHARD].[dbo].[_Inventory] where CharID = @[Only registered and activated users can see links. Click Here To Register...]D and Slot= 13 and ItemID>0)
end


Have fun so where my 100 dollers :)
intelligence quotient: bread

removing all currently magparams from an item isn't hard at all.

but an example

6 STR
6 INT
60% Max Durability Reduce
100% Max Durability Increase

you wanna remove the durability reduce only

good luck doing that with your query ;)
03/05/2016 06:13 Bocc1337#12
Quote:
Originally Posted by Syloxx View Post
intelligence quotient: bread

removing all currently magparams from an item isn't hard at all.

but an example

6 STR
6 INT
60% Max Durability Reduce
100% Max Durability Increase

you wanna remove the durability reduce only

good luck doing that with your query ;)
Durability reduce? This query for taking off blues from any item nothing to do with Durability..
03/05/2016 19:24 Royalblade*#13
Quote:
Originally Posted by sonsof2004 View Post
haha man wtf is that just remove blue from any item? mite want to try this . much much faster..


if (@Operation = '16' and @[Only registered and activated users can see links. Click Here To Register...]Refid ='65001')
begin
Update SRO_VT_SHARD.dbo._Items Set MagParamNum = 0, MagParam1 = NULL, MagParam2 = NULL, MagParam3 = NULL, MagParam4 = NULL, MagParam5 = NULL, MagParam6 = NULL, MagParam7 = NULL, MagParam8 = NULL, MagParam9 = NULL, MagParam10 = NULL, MagParam11 = NULL, MagParam12 = NULL where ID64 in (select ItemID from [SRO_VT_SHARD].[dbo].[_Inventory] where CharID = @[Only registered and activated users can see links. Click Here To Register...]D and Slot= 13 and ItemID>0)
end


Have fun so where my 100 dollers :)
Arab idiocy at its best. (definitely no racism intended)
Please, can you just take a deep dive into the nile and remain there for the rest of your pathetic life? Make sure ur germs don't spread man, humanity's biggest challenge is getting rid of you people.
03/05/2016 20:06 WickedNite.#14
Quote:
Originally Posted by Royalblade* View Post
This shall answer your concern. Additionally, this is dynamic and parts of it come from other queries of mine. To be exact, the ingame item linking query.

Furthermore, it's executed once a day max. I don't see no need to re-write something for performance when it's almost never executed.

However, yes its crap. Crappy enough to be released on epvp aint it?
Wait for that BR server with no edits.
03/05/2016 23:36 Bocc1337#15
Quote:
Originally Posted by Royalblade* View Post
Arab idiocy at its best. (definitely no racism intended)
Please, can you just take a deep dive into the nile and remain there for the rest of your pathetic life? Make sure ur germs don't spread man, humanity's biggest challenge is getting rid of you people.
For your info i am a american. Maybe you should check around before you think. _|_