Monday, 25-Nov-2024, 3:48 PM
Logged in as Guest
Group "Guests"

WC3-4Life / Custom Hero Footies!!!

An easier way to keep your save-codes. - Page 2 - Forum

 
Forum moderator: Vexslasher  
An easier way to keep your save-codes.
Bond009Date: Monday, 21-Mar-2011, 6:38 PM | Message # 16
Overall Site Owner
Group: The Creator
Messages: 3180
Awards: 3
Reputation: 7521
Status: Offline
what do you use to read your screen shot..?

 
stoogeDate: Tuesday, 22-Mar-2011, 6:30 AM | Message # 17
★ Contributor ★ / Legacy Staff
Group: Investor
Messages: 1248
Awards: 5
Reputation: 3407
Status: Offline

this is what i get, i cant see the code niether anything else lol

Added (2011-03-22, 7:30 Am)
---------------------------------------------
never mind its fixed now thx



If I tell you I am good, You will probably think I am boasting.
If I tell you I am bad, You will Know I am lying.


Message edited by stooge - Tuesday, 22-Mar-2011, 6:21 AM
 
VexslasherDate: Sunday, 27-Mar-2011, 9:16 PM | Message # 18
Site Manager
Group: Site Management
Messages: 644
Awards: 1
Reputation: 1744
Status: Offline
This is a cool little program if I knew how to make that then I would be able to make it so that you would never need to type anything it would just know right when to submit your code and everything and save it for you to, I wonder if the source code is vb or not, maybe I should try to get it from the maker..

 
Bond009Date: Sunday, 27-Mar-2011, 11:51 PM | Message # 19
Overall Site Owner
Group: The Creator
Messages: 3180
Awards: 3
Reputation: 7521
Status: Offline
yea look that guy up vex maybe you can combine it with your program you have.. that would be sweet..

 
stoogeDate: Monday, 28-Mar-2011, 1:55 AM | Message # 20
★ Contributor ★ / Legacy Staff
Group: Investor
Messages: 1248
Awards: 5
Reputation: 3407
Status: Offline
i hate u bop.....u made me lose aroud 23 or 24 win codes with this shit...but its working now...u owe me 23(no lets round that to 25) codes and i want them NOW


If I tell you I am good, You will probably think I am boasting.
If I tell you I am bad, You will Know I am lying.
 
killerrangeDate: Monday, 28-Mar-2011, 4:08 AM | Message # 21
Zombie Pirate
Group: Users
Messages: 1037
Awards: 1
Reputation: 745
Status: Offline
Oh stooge... I only have 7 wins! w00t


I'm here to help :D
 
Bond009Date: Tuesday, 29-Mar-2011, 4:23 PM | Message # 22
Overall Site Owner
Group: The Creator
Messages: 3180
Awards: 3
Reputation: 7521
Status: Offline
hey vex you ever find any more info on who made this for TBR game? i found some links
http://www.theblackroad.net/forums/viewtopic.php?f=10&t=2346&start=20

he seems to be chief of this Clan TBR3

we should try and talk to him about the code.


edit


found some more info
http://www.d3scene.com/forum....-7.html
he posted at the top of page 5 also but that link looks to have some of the code used for it maybe


 
VexslasherDate: Tuesday, 29-Mar-2011, 5:14 PM | Message # 23
Site Manager
Group: Site Management
Messages: 644
Awards: 1
Reputation: 1744
Status: Offline
Thanx bond I will try to talk to him on there, and hopefully I will be able to make the most amazing save code /saver/loader ever smile

