taultunleashed logoXUScriptHost Updated to 2.6.0.12 : Site News
newtopic  postreply
 [ 2 posts ] 
blue large dot

XUScriptHost Updated to 2.6.0.12 : Site News

Posted: September 27th, 2004, 1:07 am
 
Admin

Total Posts: 1168
Location: Waco
Joined: May 1st, 2004, 4:00 am
Admin's Reps: 4
User avatar
administrator
premium
September 27, 2004
XUnleashed ScriptHost Patch v2.6.0.9

While this patch includes alot of new features you can always find these and other documentatino in our scripting documentation forums. We are also adding quite a bit of demo sourcecode to help you get started.

If there is something you want explained, just ask us on the forums!

Be sure and check out the new screenshot functions. Which reminds, me, we also have a new XUMovieMaker plugin that will be released here pretty quick!



Memory Functions:
=====================
Public Function Memory.ReadMemorySingle(pHandle As Long, Address As Long) As Single 'Reads a single in memory
Public Function Memory.ReadMemoryLong(pHandle As Long, Address As Long) As Long 'Reads a long in memory
Public Function Memory.ReadMemoryInt(pHandle As Long, Address As Long) As Integer 'Reads an integer in memory
Public Function Memory.ReadMemoryByte(pHandle As Long, Address As Long) As Byte 'Reads a byte in memory
Public Function Memory.ReadMemoryString(pHandle As Long, Address As Long, Bytes As Long) As String 'Reads an array of characters in memory


Win32API Functions:
=====================
Public Function Win32API.XUFindModule(pID As Long, ModuleName As String) As Long 'Find a module in memory of a process
Public Function Win32API.XUGetWindowRect(ByVal hwnd As Long, lpRect As tagRECT) As Long 'Get a window size Rect.(Top, Left, Right, Bottom)'See Win32 API documentation
Public Function Win32API.XUPostMessage(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long 'See Win32 API documentation
Public Function Win32API.XUSendMessage(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long 'See Win32 API documentation


ScriptHost Functions:
=====================
Public Function GetScreenShot() 'Take a screenshot of the current window
Public Function GetDesktopScreenShot() 'Take a screenshot of the desktop
Public Function ScriptHost.Random(ByVal Low As Long, ByVal High As Long) As Long 'Generates a random number from low to high
Public Sub ScriptHost.KeyUp(ByVal sKeystrokes As String) 'Single Key Up
Public Sub ScriptHost.KeyDown(ByVal sKeystrokes As String) 'Single Key Down
Public Sub ScriptHost.KeysUp(ByVal vkKey As Integer) 'String of Keys Up
Public Sub ScriptHost.KeysDown(ByVal vkKey As Integer) 'String of Keys Down
Public Sub ScriptHost.SetKeyDelay(ByVal ms As Double) 'This will simulate random user input if activated
Public Sub ScriptHost.SendKeys(ByVal sKeystrokes As String) 'Send string of keys (see SendKeys documentation on forums for full details)



Overhauled:
=====================
I have overhauled the SendKeys function (Thanks Devestator) which now should work for a much wider array of games. Before you had to use the KeyDown/KeyUP for VK_Enter on most games, but it should work now without it!! It should also better register keys like {ALT}, {CONTROL}, {SHIFT}, {ENTER}, etc. Enjoy! Remember to see the documentation forum for the codes for special keys.

Also, due to the enormous demand for optimzied memory reading functions, I have added one. (This is for you Devestator!) See the documentation forum for a demo script on reading memory.


Deprecated:
=====================
PeekB, PeekL, PeekS, PeekD, PeekI, PokeB, PokeL, PokeS, PokeD, PokeI 'These will no longer be supported as many had too much trouble using them.


Reply with quote
Posted: October 2nd, 2004, 9:32 pm
 
Admin

Total Posts: 1168
Location: Waco
Joined: May 1st, 2004, 4:00 am
Admin's Reps: 4
User avatar
administrator
premium
Fixed a bug that was causing the Script Host to crash when the memory functions were called.

_________________
Help our site.. take a moment to click the Digg this post!!! v v v


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 20 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of Site News RSS Feed 
Sitemap of Site News Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?