Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 03:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[SAMMELTHREAD] Metin2 Source - Errors & Soulutions

Discussion on [SAMMELTHREAD] Metin2 Source - Errors & Soulutions within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 08/17/2014, 19:41   #16
 
Zonni's Avatar
 
elite*gold: 100
Join Date: Feb 2008
Posts: 195
Received Thanks: 270
Seriously Guys!
This is sammelthread for sharing resolved error in metin2 source :/

Please don't spam here.

Um, some fix:
When you compiled client and tried to run it you having an error
Code:
Python int too large to convert to C long
you must simply add this
Code:
// Python int too large to convert to C long
#define PyLong_AsLong PyLong_AsLongLong
#define PyLong_AsUnsignedLong PyLong_AsUnsignedLongLong
to ScriptLib/PythonUtils.cpp under the
Code:
#include "PythonUtils.h"
Credits: lollo_9_1
Zonni is offline  
Old 08/17/2014, 20:46   #17
 
lollo_9_1's Avatar
 
elite*gold: 100
Join Date: Jun 2009
Posts: 168
Received Thanks: 711
Quote:
Originally Posted by Zonni View Post
When you compiled client and tried to run it you having an error
Code:
Python int too large to convert to C long
you must simply add this
Code:
// Python int too large to convert to C long
#define PyLong_AsLong PyLong_AsLongLong
#define PyLong_AsUnsignedLong PyLong_AsUnsignedLongLong
to ScriptLib/PythonUtils.cpp under the
Code:
#include "PythonUtils.h"
.
That is the fix I made and shared via skype. (8 months ago)
I specifically don't care about it, except that you're releasing code not yours without pointing out who made it. (the possibility that someone else made the same implementation fix verges the zero, even if it's so simple)

Speaking of which, an another way is to change the return type of the color functions from signed to unsigned. (still inside client source code)
NB: The one made via root is buggy and different colors will not be shown anymore. (e.g. using say_reward/_title)
lollo_9_1 is offline  
Thanks
5 Users
Reply

Tags
error, metin2, sammelthread, soulution, source


Similar Threads Similar Threads
Some errors in Virtous Source
02/26/2012 - Flyff Private Server - 4 Replies
Hellow how can I fix this errors.Here are the error logs http://www.mediafire.com/?xnry8m9m3i6n24i How to fix this please because some players has random client crashes when they try to teleport to another map
[Source] Neuz Errors
08/09/2011 - Flyff Private Server - 2 Replies
Hey beim erstellen der Neuz tauchen bei mir diese 2 error's auf: Neuz error LNK2019: unresolved external symbol "public: __thiscall CWndJobChangeEx::CWndJobChangeEx(void)" (??0CWndJobChangeEx@@QAE@XZ) referenced in function "public: int __thiscall CMover::SetExperience(__int64,int)" (?SetExperience@CMover@@QAEH_JH@Z) Neuz fatal error LNK1120: 1 unresolved externals Diese tauchen erst nachdem ich quick jobchange eingebaut habe auf.. Bitte um hilfe /:
Help Source Errors
08/03/2011 - CO2 Programming - 2 Replies
The server is ready for connections. Always close the server by pressing Enter, or the important data wont't save. System.BadImageFormatException: An attempt was made to load a program with an in correct format. (Exception from HRESULT: 0x8007000B) at NewestCOServer.Native.BF_set_key(IntPtr _key, Int32 len, Byte data) at NewestCOServer.Main.GameClient..ctor(Boolean Robot) in C:\Griffin\Conquer stuff\CO2 source\rikardo updated\Main\GameClient.cs:line 48...
[Help]Errors (Impulse's Source)
10/06/2010 - CO2 Private Server - 2 Replies
http://s4.postimage.org/kGv8i.jpg What does that errors means? Where should I look to fix them? As title says, I'm using Impulse's source!
this big errors in source 5165
12/15/2009 - CO2 Private Server - 4 Replies
hey all this is the big errors in source 5165 1-acc reb no stuff kill acc full 2soc full +12 non reb 1 hit 2- you can attack with you on horse 3-when kill in guild arena or arena your items drop 4- when red or black name and some one kill you your stuff drop thanks for red my topic but if you know how to fix it wright you fix here thanks sorry for some bad english but some words i dont know how to type



All times are GMT +1. The time now is 03:44.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.