• 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 Please help! client problem

Raiden

Developer
Joined
Sep 16, 2008
Messages
486
Reaction score
32
Location
Venezuela
Hello, i'm trying to make TFS 0.3.6pl1 useable in a 7.72 client, please don't ask why, is obvius and i don't want discuss that, so i edit first the source resources.h and look it

Code:
#ifndef __RESOURCES__
#define __RESOURCES__
#include "definitions.h"
#if defined(WINDOWS) && !defined(__CONSOLE__)
	#define ID_KICK 101
	#define ID_BAN 102
	#define ID_ABOUT 104
	#define ID_LOG 105
	#define ID_ICON 106

	#define ID_TRAY_HIDE 118
	#define ID_TRAY_SHUTDOWN 119
	#define ID_STATUS_BAR 120

	#define ID_MENU 200

	#define ID_MENU_MAIN_REJECT 201
	#define ID_MENU_MAIN_ACCEPT 202
	#define ID_MENU_MAIN_CLEARLOG 203
	#define ID_MENU_MAIN_SHUTDOWN 204

	#define ID_MENU_SERVER_WORLDTYPE_NOPVP 205
	#define ID_MENU_SERVER_WORLDTYPE_PVP 206
	#define ID_MENU_SERVER_WORLDTYPE_PVPENFORCED 207

	#define ID_MENU_SERVER_BROADCAST 208
	#define ID_MENU_SERVER_SAVE 209
	#define ID_MENU_SERVER_CLEAN 210
	#define ID_MENU_SERVER_REFRESH 211
	#define ID_MENU_SERVER_CLOSE 212
	#define ID_MENU_SERVER_OPEN 213

	#define ID_MENU_SERVER_PLAYERBOX 214

	#define ID_MENU_RELOAD_ACTIONS 215
	#define ID_MENU_RELOAD_CHAT 216
	#define ID_MENU_RELOAD_CONFIG 217
	#define ID_MENU_RELOAD_CREATUREEVENTS 218
	#ifdef __LOGIN_SERVER__
	#define ID_MENU_RELOAD_GAMESERVERS 219
	#endif
	#define ID_MENU_RELOAD_GLOBALEVENTS 220
	#define ID_MENU_RELOAD_GROUPS 221
	#define ID_MENU_RELOAD_HIGHSCORES 222
	#define ID_MENU_RELOAD_HOUSEPRICES 223
	#define ID_MENU_RELOAD_ITEMS 224
	#define ID_MENU_RELOAD_MONSTERS 225
	#define ID_MENU_RELOAD_MODS 226
	#define ID_MENU_RELOAD_MOVEMENTS 227
	#define ID_MENU_RELOAD_NPCS 228
	#define ID_MENU_RELOAD_OUTFITS 229
	#define ID_MENU_RELOAD_QUESTS 230
	#define ID_MENU_RELOAD_RAIDS 231
	#define ID_MENU_RELOAD_SPELLS 232
	#define ID_MENU_RELOAD_STAGES 233
	#define ID_MENU_RELOAD_TALKACTIONS 234
	#define ID_MENU_RELOAD_VOCATIONS 235
	#define ID_MENU_RELOAD_WEAPONS 236
	#define ID_MENU_RELOAD_ALL 237
#endif

#define CLIENT_VERSION_MIN 770
#define CLIENT_VERSION_MAX 772
#define CLIENT_VERSION_STRING "Only clients with protocol 7.72 allowed!"

#define STATUS_SERVER_NAME "The Forgotten Server"
#define STATUS_SERVER_VERSION "0.3.6"
#define STATUS_SERVER_CODENAME "Crying Damson"
#define STATUS_SERVER_PROTOCOL "7.72"

#define VERSION_CHECK "http://forgottenserver.otland.net/version.xml"
#define VERSION_PATCH 1
#define VERSION_TIMESTAMP 1261647210
#define VERSION_BUILD 3429
#define VERSION_DATABASE 23
#endif

all is compiled fine, PD!!! I KNOW TGAT I NEED EDIT MORE LINES, BUT I DO THIS FIRST TO SEE IF THE CLIENT CONNECT CORRECTLY, but when i open the server everything is fine!, so i get my 7.72 client and when trying to login this error shows up



AND I NO GOT ANY ERROR ON THE CONSOLE!

So i think, why this happen? then i tried to connect in a 8.54 client to see what happen and...



Same error, so why this happen? it should accept the client normaly, but no, it show that error, and every ip is fine, if i compile it without edit the sources i can log with a 8.54 client, so please help i can't explain it more exactly
 
I don't think that's possible... 8.54 has a whole bunch of new features that 7.72 didn't have so you'd need to remove them all to get it to work properly.
 
Back
Top