Hey i try make a hack into a game call S4 League in VB.NET....Well the problem is the 4bytes and String adress....I mean Float in VB.NET write as Memory.WriteFloat
So how can i make 4byte hack?I tried Memory.WriteLong and WriteInt but problem :/
Also at String have problem in Memory.WriteString a error from memory.vb....
I think there is a problem in memory.vb....so can anyone help?
Sorry if i failed in english and if you don't understand what i mean
<DllImport("kernel32.dll", SetLastError:=True)> _
Public Shared Function WriteProcessMemory(ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, ByVal lpBuffer As Byte(), ByVal nSize As System.UInt32, <Out()> ByRef lpNumberOfBytesWritten As IntPtr) As Boolean
End Function
Also, since .net is managed, strings are actually in the managed space. When dealing with strings, youre actually dealing with a char* (pointer to the memory space in which the actual "string" is stored). If you tried to write a string to an unmanaged memory section, you would probably be writing the pointer instead of the content...
I suppose you could try byte blah = yourstring.ToByte();
.net tends to behave really weird when dealing with unmanaged code...
Well, there is another problem. string in .net is unicode, and what you want is ASCII...pretty sure at least. Are you writing to the correct address? Try converting to ascii...
Well, there is another problem. string in .net is unicode, and what you want is ASCII...pretty sure at least. Are you writing to the correct address? Try converting to ascii...
Quote:
Originally Posted by u-coRe
I don't get what you want to do.
Do you want to write a String to a specific address?
The adress is correct
I try mem.WriteLong but bug.the process cant start
string.txt 06/26/2011 - Metin2 Private Server - 1 Replies Hallo,.
Ich habe nach langer zeit mir ein server gemacht aus lw und könnntet ihr mir ein link zur übersetzten string.txt schicken und sagen wo ich das einfügen soll damals wusste ich es aber habs voll vergessen
MFG
[C++] string zwischen string 11/11/2010 - C/C++ - 6 Replies tag gibts direkt ne funktion, mit der man einen passenden string zwischen dem string suchen kann?
also meine net .find() sondern sowas ähnliches, die in diesem beispiel "mein string sucht"
Bsp:
"<span id=\"lalala\">"+string mein_string+"</span>"
understanden? :-)
String.au3 09/11/2010 - AutoIt - 2 Replies Hey,
hat jemand die Datei für mich?
Ich finde im Internet nichts (ich hoffe ich habe nichts übersehn)
Mfg
[C++]Dev C++ string to int 08/06/2010 - C/C++ - 25 Replies Schonwieder ich :P
Also ich versuchs ma gut zu beschreiben.
Ich habe nen string in dem steht 1 und bevor einer fragt warum ich nicht direkt int benutzte es würde dan nicht funktioniern.
Also ich möchte den string in dem 1 steht in eine int variable umwandeln und danach irgendwan wieder zurück wie schaffe ich das? mit atoi habe ich es nicht hingekriegt und auch nicht mit strtoint
C# String zum Key 05/05/2010 - .NET Languages - 7 Replies Hallo liebe User,
Ich habe seit langer Zeit ein Problem das mich ne Weile beschäftigt.
Es geht um Hotkeys und Strings..
Was ich machen will:
Ich habe jetzt diesen Code: