Here you will find important VB functions, modules and etc selected by our programmers and staff.
You may post a comment with a function which you might find important so we can add it to the list/module.
To start off, I'm posting a simple module with the following functions:
Tibia_Hwnd
Returns the value of the Tibia Window.
subDelay(sngDelay As Single)
Delays the function where its used by X seconds.
Memory_ReadByte(windowHwnd As Long, Address As Long) As Byte
Reads an address and returns a single byte value.
Memory_ReadLong(windowHwnd As Long, Address As Long) As Long
Reads and address and returns a long value.
Memory_ReadString(windowHwnd As Long, Address As Long) As String
Reads an address and returns a string.
Memory_WriteString(TibiaHwnd As Long, Address As Long, tibiaString As String)
Writes a string on an address.
Memory_WriteString_LenUsed by Memory_WriteString
Memory_WriteByte(windowHwnd As Long, Address As Long, valbuffer As Byte)
Writes a single byte value on an address.
Memory_WriteLong(windowHwnd As Long, Address As Long, valbuffer As Long)
Writes a long value on an address.