Memory Table System For CO2
If you write programs for CO2 that require memory addresses heres your chance to become client version independent.
Sick of continuously having to rebuild your programs?
well nows your chance to make your program client version independent,
just rewrite your code to read the memory addresses from the ma-global.inf file attached in this thread instead of hard wiring them into your code.
With this system all the user has to do is get the new memory table and bang its all the working again.
There's even some simple VB examples of how to access the data.
The table is a plain ASCII file that anyone can edit with notepad.
My thought is to have it stored in a central location on the users drive (e.g. the root of C drive) that way all the tools that use the system can easily find it.
Developers Usage Suggestions
For VB the best way to read it in a program is using the GetPrivateProfileString api(see following code snippet) that way the order of the fields doesn't matter and all you need to know is the name of the memory location that you want(e.g. CharName)
Note:The values in the tables have been prefixed with &H for VB, other languages may require you to replace this with 0x depending on the development language your using.
Sample Of Simple Memory Address Read In VB6
Memory Table Version Details
Latest Updates
5035 Rev 0 - Released 25 July 2008.
History
5028r1 - Released 21th June 2008
5022r1 - Released 30th April 2008
5020r0 - Released 6th April 2008
5018r0 - Released 18th March 2008
5017r0 - Released 15th March 2008
5016r1 - Released 14th March 2008
5016r0 - Released 7 March 2008
5007r0 - Released 30 December 2007
5006r0 - Released 21 December 2007
4354r0 - Released 16 August 2007
4353r2 - Released 05 August 2007
4351r5 - Released 24 July 2007
4347r0 - Released 06 June 2007
Credits
Big TY'z to everyone who has contributed to these tables(past and present) including:-
blinko, anantasia, giacometti, ntrceptr, DarkReaver, ZeRo-ToLeRaNcE, lazlo, Ulfius, *M*, nTL3fTy, warriorchamp, cyberside0, Jalan_Jalan, tanelipe, daveq, Alexios, IAmHawtness, Zeroxelli
Known Programs Using The UHF Tables(theres other so tell me what they are!!)
My co2m8 & co2hud
*M*'s Multi-Hack
ZoSo's Taskbar Button Renamer
ZT's Conquer Memory Reader DLL
TwistedIllusions's Exp Mod
Notes
Everyone feel free to contribute with addresses or corrections,etc. on this thread.
Let me know if your using the plug-in table system, that way your users will also know.
Support this system by using the file as directed and give credit.
If old tables are required please post request in this thread.
Download Table Here.
If you write programs for CO2 that require memory addresses heres your chance to become client version independent.
Sick of continuously having to rebuild your programs?
well nows your chance to make your program client version independent,
just rewrite your code to read the memory addresses from the ma-global.inf file attached in this thread instead of hard wiring them into your code.
With this system all the user has to do is get the new memory table and bang its all the working again.
There's even some simple VB examples of how to access the data.
The table is a plain ASCII file that anyone can edit with notepad.
My thought is to have it stored in a central location on the users drive (e.g. the root of C drive) that way all the tools that use the system can easily find it.
Developers Usage Suggestions
For VB the best way to read it in a program is using the GetPrivateProfileString api(see following code snippet) that way the order of the fields doesn't matter and all you need to know is the name of the memory location that you want(e.g. CharName)
Note:The values in the tables have been prefixed with &H for VB, other languages may require you to replace this with 0x depending on the development language your using.
Sample Of Simple Memory Address Read In VB6
Code:
------- Main Code ------
MemAddr(0) = MAread("CharName")
MemAddr(1) = MAread("SrvName")
MemAddr(2) = MAread("CharXP")
MemAddr(3) = MAread("CharLV")
MemAddr(4) = MAread("CharVP")
----- Module Code -----
Dim MemAddr(4)
Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationname As String, ByVal lpKeyName As String, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
Function MAread&(KeyName$)
Dim S$, F$, L&
S = String$(20, Chr(0))
F = App.Path & "ma-global.inf"
If Dir(F) = "" Then F = "C:ma-global.inf"
L = GetPrivateProfileString("MemAdd", ByVal KeyName$, "0", S, Len(S), F)
MAread = CLng(Left$(S, L))
End Function
Memory Table Version Details
Latest Updates
5035 Rev 0 - Released 25 July 2008.
History
5028r1 - Released 21th June 2008
5022r1 - Released 30th April 2008
5020r0 - Released 6th April 2008
5018r0 - Released 18th March 2008
5017r0 - Released 15th March 2008
5016r1 - Released 14th March 2008
5016r0 - Released 7 March 2008
5007r0 - Released 30 December 2007
5006r0 - Released 21 December 2007
4354r0 - Released 16 August 2007
4353r2 - Released 05 August 2007
4351r5 - Released 24 July 2007
4347r0 - Released 06 June 2007
Credits
Big TY'z to everyone who has contributed to these tables(past and present) including:-
blinko, anantasia, giacometti, ntrceptr, DarkReaver, ZeRo-ToLeRaNcE, lazlo, Ulfius, *M*, nTL3fTy, warriorchamp, cyberside0, Jalan_Jalan, tanelipe, daveq, Alexios, IAmHawtness, Zeroxelli
Known Programs Using The UHF Tables(theres other so tell me what they are!!)
My co2m8 & co2hud
*M*'s Multi-Hack
ZoSo's Taskbar Button Renamer
ZT's Conquer Memory Reader DLL
TwistedIllusions's Exp Mod
Notes
Everyone feel free to contribute with addresses or corrections,etc. on this thread.
Let me know if your using the plug-in table system, that way your users will also know.
Support this system by using the file as directed and give credit.
If old tables are required please post request in this thread.
Download Table Here.