|
08/01/2014, 14:53
|
#46
|
elite*gold: 58
Join Date: Jun 2011
Posts: 103
Received Thanks: 12
|
My chrome says it's virus and block it.
|
|
|
08/01/2014, 15:15
|
#47
|
elite*gold: 0
Join Date: Jan 2011
Posts: 60
Received Thanks: 66
|
Quote:
Originally Posted by Piotreks34
My chrome says it's virus and block it.
|
That happened to me too. Please follow these instructions to make chrome stop blocking the file:
|
|
|
08/03/2014, 23:07
|
#48
|
elite*gold: 0
Join Date: Jan 2011
Posts: 60
Received Thanks: 66
|
As we near the release date of the code, I've started a poll on what language I should use for the code
|
|
|
08/03/2014, 23:55
|
#49
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
c++ is the best. as dll you can use it in nearly every other language and its really much faster
|
|
|
08/04/2014, 00:05
|
#50
|
elite*gold: 0
Join Date: Jan 2011
Posts: 60
Received Thanks: 66
|
Quote:
Originally Posted by »FlutterShy™
c++ is the best. as dll you can use it in nearly every other language and its really much faster
|
c++ is faster. However there are some downsides. The libraries that I use (numpy etc) are already optimized (They are built in heavily optimized c code) so c++ will have a small performance bonus. Also I'll be able to release the python code faster than c++ code since its already made in python.
However c++ is what most people use so i guess that may be an advantage for most people.
|
|
|
08/04/2014, 03:49
|
#51
|
elite*gold: 0
Join Date: Aug 2014
Posts: 1
Received Thanks: 0
|
Quote:
Originally Posted by hellgod_
However c++ is what most people use so i guess that may be an advantage for most people.
|
But Python is really easy to learn and use, especially for people who know C++.
|
|
|
08/04/2014, 09:43
|
#52
|
elite*gold: 0
Join Date: Aug 2013
Posts: 11
Received Thanks: 2
|
[QUOTE=hellgod_;29104454]what are the specs of your computer? And how laggy is it? (What fps do you think your getting?)
I have core i5 4670k, 8gb ram ddr3, radeon r9 280, screen 1600x900
I think i am getting like 1-5 fps.
|
|
|
08/04/2014, 15:07
|
#53
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
Quote:
Originally Posted by JumboWumbo
But Python is really easy to learn and use, especially for people who know C++.
|
c++ is the best way! i think python is really ugly.
and if he code it in c++ you can use it in all languages that can call .dll so you can choose the best language for yourself
|
|
|
08/04/2014, 16:01
|
#54
|
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
|
Quote:
Originally Posted by »FlutterShy™
c++ is the best way! i think python is really ugly.
and if he code it in c++ you can use it in all languages that can call .dll so you can choose the best language for yourself
|
And what if he releases it as a static library ? Then you need to wrap a c++ dll around it or code in c++. And depending on the language you use dll calls might be performance expensive.
|
|
|
08/04/2014, 16:49
|
#55
|
elite*gold: 0
Join Date: Jan 2011
Posts: 60
Received Thanks: 66
|
Quote:
Originally Posted by »FlutterShy™
c++ is the best way! i think python is really ugly.
and if he code it in c++ you can use it in all languages that can call .dll so you can choose the best language for yourself
|
Python isnt ugly
Its easy to write without worrying about memory leaks occurring all the time. But sure, it looks like python and c++ is tied so ill have to release both.
And one more thing. With c++, you will have to provide your own way of taking screenshots and turning them into a structure of raw pixels. I couldn't find a fast way of doing this. (Screenshots are included with python)
ALSO:
I should have put this on the poll, do you guys want this in C#? Its going to be cross platform because the code can be compiled with MONO as well.
|
|
|
08/04/2014, 16:58
|
#56
|
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
|
How about smartpointers ? Then you can't have memory leaks. If your compiler supports c++11 you can just use the ones from the stl. Else I recommend you to use the boost library for smartpointers. Also there might be image librarys for c++ which are able to take screenshots.
|
|
|
08/04/2014, 17:39
|
#57
|
elite*gold: 0
Join Date: Jan 2011
Posts: 60
Received Thanks: 66
|
Quote:
Originally Posted by wojtzek
I have core i5 4670k, 8gb ram ddr3, radeon r9 280, screen 1600x900
I think i am getting like 1-5 fps.
|
The code is CPU intensive. So I recommend you close all unused running applications (Using task manager) and try it out. I have a crappy AMD A8 4500M and the code runs at 17 fps.
Quote:
Originally Posted by omitma
How about smartpointers ? Then you can't have memory leaks. If your compiler supports c++11 you can just use the ones from the stl. Else I recommend you to use the boost library for smartpointers. Also there might be image librarys for c++ which are able to take screenshots.
|
Ill look into that. Don't have much experience with c++
|
|
|
08/04/2014, 17:46
|
#58
|
elite*gold: 58
Join Date: Jun 2011
Posts: 103
Received Thanks: 12
|
Quote:
Originally Posted by hellgod_
The code is CPU intensive. So I recommend you close all unused running applications (Using task manager) and try it out. I have a crappy AMD A8 4500M and the code runs at 17 fps.
Ill look into that. Don't have much experience with c++
|
Did you give a look for F# or C# ?
|
|
|
08/04/2014, 18:49
|
#59
|
elite*gold: 0
Join Date: Jan 2011
Posts: 60
Received Thanks: 66
|
Quote:
Originally Posted by Piotreks34
Did you give a look for F# or C# ?
|
Going to.
Anybody else having problems with speed?
|
|
|
08/04/2014, 20:56
|
#60
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
Quote:
Originally Posted by omitma
And what if he releases it as a static library ? Then you need to wrap a c++ dll around it or code in c++. And depending on the language you use dll calls might be performance expensive.
|
yeah but better than python code
Quote:
Originally Posted by hellgod_
Python isnt ugly
Its easy to write without worrying about memory leaks occurring all the time. But sure, it looks like python and c++ is tied so ill have to release both.
And one more thing. With c++, you will have to provide your own way of taking screenshots and turning them into a structure of raw pixels. I couldn't find a fast way of doing this. (Screenshots are included with python)
ALSO:
I should have put this on the poll, do you guys want this in C#? Its going to be cross platform because the code can be compiled with MONO as well.
|
I really like c# but mono isnt that fast
Quote:
Originally Posted by omitma
How about smartpointers ? Then you can't have memory leaks. If your compiler supports c++11 you can just use the ones from the stl. Else I recommend you to use the boost library for smartpointers. Also there might be image librarys for c++ which are able to take screenshots.
|
there are c++ librarys for taking screenshots. and there is GDI+ on windows.
Quote:
Originally Posted by Piotreks34
F#
|
pls no
|
|
|
Similar Threads
|
Need help making a botting framework
07/10/2014 - DarkOrbit - 17 Replies
Hello guys, Im working on a bot framework (for windows, mac, and linux :) ) that you can easily use to detect complex objects in darkorbit and any other game. It also has some anti cheat functions that you can tweak. This is where my question arises.
I know that darkorbit detects the pattern between clicks to find bots, is there any other ways that DO detects cheats? I need to implement this into my framework and I could find almost nothing online about this.
EDIT:
Here is my work so...
|
All times are GMT +1. The time now is 00:12.
|
|