celguar / spp-classics-cmangos

SPP Classics repack with ike3 playerbots. Based on cmangos. Supports 1.12, 2.4.3, 3.3.5. Check "Releases" for installer
211 stars 58 forks source link

(Vanilla) Weapon/Armor Proficiency #281

Closed erbenet49 closed 1 month ago

erbenet49 commented 1 month ago

Hey there! Is there a way to remove or modify the weapon/armor requirement (e.g. any class can wear a sword or plate)? I learnt the One-Handed Sword skill on my shaman using the gm command, then Sword appears as white/wearable on the weapon's tooltip but it still cannot be worn - ''You do not have the required proficiency to use that item" I am already using HeidiSQL but just couldn't figure out what or where to change in the database (if it can be changed through it). If anyone knows how and can help, pls do!!

I apologize if this is not the right section for this kind!

celguar commented 1 month ago

need to edit dbc in client archives

celguar commented 1 month ago

I think client has info on what class can wear in dbc...and checks it client side.

erbenet49 commented 1 month ago

Thank you very much for your fast answers! Using WDBX editor, I found 2 files named ItemSubClass.dbc and SkillLineAbility.dbc but I do not know which columns hold the relevant values. ItemSubClass.dbc has Flags but the numbers don't ring any bell for me (e.g. class ids combined) or SkillLineAbility.dbc has ClassMask. Itried to use the same values for plate as cloth in ClassMask (so that I could wear plate on my shaman for example) but nothing has changed. Can you help? I would be really happy if I could make these changes on my server.

erbenet49 commented 1 month ago

I would also like to report an issue. Sorry for not making a new thread! In vanilla spp, if I use DisableRandomLevels = 1 option, everything works fine except warriors and priests (priests problem still needs to be studied) - they get stuck. WARRIORS run for a while and then they get stuck in the attack position. I discovered that this might be due to their combat script, they tend to throw weapon (thrown) at the target so that it gets pulled to their initial attacking spot and then fight it melee. Therefore, at level 1 they don't have the thrown ability learnt or thrown weapons equipped - I discovered this by setting again DisableRandomLevels = 0 and also enabling AutoLearnTrainerSpells=1 and AutoLearnQuestSpells=1 options, then noticing that warriors do function normally by doing the throw weapon and fight tactic. Same if you still not use DisableRandomLevels but set min/max to 1. I trick it by doing DisableRandomLevels = 0 and AutoLearnTrainerSpells and AutoLearnQuestSpell options and set min/max bot level 2 and very low ilvl(so that they all get randomized gear, INCLUDING THROWN) then I enable again DisableRandomLevels (if it matters anymore since they are created using random option, idk how it works) and disable AutoLearnTrainerSpells and AutoLearnQuestSpells, so I can play with fresh newbie bots.

celguar commented 1 month ago

warrior stuck issue is resolved in beta build, switch to it