• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

New Skills..

Tachi

New Member
Joined
Aug 4, 2007
Messages
376
Reaction score
2
Location
USA, Missouri
Well as the title hints im wanting to add some skills into the server..

For example i wanted to add a wood cutting skill... just like sword, club ect.. how would i go about doing this?...

I already know im going to have to edit the tibia client.. (working on that part..) But i dont know where i would go about doing it in the sorce code of the server... any ideas?
 
Well i dont even have to Edit the client.. i could just make it so you can advance the skill... and to check it i could make a talk action from a check skill
ect...

Any ideas on ADDING the skill to the SERVER???

And maybe a check skill talk action?

its actually pretty easy, i tested it and it works to an extent, havent thoroughly tested

basic files you have to edit
(i did it like fishing skill not a melee skill, same thing almost but less edits)

just basically search for SKILL_FISH in all of them and copy / edit the values

condition.cpp
i added in CONDITIONPARAM_SKILL_SKILLNAME and also CONDITIONPARAM_SKILL_NAMEPERCENT

enums.h
add the constant values in

items.cpp
i added in so you could add skill from items

tools.cpp



also you'll want to edit your triggers in database so a new field is added, and they are saved
 
@up
It will show in client? I don't think so.


Yours,
Gelio

nope, but who cares really, u could always just edit the skills, so you can show your custom skills in client, there are many possibilities..plus he is asking for help adding to server, so yes please read the topic
 
Back
Top