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

How to make your server client 8.61 Tutorial

Well I only have the latest of 0.4 with several custom source changes. Sorry.
 
const.h
[cpp]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,

// removed from game
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
};[/cpp]
000-constant.lua
Lua:
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

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

rofl, compile 1x, then rebuild all
Not necessary and Stian's repack doesn't work with rebuild all. :p
 
I'm not having problems with rebuild all.

Here it fails @ Executing make clean\n rm -f obj//* with error:
make (e=2): The system cannot find the file specified.

:p Probably because Stian packed it on Linux, and it uses rm instead of del :p
 
const.h
[cpp]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,

// removed from game
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
};[/cpp]
000-constant.lua
Lua:
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

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


Not necessary and Stian's repack doesn't work with rebuild all. :p

--- for 8.61/8.62 ... "8.60" no :D
 
const.h
[cpp]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,

// removed from game
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
};[/cpp]
000-constant.lua
Lua:
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

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


Not necessary and Stian's repack doesn't work with rebuild all. :p

Could you tell me where i shall put those codes, i mean what line or under what code..
 
Not working, why the hell isnt it wokring withme, giving me a bunch of errors when i try to compile it..................
 
Your doing it wrong then, you were supposed to replace the part with the updated one! :(
 
Back
Top Bottom