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

Compiling protocol 8.62

Venn

Member
Joined
Aug 16, 2009
Messages
547
Reaction score
20
any one know how to set protocol from 8.60-8.62 ?
i got edit this:
Code:
#define CLIENT_VERSION_MIN 860
#define CLIENT_VERSION_MAX 862
#define CLIENT_VERSION_STRING "Only clients with protocol 8.60 up to 8.61 are allowed!"

#define STATUS_SERVER_NAME "TheForgottenServer"
#define STATUS_SERVER_VERSION "0.3.6"
#define STATUS_SERVER_CODENAME "Crying Damson"
#define STATUS_SERVER_PROTOCOL "8.62"

and i got debug:
308ehj4.jpg
 
Last edited:
.. Menssage Classes Error ...
http://opentibia.svn.sourceforge.net/viewvc/opentibia?view=revision&revision=5704

OnLy TFS 0.3.6 /8.61 or 8.62
Change in const.h
Code:
[COLOR=#0000FF]enum[/COLOR] SpeakClasses
 [COLOR=#008000]{[/COLOR]
        SPEAK_CLASS_NONE        [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x00[/COLOR],
        SPEAK_CLASS_FIRST       [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x01[/COLOR],
        SPEAK_SAY               [COLOR=#000080]=[/COLOR] SPEAK_CLASS_FIRST,
        SPEAK_WHISPER           [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x02[/COLOR],
        SPEAK_YELL              [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x03[/COLOR],
        SPEAK_PRIVATE_PN        [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x04[/COLOR],
        SPEAK_PRIVATE_NP        [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x05[/COLOR],
        SPEAK_PRIVATE           [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x06[/COLOR],
        SPEAK_CHANNEL_Y         [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x07[/COLOR],
        SPEAK_CHANNEL_W         [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x08[/COLOR],
        SPEAK_RVR_CHANNEL       [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x09[/COLOR],
        SPEAK_RVR_ANSWER        [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x0A[/COLOR],
        SPEAK_RVR_CONTINUE      [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x0B[/COLOR],
        SPEAK_BROADCAST         [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x0C[/COLOR],
        SPEAK_CHANNEL_RN        [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x0D[/COLOR], [COLOR=#666666]//red - #c text[/COLOR]
        SPEAK_PRIVATE_RED       [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x0E[/COLOR], [COLOR=#666666]//@name@text[/COLOR]
        SPEAK_CHANNEL_O         [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x0F[/COLOR],
        [COLOR=#666666]//SPEAK_UNKNOWN_1               = 0x10,[/COLOR]
        SPEAK_CHANNEL_RA        [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x11[/COLOR], [COLOR=#666666]//red anonymous - #d text[/COLOR]
        [COLOR=#666666]//SPEAK_UNKNOWN_2               = 0x12,[/COLOR]
        SPEAK_MONSTER_SAY       [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x13[/COLOR],
        SPEAK_MONSTER_YELL      [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x14[/COLOR],
        SPEAK_CLASS_LAST        [COLOR=#000080]=[/COLOR] SPEAK_MONSTER_YELL
 [COLOR=#008000]}[/COLOR][COLOR=#008080];[/COLOR]
 
 [COLOR=#0000FF]enum[/COLOR] MessageClasses
 [COLOR=#008000]{[/COLOR]
        MSG_CLASS_FIRST                 [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x12[/COLOR],
        MSG_STATUS_CONSOLE_RED          [COLOR=#000080]=[/COLOR] MSG_CLASS_FIRST, [COLOR=#FF0000][I]/*Red message in the console*/[/I][/COLOR]
        MSG_EVENT_ORANGE                [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x13[/COLOR], [COLOR=#FF0000][I]/*Orange message in the console*/[/I][/COLOR]
        MSG_STATUS_CONSOLE_ORANGE       [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x14[/COLOR], [COLOR=#FF0000][I]/*Orange message in the console*/[/I][/COLOR]
        MSG_STATUS_WARNING              [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x15[/COLOR], [COLOR=#FF0000][I]/*Red message in game window and in the console*/[/I][/COLOR]
        MSG_EVENT_ADVANCE               [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x16[/COLOR], [COLOR=#FF0000][I]/*White message in game window and in the console*/[/I][/COLOR]
        MSG_EVENT_DEFAULT               [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x17[/COLOR], [COLOR=#FF0000][I]/*White message at the bottom of the game window and in the console*/[/I][/COLOR]
        MSG_STATUS_DEFAULT              [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x18[/COLOR], [COLOR=#FF0000][I]/*White message at the bottom of the game window and in the console*/[/I][/COLOR]
        MSG_INFO_DESCR                  [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x19[/COLOR], [COLOR=#FF0000][I]/*Green message in game window and in the console*/[/I][/COLOR]
        MSG_STATUS_SMALL                [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x1A[/COLOR], [COLOR=#FF0000][I]/*White message at the bottom of the game window"*/[/I][/COLOR]
        MSG_STATUS_CONSOLE_BLUE         [COLOR=#000080]=[/COLOR] [COLOR=#208080]0x1B[/COLOR], [COLOR=#FF0000][I]/*Blue message in the console*/[/I][/COLOR]
        MSG_CLASS_LAST                  [COLOR=#000080]=[/COLOR] MSG_STATUS_CONSOLE_BLUE
 [COLOR=#008000]}[/COLOR][COLOR=#008080];[/COLOR]
For it
Code:
enum SpeakClasses
{
    SPEAK_CLASS_NONE    = 0x00,
    SPEAK_CLASS_FIRST     = 0x01,
    SPEAK_SAY            = SPEAK_CLASS_FIRST,
    SPEAK_WHISPER        = 0x02,
    SPEAK_YELL            = 0x03,
    SPEAK_PRIVATE_PN    = 0x04,
    SPEAK_PRIVATE_NP    = 0x05,
    SPEAK_PRIVATE        = 0x06,
    SPEAK_CHANNEL_Y        = 0x07,
    SPEAK_CHANNEL_W        = 0x08,
    SPEAK_BROADCAST        = 0x09,
    SPEAK_CHANNEL_RN    = 0x0A,
    SPEAK_PRIVATE_RED    = 0x0B,
    SPEAK_CHANNEL_O        = 0x0C,
    SPEAK_MONSTER_SAY    = 0x0D,
    SPEAK_MONSTER_YELL    = 0x0E,
    SPEAK_CLASS_LAST     = SPEAK_MONSTER_YELL,
    SPEAK_RVR_CHANNEL    = 0xFF + 1,
    SPEAK_RVR_ANSWER    = 0xFF + 2,
    SPEAK_RVR_CONTINUE    = 0xFF + 3,
    SPEAK_CHANNEL_RA    = 0xFF + 4
};

enum MessageClasses
{
    MSG_CLASS_FIRST                = 0x0D,
    MSG_EVENT_ORANGE            = MSG_CLASS_FIRST, /*Orange message in the console*/
    MSG_STATUS_CONSOLE_ORANGE    = 0x0E, /*Orange message in the console*/
    MSG_STATUS_WARNING            = 0x0F, /*Red message in game window and in the console*/
    MSG_EVENT_ADVANCE            = 0x10, /*White message in game window and in the console*/
    MSG_EVENT_DEFAULT            = 0x11, /*White message at the bottom of the game window and in the console*/
    MSG_STATUS_DEFAULT            = 0x12, /*White message at the bottom of the game window and in the console*/
    MSG_INFO_DESCR                = 0x13, /*Green message in game window and in the console*/
    MSG_STATUS_SMALL            = 0x14, /*White message at the bottom of the game window"*/
    MSG_STATUS_CONSOLE_BLUE        = 0x15, /*Blue message in the console*/
    MSG_STATUS_CONSOLE_RED        = 0x16, /*Red message in the console*/
    MSG_CLASS_LAST                = MSG_STATUS_CONSOLE_RED
};
In 000-constant.lua
Code:
TALKTYPE_FIRST [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]1[/COLOR]
TALKTYPE_SAY [COLOR=#66CC66]=[/COLOR] TALKTYPE_FIRST
TALKTYPE_WHISPER [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]2[/COLOR]
TALKTYPE_YELL [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]3[/COLOR]
TALKTYPE_PRIVATE_PN [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]4[/COLOR]
TALKTYPE_PRIVATE_NP [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]5[/COLOR]
TALKTYPE_PRIVATE [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]6[/COLOR]
TALKTYPE_CHANNEL_Y [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]7[/COLOR]
TALKTYPE_CHANNEL_W [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]8[/COLOR]
TALKTYPE_RVR_CHANNEL [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]9[/COLOR]
TALKTYPE_RVR_ANSWER [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]10[/COLOR]
TALKTYPE_RVR_CONTINUE [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]11[/COLOR]
TALKTYPE_BROADCAST [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]12[/COLOR]
TALKTYPE_CHANNEL_RN [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]13[/COLOR]
TALKTYPE_PRIVATE_RED [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]14[/COLOR]
TALKTYPE_CHANNEL_O [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]15[/COLOR]
TALKTYPE_CHANNEL_RA [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]17[/COLOR]
TALKTYPE_MONSTER [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]19[/COLOR]
TALKTYPE_MONSTER_YELL [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]20[/COLOR]
TALKTYPE_LAST [COLOR=#66CC66]=[/COLOR] TALKTYPE_MONSTER_YELL
 
TALKTYPE_TYPES [COLOR=#66CC66]=[/COLOR] [COLOR=#66CC66]{[/COLOR]
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"say"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_SAY,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"whisper"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_WHISPER,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"yell"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_YELL,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"private-playernpc"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_PRIVATE_PN,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"private-npcplayer"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_PRIVATE_NP,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"private"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_PRIVATE,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"channel-yellow"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_CHANNEL_Y,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"channel-white"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_CHANNEL_W,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"rvr-channel"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_RVR_CHANNEL,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"rvr-answer"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_RVR_ANSWER,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"rvr-continue"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_RVR_CONTINUE,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"broadcast"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_BROADCAST,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"channel-red"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_CHANNEL_RN,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"channel-orange"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_CHANNEL_O,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"channel-redanonymous"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_CHANNEL_RA,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"monster"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_MONSTER,
        [COLOR=#66CC66][[/COLOR][COLOR=#FF0000]"monster-yell"[/COLOR][COLOR=#66CC66]][/COLOR] [COLOR=#66CC66]=[/COLOR] TALKTYPE_MONSTER_YELL
 [COLOR=#66CC66]}[/COLOR]
 
MESSAGE_FIRST [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]18[/COLOR]
MESSAGE_STATUS_CONSOLE_RED [COLOR=#66CC66]=[/COLOR] MESSAGE_FIRST
MESSAGE_EVENT_ORANGE [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]19[/COLOR]
MESSAGE_STATUS_CONSOLE_ORANGE [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]20[/COLOR]
MESSAGE_STATUS_WARNING [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]21[/COLOR]
MESSAGE_EVENT_ADVANCE [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]22[/COLOR]
MESSAGE_EVENT_DEFAULT [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]23[/COLOR]
MESSAGE_STATUS_DEFAULT [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]24[/COLOR]
MESSAGE_INFO_DESCR [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]25[/COLOR]
MESSAGE_STATUS_SMALL [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]26[/COLOR]
MESSAGE_STATUS_CONSOLE_BLUE [COLOR=#66CC66]=[/COLOR] [COLOR=#CC66CC]27[/COLOR]
MESSAGE_LAST [COLOR=#66CC66]=[/COLOR] MESSAGE_STATUS_CONSOLE_BLUE
For it
Code:
TALKTYPE_FIRST = 1
TALKTYPE_SAY = TALKTYPE_FIRST
TALKTYPE_WHISPER = 2
TALKTYPE_YELL = 3
TALKTYPE_PRIVATE_PN = 4
TALKTYPE_PRIVATE_NP = 5
TALKTYPE_PRIVATE = 6
TALKTYPE_CHANNEL_Y = 7
TALKTYPE_CHANNEL_W = 8
TALKTYPE_BROADCAST = 9
TALKTYPE_CHANNEL_RN = 10
TALKTYPE_PRIVATE_RED = 11
TALKTYPE_CHANNEL_O = 12
TALKTYPE_MONSTER_SAY = 13
TALKTYPE_MONSTER_YELL = 14
TALKTYPE_LAST = TALKTYPE_MONSTER_YELL

TALKTYPE_TYPES = {
    ["say"] = TALKTYPE_SAY,
    ["whisper"] = TALKTYPE_WHISPER,
    ["yell"] = TALKTYPE_YELL,
    ["private-playernpc"] = TALKTYPE_PRIVATE_PN,
    ["private-npcplayer"] = TALKTYPE_PRIVATE_NP,
    ["private"] = TALKTYPE_PRIVATE,
    ["channel-yellow"] = TALKTYPE_CHANNEL_Y,
    ["channel-white"] = TALKTYPE_CHANNEL_W,
    ["broadcast"] = TALKTYPE_BROADCAST,
    ["channel-red"] = TALKTYPE_CHANNEL_RN,
    ["private-red"] = TALKTYPE_PRIVATE_RED,
    ["channel-orange"] = TALKTYPE_CHANNEL_O,
    ["monster"] = TALKTYPE_MONSTER,
    ["monster-yell"] = TALKTYPE_MONSTER_YELL,
    ["rvr-channel"] = TALKTYPE_RVR_CHANNEL,
    ["rvr-answer"] = TALKTYPE_RVR_ANSWER,
    ["rvr-continue"] = TALKTYPE_RVR_CONTINUE,
    ["channel-redanonymous"] = TALKTYPE_CHANNEL_RA
}

MESSAGE_FIRST = 13
MESSAGE_EVENT_ORANGE = MESSAGE_FIRST
MESSAGE_STATUS_CONSOLE_ORANGE = 14
MESSAGE_STATUS_WARNING = 15
MESSAGE_EVENT_ADVANCE = 16
MESSAGE_EVENT_DEFAULT = 17
MESSAGE_STATUS_DEFAULT = 18
MESSAGE_INFO_DESCR = 19
MESSAGE_STATUS_SMALL = 20
MESSAGE_STATUS_CONSOLE_BLUE = 21
MESSAGE_STATUS_CONSOLE_RED = 22
MESSAGE_LAST = MESSAGE_STATUS_CONSOLE_RED
compile an check... (NO TESTED)
Other check your scripts the next code ... for example:
check it
doPlayerSendTextMessage(cid, 27 -- Blue
change for
doPlayerSendTextMessage(cid, 21 -- Blue
Other disable Rule Violation channel
XML/Channels.xml
<channel id="3" name="Rule Violations" logged="yes"/> <<-- Remove

Before...
http://otland.net/f481/how-make-your-server-client-8-61-tutorial-90537/
 
Last edited:
still has not come out the sources for the client 8.62 and
is safe if you upgraded to debug the client 8.62 brings several new features
I see no logical if you think that by just adding your server 8.62 that customer support client
 
I compiled the latest revision in Premium Board Resources, go check it out.

Client 8.62 :thumbup:
 
Changing client protocol on TFS 0.3.6pl1 rev 80 ain't a good thing! You are still missing tons of 8.6x stuff.
TFS 0.3.6pl1 is based on the branch Tibia 8.5x. It is not compatible with 8.6x. However you can change it to allow clients between 8.50 - 8.57 because it is in the same branch.
 
can someone upload his tfs olease #include <openssl/rsa.h> i always get this error and i updated my compiler...
 
Back
Top