• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ [OTX 3.8] Error on compiling item attributes

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
937
Solutions
23
Reaction score
447
Location
Santiago - Chile
Engine: OTX 3.8 protocol 8.6

Hi! I edited sources in order to make this system works
Did everything, also added this (don't really know if it was necessary?)
And this fixes (i had missing items.cpp lines same as that thread)
Also the two commits mentioned for 1.2 on attribute thread
To OTX 3.8 (guess it is based on TFS 1.2), but having this errors on compile

First attempt
errores.png
Second attempt
2ndtry.png

Code:
1>..\src\items.cpp(640): error C2039: 'forceSerialize': is not a member of 'ItemType'
1>  d:\users\usuario\desktop\greed380\src\items.h(211): note: see declaration of 'ItemType'

Code:
1>..\src\game.cpp(3711): error C2660: 'Game::combatChangeMana': function does not take 3 arguments
1>..\src\game.cpp(3717): error C2065: 'CONST_ME_CRITICAL_DAMAGE': undeclared identifier

If I missed something, please help! :)
 
Top