Register for your free account! | Forgot your password?

You last visited: Today at 15:24

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

Advertisement



Source in Python

Discussion on Source in Python within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Source in Python

Has there ever been done one that I could use as reference or something? Or I'd be totally on my own feets? I tried search, but had no result and didn't really expect any results anyway.

I don't have a username is offline  
Old 04/25/2012, 13:36   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
I recall a project like 6/5 years ago that was python based, how far it got or what happened to it i cant tell you, but nowadays im sure you would be on your own with this.
Korvacs is offline  
Old 04/25/2012, 14:10   #3
 
Captivate's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 1,532
Received Thanks: 575
As far as I know clinton wrote a bot using Python, when it comes to a source.. dunno about that.
Captivate is offline  
Old 04/25/2012, 14:14   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Writing a source in Python would be a bad move anyways due to the threading issues it has.
Korvacs is offline  
Old 04/25/2012, 14:32   #5
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Yeah, was not gonna use it for anything, just learning purpose :P

Which threading issues are you talking about tho?
I don't have a username is offline  
Old 04/25/2012, 14:42   #6


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Python uses a Global Interpreter Lock, which basically switches processing between threads which basically boils down to sequential multi-threading, no 2 threads will be processed at the same time. Which in principle is fine as technically speaking this is how all threads are processed at a CPU level, however Pythons implementation of this is flawed, so when you get multiple threads and multiple cores the GIL basically has threads competing against each other for the lock as they are on different CPUs which results in dramatic decreases in performance to the point where you might aswell run a single threaded application.

Read this for detailed explanation
Korvacs is offline  
Thanks
1 User
Old 04/25/2012, 14:56   #7
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Thanks a lot for that, will read it ^^
I don't have a username is offline  
Reply


Similar Threads Similar Threads
[Python-Modul]EXP-Donator (kompatibel mit Python Loader)
11/23/2013 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 27 Replies
Moin, da man mich danach gefragt hat und ich sowieso mal ein Beispiel für die Benutzung meines Python Loaders veröffentlichen wollte, habe ich die Gelegenheit genutzt und euch eben einen EXP-Spendebot geschrieben. Man kann ihn einfach mit dem oben verlinkten Python Module Loader laden und ihn mit F5 aktivieren/deaktivieren. Sobald ihr mehr als 99 Erfahrungspunkte habt (man kann nur in 100er Schritten spenden), werden alle Erfahrungspunkte an eure Gilde gespendet. Wer Lust hat und...
[rls] Python Downloader source
03/18/2012 - Metin2 PServer Guides & Strategies - 1 Replies
Hey. Da olli seinen patcher da released hat und sich manche von euch bestimmt fragen, wie so etwas geht, hab ich mir die 2 minuten arbeit gemacht euch nen simplen sha1 patcher zu schreiben (kein INGAME-Patcher wie der von OLLI!) Er soll lediglich die grundfunktion veranschaulichen ( für die, die interesse daran haben) Und er funktioniert zb mit dem patchlist creator von olli. #sha1 downloader-fun script xCPx import sha import urllib patchlist =...
Python + Eric Python IDE installieren ?!
07/05/2011 - General Coding - 0 Replies
hat sich erledigt.
[Python][EN] ALT
03/31/2010 - General Coding - 2 Replies
Hi! How I can send key ALT in Python? I do it in Metin2 Client. chatLine.SetText("0160") Before 0160 I want to send key ALT In AutoIT is send("!0160"), but how in Python? Regards, Doll from Poland



All times are GMT +1. The time now is 15:24.


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.