Jump to content

Source Update - Clang-14 / c++2b + FreeBSD-12 + SRC


Recommended Posts

../../../Extern/include/msl/utils.h:179:56: error: constexpr function's return
      type 'void' is not a literal type
template <class _Ty, std::size_t _Size> constexpr void refill(_Ty (&_Arr...
                                                       ^
../../../Extern/include/msl/utils.h:185:56: error: constexpr function's return
      type 'void' is not a literal type
template <class _Ty, std::size_t _Size> constexpr void refill(_Ty (&_Arr...
                                                       ^
../../../Extern/include/msl/utils.h:191:44: error: constexpr function's return
      type 'void' is not a literal type
template <class _Container> constexpr void refill(_Container & _Cont)
                                           ^
../../../Extern/include/msl/utils.h:197:55: error: constexpr function's return
      type 'void' is not a literal type
template <class _Container, class _Ty> constexpr void refill(_Container ...
               

any idea?

 

When I use your FreeBSD 12 .vdi and I want to get the IP for connection on ftp, I can't write in VM "ifconfig" to get the IP, I can't write the letter "i", the letter "i" is blocked or so^^

 

I hope someone can help me

1 hour ago, .Raidon said:

Cuando uso su FreeBSD 12 .vdi y quiero obtener la IP para la conexión en ftp, no puedo escribir en VM "ifconfig" para obtener la IP, no puedo escribir la letra "i", la letra "i "está bloqueado más o menos ^^

 

Espero que alguien pueda ayudarme

in freebsd 12 is bsdconfig ,about "i" maybe have other region configuration, try push all buttons to find i xD in my case sometimes "i" is in "_" or "-" or "?" only click all butons

  • Good 1

KH.jpg

Nicks: Nazox™ Krone™ Nagato™ Yahiko™ Yakiro™
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

15 minutes ago, nazox said:

in freebsd 12 is bsdconfig ,about "i" maybe have other region configuration, try push all buttons to find i xD in my case sometimes "i" is in "_" or "-" or "?" only click all butons

I found it, thanks xD

  • 2 months later...

compile test.cpp
test.cpp:500:11: error: assigning to 'char *' from incompatible type
'const char *'
if ((p = strrchr(c_pszFileName, '.')))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake: *** [Makefile:126: OBJDIR/test.o] Error 1

 

>?>.

  • Bot
3 hours ago, Ciupi said:

compile test.cpp
test.cpp:500:11: error: assigning to 'char *' from incompatible type
'const char *'
if ((p = strrchr(c_pszFileName, '.')))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake: *** [Makefile:126: OBJDIR/test.o] Error 1

 

>?>.

Just move on is not importing test.cpp

english_banner.gif

  • 2 months later...
  • Honorable Member

Updated Source:

This is the hidden content, please

use this, you will not get error about serverkey or other things

  • Metin2 Dev 72
  • Eyes 1
  • Sad 1
  • Confused 1
  • Good 15
  • Love 2
  • Love 29

 

  • 2 weeks later...
  • Active+ Member

Thank you very much! I followed the tutorials and managed to start my sserver with Clang 14 /  c++2b. 

However, there are way too much warning while compiling. Especially for korean characters, unused variables and many deprecated things... An update to get rid of those warnings would be great.

Anyways, thank you so much for everything you have done for this community.

  • 3 weeks later...
  • Premium
On 2/26/2022 at 1:27 PM, Cryptex said:

i compile the game and db and when i try to start the server i have this errors.. 

spacer.png

spacer.png

Upgrade freebsd

Edited by Metin2 Dev
Core X - External 2 Internal


 

  • 5 months later...

Ey. I was trying to compile in Freebsd 9.2 and im getting this error at compiling /game/src:

Spoiler

linking ../game_r40250....
OBJDIR/char_skill.o: In function `CHARACTER::ComputeSkill(unsigned int, CHARACTER*, unsigned char)':
/usr/src/Source/game/src/char_skill.cpp:2045: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)'
/usr/src/Source/game/src/char_skill.cpp:2105: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)'
/usr/src/Source/game/src/char_skill.cpp:2106: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)'
/usr/src/Source/game/src/char_skill.cpp:2113: undefined reference to `CPoly::GetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/src/Source/game/src/char_skill.cpp:2113: undefined reference to `CPoly::GetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/src/Source/game/src/char_skill.cpp:2170: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)'
/usr/src/Source/game/src/char_skill.cpp:2201: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)'
/usr/src/Source/game/src/char_skill.cpp:2230: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)'
/usr/src/Source/game/src/char_skill.cpp:2282: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)'
/usr/src/Source/game/src/char_skill.cpp:2394: undefined reference to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)'
OBJDIR/char_skill.o:/usr/src/Source/game/src/char_skill.cpp:2264: more undefined references to `CPoly::SetVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)' follow
collect2: error: ld returned 1 exit status
gmake: *** [../game_r40250] Error 1

any solution?¿

Edited by kjmoknjkoj
  • 2 months later...

Is possible compile source under clang-16? I got problem with libthecore..

 

utils.c:341:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register int tv;
    ^~~~~~~~~
1 error generated.

 

  • Active Member
On 2/18/2019 at 6:17 PM, Mali said:

M2 Download Center

 

Hidden Content

  • Give reaction to this post to see the hidden content.
( Github Backup ) - 

Hidden Content

  • Give reaction to this post to see the hidden content.
( GitHub )

 

 

Hidden Content

  • Give reaction to this post to see the hidden content.
( VM 9.2 ) or 

Hidden Content

  • Give reaction to this post to see the hidden content.
( VM 12 )

 

 

Use this source: 

Hidden Content

  • Give reaction to this post to see the hidden content.

 

cd /usr/ports/gcc7/ this is enoght?

  • Metin2 Dev 2
  • Cry 1
  • 4 weeks later...
  • 1 month later...
  • 2 months later...
  • 3 months later...
  • 2 months later...

https://metin2.download/picture/cw6YweVsCgpk5Oj4Bf64FBipCA7DEqP8/.png
a password?

root@black:/usr/home/black/GameSRC/Server # cd game/src/
root@black:/usr/home/black/GameSRC/Server/game/src # gmake clean
root@black:/usr/home/black/GameSRC/Server/game/src # gmake -j7
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
error: error: invaliderror invalid: value error value: invalid'c++2b'   'c++2b'invalidvaluein    invalue'c++2b''-std=c++2b' errorerror  '-std=c++2b': : 'c++2b'in
  error
invalidinvalidin'-std=c++2b': note   : notevaluevalue'-std=c++2b'
invalid:    use'c++2b''c++2b'
notevalue use  :  'c++98' ininnote'c++2b' 'c++98'  : use or '-std=c++2b''-std=c++2b'use in or 'c++98' 'c++03'

'c++98' '-std=c++2b' 'c++03' orfor notenoteor
 for: :  'c++03''ISO C++ 1998 with amendments' 'c++03' note 'ISO C++ 1998 with amendments'useuse for: standard   for standard'c++98''c++98' 'ISO C++ 1998 with amendments'use
  'ISO C++ 1998 with amendments'
oror standard'c++98'note  standard : note'c++03''c++03'
or:
 useforfornote'c++03' use  note:  'gnu++98' 'ISO C++ 1998 with amendments''ISO C++ 1998 with amendments': for 'gnu++98'  use or standardstandarduse 'ISO C++ 1998 with amendments' or 'gnu++98' 'gnu++03'

'gnu++98' standard 'gnu++03' orfor notenoteor
 for: :  'gnu++03''ISO C++ 1998 with amendments and GNU extensions' 'gnu++03' note 'ISO C++ 1998 with amendments and GNU extensions'useuse for: standard   for standard'gnu++98''gnu++98' 'ISO C++ 1998 with amendments and GNU extensions'use
  'ISO C++ 1998 with amendments and GNU extensions'
oror standard'gnu++98'note 'gnu++03' standard : note 'gnu++03'
or: for for
 use  note'gnu++03' use'ISO C++ 1998 with amendments and GNU extensions''ISO C++ 1998 with amendments and GNU extensions'note:  'c++11'   : for 'c++11'standardstandarduse for use 'ISO C++ 1998 with amendments and GNU extensions' for

 'c++11' 'ISO C++ 2011 with amendments' 'c++11' standard 'ISO C++ 2011 with amendments'notenote forstandard : : for
standard 'ISO C++ 2011 with amendments'
useuse'ISO C++ 2011 with amendments' note
   standard: note'c++11''c++11'standard: note
use: forfor
 use  note'c++11' use'ISO C++ 2011 with amendments''ISO C++ 2011 with amendments'note:  'gnu++11'   : for 'gnu++11'standardstandarduse for use 'ISO C++ 2011 with amendments' for

 'gnu++11' 'ISO C++ 2011 with amendments and GNU extensions' 'gnu++11' standard 'ISO C++ 2011 with amendments and GNU extensions'notenote forstandard : : for
standard 'ISO C++ 2011 with amendments and GNU extensions'
useuse'ISO C++ 2011 with amendments and GNU extensions' note
   standard: note'gnu++11''gnu++11'standard: note
use: forfor
 use  note'gnu++11' use'ISO C++ 2011 with amendments and GNU extensions''ISO C++ 2011 with amendments and GNU extensions'note:  'c++14'   : for 'c++14'standardstandarduse for use 'ISO C++ 2011 with amendments and GNU extensions' for

 'c++14' 'ISO C++ 2014 with amendments' 'c++14' standard 'ISO C++ 2014 with amendments'notenote forstandard : : for
standard 'ISO C++ 2014 with amendments'
useuse'ISO C++ 2014 with amendments' note
   standard: note'c++14''c++14'standard: note
use: forfor
 use  note'c++14' use'ISO C++ 2014 with amendments''ISO C++ 2014 with amendments'note:  'gnu++14'   : for 'gnu++14'standardstandarduse for use 'ISO C++ 2014 with amendments' for

 'gnu++14' 'ISO C++ 2014 with amendments and GNU extensions' 'gnu++14' standard 'ISO C++ 2014 with amendments and GNU extensions'notenote forstandard : : for
standard 'ISO C++ 2014 with amendments and GNU extensions'
useuse'ISO C++ 2014 with amendments and GNU extensions' note
   standard: note'gnu++14''gnu++14'standard: note
use: forfor
 use  note'gnu++14' use'ISO C++ 2014 with amendments and GNU extensions''ISO C++ 2014 with amendments and GNU extensions'note:  'c++17'   : for 'c++17'standardstandarduse for use 'ISO C++ 2014 with amendments and GNU extensions' for

 'c++17' 'ISO C++ 2017 with amendments' 'c++17' standard 'ISO C++ 2017 with amendments'notenote forstandard : : for
standard 'ISO C++ 2017 with amendments'
useuse'ISO C++ 2017 with amendments' note
   standard: note'c++17''c++17'standard: note
use: forfor
 use  note'c++17' use'ISO C++ 2017 with amendments''ISO C++ 2017 with amendments'note:  'gnu++17'   : for 'gnu++17'standardstandarduse for use 'ISO C++ 2017 with amendments' for

 'gnu++17' 'ISO C++ 2017 with amendments and GNU extensions' 'gnu++17' standard 'ISO C++ 2017 with amendments and GNU extensions'notenote forstandard : : for
standard 'ISO C++ 2017 with amendments and GNU extensions'
useuse'ISO C++ 2017 with amendments and GNU extensions' note
   standard: note'gnu++17''gnu++17'standard: note
use: forfor
 use  note'gnu++17' use'ISO C++ 2017 with amendments and GNU extensions''ISO C++ 2017 with amendments and GNU extensions'note:  'c++2a'   : for 'c++2a'standardstandarduse for use 'ISO C++ 2017 with amendments and GNU extensions' for

 'c++2a' 'Working draft for ISO C++ 2020' 'c++2a' standard 'Working draft for ISO C++ 2020'notenote forstandard : : for
standard 'Working draft for ISO C++ 2020'
useuse'Working draft for ISO C++ 2020' note
   standard: note'c++2a''c++2a'standard: note
use: forfor
 use  note'c++2a' use'Working draft for ISO C++ 2020''Working draft for ISO C++ 2020'note:  'gnu++2a'   : for 'gnu++2a'standardstandarduse for use 'Working draft for ISO C++ 2020' for

 'gnu++2a' 'Working draft for ISO C++ 2020 with GNU extensions' 'gnu++2a' standard 'Working draft for ISO C++ 2020 with GNU extensions'notenote forstandard : : for
standard 'Working draft for ISO C++ 2020 with GNU extensions'
useuse'Working draft for ISO C++ 2020 with GNU extensions' notegmake: *** [Makefile:113: OBJDIR/BattleArena.o] Error 1

   standard: gmake: *** Waiting for unfinished jobs....
'gnu++2a''gnu++2a'standardgmake: *** [Makefile:113: OBJDIR/FSM.o] Error 1

useforfor
gmake: *** [Makefile:113: OBJDIR/MarkImage.o] Error 1
   gmake: *** [Makefile:113: OBJDIR/MarkConvert.o] Error 1
'gnu++2a''Working draft for ISO C++ 2020 with GNU extensions''Working draft for ISO C++ 2020 with GNU extensions'   forstandardstandard 'Working draft for ISO C++ 2020 with GNU extensions'

 gmake: *** [Makefile:113: OBJDIR/MarkManager.o] Error 1
standardgmake: *** [Makefile:113: OBJDIR/OXEvent.o] Error 1

gmake: *** [Makefile:113: OBJDIR/TrafficProfiler.o] Error 1
root@black:/usr/home/black/GameSRC/Server/game/src #
Edited by Metin2 Dev International
Core X - External 2 Internal
  • 4 months later...
  • 2 months later...
  • 3 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.