• 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++ Dual Wielding TFS 1.4

I solved the top part because I already had a function created with the same name so I made an adaptation.

Now I have these two different observation from the original code. What to do?

1663020793669.png


This file vocation.cpp the original file is,

if ((attr = vocationNode.attribute("dualwield"))) {
voc.dualWield = attr.as_bool();
}

i changed for;
} else if (strcasecmp(attrName, "dualwield") == 0) {
voc.dualWield = pugi::cast<uint32_t>(attrNode.value());

and no have this part in tfs 1.4.

1663021270651.png

I compiled without errors but I can't equip the 2 weapons together.
 
Back
Top