I'm only saying this because I am honest.
If you make a server with a max level over 99 where it hits 3 digits, you're bound to run into issues.
Out of curiosity, what happens if you set the required level to 300? Does the level raise higher than 127?
I edit the core to be max 255 leveling to 255 is ok But my issue are the items like when i edit shadowmourne to be usable by level 255 only. when i set 255 on the item template it sets only to 127 not 255 never tried increasing the level to 300
View attachment 14
Like this Weapon i set it to 255 but still stays at 127
Try increasing the required level #
Yes i did try when i set the item to 255 it goes to 127 like i set a lvl 60 item to 255 in Sql after implimenting it sets to 127 only
Hmm, but I'm saying to increase it higher than 255, put in like 300 or 350.
Yes i did i dont have issues with leveling to 255 i already edited the core to 255 only issue is the items wont set to 255 always reset to 127did you raise the max level in the core to 255 or just the config?
When i try to set it in Database to 255 it resets to 127 also in DatabaseIs it 127 in the database or only ingame? If the former, check what type the RequiredLevel field is (mine is tinyint(3) unsigned NOT NULL) using your prefered SQL editor. If the latter, you may have to look through the core - more specifically, ObjectMgr::LoadItemTemplates in ObjectMgr.cpp. (if you're using Visual Studio, searching for RequiredLevel with Current Block ( LoadItemTemplates() ) selected may help)
Check the column typeWhen i try to set it in Database to 255 it resets to 127 also in Database
Check the column type
.......like laurea said.
itemTemplate.RequiredLevel = uint32(fields[16].GetUInt8()); to 16 and 32
"Nothing worked" So .. you tried something?Yup i did check nothing worked
ALTER TABLE `item_template`
CHANGE COLUMN `RequiredLevel` `RequiredLevel` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `ItemLevel`;
Thanks Parranoia that Solved my problem really Appreciate all the help, and thanks to Faded,Laurea,Rochet2 for Taking Time to figure my issue out... Request for Thread to be Closed Issue Solved More Power to Emudevs :thumbupguy:The RequiredLevel field uses a TINYINT to store data so you cannot exceed it's limit. Whats strange though is that it seems your RequiredLevel field may be signed instead of unsigned.
Try this
Code:ALTER TABLE `item_template` CHANGE COLUMN `RequiredLevel` `RequiredLevel` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `ItemLevel`;