Register for your free account! | Forgot your password?

You last visited: Today at 19:29

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

Advertisement



How to grant magic options to items?

Discussion on How to grant magic options to items? within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2011
Posts: 120
Received Thanks: 31
Question How to grant magic options to items?

Hello vsro experts!

I would like to know how adding magic options at the blacksmith could be enabled on other items that are not avatars like job suits and certain flags.

The blacksmith currently says "Granting of magic option is only possible on avatar items" when trying to grant magic options to an item such as an Avatar Flag in this example that has a non-zero max number of magic options.



I would like to add magic options to these items at the blacksmith the same way as with avatars. Any idea?

Thanks for any input in advance and I wish you have a great day!
thehaifisch is offline  
Old 11/08/2021, 17:16   #2
 
janicka's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 691
Received Thanks: 212
You cant. Flag is not on avatar slot. Maybe you can change item id, but i dont think it will work.
janicka is offline  
Old 11/09/2021, 11:44   #3
 
elite*gold: 0
Join Date: Sep 2011
Posts: 120
Received Thanks: 31
Yes I guess its restricted by TypeID4 as avatar items have a TypeID4 value of either 1, 2 or 3 whereas flags have 4.
But I have no idea where it is configured that only TypeID4 in (1, 2, 3) can have magic options, whether if its somewhere in the database or in a function in the gameserver. Maybe somebody knows
thehaifisch is offline  
Old 11/19/2021, 18:01   #4
 
elite*gold: 0
Join Date: Sep 2011
Posts: 120
Received Thanks: 31
Question BUMP

Bump, anyone got some ideas? According to the database,

Code:
select * from VSRO_SHARD.dbo._RefMagicOptAssign
where TID3 = 13
MATTR_STR_AVATAR and MATTR_INT_AVATAR are both available to items with TypeID4 = 4, which the avatar flags are. But the blacksmith npc still does not have the option.

If the magic option is assigned, how do you get your magic options to the items? What limits the blacksmith npc to TypeID4 in (1, 2, 3)?
thehaifisch is offline  
Old 02/23/2022, 11:00   #5
 
elite*gold: 0
Join Date: Sep 2011
Posts: 120
Received Thanks: 31
Any idea?
thehaifisch is offline  
Old 02/28/2022, 15:02   #6

 
devdash's Avatar
 
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 445
I don't think this will be possible unless you do some edits to the gameserver.exe and maybe the sro_client.exe as well

However, IDK if this idea is good for you, but you can use the avatar's accessory params to switch this flag from using flag params to use avatar's accessory params, once you do that you will be able to grant magic options on the item just like any other avatar's accessory
devdash is offline  
Thanks
1 User
Old 02/28/2022, 15:28   #7
 
elite*gold: 0
Join Date: Sep 2011
Posts: 120
Received Thanks: 31
Quote:
Originally Posted by devdash View Post
I don't think this will be possible unless you do some edits to the gameserver.exe and maybe the sro_client.exe as well

However, IDK if this idea is good for you, but you can use the avatar's accessory params to switch this flag from using flag params to use avatar's accessory params, once you do that you will be able to grant magic options on the item just like any other avatar's accessory
Thanks for the input.

In the meantime I digged a little deeper and found out that the client already checks if the item is supposed to get magic options from the blacksmith or not. Possibly there is a check on server side as well.
But unfortunately I am nowhere near to being capable of tracing it and altering the behavior in a way I would like as I have no assembly experience whatsoever

About changing the parameters as you suggested, wouldnt it change the flags themselves so that they could only be equipped in the same slots as avatar accessories?
thehaifisch is offline  
Thanks
1 User
Old 02/28/2022, 19:11   #8

 
devdash's Avatar
 
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 445
Quote:
Originally Posted by thehaifisch View Post
Thanks for the input.

In the meantime I digged a little deeper and found out that the client already checks if the item is supposed to get magic options from the blacksmith or not. Possibly there is a check on server side as well.
But unfortunately I am nowhere near to being capable of tracing it and altering the behavior in a way I would like as I have no assembly experience whatsoever

About changing the parameters as you suggested, wouldnt it change the flags themselves so that they could only be equipped in the same slots as avatar accessories?
No worries

Well, once you change the params from Flag to Avatar's accessory, they will become actual accessories, they will be on the accessories slot, and the flag slot will be free

I know this is not the best idea, but this is what I can suggest so far if you want to put magic options on that flag, it has to be "an eligible item for magic options"

Maybe an expert can help make your idea come true, but so far this is what I can provide GL anyway.
devdash is offline  
Thanks
1 User
Old 02/28/2022, 22:00   #9
 
elite*gold: 0
Join Date: Sep 2011
Posts: 120
Received Thanks: 31
Quote:
Originally Posted by devdash View Post
No worries

Well, once you change the params from Flag to Avatar's accessory, they will become actual accessories, they will be on the accessories slot, and the flag slot will be free

I know this is not the best idea, but this is what I can suggest so far if you want to put magic options on that flag, it has to be "an eligible item for magic options"

Maybe an expert can help make your idea come true, but so far this is what I can provide GL anyway.
I was afraid of exactly that It would have been so cool if both flags and accessories could be equipped at the same time.

But thank you for your contribution anyways!
thehaifisch is offline  
Thanks
1 User
Old 03/13/2022, 17:40   #10
 
elite*gold: 0
Join Date: Sep 2011
Posts: 120
Received Thanks: 31
Help

Anyone interested in modifying the client(and possibly the server) to allow the granting of magic options at blacksmith for avatar flags? I think for someone who is skilled in ASM it wouldn't be too hard. Unfortunately it's beyond me but I am willing to pay
thehaifisch is offline  
Old 03/14/2022, 13:56   #11
 
Over56's Avatar
 
elite*gold: 0
Join Date: Sep 2016
Posts: 245
Received Thanks: 80
Quote:
Originally Posted by thehaifisch View Post
Anyone interested in modifying the client(and possibly the server) to allow the granting of magic options at blacksmith for avatar flags? I think for someone who is skilled in ASM it wouldn't be too hard. Unfortunately it's beyond me but I am willing to pay
contact me on discord
Over56 is offline  
Old 03/14/2022, 18:45   #12

 
lidzy's Avatar
 
elite*gold: 5
Join Date: Sep 2019
Posts: 127
Received Thanks: 17
try to take a copy of avatar hat line and create new line for flag
lidzy is offline  
Old 03/15/2022, 11:52   #13
 
elite*gold: 0
Join Date: Sep 2011
Posts: 120
Received Thanks: 31
Quote:
Originally Posted by lidzy View Post
try to take a copy of avatar hat line and create new line for flag
Thanks for the suggestion. The problem is that the client checks for typeid4 and possibly the server as well.
thehaifisch is offline  
Reply




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


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.