|
You last visited: Today at 23:55
Advertisement
A simple macro...need help
Discussion on A simple macro...need help within the 12Sky2 forum part of the MMORPGs category.
07/26/2011, 13:27
|
#1
|
elite*gold: 0
Join Date: Jun 2008
Posts: 427
Received Thanks: 19
|
A simple macro...need help
I've tried loads of macro freewares but they don't seem to do the work...and i've gone through the c++ tutorials but they don't really explain what i need...
What i want is simple..
a script for:
-activate TwelveSky2 process (window)
-Press F2 then F4 simultanously
-Repeat 99999999999 times
a script for:
-terminate process
So how can i do this?
|
|
|
07/26/2011, 18:16
|
#2
|
elite*gold: 0
Join Date: Dec 2009
Posts: 1,776
Received Thanks: 1,003
|
Look up OpenProcess
TerminateProcess
SendMessage
CreateThread
Sleep
Direct Input
ReadProcessMemory
Or cheap out and try autoit... lol
WriteProcessMemory
|
|
|
07/26/2011, 18:36
|
#3
|
elite*gold: 0
Join Date: Jun 2008
Posts: 427
Received Thanks: 19
|
Quote:
Originally Posted by Mega Byte
Look up OpenProcess
TerminateProcess
SendMessage
CreateThread
Sleep
Direct Input
ReadProcessMemory
Or cheap out and try autoit... lol
WriteProcessMemory
|
yea i tried autoit but it didn't make sense to me xD
ok here... i've made this in autoit by reading a tutorial, can you guide me a bit more?
Quote:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.0.0
Author: shad0wboss
#ce ----------------------------------------------------------------------------
#include <GUIConstantsEx.au3>
GUICreate("shad0wboss's Bot", 335, 100)
GUISetState(@SW_SHOW)
GUICtrlCreateLabel("Key", 8, 10)
$key1 = GUICtrlCreateInput("", 35, 8, 120)
GUICtrlCreateLabel("Time", 8, 44)
$time1 = GUICtrlCreateInput("", 35, 40, 120)
GUICtrlCreateLabel("Key 2", 8, 44)
$key2 = GUICtrlCreateInput("", 35, 40, 120)
$startbutton = GUICtrlCreateButton("Start", 190, 8, 60)
While 1
$msg = GUIGetMsg()
Select
Case $msg = $startbutton
$send1 = GUICtrlRead($key1)
$send2 = GUICtrlRead($key2)
$sleep1 = GUICtrlRead($time1)
While 1
Send($send1)
Sleep($sleep1)
WEnd
Case $msg = $GUI_EVENT_CLOSE
GUIDelete()
ExitLoop
EndSelect
wEnd
|
Can you also tel me how i can have the buff option there as well so that it auto presses, lets say "6" every 60 seconds? and that this code works only for process "TwelveSky2" even tho it is minimized
|
|
|
07/26/2011, 22:25
|
#4
|
elite*gold: 0
Join Date: Dec 2009
Posts: 541
Received Thanks: 271
|
Quote:
Originally Posted by shad0wboss
yea i tried autoit but it didn't make sense to me xD
ok here... i've made this in autoit by reading a tutorial, can you guide me a bit more?
Can you also tel me how i can have the buff option there as well so that it auto presses, lets say "6" every 60 seconds? and that this code works only for process "TwelveSky2" even tho it is minimized
|
WoW thats a nasty wont work what the heck kind of code there. Uhm that is not going to work and you can't send key to minimized TS2 you have to call the function to activate buff or attack skill in memory try learning some ASM.
|
|
|
07/27/2011, 04:16
|
#5
|
elite*gold: 0
Join Date: Dec 2009
Posts: 1,776
Received Thanks: 1,003
|
Overall try learning. if it dosnt make sense read documentation more and famliarise your self with how programming or code logic works.
|
|
|
07/27/2011, 12:24
|
#6
|
elite*gold: 0
Join Date: Jun 2008
Posts: 427
Received Thanks: 19
|
lol that was autoit and the admins there are freakin dumb...you cannot ask a question in their forums about a script which is anyhow related to automation lolz...
anyways, you say asm?
EDIT: another thing, the script is half working, meaning when the dialogue box opens up, i type a key in it lets say my aoe is at 2 so i insert 2 and press start so it spams 2 all the time until the dialogue box is force closed so if TS 2 window is opened up, it aoe just fine...but since the autoit admins are too retarded to help anyone, i'll just stop working using autoit.
|
|
|
07/27/2011, 14:57
|
#7
|
elite*gold: 0
Join Date: Dec 2009
Posts: 1,776
Received Thanks: 1,003
|
Ehh C++ over Autoit... just find game functions and call them using asm in your C++ dll.
A skill worth learning
|
|
|
07/27/2011, 16:55
|
#8
|
elite*gold: 0
Join Date: Jun 2008
Posts: 427
Received Thanks: 19
|
problem is, i can't inject anything since i'm already injecting a dll...or is it possible to inject more then one dll
|
|
|
07/27/2011, 17:25
|
#9
|
elite*gold: 0
Join Date: Jan 2010
Posts: 236
Received Thanks: 286
|
You can inject as many dll's as you want so long as they dont do the same things. For example if one dll is hooking directx's EndScene other dll's cant hook it or there will probably be crash or something.
|
|
|
07/27/2011, 17:28
|
#10
|
elite*gold: 0
Join Date: Jun 2008
Posts: 427
Received Thanks: 19
|
well...i'm using your dll wazapoo so what is that dll hooking?
|
|
|
07/27/2011, 18:57
|
#11
|
elite*gold: 0
Join Date: Jan 2010
Posts: 236
Received Thanks: 286
|
It hooks DirectX's Present() and few parts of the games functions such as skill animation code to do the aoe multihit and such
|
|
|
|
Similar Threads
|
Simple programme for macro-ing
06/06/2010 - CO2 Bots & Macros - 9 Replies
This is a re-post
hey, for a while i been using this prog its a simple mouse macro that you can ezyly prog yur self its good for divine hair lvling...if yu got the time...you can even make a full minig bot that takes your ores back and forth into bank and such things..oh well hope ppl like it...text2schild.php?smilienummer=1&text=ENJOY ' border='0' alt='ENJOY' />
btw i know i got low posts and shit...but seriosly im not low enough to put a troj in scan if u wish :bandit:
|
request simple macro
03/03/2010 - General Gaming Discussion - 2 Replies
hi guys im looking for a simple macro app that will work for online games like DFO and grand fantasia. im using Easy Macro Recorder and macro express and ive tried a few others none work i know there most be a protection on them so im just looking for a way around it.
i want to do some thing very simple for grand fantasia i just want it to hit "TAB then 2" over and over...thats it lol
so if some one could plz help me out id appreciate it ...thank u
|
[Request] simple macro
03/17/2008 - Cabal Online - 3 Replies
If anyone can make me a macro that does these:
-Press 7 without stop (To start a buff)
-Press RIGHT mouse key without stop (To cancel the skill by right clicking it)
Basicly i want this to do afk skill grinding with a buff.
i would prefer this to be as an .Exe file with hotkeys (f10=start f12=stop)
Thnx.
|
Simple Macro for high lvl archers
01/02/2007 - CO2 Bots & Macros - 14 Replies
Hi people! This is not my first macro. But this is my first Macro posted here :)
All this macro requires is Macro Express 3.5e. Just use search.
1. This bot is best for archer who get 1's or 2's from the monster
2. It will jump for you.
3. It will stock arrows automatically, just put arrow bundles to f2
4. It would work on all spawns, which your archer is able to 2 hit KO the monster. Best at Serpents though. You'll have to have your stack at the correct coords where you have spawns...
|
need a simple macro-tool
05/24/2006 - General Coding - 2 Replies
i'm looking for a simple macro-tool..
it should support something like a timer.. like every 30min click/type for me.. would be good if i can record and then just keep it running..
i've tested some tools.. but could not really find what i wanted.. some advice would be nice though.. hehe
---------------
ich suche ein simples macro-tool
|
All times are GMT +2. The time now is 23:55.
|
|