• 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.X+ Compiling 8.0 downgraded tfs

elkingahmed

New Member
Joined
May 31, 2012
Messages
116
Reaction score
2
So i was trying to compile ninja Downgraded tfs 1.2 to 8.0, the tfs compiled successfully but i get some wired errors don't even know where it comes from
Code:
1>protocolgame.cpp
1>protocollogin.cpp
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\xmemory0(920): warning C4244: 'argument': conversion from 'int32_t' to 'uint8_t', possible loss of data (compiling source file ..\src\player.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\vector(951): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,int,int>(_Alloc &,_Objty *const ,int &&,int &&)' being compiled
1>        with
1>        [
1>            _Alloc=std::allocator<OutfitEntry>,
1>            _Ty=OutfitEntry,
1>            _Objty=OutfitEntry
1>        ] (compiling source file ..\src\player.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\vector(951): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,int,int>(_Alloc &,_Objty *const ,int &&,int &&)' being compiled
1>        with
1>        [
1>            _Alloc=std::allocator<OutfitEntry>,
1>            _Ty=OutfitEntry,
1>            _Objty=OutfitEntry
1>        ] (compiling source file ..\src\player.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\vector(968): note: see reference to function template instantiation 'void std::vector<OutfitEntry,std::allocator<_Ty>>::_Emplace_back_with_unused_capacity<int,int>(int &&,int &&)' being compiled
1>        with
1>        [
1>            _Ty=OutfitEntry
1>        ] (compiling source file ..\src\player.cpp)
1>c:\users\midoezzatem\desktop\forgottenserver-8.0\src\player.cpp(715): note: see reference to function template instantiation 'void std::vector<OutfitEntry,std::allocator<_Ty>>::emplace_back<int32_t,int>(int32_t &&,int &&)' being compiled
1>        with
1>        [
1>            _Ty=OutfitEntry
1>        ]
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\xmemory0(920): warning C4244: 'argument': conversion from 'int32_t' to 'uint16_t', possible loss of data (compiling source file ..\src\player.cpp)
1>protocolstatus.cpp
1>quests.cpp
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\xmemory0(920): warning C4244: 'argument': conversion from 'int' to 'uint8_t', possible loss of data (compiling source file ..\src\protocolgame.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\vector(951): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,const std::basic_string<char,std::char_traits<char>,std::allocator<char>>*,int,int>(_Alloc &,_Objty *const ,const std::basic_string<char,std::char_traits<char>,std::allocator<char>> *&&,int &&,int &&)' being compiled
1>        with
1>        [
1>            _Alloc=std::allocator<ProtocolOutfit>,
1>            _Ty=ProtocolOutfit,
1>            _Objty=ProtocolOutfit
1>        ] (compiling source file ..\src\protocolgame.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\vector(951): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,const std::basic_string<char,std::char_traits<char>,std::allocator<char>>*,int,int>(_Alloc &,_Objty *const ,const std::basic_string<char,std::char_traits<char>,std::allocator<char>> *&&,int &&,int &&)' being compiled
1>        with
1>        [
1>            _Alloc=std::allocator<ProtocolOutfit>,
1>            _Ty=ProtocolOutfit,
1>            _Objty=ProtocolOutfit
1>        ] (compiling source file ..\src\protocolgame.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\vector(968): note: see reference to function template instantiation 'void std::vector<ProtocolOutfit,std::allocator<_Ty>>::_Emplace_back_with_unused_capacity<const std::basic_string<char,std::char_traits<char>,std::allocator<char>>*,int,int>(const std::basic_string<char,std::char_traits<char>,std::allocator<char>> *&&,int &&,int &&)' being compiled
1>        with
1>        [
1>            _Ty=ProtocolOutfit
1>        ] (compiling source file ..\src\protocolgame.cpp)
1>c:\users\midoezzatem\desktop\forgottenserver-8.0\src\protocolgame.cpp(1788): note: see reference to function template instantiation 'void std::vector<ProtocolOutfit,std::allocator<_Ty>>::emplace_back<const std::string*,int,int>(const std::string *&&,int &&,int &&)' being compiled
1>        with
1>        [
1>            _Ty=ProtocolOutfit
1>        ]
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.14.26428\include\xmemory0(920): warning C4244: 'argument': conversion from 'int' to 'uint16_t', possible loss of data (compiling source file ..\src\protocolgame.cpp)
1>raids.cpp
Note: when i try to compile in x32 i get no errors
 
Back
Top