Jump to content

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

Edited by Mali
  • Metin2 Dev 766
  • kekw 10
  • Eyes 38
  • Flame 4
  • Dislove 8
  • Angry 4
  • Not Good 1
  • Sad 5
  • Smile Tear 1
  • Think 17
  • Confused 14
  • Scream 10
  • Lmao 5
  • Good 397
  • muscle 10
  • Love 88
  • Love 761

 

Link to comment
https://metin2.dev/topic/22115-compile-client-with-visual-studio-2022-src/
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 205
  • kekw 3
  • Eyes 5
  • Dislove 10
  • Sad 3
  • Smile Tear 3
  • Think 8
  • Confused 5
  • Scream 1
  • Good 83
  • Love 19
  • Love 112

 

  • 6 months later...

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

  • 2 weeks later...
  • Active Member
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. 

  • 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

  • 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 132
  • Eyes 6
  • Dislove 2
  • Sad 1
  • Smile Tear 2
  • Think 3
  • Confused 3
  • Lmao 1
  • Good 40
  • Love 7
  • Love 74
  • 1 month later...
  • Honorable Member

#Changelog:

Edited by Mali61
  • Love 4

 

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

  • 3 weeks later...
  • 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 58
  • kekw 1
  • Eyes 2
  • Angry 1
  • Think 3
  • Confused 1
  • Good 9
  • Love 20
  • 2 weeks later...

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?

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

I think the problem is another:

Unfortunately I was unable to solve with the first solution and I fell back on the second:

 

PythonUtils.cpp

// Python int too large to convert to C long
#define PyLong_AsLong PyLong_AsLongLong
#define PyLong_AsUnsignedLong PyLong_AsUnsignedLongLong

 

  • 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 104
  • Eyes 2
  • Angry 1
  • Sad 1
  • Think 3
  • Good 29
  • Love 7
  • Love 53

 

  • 1 month later...
  • 1 month later...
  • Active Member
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 56
  • Eyes 3
  • Dislove 1
  • Smile Tear 1
  • Good 17
  • muscle 1
  • Love 1
  • Love 13
  • 4 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.