Can you tell me what should i edit in my src to add this system please? I am using 10.97
bro What files do I have to modify? To add it to my sources.This is a reborn system, on which player reaches level X and then goes back to level 8, you choose how and what status will be available.
This system was designed to TFS 1.2, but can be adapted to any version, the only difference is maybe a function name. Comment if you have problem adapting to your source.
weapons.cpp
weapons.h
spells.cpp
house.cpp
item.cpp
luascript.h
luascript.cpp
game.cpp
player.h
player.cpp
iologindata.cpp
spells.h
house.h
configmanager.h
configmanager.cpp
items.h
![]()
weapons dont show rebirts need for use.
bro What files do I have to modify? To add it to my sources.
only:
Code:weapons.cpp weapons.h spells.cpp house.cpp item.cpp luascript.h luascript.cpp game.cpp player.h player.cpp iologindata.cpp
or any other file bro @Stellow ?
need more files:
Code:spells.h house.h configmanager.h configmanager.cpp items.h
any other? xD
yes, I Configure exactly the changes in your source. Only shows rebirths in the runes. In weapons it does not have any code to show rebirths. Check your sources.Did you configure it in the weapons.xml and rightfully compiled with the items.cpp?
It is working perfectly in my source. only no have code for show rebirths in weapons xDCompile your server with the files I have disposed here, or copy the changes to your source.
if (it.runeLevel > 0) {
s << " level " << it.runeLevel;
}
if (it.runeMagLevel > 0) {
if (it.runeLevel > 0) {
s << " and";
}
s << " magic level " << it.runeMagLevel;
}
if (it.runeRebirth > 0) {
s << " and";
s << " rebirth " << it.runeRebirth;
}
s << " or higher";
}
}
if (it.wieldInfo != 0) {
s << std::endl << "It can only be wielded properly by ";
if (it.wieldInfo & WIELDINFO_PREMIUM) {
s << "premium ";
}
if (!it.vocationString.empty()) {
s << it.vocationString;
} else {
s << "players";
}
if (it.wieldInfo & WIELDINFO_LEVEL) {
s << " of level " << it.minReqLevel << " or higher";
}
if (it.wieldInfo & WIELDINFO_MAGLV) {
if (it.wieldInfo & WIELDINFO_LEVEL) {
s << " and";
} else {
s << " of";
}
s << " magic level " << it.minReqMagicLevel << " or higher";
}
s << '.';
}
May you tell me how you did the more damage part? (or tell me where the files are to read)
Is the damage increased like: non-reborn basic attack damage = 200, reborn = 400? Or it doesn't increase at all?
I thought there was because of what you said. Nevermind.- Increase in damage and spells damage by rebirth
May you tell me how you did the more damage part? (or tell me where the files are to read)
Is the damage increased like: non-reborn basic attack damage = 200, reborn = 400? Or it doesn't increase at all?
so what files are the ones edited specifically i mean i would put all your files and comppile but ive already made some modifications on my sources which i dont want to lose, it would be nice like the common "paste this after this" kind of post haha but still great aportation ;D
thanks, i used sublime text editor i just was kind lazy to search by myself haha but i did it and its great, thanks again for the aportation broI understand. You work around that. Try some software, or even a website that compare files; there you can see what is the different between your file and the rebirth file and manually added it. There is nothing really complex on the sources that you can't do by just matching it. Let me know if you need some help.