Jump to content

Vanilla Core [latest: r71480]


Recommended Posts

Thanks, for me worked!!!

/game/src/StdAFx.h

#if __cplusplus <= 199711L
//C++99 Compatibility code
#define __typeof typeof
#endif

 

Edit2: if anyone have this problem: 

undefined reference to boost::system::system_category()

add into makefile, at end of CFLAGS, this: -lboost_system

  • 1 month later...
item.cpp:1962:12: error: use of undeclared identifier 'VOID'; did you mean 'VOID2'?
        SetWindow(VOID);
                  ^~~~
                  VOID2
./../../common/length.h:476:2: note: 'VOID2' declared here
        VOID2
        ^
1 error generated.
gmake: *** [Makefile:77: debug/item.o] Error 1
gmake: *** Waiting for unfinished jobs....

i'm using clang etc. and i have to ask, change VOID to VOID2 is good option? Finally it's compiled, but im not sure :v

  • 2 weeks later...

Hey everyone, sorry for the lack of updates. Real life and stuff. Anyway, I'm preparing a bigger update. Lots of code cleaning and error fixing. I read what you wrote and will try to fix what you reported. Thanks to you all for reporting bugs and suggest changes.

Though I will start upgrading the code to c++17 standard which means that I'll most likely not make changes to macro definitions like mentioned above. People should build the project like it's meant to be and under the same feature sets and compilers like I did, to make sure there's less room for errors. If you want to port the code, you can do so of course, I don't mind that. But for 'official' release they won't be included.

  • Love 5

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

scrap what i said earlier , when we get new links ?

Edited by tareeestima
got informed the last days and put myself up to date with everything about server files. still learning though, making up for 10 years absence in this game.
  • 3 weeks later...
  • Management
11 hours ago, Hik said:

Thank's for Your work, Vanilla! 

I think it would be useful to create a small guide on how to configure a virtual machine that can compile your files without errors.
This would allow more people to test the file :D

He already did it:

raw

raw

  • 1 month later...

No need to re-upload. Next version is already distributed to a few people for testing. If everything works it will be released :) Just waiting for feedback. If someone wants to test it, feel free to drop me a message.

  • Love 3

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

On 6/4/2018 at 10:10 PM, Vanilla said:

No need to re-upload. Next version is already distributed to a few people for testing. If everything works it will be released :) Just waiting for feedback. If someone wants to test it, feel free to drop me a message.

Dont forget windows sf src client friend please :)

  • 2 weeks later...
  • 3 weeks later...
En 4/6/2018 a las 21:10, Vanilla dijo:

No need to re-upload. Next version is already distributed to a few people for testing. If everything works it will be released :) Just waiting for feedback. If someone wants to test it, feel free to drop me a message.

 

Message sent
  • 4 weeks later...
vor 16 Minuten schrieb krokogames:

Hello how to fix this error

 

KP1nt7G.png?1

you need to build liblua which is located at the 'Internal' directory of the source.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

12 hours ago, Vanilla said:

you need to build liblua which is located at the 'Internal' directory of the source.

thanks but i have new error 

can i replace code:  

  template <typename T> T MIN(T a, T b)
    {
        return a < b ? a : b;
    }

    template <typename T> T MAX(T a, T b)
    {
        return a > b ? a : b;
    }

    template <typename T> T MINMAX(T min, T value, T max)
    {
        T tv;

        tv = (min > value ? min : value);
        return (max < tv) ? max : tv;
    }

to:  

 template <typename T> T _MIN(T a, T b)
    {
        return a < b ? a : b;
    }

    template <typename T> T _MAX(T a, T b)
    {
        return a > b ? a : b;
    }

    template <typename T> T _MINMAX(T min, T value, T max)
    {
        T tv;

        tv = (min > value ? min : value);
        return (max < tv) ? max : tv;
    }

 

 

4hEp.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Honorable Member
7 hours ago, krokogames said:

thanks but i have new error 

can i replace code:  


  template <typename T> T MIN(T a, T b)
    {
        return a < b ? a : b;
    }

    template <typename T> T MAX(T a, T b)
    {
        return a > b ? a : b;
    }

    template <typename T> T MINMAX(T min, T value, T max)
    {
        T tv;

        tv = (min > value ? min : value);
        return (max < tv) ? max : tv;
    }

to:  


 template <typename T> T _MIN(T a, T b)
    {
        return a < b ? a : b;
    }

    template <typename T> T _MAX(T a, T b)
    {
        return a > b ? a : b;
    }

    template <typename T> T _MINMAX(T min, T value, T max)
    {
        T tv;

        tv = (min > value ? min : value);
        return (max < tv) ? max : tv;
    }

 

 

4hEp.png

delete that codes from stl.h and use these:

std::min

std::max

std::minmax

note:

#include <algorithm>
Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

 

On 8/17/2018 at 3:26 PM, Mali61 said:

delete that codes from stl.h and use these:

std::min

std::max

std::minmax

note:


#include <algorithm>

 

How am I a beginner :D

no hate please :)

 

 

[Compile complete without errors :D me total idiot thanks all for help :)]

  • Love 1
  • 3 weeks 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.