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

Lua Fix Fly System Bug

silveralol

Advanced OT User
Joined
Mar 16, 2010
Messages
1,480
Solutions
9
Reaction score
211
hello folks, I'm trying figure out these system
https://otland.net/threads/flying-mount-system-tfs-1-2.242326/
I find a bug, when the player "exit", close the client while is flying, when he enter again he will login UNMOUNTED.
I want to set the mount when the player login...
have possibility to make something like it?
on login.lua
Code:
local outfitMount = player:getOutfit()
player:setOutfit(outfitMount.lookMount)
edit: or can be used toggleMount ? forcing the player mount?
thanks in advice.
 
!bump
more 2 bug:
- if the player is flying and the server get closed the player will be teleported to the temple
- When the player die flying it will create a corpse on the air (?) wtf

to resolve the bug when player exit and login on the air can be a c++ type, to force the player use the mount when login (?)
 
Last edited:
Back
Top