• 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!

forgottenserver and otclient documentation

xZest

Active Member
Joined
Jul 8, 2021
Messages
53
Reaction score
41
Location
Stark Tower
Hello, i would like to learn about the forgottenserver and otclient documentation, i got some knowledge on c++ and java and i would like a fast startup with this, thanks
 
Solution
TFS:

The most self documenting code is at luascript.cpp. Must read for both new and advanced scripters.

enums.h - holds some of constants used widely in sources

protocolgame.cpp is where client-server structure is processed

game.cpp - lots of game world related stuff

player.cpp - the in-game things related to player

monster.cpp - basic monster ai

map.cpp - tiles and positions, checking for projectiles, pathfinding

combat.cpp, spells.cpp - combat system

cpp files named like folders in data - loading and processing these events

Will skip explaining otclient as I haven't got into coding it much.

If you need to find where the functions go/come from, see this: useful tricks in Visual Studio for beginners...
TFS:

The most self documenting code is at luascript.cpp. Must read for both new and advanced scripters.

enums.h - holds some of constants used widely in sources

protocolgame.cpp is where client-server structure is processed

game.cpp - lots of game world related stuff

player.cpp - the in-game things related to player

monster.cpp - basic monster ai

map.cpp - tiles and positions, checking for projectiles, pathfinding

combat.cpp, spells.cpp - combat system

cpp files named like folders in data - loading and processing these events

Will skip explaining otclient as I haven't got into coding it much.

If you need to find where the functions go/come from, see this: useful tricks in Visual Studio for beginners (https://otland.net/threads/useful-tricks-in-visual-studio-for-beginners.277013/)

Edit:
Some info also here: Introduction (https://docs.otland.net/ots-guide/)
 
Last edited:
Solution
Back
Top