Hello,
Quote:
Originally Posted by mreric1969
I'm not sure if it's a bug or designed this way so far I've only noticed it on type 95 where our armor lapsia, weapon lapsia, power lapsia, defense lapsia etc exsist.
Now say I look at the data and set country to 6 for all classes and save, execute sql and verify it all saves perfectly.
|
I assume "set country to 6 for all classes" stands for: assign the value 6 which means "for all classes" and not "use the value 6 for all classes of items" (where a class is so the Type field).
If that's correct, we didn't indicate for which items you 're changing the value of country field to value 6.
Quote:
Originally Posted by mreric1969
Now for the bug if I open items in Shaiya Studio, and double click on any of these lapsia in type 95 group it resets the country to 0 for humans. I don't think this has any effect on the item in game but kinda odd if it were going to default country to anything it would default it to 6 for all classes.
|
Doing so you are assuming that the country field always designates a group of players as per { Human = 0, Elf = 1, Light = 2, Deatheater = 3, Vail = 4, Dark = 5, All = 6 } definition; what lets you think it is true for all items (all Type of items) ?
Quote:
Originally Posted by mreric1969
When choosing what item is used on the selection boxes are bugged click one box it checks another weird.
|
The good point is that the permuation is not random; thank to report this bug.
Quote:
Originally Posted by mreric1969
UPDATE: It would appear the game ignores the country codes for some items since these items have a country code of 0 meaning there meant for human based classes and my elf class used them without a hitch...
|
Indeed, it is not possible to restrict the use of a lapis or a lapisia to a given faction
For most of items, cntr designates the factions as per above def., but this is *not* true for all items.
For lapisia (item with Type: 95), the following mapping applies:
level linkable to Weapon
cntr linkable to Helmet
class[0] linkable to Armor
class[1] linkable to Pants
class[2] linkable to Shield
class[3] linkable to Gantlet
class[4] linkable to Shoes
class[5] unused
You may open a clean (un edited) BDItemData.sdata (or Item.sdata) to observe that cntr (and level) is used as a boolean (and not as an enum [0..6]) for Types 30, 95, 98.
HTH.