Thread: [Project Moth]
View Single Post
  #9  
Old 04-18-2025, 12:32 PM
m0th
Fire Beetle
 
Join Date: Apr 2025
Posts: 18
Default

PROGRESS LOG 4/18/2025

///////////////////////////////
Experimental

//client.cpp
LINE 302 - mc->classes = 4294967295 ( the maximum uint32 size ) - this is reading for the bitmask of available player classes. Setting it to the int32 maximum opens it up to accept class 17 at Character Creation (via Cheat Engine). Honestly, what would work is to rebuild the UI of Character Creation into drop down menus for Race/Class like it is for Deity and Starting Zones.

//////////////////////////////

//rof_structs.h
LINE 300 - set membership classes to 16 like in previous mentioned structs

//mob.cpp
LINE 7698 - set uint16 class_bitmask to uint32

//embparser_api.cpp
LINE 5836 - set uint16 Perl__get_class_bitmask to uint32

//lua_client.cpp
LINE 3770 - set uint16 GetClassBitmask to uint32

//lua_general.cpp
LINE 5479 - set uint16 lua_get_class_bitmask to uint32

//lua_iteminst.cpp
LINE 58 - bool for IsEquipable changed from uint16 to uint32 for class_bitmask
LINE 494 - def for IsEquipable changed to expected uint32

//lua_iteminst.h
LINE 40 - bool IsEquipable changed from uint16 to uint32 for class_bitmask

//perl_questitem.cpp
LINE 190 - bool for Perl_QuestItem_IsEquipable changed from uint16 to uint32 for class_bitmask
LINE 420 - def for IsEquipable changed to expected uint32

//spells.cpp
LINE 7427 - GetItem check (was 65535, old MAX) set to 4294967295 -- (Prevent MQ2 exploitation method)

//base_spells_new_repository.h
LINE 142 - Added line int32_t "classes17" to accomodate added column in spells database.
LINE 389 - Added line for classes17 string
LINED 633 - Added line for classes17 string
LINE 909 - Added line "e.classes17" = 255;
Reply With Quote