I'm still having trouble with it.. anybody know how to use that dll file to replicate what it's doing to a vb programs text area? I tried for a long time just now and had no luck..


 
Bond009Date: Tuesday, 29-Mar-2011, 6:57 PM | Message # 24
Overall Site Owner
Group: The Creator
Messages: 3180
Awards: 3
Reputation: 7521
Status: Offline
Yeah if you can make your program the all in 1 so we dont even have to worry about writing the codes down or typing them.. that will be awesome cool

 
VexslasherDate: Tuesday, 29-Mar-2011, 7:07 PM | Message # 25
Site Manager
Group: Site Management
Messages: 644
Awards: 1
Reputation: 1744
Status: Offline
I know I really really want to be able to replicate what that game capture program is doing, bond are you at all familiar with dll files? I have been trying to just use that dll file from his program to use it with a new program of mine, however all I have figured out how to do is get it to inject the dll into warcraft but then it seems to be doing nothing I'm not sure how to make it work like he has it.. here is the code I have made..
Code
Public Class GameCapture
      Private TargetProcessHandle As Integer
      Private pfnStartAddr As Integer
      Private pszLibFileRemote As String
      Private TargetBufferSize As Integer

      Public Const PROCESS_VM_READ = &H10
      Public Const TH32CS_SNAPPROCESS = &H2
      Public Const MEM_COMMIT = 4096
      Public Const PAGE_READWRITE = 4

      Public Const PROCESS_CREATE_THREAD = (&H2)
      Public Const PROCESS_VM_OPERATION = (&H8)
      Public Const PROCESS_VM_WRITE = (&H20)
      Dim DLLFileName As String
      Public Declare Function ReadProcessMemory Lib "kernel32" ( _
      ByVal hProcess As Integer, _
      ByVal lpBaseAddress As Integer, _
      ByVal lpBuffer As String, _
      ByVal nSize As Integer, _
      ByRef lpNumberOfBytesWritten As Integer) As Integer

      Public Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" ( _
      ByVal lpLibFileName As String) As Integer

      Public Declare Function VirtualAllocEx Lib "kernel32" ( _
      ByVal hProcess As Integer, _
      ByVal lpAddress As Integer, _
      ByVal dwSize As Integer, _
      ByVal flAllocationType As Integer, _
      ByVal flProtect As Integer) As Integer

      Public Declare Function WriteProcessMemory Lib "kernel32" ( _
      ByVal hProcess As Integer, _
      ByVal lpBaseAddress As Integer, _
      ByVal lpBuffer As String, _
      ByVal nSize As Integer, _
      ByRef lpNumberOfBytesWritten As Integer) As Integer

      Public Declare Function GetProcAddress Lib "kernel32" ( _
      ByVal hModule As Integer, ByVal lpProcName As String) As Integer

      Private Declare Function GetModuleHandle Lib "Kernel32" Alias "GetModuleHandleA" ( _
      ByVal lpModuleName As String) As Integer

      Public Declare Function CreateRemoteThread Lib "kernel32" ( _
      ByVal hProcess As Integer, _
      ByVal lpThreadAttributes As Integer, _
      ByVal dwStackSize As Integer, _
      ByVal lpStartAddress As Integer, _
      ByVal lpParameter As Integer, _
      ByVal dwCreationFlags As Integer, _
      ByRef lpThreadId As Integer) As Integer

      Public Declare Function OpenProcess Lib "kernel32" ( _
      ByVal dwDesiredAccess As Integer, _
      ByVal bInheritHandle As Integer, _
      ByVal dwProcessId As Integer) As Integer

      Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _
      ByVal lpClassName As String, _
      ByVal lpWindowName As String) As Integer

      Private Declare Function CloseHandle Lib "kernel32" Alias "CloseHandleA" ( _
      ByVal hObject As Integer) As Integer

      Dim ExeName As String = IO.Path.GetFileNameWithoutExtension(Application.ExecutablePath)

      Private Sub Inject()
          On Error GoTo 1 ' If error occurs, app will close without any error messages
          Timer1.Stop()
          Dim TargetProcess As Process() = Process.GetProcessesByName("war3")
          TargetProcessHandle = OpenProcess(PROCESS_CREATE_THREAD Or PROCESS_VM_OPERATION Or PROCESS_VM_WRITE, False, TargetProcess(0).Id)
          pszLibFileRemote = "GameCaptureX.dll"
          pfnStartAddr = GetProcAddress(GetModuleHandle("Kernel32"), "LoadLibraryA")
          TargetBufferSize = 1 + Len(pszLibFileRemote)
          Dim Rtn As Integer
          Dim LoadLibParamAdr As Integer
          LoadLibParamAdr = VirtualAllocEx(TargetProcessHandle, 0, TargetBufferSize, MEM_COMMIT, PAGE_READWRITE)
          Rtn = WriteProcessMemory(TargetProcessHandle, LoadLibParamAdr, pszLibFileRemote, TargetBufferSize, 0)
          CreateRemoteThread(TargetProcessHandle, 0, 0, pfnStartAddr, LoadLibParamAdr, 0, 0)
          CloseHandle(TargetProcessHandle)
1:      Me.Show()
      End Sub
      Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
          Dim FileName As String
          FileName = "GameCaptureX.dll"
          Dim DllFileName As String = FileName.Replace("\", "")
          Label1.Text = "Waiting for users input..."
          Timer1.Interval = 50
          Timer1.Start()
      End Sub

      Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
          If IO.File.Exists("GameCaptureX.dll") Then
              Dim TargetProcess As Process() = Process.GetProcessesByName("war3")
              If TargetProcess.Length = 0 Then
                  Me.Label1.Text = ("Waiting for " + "war3" + ".exe")

              Else
                  Timer1.Stop()
                  Me.Label1.Text = "Successfully Injected!"
                  Call Inject()
              End If
          Else

          End If
      End Sub

End Class


 
Bond009Date: Tuesday, 29-Mar-2011, 7:18 PM | Message # 26
Overall Site Owner
Group: The Creator
Messages: 3180
Awards: 3
Reputation: 7521
Status: Offline
no i havent really looked into anything of how it works yet. what language is his code in?

 
VexslasherDate: Tuesday, 29-Mar-2011, 7:24 PM | Message # 27
Site Manager
Group: Site Management
Messages: 644
Awards: 1
Reputation: 1744
Status: Offline
I'm pretty sure his coding is C++ but I don't know how to program in C++ really..

 
AntyoneDate: Wednesday, 30-Mar-2011, 10:09 AM | Message # 28
Development Director
Group: Clan Members
Messages: 2127
Awards: 3
Reputation: 622
Status: Offline
well thats a bummer, have you tried to contact the tbr clan yet?

 
Bond009Date: Wednesday, 30-Mar-2011, 11:35 AM | Message # 29
Overall Site Owner
Group: The Creator
Messages: 3180
Awards: 3
Reputation: 7521
Status: Offline
yeah we became members on that forum thing to try and get ahold of one of the 2 guys that has the code, i saw vex already posted on his wall so guess we just gotta wait and hope he gives the source code

 
nycemtDate: Wednesday, 30-Mar-2011, 11:47 AM | Message # 30
Noob
Group: Users
Messages: 4
Awards: 0
Reputation: 14
Status: Offline
hey Bond, a lil off topic, but first of all i got my registration to work (yayyyy). Second of all, a few of my codes were not working although i double and triplechecked eavh time that i saved it. any suggestion for computer illiterate people here?
 
Search:
Login Form
Search
Make Donation
Latest Posts










CHAT
Social Networking
Our poll - 1
Rate our map
Total of answers: 501
Stats
<
Copyright Bond009 © 2024 | Create a free website with uCoz