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

tfs 1.2

damiian

New Member
Joined
May 9, 2011
Messages
145
Reaction score
1
Location
cd /Gentoo/
possible find cast part c++ FOR THIS TFS ?
https://otland.net/threads/the-forgotten-server-1-2.246641/

Milice on github not work

Code:
1>..\src\protocolspectator.cpp(987): error C2039: 'getLevelPercent': is not a member of 'Player'
1>  c:\users\desktop\tfs1.2\source cast milice\src\npc.h(29): note: see declaration of 'Player'
1>..\src\protocolspectator.cpp(1000): error C2039: 'getMagicLevelPercent': is not a member of 'Player'
1>  c:\users\tfs1.2\source cast milice\src\npc.h(29): note: see declaration of 'Player'

Severity   Code   Description   Project   File   Line   Suppression State
Error (active)       class "Player" has no member "getLevelPercent"   theforgottenserver   c:\UsersDesktop\TFS1.2\source cast Milice\src\protocolspectator.cpp   987


Severity   Code   Description   Project   File   Line   Suppression State
Error (active)       class "Player" has no member "getMagicLevelPercent"   theforgottenserver   c:\Users\Desktop\TFS1.2\source cast Milice\src\protocolspectator.cpp   1000

Severity   Code   Description   Project   File   Line   Suppression State
Error   C2039   'getLevelPercent': is not a member of 'Player'   theforgottenserver   C:\Users\TFS1.2\source cast Milice\src\protocolspectator.cpp   987

Severity   Code   Description   Project   File   Line   Suppression State
Error   C2039   'getMagicLevelPercent': is not a member of 'Player'   theforgottenserver   C:\Users\TFS1.2\source cast Milice\src\protocolspectator.cpp   1000

to problem add table mysql
Code:
CREATE TABLE IF NOT EXISTS `players_online` (
`player_id` int( 11 ) NOT NULL ,
`cast_password` varchar( 30 ) DEFAULT NULL ,
`cast_spectators` smallint( 5 ) NOT NULL DEFAULT '0' PRIMARY KEY ( `player_id` )
) ENGINE = MEMORY;
MySQL said: [IMG]http://localhost/us_phpmyadmin/themes/dot.gif[/IMG]

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(`player_id`)
) ENGINE=MEMORY' at line 5 [/B]


 
Last edited:
Back
Top