Sasabmeg / FOnline-BraveNewWorld

FOClassic and PReloaded project, mostly for fodev.net tutorials or module code shares.
https://fodev.net/forum/index.php/topic,30344.0.html
GNU General Public License v3.0
11 stars 4 forks source link

Clean up old server errors/warnings: 'Anydata' / 'bodytype' / 'inventoryTracker' #39

Open Sasabmeg opened 1 year ago

Sasabmeg commented 1 year ago

Following errors still occur when running the server:

[0000:00:36:308] ConstantsManager::GetDefineValue - Define not found, taked zero by default. [0000:00:36:308] ConstantsManager::GetDefineValue - Define not found, taked zero by default.

[0000:00:47:434] Script callback: ERR: Couldn't read AnyData array : vaul_guard : QuestPool::QuestPool(uint) : 13663, 1 : Critter::ParseScript : Npc (5003251). [0000:00:47:458] Script callback: ERR: Couldn't read AnyData array : vaul_guard : QuestPool::QuestPool(uint) : 13663, 1 : Critter::ParseScript : Npc (5003335).

[0000:00:31:860] Script message: client_InventoryTracker : Info : Compiling void CInventoryTracker::ProcessItems() : 15948, 1. [0000:00:31:860] Script message: client_InventoryTracker : Warning : Signed/Unsigned mismatch : 15954, 27. [0000:00:31:860] Script message: client_InventoryTracker : Info : Compiling void CInventoryTracker::SelfDisableAfterDurationExpired() : 15963, 1. [0000:00:31:860] Script message: client_InventoryTracker : Warning : Signed/Unsigned mismatch : 15964, 14. [0000:00:31:860] Script message: client_InventoryTracker : Info : Compiling void CInventoryTracker::SetColors() : 15972, 1. [0000:00:31:860] Script message: client_InventoryTracker : Warning : Signed/Unsigned mismatch : 15973, 14. [0000:00:31:861] Script message: client_InventoryTracker : Info : Compiling void CInventoryTracker::DrawPickedItems() : 15992, 1. [0000:00:31:861] Script message: client_InventoryTracker : Warning : Signed/Unsigned mismatch : 15999, 14. [0000:00:31:861] Script message: client_InventoryTracker : Warning : Signed/Unsigned mismatch : 16009, 5.

Sasabmeg commented 1 year ago

CRTYPE_MALE_DEFAULT is not recognized in cath_barber dialog. I do not know how dialog editor and for the matter engine will load this, but temporary solution would be to hardcode function with value in script. For the time being leaving this, maybe someone finds a better solution.