|
You last visited: Today at 17:57
Advertisement
[Release][C++ Code] GM/AOE/Range
Discussion on [Release][C++ Code] GM/AOE/Range within the Cabal Guides & Templates forum part of the Cabal Online category.
08/03/2012, 11:47
|
#181
|
elite*gold: 0
Join Date: Jun 2008
Posts: 10
Received Thanks: 7
|
ok, so my problem now is that 1 loop is blocking everything else when started. i figured out that when i put every loop in separate dll everything works fine. but still im curious how to do it the other way. anybody can enlighten me in pm?
|
|
|
08/03/2012, 12:10
|
#182
|
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
|
try to put it on a different thread ......
|
|
|
08/03/2012, 14:29
|
#183
|
elite*gold: 0
Join Date: Jun 2008
Posts: 10
Received Thanks: 7
|
thanks, im kinda new in c++ but after few tries i figured it out
one last question if i may.
if sleep values is set to let's say 100, does it have any visible results on app working, and overall system performance? especially for so called wooden pc's cause i have one
|
|
|
08/03/2012, 15:10
|
#184
|
elite*gold: 0
Join Date: Nov 2008
Posts: 375
Received Thanks: 32
|
Any download link ? of .exe ?
|
|
|
08/03/2012, 15:10
|
#185
|
elite*gold: 0
Join Date: Nov 2009
Posts: 25
Received Thanks: 9
|
@pipaputi
in my tests, no. it doesn't affect the 'functionality' at all (aoe, nsd, no cd, etc.) and can help lessen the impact on your system. be careful in using threads, you wouldn't want to slow down a system by letting the user press a hotkey multiple times w/c results in multiple threads running in the background.
|
|
|
08/03/2012, 15:29
|
#186
|
elite*gold: 0
Join Date: Jun 2012
Posts: 12
Received Thanks: 0
|
can someone teach me how to find address of no cooldown skill? thnx..
|
|
|
08/03/2012, 15:34
|
#187
|
elite*gold: 0
Join Date: Jun 2008
Posts: 10
Received Thanks: 7
|
@lowkey04
i thought that thread is created at the beginning with this:
Quote:
|
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)something, 0, 0, 0);
|
and using a hotkey only starts and breaks the loop
Quote:
void something()
{
while (1)
{
if (GetKeyState(VK_F7) < 0)
{
int i = 0;
while(i == 0){
x=y;
if (GetKeyState(VK_F8) < 0)
i = 1;
Sleep(100);
}
}
Sleep(100);
}
|
am i wrong, or should i use the flags?
|
|
|
08/03/2012, 16:03
|
#188
|
elite*gold: 0
Join Date: Nov 2009
Posts: 25
Received Thanks: 9
|
@pipaputi
ahh. that's fine then if you're just creating a single thread w/c calls your main routine. i thought you where using a new thread for the other functions.
you're code is fine but when you start using multiple hotkeys for multiple functions, you're current way of handling them won't be an efficient one.
|
|
|
08/03/2012, 16:15
|
#189
|
elite*gold: 0
Join Date: Jun 2008
Posts: 10
Received Thanks: 7
|
@lowkey04
That was an example, actually im using 3:
Quote:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Gmaoe, 0, 0, 0);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Combo, 0, 0, 0);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Delay, 0, 0, 0);
|
And only combo and no skill delay have loops. After all, i think 2 loops repeating 10 times a second is still better than 1 loop repeats 1000 times.
|
|
|
08/03/2012, 16:36
|
#190
|
elite*gold: 0
Join Date: Nov 2009
Posts: 25
Received Thanks: 9
|
@pipaputi
then i'm back to my orig statement with regards to multiple threads.
every call to a createthread function will create a new thread, it doesn't automatically close by itself unless you tell it so.
now, imagine a user toggling a function on/off multiple times. unless you terminate each thread before calling a new one, each toggle just creates a new thread.
|
|
|
08/03/2012, 17:29
|
#191
|
elite*gold: 0
Join Date: Jun 2008
Posts: 10
Received Thanks: 7
|
now i'm really confused *.*
|
|
|
08/03/2012, 17:34
|
#192
|
elite*gold: 0
Join Date: Jun 2012
Posts: 12
Received Thanks: 0
|
hey there lowkey can you help me?just wanna know the address of no cooldown skill.. thnx in advance
|
|
|
08/03/2012, 20:07
|
#193
|
elite*gold: 0
Join Date: Jun 2008
Posts: 10
Received Thanks: 7
|
ok, thx all, problem resolved
you guys are awesome
|
|
|
08/04/2012, 17:31
|
#194
|
elite*gold: 0
Join Date: Dec 2008
Posts: 249
Received Thanks: 1,007
|
@pscbots
can you please give us a simple code to trigger one key for autopots?please please??
i really cant figure it out.
|
|
|
08/04/2012, 17:47
|
#195
|
elite*gold: 10
Join Date: May 2008
Posts: 1,803
Received Thanks: 1,947
|
@mi5pogi
he has it memory based, but I gues you mean hotkey-based? then try to simulate the keyboard presses and not just sent the key strokes (I don't have it working either, but looking at some macro tools, they emulate the keypress and not just sent the keypress)
|
|
|
 |
|
Similar Threads
|
Rsro range code.
06/14/2011 - SRO Coding Corner - 0 Replies
I am using Flex Hex program but i cant find how change mob selection range need help.
Please Tel my how i can find code.
|
Range modify ESRO code chaning?
06/14/2011 - SRO Coding Corner - 3 Replies
having toruble with creating a dll... the guy posted the source which is below for his dll that goes with his loader:
esroLoaderdll.cpp:
#include "windows.h"
void WriteMemory(DWORD address, LPVOID patch, DWORD size)
{
DWORD oldProtect;
VirtualProtect((LPVOID)address, 4, PAGE_EXECUTE_READWRITE, &oldProtect);
memcpy((LPVOID)address, patch, size);
|
Range modify EXRO code chaning?
06/13/2011 - SRO Coding Corner - 0 Replies
# delete request no idea why it posted twice
|
[Release] MS Range CheatEngine
03/13/2010 - S4 League Hacks, Bots, Cheats & Exploits - 19 Replies
entfernt da nur gemault wird
|
[RELEASE] ATK Range Hack v1.0b
02/19/2008 - Metin2 - 16 Replies
ATK Range Hack v1.0b
Working after update !
To use this hack:
1. Start the (ATK Range Hack.exe).
2. Start Metin2.
3. Login into youre acc.
|
All times are GMT +1. The time now is 17:58.
|
|