Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 17:41

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

Advertisement



[Guide] Using Client (internal) Functions

Discussion on [Guide] Using Client (internal) Functions within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
[Guide] Using Client (internal) Functions

since many people are asking for sources of my Loaders, here are some asm code pieces directly out of the zszc client.
you should be able to use them in almost all coding languages...

hope this will be useful for coders in the pserv sections. its also possible to send/recyve packets directly through the client, but that would require some hooks in the client, so i won't really explain how to do that in this post (since its not/hardly realizable in scripting languages)...
if u're interested in using the client for packet operations, check drews tutorials in the main sro section.

print text in the chat-window:
Code:
mov ecx, dword ptr ds:[0xCF5CD4]
push 1
push color
push msg
push 1
call 0x5B95C0
print text in the status-window (right side of the chat-window):
Code:
mov ecx, dword pt ds:[0xCF5CD4]
push msg
push 0
call 0x5B9990
change current weather:
where gamma goes from 0-255 and declares the strength of rain or snow
and type can be 1 (sun), 2 (rain), 3 (snow)
Code:
mov eax, 0xCB3300
mov edx, dword pt ds:[eax]
mov edx, dword pt ds:[edx+0xA4]
push gamma
push 4
mov ecx, eax
call edx
		
mov eax, 0xCB3300
mov edx, dword pt ds:[eax]
mov edx, dword pt ds:[edx+0xA4]
push type
push 3
mov ecx, eax
call edx
Use Skillbar:
key (1-40) means the slot in the bar, and keylocation is a special adress of the bar. the keyloactions get stored in 0xCF5AD0.
Code:
mov eax, key
mov esi, keylocation
mov edx, 759
mov ecx, esi
push eax
mov ecx,esi
call 0x916350
mov ecx,eax
call 0x4F92E0
ret
thats all for now... if u're using simple scripting languages like autoit or ahk, you'll be able to use those functions, but you won't be able to hook the main functions in the client to build extended functions with hooks.

if u're using higher level languages (c++/vb), knowing the chat function's adress for example will also enable you to build chatblocks or simple chat commands... knowing the status window display function's adress, will enable you to build nice unique log/alarm tools...
lolkop is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Guide] Bot Functions.
10/26/2010 - Mabinogi Hacks, Bots, Cheats & Exploits - 26 Replies
If you cant script don't bother. Edit for clarity: There is no file, scripts are in the code blocks. Put together your own config.ini from actually reading the code. See http://www.elitepvpers.com/forum/mabinogi-hacks-bot s-cheats-exploits/439422-autoit-bot-functions-3.ht ml#post6473481 This is all the functions my bot uses. Two of the functions don't work, one because of a font change and one because I haven't finished rewriting it. File contains the folder structure for the code and...
[Guide] Some noob Npc functions (prof, level, stats etc)
07/01/2009 - CO2 PServer Guides & Releases - 4 Replies
Ok so it's nothing fancy at all but I figured I'd give some nubs a few pointers on how to script npcs (in coemu2.0 nano) that have special functions. There are countless examples of teleporters, item givers and other such simple npc's on here so that shouldn't be any big deal but I figured I'd point out some very simple functions for accessing the database for characters. Prof Lets say you have an npc that is already giving out weapons, why not have it also give you the required prof...



All times are GMT +1. The time now is 17:42.


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.