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

Requesting a Lua Scripting Tutorial for TFS 1.3

RealRolePlayer

New Member
Joined
Oct 28, 2015
Messages
19
Reaction score
0
So, I saw here on OTLand a Lua Scripting Tutorial but the distro is too outdated, so I decided to ask here on Requests, a Tutorial so I can get around my own scripts and editing existent ones.
Thanks!
 
So, I saw here on OTLand a Lua Scripting Tutorial but the distro is too outdated, so I decided to ask here on Requests, a Tutorial so I can get around my own scripts and editing existent ones.
Thanks!

Well tbh most of 1.1 (and maybe even the later 1.0) is just like 1.3
AFAIK there is no super updated info about the function, except the these:
forgottenserver/luascript.cpp at master · otland/forgottenserver · GitHub
forgottenserver/compat.lua at master · otland/forgottenserver · GitHub

There you will always find the newest classes, like the Spell class etc
Aswell as in compat you will find the latest converted function, like doCreateItemEx and doMoveCreature

Please note this is not requests, this is support = you need support, so you actually posted it in the right place :)

When im unsure about function names (happens pretty often now when I hate 0.x I refer to those 2 files, they contain well atleast 80-99% of the functions, some might be in data/lib/* and global.lua depending on the datapack.
 
Back
Top