The errors that are posted in this thread is not solved and this system can still be abused easily.How about Dual Wield - Shield? TFS [1.1.x]
No problems right?
As long as server is not going to crash because of trying to hit with shield, I'm fine.
the guide is a bit outdated. So i aborted the adding it and looks like its only meant for weapons.
Is there now simpler way to say that: shields can be equipped to left hand slot?
I can take it from here, by writing LUA script what shields can be added there and what not.
problem is that I have no clue what he changed and no clue how to merge it with my own source.there is another dual wield feature released by "lordfire" aka ranisalt
problem is that I have no clue what he changed and no clue how to merge it with my own source.
ITEM_ATTRIBUTE_DUAL = 8388608
ITEM_ATTRIBUTE_CHARGES = 1 << 20,
ITEM_ATTRIBUTE_FLUIDTYPE = 1 << 21,
ITEM_ATTRIBUTE_DOORID = 1 << 22,
if (hasAttribute(ITEM_ATTRIBUTE_EXTRADEFENSE)) {
propWriteStream.write<uint8_t>(ATTR_EXTRADEFENSE);
propWriteStream.write<int32_t>(getIntAttr(ITEM_ATTRIBUTE_EXTRADEFENSE));
}
case ATTR_DUAL: {
bool dual;
if (!propStream.read<bool>(dual)) {
return ATTR_READ_ERROR;
}
break;
}
you can do itUpdate tfs 1.2 please
i will fix my source for 1.2 today people
i decided to back to otland xD
https://github.com/ranisalt/forgottenserver/commit/0daf4a3aa895283cf847d4333748ae69eec9b990I'll be waiting anxious for updating the system. Thank you