Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online
You last visited: Today at 14:22

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

Advertisement



Silkroad - Character Offset

Discussion on Silkroad - Character Offset within the Silkroad Online forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 19
Received Thanks: 8
Silkroad - Character Offset

hi all^^
Well, i just wanted to create a simple tool to improve my AutoIt skills, but i fail at searching for the Character Name Offset =/
I got it up to 20 Adresses, but im to bored to check the right offsets from all these adresses >.^
So, i just want u to post the CharacterName offset here, besides it would be nice if u would complain finding it =)
greetz HideAndSeek
btw. heres the simple (very simple/easy) tool =P:
Code:
#include <GUIConstants.au3>
#include <GuiListview.au3>
#include <array.au3>
$Form1_1 = GUICreate("Silkroad Client Manager", 336, 165, 193, 125)
$ListView1 = GUICtrlCreateListView("Charname|Status", 8, 8, 169, 145)
$hidegui = GUICtrlCreateButton("Hide", 200, 8, 121, 25, 0)
$killgui = GUICtrlCreateButton("Kill", 200, 72, 121, 25, 0)
$refreshgui = GUICtrlCreateButton("Refresh", 200, 104, 121, 25, 0)
$showgui = GUICtrlCreateButton("Show", 200, 40, 121, 25, 0)
GUISetState(@SW_SHOW)

Dim $clients, $char_offset= "0x00D3C6A8", $pointer ="0x00D3DF54" , $maxhp_off="0x454", $curhp_off="0x44c" , $curmp_off="0x450", $maxmp_off="0x458"

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $refreshgui
			$clients=WinList("[CLASS:CLIENT]")
			_GUICtrlListView_DeleteAllItems($ListView1)
			For $x=1 To $clients[0][0]
				$pid=WinGetProcess($clients[$x][1])
				$mem=memopen($pid)
				$charname=memread($mem,$char_offset)
				If $charname =0 Then
					$charname ="Not logged in"
				EndIf
				$status=_srogetstate($clients[$x][1])
				$clients[$x][0]=$charname
				GUICtrlCreateListviewItem($charname &"|" &$status,$ListView1)
			Next
		Case $hidegui
			$lmao=GUIctrlread(GUIctrlread($ListView1))
			$split=StringSplit($lmao,"|")
			For $x=1 To $clients[0][0]
				If $split[1]= $clients[$x][0] Then
					WinSetState($clients[$x][1],"",@SW_HIDE)
					GUICtrlSetData(GUIctrlread($ListView1), $clients[$x][0] &"|"& _srogetstate($clients[$x][1]))
				EndIf
			Next
			Case $showgui
			$lmao=GUIctrlread(GUIctrlread($ListView1))
			$split=StringSplit($lmao,"|")
			For $x=1 To $clients[0][0]
				If $split[1]= $clients[$x][0] Then
					WinSetState($clients[$x][1],"",@SW_SHOWMINNOACTIVE)
					GUICtrlSetData(GUIctrlread($ListView1), $clients[$x][0] &"|"& _srogetstate($clients[$x][1]))
				EndIf
			Next
			Case $killgui
			$lmao=GUIctrlread(GUIctrlread($ListView1))
			$split=StringSplit($lmao,"|")
			For $x=1 To $clients[0][0]
				If $split[1]= $clients[$x][0] Then
					If MsgBox(292, "Achtung!", "Willst du Silkroad wirklich beenden?") = 6 Then
						ProcessClose($clients[$x][1])
					EndIf
					GUICtrlSetData(GUIctrlread($ListView1), $clients[$x][0] &"|"& _srogetstate($clients[$x][1]))
				EndIf
			Next
	EndSwitch
WEnd

func _srogetstate($handle)
Local $status=WinGetState($handle)
Switch $status
	Case 5
		$status= "Hidden"
	Case 21
		$status= "Hidden"
	Case 7 
		$status="Shown"
	Case Else
		$status="Shown"
EndSwitch
Return $status
EndFunc

Func memopen($pid)
	Local $mid = DllCall('kernel32.dll', 'int', 'OpenProcess', 'int', 0x1F0FFF, 'int', 1, 'int', $pid)
	Return $mid[0]
EndFunc

Func memread($mid, $adress, $type = 'dword')
	Local $struct = DllStructCreate($type)
	DllCall('kernel32.dll', 'int', 'ReadProcessMemory', 'int', $mid, 'int', $adress, 'ptr', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', '')
	Return DllStructGetData($struct, 1)
EndFunc

Func memreaddynamic($mid, $pointer, $offset, $type = "dword")
	$newadress = memread($mid, $pointer) + $offset
	Return memread($mid, $newadress, $type)
EndFunc

Func memclose($mid)
	DllCall('kernel32.dll', 'int', 'CloseHandle', 'int', $mid)
EndFunc
HideAndSeeK is offline  
Old 07/09/2009, 10:19   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 19
Received Thanks: 8
PUSH

noone knows the character name offset?
i asked klevre, but when i use "D3C6A8" im still gettting 0 returnd =/

greetz
HideAndSeeK is offline  
Reply


Similar Threads Similar Threads
WTB Silkroad Character on Odin for PSC
05/29/2010 - Silkroad Online Trading - 0 Replies
Hi epvpers, ive got a 50€ PSC and im looking for a CH or EU Character on Server Odin. Do u have a Character on Server Odin ? Post some infos from the Character. If youre interessted pm me :) best regards kingsvN
Character Hp offset
09/29/2009 - Silkroad Online - 3 Replies
What is the current offset for the characters' hp? I tried using lolkop's offset finder but that didn't display any character hp. I'm asking because I'm trying to make a farming tool, as when i die farming it'll shut off comp or what ever. Thanks.
Silkroad Character lvl 90 (full str glavie) FF (No Set)
03/18/2009 - Silkroad Online Trading - 11 Replies
I would like to sell this character since i got speeddriving ticket on a very large sum, and in this financial crises i pretty much need some money. I can promise you this is not a scam since i've entered all my personal information on both my paypal and my ebay account including phone numbers, you can check it out on "118118" or "eniro" two personsearching devices in Sweden. Character lvl 90 (Full Str Glavie) FF, no set. Silk items included! This character is fullfarmed and ready to be...
Silkroad Character Editor
02/28/2009 - Silkroad Online - 11 Replies
I heard about some sorta Silkroad Character editor which edits your level / gold / silk/ sp does anyone know about it? That can explain all those 6x /7x people on the new server all ready.
WTT 92 cabal FS for silkroad character
06/20/2008 - Cabal Online Trading - 2 Replies
as the title says, im trading for a silkroad character any server euro or chinese , just leave your offers here or get email me. character rank : g.master /transcender -lvl 92+ ( i will try to keep leveling) -osm +3,4,5 set slotted -eos+6 -8m alz email - [email protected]



All times are GMT +1. The time now is 14:22.


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.