Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 10:17

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Problem with Trainer.

Discussion on Problem with Trainer. within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 99
Received Thanks: 375
Problem with Trainer.

Hey guys at the moment im working on a Vac for the game WYD.
However i wrote some trainers before but never had a problem like this one. In my eyes im doing it correct. But somehow it just doesnt work. Might anyone could look at it?
(This is just a poorly coded one since im just trying to fix the mistake as fast as possible. It just includes the diffrent ways and some tests. So dont wonder .)

Ok This is my situation:

At the moment i got following pointers. ( I will only need one example later )
Character X - 1/4
Character X - 2/4
Character X - 3/4
Character X - 4/4
Character Y - 1/4
Character Y - 2/4
Character Y - 3/4
Character Y - 4/4
Universal Mob Pointer X (ORC)
Universal Mob Pointer X (ORC)
Universal Mob Pointer X (ORC)
Universal Mob Pointer X (ORC)
Universal Mob Pointer Y (ORC)
Universal Mob Pointer Y (ORC)
Universal Mob Pointer Y (ORC)
Universal Mob Pointer Y (ORC)

Later i will need to make the uni pointer (= to the Character ones.)

To test weather my trainer works until now i only want to write something to my Character X. (So i will only show you the X 1/4 now)
It looks like following:



so what i have to do to get the base adress is calculating

00285D40+ 0400000 = 685D40 which i can store as my pointer.

And now my code looks following:

Code:
Public Class Form1
    Private Declare Function ReadProcessMemory Lib "KERNEL32" (ByVal Handle As Integer, ByVal ByValAdress As Integer, ByRef Value As Long, ByVal Size As Integer, ByRef BytesWritten As Integer) As Long
    Private Declare Function WriteProcessMemory Lib "KERNEL32" (ByVal Handle As Integer, ByVal Adress As Integer, ByRef Value As Long, ByVal Size As Integer, ByRef BytesWritten As Integer) As Long
    Private Declare Sub PushKeys Lib "KeyPush.dll" (ByVal Keystrokes As String)
    Private charPointer As Integer
    Declare Auto Function SendMessage Lib "user32" ( _
ByVal hWnd As IntPtr, _
ByVal Msg As Integer, _
ByVal wParam As Integer, _
ByVal lParam As Integer) As Integer

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim myProcesses As Process() = Process.GetProcessesByName("WYDWO")
        If myProcesses.Length = 0 Then
            MsgBox("Unable to Find the wyd process.", MsgBoxStyle.OkCancel, "Error")
            End
        Else
            If Not OpenProcess(myProcesses(0).Id) Then
                MsgBox("Unable to open the wyd process.")
                End

            Else
                charPointer = readInteger(&H685D40) 
            End If
        End If

    End Sub 'Open wyd Process


    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Dim Open = Process.GetProcessesByName("WYDWO")
        If Open.Length = 0 Then
            Exit Sub
        End If
        Dim pointer As Long
        pointer = readInteger(&H400000 + &H285D40)
   
        writeFloat(pointer + &H224, 555)
        writeFloat(charpointer + &H224, 55)

    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim posY As Long
        Dim pointer As Integer
        pointer = readInteger(&H685D40)
        posY = readFloat(Pointer + &H224).ToString
        TextBox3.Text = CStr(posY)
    End Sub
End Class

This code is totaly messed since i tried SHIT LOADS of diffrent ways. However it SHOULD work. If i use a static adress it works. So its not a matter of protection or something. Theres something wrong with the pointer calculation. But its not wrong calculated since if i add the offset to the calculated pointer on CE im getting the correct adress.

Any idea?
kokoiv is offline  
Reply


Similar Threads Similar Threads
KD-Trainer Problem :(
08/02/2010 - Last Chaos - 2 Replies
Bei mir kommt dieser Fehler: Die Anwendung konnte nicht richtig initalisiert werden (0xc0000135).Klicken Sie auf "OK",um die Anwendung zu beenden. Kann das Programm net öffnen...weiß jemand was ich tuhen muss?
Trainer Problem
06/10/2010 - AutoIt - 4 Replies
Hat sich erledigt !
problem with GC USA TRAINER
07/01/2009 - Grand Chase Philippines - 5 Replies
hi, i played few times with that trainer and all work good but after a few days when i open grand chase its loading and when GAMEGUARD finish the trainer exit and the game dosent open... but without the trainer the game open plz help??
Trainer Quest problem
04/06/2009 - Conquer Online 2 - 3 Replies
hey i have a problem with quest here is a link to the quest Conquer Online - Desert Blood - co.91.com ennyway am at AuntPeach(765,602)Bird island and i need to give her PeachBag. but when i click on her she dosent give me the letter shes suppose to give me. ennyone know what i shoud do?:D
Problem with trainer
09/21/2008 - 9Dragons - 18 Replies
Hellows, I have the skill trainer but cant make it cycle. Like i set all up and press F11 to start, it buffs 5 times then starts to med without end. I tried many things but still cant make it work........ Anyone could help me on this? :handsdown:



All times are GMT +1. The time now is 10:17.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.