Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Any alternative? VB08

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Angemon102
Master Cheater
Reputation: 0

Joined: 08 Sep 2007
Posts: 408
Location: Karachi

PostPosted: Tue Jan 22, 2008 4:49 am    Post subject: Any alternative? VB08 Reply with quote

Code:
    Private Sub tmrmid_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrmid.Tick
        Try
            lblmidvar.Text = AxAQ.GetVariable("_root.monster.intMonsterId")
        Catch
            lblmidvar.Text = "N/A"
        End Try
    End Sub


Here:
Timer1 = tmrmid
Label1 = lblmidvar
AxShockwaveFlash1 = AxAQ
Form2 = AQ

Now this is a timer, and slows the app down considerably! Any alternative to this code? So that lblmidvar's Text changes to the _root.monster.intMonsterId variable's value every time it(_root.monster.intMonsterId) changes.

_________________
XHale wrote:
Angemon102 = cool


TO DO LIST:
1) Finish and Release that God forsaken trainer
2) Update the updated VB6 Tutorial
3) Learn AAS
4) Do homework...... Damn!
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Jan 23, 2008 2:59 am    Post subject: Reply with quote

There is no need to have a short interval to that code.
If you do that ever 10 ms then ofc it will lag up the game.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
killersamurai
Expert Cheater
Reputation: 0

Joined: 10 Sep 2007
Posts: 197
Location: Colorado

PostPosted: Wed Jan 23, 2008 4:03 am    Post subject: Reply with quote

You can create another thread and let that thread handle it.

Here is a link to an article on how to multi-thread in vb.net.
http://www.devx.com/DevX/10MinuteSolution/20365
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Jan 23, 2008 4:32 am    Post subject: Reply with quote

killersamurai wrote:
You can create another thread and let that thread handle it.

Here is a link to an article on how to multi-thread in vb.net.
http://www.devx.com/DevX/10MinuteSolution/20365

That is cool. but still dosen't it lag?

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites