hi, ich würde mir gerne einen bot für das spiel Silkroad scripten....der bot soll eig nur die monster auswählen...mehr nich...
das problem ist, dass ich keine ahnung hab wie ich anfangen soll
Ich weiß nur das ich irgendwie mit memory hacking weiter komme....nur da ich noch nich so viel erfahrng mit memory hacking habe (falls das überhaupt richtig ist) würde ich mich über eure hilfe freuen....keine angst, ich verlange von euch nicht das ihr mir nen kompletten bot schreibt. :d....nur das ihr mir starthilfe gebt und mir evtl. später nochma helft..
wenn es nichts weiter ist, kannst du auch mit dem Send() befehl die "such naheliegende monster taste" anwählen... bei sro war das glaube ist die TAB-taste, oder?
also
send("{TAB}")
bzw. controlsend()
oder wie du schon meintest mit dem speicher arbeiten...
aber warscheinlich brauchst du so oder so nen bypass für den game guard (?)
Ok danke, jedoch weiß ich wie ich die Adresse von zb einer Anzahl wie Pfeile....dann muss ich ja nur die Menge bei CE angeben und ändern...dann find ich die mit dem ausschlussverefahren. Doch wie zum Teufel soll ich die Adresse von nem Mob herausfinden.
now we'll take a look at the end of the grap function, to see what gets returned. the returned register should be the id of the item, with the lowest distance to our char. if we found the output, we'll trace it back to see where it gets read from the memory:
as i ran the tool, i've noticed, that the tool did list way to many ids. when i took a deeper look at the ids, i've noticed, that mobs players and npcs also got listed.
since the pickup function should only list items, it had to detect items in the loop. so i went back into the loop.
the first thing thats done in the loop, looks like this:
now we can log all kinds of objects, in our range.
i've spend some more time in analyzing the code around ESI and i've found some more, quite interesting stuff.
in the end my function for zszc looked like this:
Code:
Func recognize_objects($pid)
Local $type_mob = 0x739910, $type_item = 0x7442D0, $type_player = 0x740BE0, $type_me = 0x73F8B0, $type_npc = 0x73A8A0, $type_teleport = 0x747340
Local $mid, $object, $base, $name, $type, $id, $x, $y, $my_x, $my_y, $static_id, $distance, $last_distance = 0xFFFFFF
$mid = OpenProcess($pid)
$object = ReadProcessMemory($mid, 0xA89018)
Do
$base = $object - 0xCC
If ReadProcessMemory($mid, $base + 0x118) > 16 Then
$name = ReadProcessMemory($mid, ReadProcessMemory($mid, $base + 0x104), "char[200]")
Else
$name = ReadProcessMemory($mid, $base + 0x104, "char[200]")
EndIf
$type = ReadProcessMemory($mid, ReadProcessMemory($mid, $base))
$static_id = ReadProcessMemory($mid, $base + 0x184)
$id = ReadProcessMemory($mid, $base + 0xE8)
$x = BitRotate(Execute(ReadProcessMemory($mid, $base + 0x78, "byte[1]")) * 3 - 0x195, 6) - Int(ReadProcessMemory($mid, $base + 0x7C, "float") / (-10))
$y = BitRotate(Execute(ReadProcessMemory($mid, $base + 0x79, "byte[1]")) * 3 - 0x114, 6) - Int(ReadProcessMemory($mid, $base + 0x84, "float") / (-10))
$distance = Sqrt(Abs($my_x - $x) ^ 2 + Abs($my_y - $y) ^ 2)
Switch $type
Case $type_me
$my_x = $x ; if we found ourself as object, we save our position to
$my_y = $y ; calculate the distance between us and the other objects
Case $type_mob
ConsoleWrite('Mob Name: '&$name&'('&$static_id&')'&' found!'&@CRLF)
ConsoleWrite(' ID to Select: '&$id&@CRLF)
ConsoleWrite(' Position: '&$x&','&$y&@CRLF)
ConsoleWrite(' Distance to us: '&Round($distance, 2)&@CRLF)
Case $type_item
ConsoleWrite('Item Name: '&$name&'('&$static_id&')'&' found!'&@CRLF)
ConsoleWrite(' ID to Select: '&$id&@CRLF)
ConsoleWrite(' Position: '&$x&','&$y&@CRLF)
ConsoleWrite(' Distance to us: '&Round($distance, 2)&@CRLF)
Case $type_player
ConsoleWrite('Player Name: '&$name&'('&$static_id&')'&' found!'&@CRLF)
ConsoleWrite(' ID to Select: '&$id&@CRLF)
ConsoleWrite(' Position: '&$x&','&$y&@CRLF)
ConsoleWrite(' Distance to us: '&Round($distance, 2)&@CRLF)
Case $type_npc
ConsoleWrite('NPC Name: '&$name&'('&$static_id&')'&' found!'&@CRLF)
ConsoleWrite(' ID to Select: '&$id&@CRLF)
ConsoleWrite(' Position: '&$x&','&$y&@CRLF)
ConsoleWrite(' Distance to us: '&Round($distance, 2)&@CRLF)
Case $type_teleport
ConsoleWrite('Teleport Name: '&$name&'('&$static_id&')'&' found!'&@CRLF)
ConsoleWrite(' ID to Select: '&$id&@CRLF)
ConsoleWrite(' Position: '&$x&','&$y&@CRLF)
ConsoleWrite(' Distance to us: '&Round($distance, 2)&@CRLF)
EndSwitch
$object = ReadProcessMemory($mid, $object + 0xC)
Until $object <= 0
CloseHandle($mid)
EndFunc
the output looked like this:
later i've found out, that its even possible to read all informations about the items other players wear, from the code stored around ESI. but since i was not interested in those informations, i did not add them to the source.
so....ich hab mir lolkops post ma durchgelesen.....
es sieht für mich ziemlich kompliziert aus....da ich mich ja noch nicht so lange mit autoit beschäftige
ich hab jedoch mal die methode von omer36.....ich hab jetzt auch eine adresse gefunden.....ich hab auch sro merhmals geschlossen und wieder gesucht...es kommt immer die gleiche adresse heraus
So nun wollt ich testen ob es auch die richtige adress ist....
[spoiler]
[code]
#RequireAdmin
#include <NomadMemory.au3>
$pid = 5148
$info = _MemoryOpen($pid)
$read = _MemoryRead(0x237C8858, $info)
While 1
If _MemoryWrite(0x237C8858, $info, 100) = True Then
Send ("1")
EndIf
WEnd
[code\]
[spoiler\]
jdeoch wenn ich dann ins spiel gehe drückt er ununterbrochen eins....selsbt als ich das spiel beendet hab macht er weiter....mach ich einfach nur nen dummen fehler oder wie siehts aus?
Schonmal danke für eure hilfe und danke im vorraus für die nächsten posts
Frage zu MMORPG's 06/03/2011 - Metin2 - 10 Replies Hey Leute, ich wollte mal wieder so ein MMORPG anfangen, weis aber nicht welches sich lohnt. Es sollte gratis sein bzw. keine monatlichen Gebühren und es soll alles passen und viele Leute sollen es spielen.
Metin2
4Story
etc... welches soll ich nehmen?!
Wäre nett wenn ihr mal euer Game posted und mir sagen könnt, welches das beste ist.
MMORPG frage 02/26/2011 - Main - 5 Replies Kennt ihr ein MMORPG free auf Deutsch wo das Kampfsystem wie auf Last Chaos oder von Two moons ist?
Danke
Frage bezüglich MMORPG's 02/01/2011 - General Gaming Discussion - 0 Replies Hallo Com,
Ich habe vor kurzer Zeit mit Maestia begonnen,das gefällt mir eigentlich relativ gut,wird allerdings langsam langweilig,gibt übrigens auch eine Section. Davor habe ich 4Story gespielt,das hat mir gefallen,weil man einfach alles kaputt hacken konnte. Von Onehit bis NoMiss war alles dabei, das hat wirklich Spaß gemacht und deswegen wollte ich mal nachfragen bei welchem MMORPG das sonst noch möglich ist? Mir ist nämlich keins bekannt. Wäre schön wenn es bei Maestia ginge doch dieses...
[Frage] Welches MMORPG? 12/12/2010 - Off Topic - 18 Replies Hey
ich wusste nicht in welche Section sowas rein kommt dann hab ichs mal im OT gemacht.
Ich bin auf einer suche nach einem Guten MMORPG sowas wie WoW aber ambesten wenn es kostenlos wäre.
MfG rianriffin
MMORPG Frage 12/28/2009 - Main - 17 Replies HI alle zusammen,
ich zocke gerne online games (MMORPG`s)
und mir fällt eifach keines mehr ein zu zockn
jedenfalls hab ich keine lust mir vieles runterzuladen was müll ist
ich bitte euch um nen rat welches game ich zocken sollte weil
meine lust begrenzt ist mit dem ruterladen (dsl 768)
Naja das sollte es haben :
-gute grafik
-kostenlos