Help me in Account Parameters for Rakion!+ASM

Legacy, Delphi and Other Languages Discuss, Help me in Account Parameters for Rakion!+ASM at Programmers Lounge forum; Hi everbody! I'm trying to call this address on Rakion: "CPlayer::AquireGoldSword"... But my code does nott work мм Anyone can ...


Go Back   Gamerz Needs - For All Your Gaming Needs! > Technology Zone > Programmers Lounge > Legacy, Delphi and Other Languages
Forgot Password? | Sign Up!
Register Invite Your FriendsBlogs Fun Stuff FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices

Advertisement
   

Reply
 
Bookmark this Thread Tools Display Modes
  #1  
Old 11-19-2008, 11:58 AM
iAthlom's Avatar
Double Wood Axe
 
Last Online: 11-19-2008 12:00 PM
Join Date: Sep 2008
Location: In your mind!
Posts: 25
Thanks: 7
Thanked 4 Times in 2 Posts
Nominated 1 Time in 1 Post
TOTW/F/M Award(s): 0
Downloads: 0
Uploads: 0
Latest Blog:
Rep Power: 0
iAthlom is on a distinguished road
Points: 1,357.50
Bank: 0.00
Total Points: 1,357.50
Question Help me in Account Parameters for Rakion!+ASM

Hi everbody!

I'm trying to call this address on Rakion: "CPlayer::AquireGoldSword"...

But my code does nott work мм

Anyone can help me? I don't know if the problem is the account parameter or the way how I call the address >.<

Thx!

Code:
 ллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл

      .386                      ; create 32 bit code
      .model flat, stdcall      ; 32 bit memory model
      option casemap :none      ; case sensitive 

;     include files
;     ~~~~~~~~~~~~~
      include \masm32\include\windows.inc
      include \masm32\include\masm32.inc
      include \masm32\include\gdi32.inc
      include \masm32\include\user32.inc
      include \masm32\include\kernel32.inc
      include \masm32\include\Comctl32.inc
      include \masm32\include\comdlg32.inc
      include \masm32\include\shell32.inc
      include \masm32\include\oleaut32.inc
      include \masm32\include\dialogs.inc
      include \masm32\macros\macros.asm     ; the macro file

;     libraries
;     ~~~~~~~~~
      includelib \masm32\lib\masm32.lib
      includelib \masm32\lib\gdi32.lib
      includelib \masm32\lib\user32.lib
      includelib \masm32\lib\kernel32.lib
      includelib \masm32\lib\Comctl32.lib
      includelib \masm32\lib\comdlg32.lib
      includelib \masm32\lib\shell32.lib
      includelib \masm32\lib\oleaut32.lib

    ; ----------------------------------------
    ; prototypes for local procedures go here
    ; ----------------------------------------

      .data


;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;data seg
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
        		.const
		
DllName		db	'Engine.dll', 0
FunName1	db	'?GetPlayerEntity@CEntity@@SAPAV1@J@Z', 0
FunName2	db	'?IsLocalEntity@CEntity@@QAEHXZ', 0

;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;code seg
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

		.code
		
getPlayer   proc	uses ebx roomNumber:DWORD
		
		invoke GetModuleHandle, addr DllName
		mov	ebx, eax
		invoke GetProcAddress, ebx, addr FunName1
		push roomNumber
		call eax
		
		ret
getPlayer	endp

isCurrentEntity	proc	uses ebx ecx entity:PVOID
		
		invoke GetModuleHandle, addr DllName
		mov ebx, eax;
		invoke GetProcAddress, ebx, addr FunName1
		mov ecx, entity
		call eax
		
		ret
isCurrentEntity endp

getCurrentPlayer proc uses ebx
			
			xor ebx, ebx
			.while(ebx < 20)
			
				invoke getPlayer, ebx
				
				.if(eax)
				
					invoke isCurrentEntity, eax
					.if(eax)
						jmp @F
					.endif
				.endif
			
				inc ebx
			.endw
						
@@:			ret
getCurrentPlayer	endp

;beginning point
start:

invoke Sleep, 100
invoke GetAsyncKeyState, VK_F1
test eax, eax
jz @b

@b:
call dword ptr ds:[CPlayer::AquireGoldSword]
    
invoke ExitProcess, NULL
end start
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Advertisement
   


Main Navigation
Home
GzN Forums
GzN Games
GzN News
Top Games
GzN Cheats
GzN Articles
GzN Reviews
GzN Downloads
User Control Panel
Advertising
RSS Feed
2Moons
Adventure Quest
AirRivals
America's Army
Anarchy Online
Archlord
Audition
Battlefield Series
Cabal Online
Call Of Duty Series
Combat Arms
Conquer Online
Counter Strike
Day of Defeat
Deicide Online
Diablo Series
Doom Series
Drift City
Enemy Territory
Eudemons Online
Final Fantasy
Flyff (Fly For Fun)
General Game Discussion
Ghost Online
Granado Espada
Grand Theft Auto Series
Guild Wars
Gunbound
Gunz Online
Habbo Hotel
Half-Life 2
Hero Online
KartRider
Knights Online
Maple Story
Medal of Honor
MU Online
Neopets
Pangya
Quake Series
Ragnarok Online
Rakion
Rappelz
Red Orchestra
Rose Online
Runescape
Scions of Fate
Silkroad Online
Sims Series
Soldier Front
Starcraft
Tales of Pirates
Tibia
The Ship
Trickster Online
TS Online
Unreal Tournament
War Rock
WolfTeam
World of Warcraft & Series
Affiliates
Anime Desire
Webhosting


All times are GMT -8. The time now is 10:02 PM.