use WriteAlong. Not read...
I am writing codes to Visual Basic 6,I have writed this:
Private Sub Command6_Click()
Call ReadALong("Warrock", &H7DB120, 1120403456)
End Sub
WHAT IS WRONG WITH THIS ??
This is must be UNLIMITED STAMINA !!
PLZ SEND ME ANSWER OR THIS RIGHT CODE?!?!?!
THEN I HAVE DONE MY 2nd TRAINER!!and I will post it for 30mins...
no, u must freeze it with a timer i think...
yes you are supposed to freeze it , thats why its called unlimited stamina , it doesnt change .
[img]https://www.danasof*****m/sig/ghghhkjklk.jpg[/img]
drill sargeant: How tall are you boy!?
soldier: umm....urr about 5' 11''
drill sargeant: I didn't know they stacked shit that high!!
Creator of the Annihilation,Freebie and KFP Series.
<MASTER HACKER>
Code:Private Sub staminatimer_Timer() Call WriteALong("WarRock", &H7DB120, 1120403456) End Subon off button with a 400 ms interval for the stamina reset (works fine)Code:Private Sub CmdStamina_Click() If staminatimer.Interval = 400 Then CmdStamina.Caption = "OFF" staminatimer.Interval = 0 Else staminatimer.Interval = 400 CmdStamina.Caption = "ON" End If End Sub
yea kyo has it rt,you have to put the code in the timer to freeze,and put the rest in the button like kyo did,or just use a timer with hotkeys and do away with buttons.who wants to minimize and hit a button anymore.make hotkeys
Or why not do it like this:
Code:Private Sub Timer1_Timer '//Stamina() Call WriteALong("WarRock", &H7DB120, 1120403456) End Sub Private Sub Command1_Click '//Stamina On() Timer1.Interval = 1 End Sub Private Sub Command2_Click '//Stamina Off() Timer1.Interval = 1 End Sub
Last edited by scooby107; 06-08-2007 at 02:48 PM.
looking at your code you have 2 timers (timer1 and 5) to turn it on/off.
however, the off timer (5) just overwrites timer 1, wich is also still active. this might cause conflicts. also, you have no way to turn it back on, since the off function keeps running.
also, it's just plain excess code.
why use 2 timers if you can do with just one ?
Post this in the code support section.
Someone move this...