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 


^_^ Need Help!
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Sophie_Williams
How do I cheat?
Reputation: 0

Joined: 21 Sep 2016
Posts: 7
Location: Bedroom

PostPosted: Wed Sep 21, 2016 7:14 pm    Post subject: ^_^ Need Help! Reply with quote

Embarassed so here's the problem..

i can't type '0' after &H in VB.NET to make the trainer work.
the value starts with 0 and everytime i enter &H0xxxxxxx
the '0' automatically gets deleted and only &Hxxxxxxx left!

example in attachment down below



Problem.gif
 Description:
 Filesize:  251.91 KB
 Viewed:  9075 Time(s)

Problem.gif


Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Sep 21, 2016 7:21 pm    Post subject: Reply with quote

Not familiar with VB.NET, but if the &H is indicative of hexadecimal format, then adding 0's to the front will not make a difference.
Back to top
View user's profile Send private message
Sophie_Williams
How do I cheat?
Reputation: 0

Joined: 21 Sep 2016
Posts: 7
Location: Bedroom

PostPosted: Wed Sep 21, 2016 7:28 pm    Post subject: Reply with quote

++METHOS wrote:
Not familiar with VB.NET, but if the &H is indicative of hexadecimal format, then adding 0's to the front will not make a difference.


here's the table:

Code:

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>6</ID>
      <Description>"Movement Speed"</Description>
      <LastState Value="18" RealAddress="3676510C"/> <- This Value, but the "RealAddress" Changes everytime the game restarts. so i want to use the address(es) below
      <VariableType>Float</VariableType>
      <Address>"Game.exe"+01A90680</Address>  <- ♥ This Address ♥
      <Offsets>
        <Offset>1C</Offset>
        <Offset>84</Offset>
        <Offset>30</Offset>
        <Offset>10</Offset>
        <Offset>540</Offset>
      </Offsets>
    </CheatEntry>
    <CheatEntry>
      <ID>7</ID>
      <Description>"Movement Speed"</Description>
      <LastState Value="18" RealAddress="2F709C14"/> <- This Value as well
      <VariableType>Float</VariableType>
      <Address>"Game.exe"+011C3208</Address> <- ♥ Also This Address ♥
      <Offsets>
        <Offset>14</Offset>
        <Offset>C</Offset>
        <Offset>10</Offset>
        <Offset>64</Offset>
        <Offset>14</Offset>
      </Offsets>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


that's what i'm trying to add to the timer in VB.NET, to change it every 100ms but i wasn't able to do that because of the 0 changed to nothing after &H

&H01A90680 and &H011C3208

please correct me if i were wrong, because this is my first trainer using CE & VB.NET

_________________
:3 Meow! <3


Last edited by Sophie_Williams on Wed Sep 21, 2016 7:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Sep 21, 2016 7:32 pm    Post subject: Reply with quote

You're trying to change the address...? This is someone else's work, presumably.
Back to top
View user's profile Send private message
Sophie_Williams
How do I cheat?
Reputation: 0

Joined: 21 Sep 2016
Posts: 7
Location: Bedroom

PostPosted: Wed Sep 21, 2016 7:36 pm    Post subject: Reply with quote

++METHOS wrote:
You're trying to change the address...? This is someone else's work, presumably.

it is my work, but not familiar with VB.NET, how do i use the table from CE and make the timer in VB.NET change the value every 100ms.. not the address.

_________________
:3 Meow! <3
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4293

PostPosted: Wed Sep 21, 2016 7:39 pm    Post subject: Reply with quote

Addresses are usually represented as standard integers in base 16 (hexadecimal), and as with all integers, leading zeros are implicit. If someone was asked what 2+2 was, the most common response would be 4: not 04, 004, 00000004, or any other amount of leading zeros.

0x011C3208, for all relevant intents and purposes, is equivalent to 0x11C3208. Your IDE is just trying to be helpful by removing those leading zeros lest you be confused by them.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Sep 21, 2016 7:41 pm    Post subject: Reply with quote

Just copy/paste this inside of CE and set your freeze interval to 100ms? Change game.exe to target module.

Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>6</ID>
      <Description>"Movement Speed"</Description>
      <LastState Value="18" RealAddress="3676510C"/>
      <VariableType>Float</VariableType>
      <Address>"Game.exe"+01A90680</Address> 
      <Offsets>
        <Offset>1C</Offset>
        <Offset>84</Offset>
        <Offset>30</Offset>
        <Offset>10</Offset>
        <Offset>540</Offset>
      </Offsets>
    </CheatEntry>
    <CheatEntry>
      <ID>7</ID>
      <Description>"Movement Speed"</Description>
      <LastState Value="18" RealAddress="2F709C14"/>
      <VariableType>Float</VariableType>
      <Address>"Game.exe"+011C3208</Address>
      <Offsets>
        <Offset>14</Offset>
        <Offset>C</Offset>
        <Offset>10</Offset>
        <Offset>64</Offset>
        <Offset>14</Offset>
      </Offsets>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


