PDA

View Full Version : [Help needed] Compile error



Durrcookie
05-31-2008, 04:40 PM
When i finished makin mah hax0r and click on file, make .exe and then click ok, i get this error:

Compile Error:

Wrong numbers of arguments or invalid property assignment




Private Sub Timer1_Timer()

Call fgiuiygsdiuodyfoiguy754isdfghdkgddfjkg("WarRock", &H523B2D, 8820)

End Sub



this is mah code for ESP, i copied the public function from WriteAlong which i got from ZeaS module maker, but when i use any other public functions instead of the top one i can make a .exe but it doesn't work then.

So, if anyone could help?

frostbitekid
05-31-2008, 04:45 PM
ESP is
118 on
and
117 off
I think. If it doesn't work, then change change it so its 117 on and 118 off. And it goes in a timer I think.

Durrcookie
05-31-2008, 04:57 PM
118 off and 117 on whatta ya mean by that?
Shouldnt on and off be on command buttons like this:


Private Sub Command1_Click()

Timer1.Interval = 1

End Sub

Private Sub Command2_Click()

Timer1.Interval = 0

End Sub

Private Sub Timer1_Timer()

Call fgiuiygsdiuodyfoiguy754isdfghdkgddfjkg("WarRock", &H523B2D, 8820)

End Sub



maybe theres wat ive been doing wrong o.O; could you give an example code on how esp should be made? (I already have teh module)

frostbitekid
05-31-2008, 05:03 PM
Call fgiuiygsdiuodyfoiguy754isdfghdkgddfjkg("WarRock", &H523B2D, 117)

Durrcookie
05-31-2008, 05:07 PM
O nice! ty!!!! BUT, i stil lget this same freakin error, i do have to copy the WriteALong public function right? Here's a pic

http://i27.tinypic.com/2v9wtag.jpg

frostbitekid
05-31-2008, 05:12 PM
O nice! ty!!!! BUT, i stil lget this same freakin error, i do have to copy the WriteALong public function right? Here's a pic

http://i27.tinypic.com/2v9wtag.jpg

No you don't need to copy the WriteAlong funtion. Did you completely copy the module?

Durrcookie
05-31-2008, 05:17 PM
I copied the whole module I got from the ZeaS module maker.

And what do you mean i dont copy the writeAlong function? what do i type then??
call ("warrock",etc,etc)
That can't be right o.O;

frostbitekid
05-31-2008, 05:37 PM
I copied the whole module I got from the ZeaS module maker.

And what do you mean i dont copy the writeAlong function? what do i type then??
call ("warrock",etc,etc)
That can't be right o.O;

Oh thats what you mean
I'm not sure. You should code in VB08, its easier and better the VB6. ESP is VB08 is as easy as pie.

Durrcookie
05-31-2008, 05:45 PM
Ooohhh, i was told everything above vb6 was harder, but now im going over to vb8, TY ;D