Jump to content

Compile Client With Visual Studio 2022 + SRC


Recommended Posts

  • Honorable Member

M2 Download Center 

This is the hidden content, please
( Internal )
This is the hidden content, please
( GitHub )

 

 

Prepared src packages:

*Granny 2.11.8

*libjpeg-9a

*Python-2.7

*Crypto++ 8.4.0

*DevIL-1.6.5

*lzo-2.10

Archive password: black

  • Metin2 Dev 519
  • kekw 8
  • Eyes 22
  • Dislove 7
  • Angry 3
  • Not Good 1
  • Sad 6
  • Cry 1
  • Think 14
  • Confused 13
  • Scream 11
  • Lmao 5
  • Good 294
  • Love 64
  • Love 507

 

Link to comment
Share on other sites

  • Honorable Member

Why don't you add new Python-3.8?

-Because you need to change too many things in source. ex.https://metin2.download/picture/Bwr0893W13Jb8S3N2vi1unp7NVLc0z1u/.png etc.

If you really want to see, here:

This is the hidden content, please

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 170
  • kekw 2
  • Eyes 4
  • Dislove 10
  • Sad 3
  • Smile Tear 3
  • Think 8
  • Confused 5
  • Good 65
  • Love 16
  • Love 77

 

Link to comment
Share on other sites

  • 6 months later...
  • 2 weeks later...
  • Premium
On 4/21/2020 at 1:45 AM, johnis said:

Thanks for the upload you literally saved me.

@Kazuhiri go right click on MilesLib > Properties >C/C++ > Preprocessor > Preprocessor definitions and add WINDOWS_IGNORE_PACKING_MISMATCH 

rebuilt and you should be fine

That sounds like a monumentally bad idea, and the root cause of the error should be addressed. 

Link to comment
Share on other sites

  • Former Staff
On 4/21/2020 at 12:45 AM, johnis said:

Thanks for the upload you literally saved me.

@Kazuhiri go right click on MilesLib > Properties >C/C++ > Preprocessor > Preprocessor definitions and add WINDOWS_IGNORE_PACKING_MISMATCH 

rebuilt and you should be fine

Bruh no, just remove "#include <mss.h>" in MilesLib StdAfx.h (root of cause issues: miles sound system 6 bad defines generates some incompatibility with last msvc headers I don't remember what header, note: this errors does not happend with Miles 9)

Edited by arves100
  • Love 1

Everyday you wake up as a Metin2 developer is a bad day...

METIN1 src when

Link to comment
Share on other sites

  • 6 months later...
  • Honorable Member

This is the hidden content, please
 ( 
This is the hidden content, please
) self-build who might need it.

The tp -1 compare is fixxed, without avoiding the function itself, so the "unsigned long" handling is working well.

 

  • Metin2 Dev 112
  • Eyes 5
  • Dislove 3
  • Sad 1
  • Smile Tear 2
  • Think 3
  • Confused 3
  • Lmao 1
  • Good 32
  • Love 6
  • Love 54
Link to comment
Share on other sites

  • 1 month later...
  • Honorable Member

#Changelog:

Edited by Mali61
  • Love 4

 

Link to comment
Share on other sites

  • 4 months later...

Thanks, work great, but i want ask you something, the first, if someone have this error

.png

go to lzo.cpp on EterBase and add:

Quote

#define NDEBUG
#include <stdio.h>
#include <assert.h>

Solved

KH.jpg

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

Link to comment
Share on other sites

  • 3 weeks later...
  • Management
10 hours ago, Mali61 said:

2019 -> 2022

  Hide contents

 

 

There is an impostor among us... 😏

  • Metin2 Dev 3
  • Good 2
Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...
  • 1 month later...
  • Premium
On 7/20/2021 at 8:16 PM, avertuss said:
Cryptopp_lib_release.lib(integer.obj) : error LNK2001: unresolved external symbol ___std_reverse_copy_trivially_copyable_1

when i want compile your vs22 source. Any ideas? 

I've updated my client with lzo2.10 and the latest cryptopp version without any issue (well, except for lzo, needed to set RunTime library to MT/MTd when compiling the lib)

This is the hidden content, please

Download the latest version, compile the cryptopp solution in Debug and Release mode, update the include files and libs and try recompiling

Edited by xXIntelXx
  • Metin2 Dev 51
  • kekw 1
  • Eyes 2
  • Angry 1
  • Think 3
  • Confused 1
  • Good 8
  • Love 17
Link to comment
Share on other sites

  • 2 weeks later...
  • Contributor
12 minutes ago, Hik said:

After compiling, if I try to start the launcher, I get this error:

 

LoginWindow.__LoadScript.LoadObject - <type 'exceptions.OverflowError'>:Python int too large to convert to C long

 

 

Can you tell me if it depends on my client?

You have max gold (or anything that you changed from int to long) in your root python files.

Either add max gold to your launcher or remove it from your python like "money = long(text)" --> money = int(text) (There are several occurances of long(x)...)

Link to comment
Share on other sites

  • 2 months later...
  • Honorable Member

Visual Studio 2022 officially launched(November 8th, 2021):

Spoiler

 

I deleted the old project(vs19)

Latest ready to build project:

0b1A3Di.png

Spoiler

This is the hidden content, please

This is the hidden content, please

 

Image From Our Admin:

Spoiler

DWx6giP.png

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 91
  • Eyes 1
  • Angry 1
  • Sad 1
  • Think 3
  • Good 25
  • Love 7
  • Love 39

 

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • Silver
8 hours ago, SmyleMDFK said:

Hmm when i teleport another map or open the guild window my client crash ( no syserr )

Try to use debug by marty 

This is the hidden content, please
 . And you will find the problem for sure. 

Before debug, try to check if you did all steps from tutorial correctly.

  • Metin2 Dev 44
  • Eyes 2
  • Dislove 1
  • Smile Tear 1
  • Good 15
  • Love 1
  • Love 12
Link to comment
Share on other sites

  • 4 weeks later...

Announcements



×
×
  • 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.