Last edited by ++METHOS on Wed Sep 21, 2016 7:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sophie_Williams
How do I cheat?
Reputation: 0

Joined: 21 Sep 2016
Posts: 7
Location: Bedroom

PostPosted: Wed Sep 21, 2016 7:44 pm    Post subject: Reply with quote

++METHOS wrote:
Just copy/paste this inside of CE and set your freeze interval to 100ms?

Remove these lines first:
Code:
<- ♥ This Address ♥
<- ♥ Also This One! ♥

those lines i added here in forums just to point to you what i mean exactly they doesn't exist in my table lol

_________________
:3 Meow! <3
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Sep 21, 2016 7:45 pm    Post subject: Reply with quote

Obviously.
Back to top
View user's profile Send private message
Sophie_Williams
How do I cheat?
Reputation: 0

Joined: 21 Sep 2016
Posts: 7
Location: Bedroom

PostPosted: Wed Sep 21, 2016 7:47 pm    Post subject: Reply with quote

++METHOS wrote:
Obviously.

i am trying to make a trainer in VB.NET not opening the table using cheat engine.

_________________
:3 Meow! <3
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Sep 21, 2016 7:48 pm    Post subject: Reply with quote

Determine what your problem really is, then ask the right questions.
Back to top
View user's profile Send private message
Sophie_Williams
How do I cheat?
Reputation: 0

Joined: 21 Sep 2016
Posts: 7
Location: Bedroom

PostPosted: Wed Sep 21, 2016 7:48 pm    Post subject: Reply with quote

ParkourPenguin wrote:
Addresses are usually represented as standard integers in base 16 (hexadecimal), and as with all integers, leading zeros are implicit. If someone was asked what 2+2 was, the most common response would be 4: not 04, 004, 00000004, or any other amount of leading zeros.

0x011C3208, for all relevant intents and purposes, is equivalent to 0x11C3208. Your IDE is just trying to be helpful by removing those leading zeros lest you be confused by them.

so what should the code be?
Code:

    Private Sub MovSpdOn_Tick(sender As Object, e As EventArgs) Handles MovSpdOn.Tick
        Const MovSpdOn As Integer = 1099956224    'Normal Speed = 1092500848'
        WriteInteger("Game", &H11C3208, MovSpdOn)
        WriteInteger("Game", &H1F664C4C, MovSpdOn)
        WriteInteger("Game", &H317BE614, MovSpdOn)

    End Sub

_________________
:3 Meow! <3
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Sep 21, 2016 8:02 pm    Post subject: Reply with quote

Open Cheat Engine and go to address 11C3208.
Execute your trainer. Does this address change in value?
Was the address you really wanted game.exe+11C3208?
We don't have your source code so we have no clue what WriteInteger() does.
Chances are it doesn't get the base game address and add your second argument to it.
Not positive, but the code you're using may have a WriteDMAInteger() function.
Try that one instead.
Back to top
View user's profile Send private message
Sophie_Williams
How do I cheat?
Reputation: 0

Joined: 21 Sep 2016
Posts: 7
Location: Bedroom

PostPosted: Wed Sep 21, 2016 8:24 pm    Post subject: Reply with quote

Zanzer wrote:
Open Cheat Engine and go to address 11C3208.
Execute your trainer. Does this address change in value?
Was the address you really wanted game.exe+11C3208?
We don't have your source code so we have no clue what WriteInteger() does.
Chances are it doesn't get the base game address and add your second argument to it.
Not positive, but the code you're using may have a WriteDMAInteger() function.
Try that one instead.


this is the file i am using : pastebin,com/77q91nTk

those are both addresses i want to use:

"Game.exe"+01A90680 AND "Game.exe"+011C3208

images : imgur,com/a/JFld7

_________________
:3 Meow! <3
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Sep 21, 2016 8:48 pm    Post subject: Reply with quote

Code:
Dim BaseAddress As Integer = Process.GetProcessesByName("Game")(0).MainModule.BaseAddress
WriteInteger("Game", BaseAddress + &H11C3208, MovSpdOn)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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