Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 16:39

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

Advertisement



[C++] Run Python Function Functions Metin2

Discussion on [C++] Run Python Function Functions Metin2 within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2013
Posts: 211
Received Thanks: 36
Post [C++] Run Python Function Functions Metin2

Hat sich geklärt.
iOSsec is offline  
Old 05/09/2014, 22:08   #2

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,480
Received Thanks: 3,319
Code:
DWORD WINAPI Watek( LPVOID ) 
{ 
        functorun; 
}
Eine Funktionsadresse als Statement reicht da nicht aus, du musst die Funktion aufrufen.
snow is offline  
Old 05/09/2014, 22:33   #3
 
elite*gold: 0
Join Date: Sep 2013
Posts: 211
Received Thanks: 36
Oh ja das hab ich total übersehen aber trotzdem gehts nicht.
Ich teste es auch auf P-Servers also kp wo des Problem ist. Kannst dus bei dir vl ma testen?
iOSsec is offline  
Old 05/10/2014, 00:11   #4


 
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
Quote:
Originally Posted by iOSsec View Post
und ich dachte auch es hätte geklappt aber jetzt geht's doch nicht.
Geht's vielleicht etwas präziser? Wird der Thread überhaupt jemals gestartet? Benutze bitte erstmal den Debugger.

Vielleicht liegt das Problem ja eher an dieser ominösen Python Library und nicht am C++ Code.

Achja, ich bezweifle stark dass snow an Metin2 interessiert ist.
Mostey is offline  
Old 05/10/2014, 14:52   #5
 
elite*gold: 0
Join Date: Sep 2013
Posts: 211
Received Thanks: 36
Ja aber kp ob es in der Lib liegt. Ich denke nicht aber wenn dann kann mir dass ja vl jemand sagen.
iOSsec is offline  
Old 05/10/2014, 15:30   #6
 
Padmak's Avatar
 
elite*gold: 58
Join Date: Jun 2008
Posts: 2,311
Received Thanks: 8,420
Um Python ausführen zu können, musst du im Mainthread sein. Du musst also entweder irgendwo die Mainschleife hooken ( evtl. in OnUpdate oder sowas) und darin deinen Code ausführen. Dann gehts.

Padmak
Padmak is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
Metin2 DE [GF-Official] Python Functions
04/03/2014 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 3 Replies
Hey :)!, mir war heute stink langweilig und dachte mir ich release mal die Python functions für den Metin2 DE Server. Vielleicht kann der eine oder andere damit etwas anfangen, der ein H-Shield Bypass hat, oder sonst wie xD. Credits: coldzer0 - Link zum Post. Update: Damit kann man übrigens auch ohne HS-Shield tolle Tools "basteln" ;). Die Funktionen sollten eigentlich auch mit anderen GF-Servern funktionieren. Wie auch immer genug gelabert, hier nun die Funktionen:
Help Me Python Function
02/08/2014 - Metin2 Private Server - 1 Replies
Any person know the function in python to use : http://m2data.liquiron.com/ex/icon/item/70038.png Thanx.
Python 2.7 For New Functions
01/29/2013 - Metin2 PServer Guides & Strategies - 24 Replies
Dont need anything just add to m2 path.



All times are GMT +2. The time now is 16:39.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.