• 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++ Removing lvl requirement

thomson9292

New Member
Joined
Feb 28, 2017
Messages
97
Solutions
1
Reaction score
2
Which files I have to edit to remove completely lvl requirement for items and weapons. I know in weapons.xml and items.xml are lvl requirement but what about descriptions? Do I have to change something in code?

I'm using tfs 1.2
 
Solution
There's no level requirements in items.xml. All you have to edit is weapons.xml and movements.xml.
No need to edit source.
Which files I have to edit to remove completely lvl requirement for items and weapons. I know in weapons.xml and items.xml are lvl requirement but what about descriptions? Do I have to change something in code?

I'm using tfs 1.2
I did have a look in source at github seems to be inside item.cpp
forgottenserver/item.cpp at master · otland/forgottenserver · GitHub
Search for
Code:
std::string Item::getDescription

Code:
if (it.wieldInfo != 0)
seems to be the part where it shows what requierments it needs

Edit:
well it needs more edits than just in item.cpp i found wieldInfo inside weapons.cpp aswell.
but search for that word inside files that weapons/armor items could be.
 
Last edited:
There's no level requirements in items.xml. All you have to edit is weapons.xml and movements.xml.
No need to edit source.
 
Solution
Back
Top