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

Change text color message help

carre

Advanced OT User
Joined
Apr 23, 2013
Messages
881
Solutions
1
Reaction score
157
Location
Sweden
Hi otland

How can I change the color text of events message
I want from green to white.
tfs 0.3.7 using right now

Screenshot_1.png
 
In source?
In your chest script.
data->actions->scripts->quests->system.lua
find
Code:
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.")
and change it into
Code:
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE , "It is empty.")
 
In your chest script.
data->actions->scripts->quests->system.lua
find
Code:
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.")
and change it into
Code:
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE , "It is empty.")
I've reloaded the script and still get the green message.
Post automatically merged:

Screenshot_4.png
this one work but not the chess
 
Last edited:
What I've given you will only work with the "quick quests" you do in map editor. If your quest has separate script to work differently then you have to it edit there as well. Check the chests action/unique/item id -> go to actions.xml and look what the use of this chest procs and go to the file it is pointing.
 
What I've given you will only work with the "quick quests" you do in map editor. If your quest has separate script to work differently then you have to it edit there as well. Check the chests action/unique/item id -> go to actions.xml and look what the use of this chest procs and go to the file it is pointing.
I will try.
 
Well, I decided to stay green instead of white.
Because tibia RL 2010 8.6 used to get green text messages to quest items etc, instead of white.
thanks for the help anyway :)
 
Last edited:
Back
Top