Anyone know LUA Progaming ???

Talk about anything you want, but keep it within the rules, please.
zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Anyone know LUA Progaming ???

Post by zUsername »

I'm have problems with attach process because it's have 2 processes with the same name, if I use openProcess("GarenaCIG.exe") it's opened the process I don't want to open. So how I attach the right process?

C:\ProgramData\GarenaCIG\3.0.906\GarenaCIG.exe --tray
C:\ProgramData\GarenaCIG\3.0.906\GarenaCIG.exe --service

There are 2 process running, now I want to attach GarenaCIG.exe --service not GarenaCIG.exe --tray .
And I have a ideas, we close "GarenaCIG.exe --tray" then use openProcess("GarenaCIG.exe") then createProcess("GarenaCIG.exe --tray"), but I have problem in situation is createProcess dont' allow I to use --tray.
So please help me. Thanks all u guys.
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: Anyone know LUA Progaming ???

Post by haxorico »

I don't know much about LUA. I wanted to learn as it looks cool with stuff people do (to cheat games mostly :))
Back to your question. Can you attach it to Process ID? You can get the ID of both processes and check if tray always has a bigger value or something? Or ask for it to enter PID (Process ID) manualy each time the program opens. You can check the ID at the task manager (Windows?)
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Re: Anyone know LUA Progaming ???

Post by zUsername »

It's change PID every time restart PC, and one thing sometime PID -tray bigger than -service and sometime -service bigger than -tray @@, so any idea else? :|
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: Anyone know LUA Progaming ???

Post by haxorico »

Can you read the data of one of them and find some thing that is constant?
For instance, if you read the process memory at byte X with will always hold one constant piece of information that is different from the other process.
I haven't used garena so I can't say I know much. Maybe stuff like the user-name password you enter.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Re: Anyone know LUA Progaming ???

Post by zUsername »

GarenaCIG.exe not Garena it's hold your key which provide u x2 IP LOL , Gold Member,zz but I think there are no function to do that.
According u said, it's must be open every single process then check for constant, but problem here is I don't know how to open all process to check that @@.
User avatar
Dekar
Forum Drunk
Posts: 2895
Joined: January 17th, 2007, 4:22 pm
Location: Darmstadt, Germany

Re: Anyone know LUA Progaming ???

Post by Dekar »

I have embedded Lua into an operating system I wrote, yet "openProcess" isn't a function I've ever seen. This isn't standard Lua you're talking about, is it? Also what's Lua pro-gaming?
Don't pm me with Warcraft questions, this is a forum so just make a post!

In the world of thinking we are all immigrants. -Robert Nozick
zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Re: Anyone know LUA Progaming ???

Post by zUsername »

I wrote LUA with Cheat Engine :D, and my problem already solved. tks for reply :D