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

loot channel...

Status
Not open for further replies.

silveralol

Advanced OT User
Joined
Mar 16, 2010
Messages
1,480
Solutions
9
Reaction score
212
I see in some project a channel that have the loot of monsters, I think this interesting and I want to put in my server too...
well, have another script, I see the "reward system" new, know, the system that share the loot to who was in the battle against the boss, and the players can open the chest in adveturers island...


its all.
thanks
 
I'll release the Reward Chest later.
OMG!!! alot of Thanks!!! this is all what I need :D

@cbrm guy, if not ask much, to me create a new type of damage, for exemple water damage... where I need edit to can be reality this ideia?
 
Last edited by a moderator:
OMG!!! alot of Thanks!!! this is all what I need :D

@cbrm guy, if not ask much, to me create a new type of damage, for exemple water damage... where I need edit to can be reality this ideia?
Begin with the table of CombatType_t at enums.h, you have to define the color of new damage and all that stuff then but I haven't worked on that before.
And please stop making double posts, edit your last post instead.
 
Begin with the table of CombatType_t at enums.h, you have to define the color of new damage and all that stuff then but I haven't worked on that before.
And please stop making double posts, edit your last post instead.
thanks for all the help, and sorry about the comments...
about the creation of a new type of damage, I made this, not have too much work, just to do for the first time...
later I'll make a post about it teaching how to do :)
 
Don't modify the server log loot message function unless you know what you do or if you want to remove it.

These are the message classes (colors) for sendTextMessage:
Code:
MESSAGE_STATUS_CONSOLE_BLUE = 4, /*FIXME Blue message in the console*/
MESSAGE_STATUS_CONSOLE_RED = 13, /*Red message in the console*/
MESSAGE_STATUS_DEFAULT = 17, /*White message at the bottom of the game window and in the console*/
MESSAGE_STATUS_WARNING = 18, /*Red message in game window and in the console*/
MESSAGE_EVENT_ADVANCE = 19, /*White message in game window and in the console*/
MESSAGE_STATUS_SMALL = 21, /*White message at the bottom of the game window"*/
MESSAGE_INFO_DESCR = 22, /*Green message in game window and in the console*/
MESSAGE_DAMAGE_DEALT = 23,
MESSAGE_DAMAGE_RECEIVED = 24,
MESSAGE_HEALED = 25,
MESSAGE_EXPERIENCE = 26,
MESSAGE_DAMAGE_OTHERS = 27,
MESSAGE_HEALED_OTHERS = 28,
MESSAGE_EXPERIENCE_OTHERS = 29,
MESSAGE_EVENT_DEFAULT = 30, /*White message at the bottom of the game window and in the console*/
MESSAGE_EVENT_ORANGE = 36, /*Orange message in the console*/
MESSAGE_STATUS_CONSOLE_ORANGE = 37,  /*Orange message in the console*/

And sendChannelMessage
Code:
TALKTYPE_SAY = 1,
TALKTYPE_WHISPER = 2,
TALKTYPE_YELL = 3,
TALKTYPE_PRIVATE_FROM = 4,
TALKTYPE_PRIVATE_TO = 5,
TALKTYPE_CHANNEL_Y = 7,
TALKTYPE_CHANNEL_O = 8,
TALKTYPE_PRIVATE_NP = 10,
TALKTYPE_PRIVATE_PN = 12,
TALKTYPE_BROADCAST = 13,
TALKTYPE_CHANNEL_R1 = 14, //red - #c text
TALKTYPE_PRIVATE_RED_FROM = 15, //@name@text
TALKTYPE_PRIVATE_RED_TO = 16, //@name@text
TALKTYPE_MONSTER_SAY = 36,
TALKTYPE_MONSTER_YELL = 37,
TALKTYPE_CHANNEL_R2 = 0xFF, //#d

But you can't use some of them in your request or else you get debug.
 
Status
Not open for further replies.
Back
Top Bottom