Jump to content

Recommended Posts

Posted

Hi,

I'd like to change starting gear, but without putting items in the player's inventory. I'd just want to switch between the default stuff and mine. I assume it's in the core because I see nothing in the DB (playercreateinfo_item). Maybe I'm wrong .. ?

So please could someone show me how to do that ?

Thanks !

Posted

It's loaded from DBC, if I'm not mistaken. That's why you can't modify it, or well you might ofc look through the last 10k commits and find the one modifying this behavior :)

Regards

Skirnir

Posted

He meaning that if you add custom starting items then its not equipped to character because default gear use same slots early.

Only way avoid adding gear from DBC is modify related code in Player.cpp. In fact easy change must be if you want totally ignore default gear.

Posted

Well If he wants to add items to the player on startup but not equipped on the player (Ie in the players inventory) and also want them to have the original starter gear then simply add your items to the playercreate_items table and they will not be auto equipped if there is already a original starter item in that slot. The items will be placed in the players bags that way.

Posted

@Kreegoth : well that's my point, I don't want the items to go in the bag but to be directly equipped :)

Anyway, I've got another problem now. Everything I add into playercreateinfo_item and playercreateinfo_spell is not managed by Mangos. I added custom gear (one bag) and some spell (Mount - Apprentice), but it's not working :(

Posted

Is the bag you're trying to add a custom created item, like you would see on WoW-V, or is it an unused item like "Foror's Crate Of Endless Resist Gear" 36-slot?

If it is an item you created, then you'll have to remap it to an unused item ID of the same type (bag). This is due to client modifications made after 3.2.2a which prevent simply adding custom items with new IDs to the database.

Posted

Ok I figure the problem.

In Trinity, it's possible to put a "0" for "all races" in those tables. In Mangos it's not.

Is there a way to write "all races" and "all classes" in the DB ? (1024 don't work either)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use