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

OTClient customized modules\game_outfit\outfit.lua

tibia held

New Member
Joined
Feb 15, 2010
Messages
173
Reaction score
2
Location
England
In order to test the wings system I imported I need to adjust the outfit.lua from GitHub - mehah/otclient: An alternative tibia client for otserv written in C++20 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize (https://github.com/mehah/otclient/) since it has only basic outfit page where shaders auras wings missing
anyone did this already and can give some insights?

I found otclientv8/modules/game_outfit/outfit.lua at master · OTCv8/otclientv8 (https://github.com/OTCv8/otclientv8/blob/master/modules/game_outfit/outfit.lua) which has exactly what I search for but it doesnt seem compatible :(
ty very much
 
do it with opcode

maybe if you create a table on database

"player_wings"

inside you put the player id
plus X columns of attachedeffects ids



then from the server you receive in an array which are the attachedeffects id of that player (player_wings).

You send it in an array with opcode for the client to read it right there.


1699117183528.png
 
v8 has this information in setoufit.
mehah no

you have 2 solutions
hard: adapt attachedeffects in setoutfit
easy : send the information with opcode

don't like the design?


use v8 .otui and make the .lua again
make your own .otui 🤣
 
Last edited:
Back
Top