Post: MW2Lib (Full of Functions)
07-10-2014, 09:01 AM #1
Shark
Retired.
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys since I had nothing to do recently and I have been sort of inactive for a few weeks I decided to do something for mw2, so I made this nice library for you guys which has complete HUD elements in it not like iMCSx shitty one lol... and it also comes with a working RPC and some offsets :p, I made it into a .dll file so it is easy for everyone to use but if you want the source there will be a link for that somewhere in this thread!

this shit took me almost 5 hours so please respect my work and my decision to release this to the community :3

Huge Thanks To Choco for RPC and SC58 for adding TOC and OPD Addresses to the RPC

Download: You must login or register to view this content.
Source Code: You must login or register to view this content.

Information
    
---- How To Use ----

- Add Both DLL Files As References To Your Project
- Add "using MW2Lib;" and "using PS3Lib;" To The Top of Your Project (With The Other Ones)
- Call Functions By Doing "MW2Lib. "

---- Example of What To Put In Connect Button ----

MW2Lib.PS3.Connect();
MW2Lib.RPC.EnableRPC();
MW2Lib.HUD.Huds_DestroyAll();
MW2Lib.HUD.Objective_DestroyAll();

---- Features ----

- RPC
- Complete HUD Elements
- Address/Offsets
- Easy To Use

---- Some Examples ----

- Set Text To Middle Of Screen:
MW2Lib.HUD.SetText(0, "Hello Client 0", 4, 4, 0, 0, MW2Lib.HUD.HudStruct.Align.CENTER_MIDDLE);

- Set White Square To X: 250, Y:250
MW2Lib.HUD.SetShader(0, "white", 50, 50, 250, 250, 0);

- MoveOverTime To X: 100, Y: 100 Over 1 Second
UInt32 Shader = MW2Lib.HUD.SetShader(0, "white", 50, 50, 250, 250, 0);
MW2Lib.HUD.MoveOverTime(Shader, 1000, 100, 100);

- Call A Function With RPC
MW2Lib.RPC.Call(FunctionToCall, args);

- Write To Different Data Types To Memory
MW2Lib.Lib.WriteInt16(Offset, Value);
MW2Lib.Lib.WriteInt32(Offset, Value);
MW2Lib.Lib.WriteInt64(Offset, Value);
MW2Lib.Lib.WriteSingle(Offset, Value);
MW2Lib.Lib.WriteByte(Offset, Value);
MW2Lib.Lib.WriteBytes(Offset, Value);
MW2Lib.Lib.WriteString(Offset, Value);

- Read Different Data Types From Memory
MW2Lib.Lib.ReadInt16(Offset, Value);
MW2Lib.Lib.ReadInt32(Offset, Value);
MW2Lib.Lib.ReadInt64(Offset, Value);
MW2Lib.Lib.ReadSingle(Offset, Value);
MW2Lib.Lib.ReadByte(Offset, Value);
MW2Lib.Lib.ReadBytes(Offset, Value);
MW2Lib.Lib.ReadString(Offset, Value);


Enjoy!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 13 users say thank you to Shark for this useful post:

.MrRedDoT, FusionIsDaName, iRnZ, Notorious, Obris, ParadoxSPRX, sanzica, SnaY, Turk_Warrior, ViolentFelon, Hash847
07-10-2014, 10:04 AM #2
SC58
Former Staff
Originally posted by Shark View Post
Hey guys since I had nothing to do recently and I have been sort of inactive for a few weeks I decided to do something for mw2, so I made this nice library for you guys which has complete HUD elements in it not like iMCSx shitty one lol... and it also comes with a working RPC and some offsets :p, I made it into a .dll file so it is easy for everyone to use but if you want the source there will be a link for that somewhere in this thread!

this shit took me almost 5 hours so please respect my work and my decision to release this to the community :3

Download: You must login or register to view this content.
Source Code: You must login or register to view this content.

Information
    
---- How To Use ----

- Add Both DLL Files As References To Your Project
- Add "using MW2Lib;" and "using PS3Lib;" To The Top of Your Project (With The Other Ones)
- Call Functions By Doing "MW2Lib. "

---- Example of What To Put In Connect Button ----

MW2Lib.PS3.Connect();
MW2Lib.RPC.EnableRPC();
MW2Lib.HUD.Huds_DestroyAll();
MW2Lib.HUD.Objective_DestroyAll();

---- Features ----

- RPC
- Complete HUD Elements
- Address/Offsets
- Easy To Use

---- Some Examples ----

- Set Text To Middle Of Screen:
MW2Lib.HUD.SetText(0, "Hello Client 0", 4, 4, 0, 0, MW2Lib.HUD.HudStruct.Align.CENTER_MIDDLE);

- Set White Square To X: 250, Y:250
MW2Lib.HUD.SetShader(0, "white", 50, 50, 250, 250, 0);

- MoveOverTime To X: 100, Y: 100 Over 1 Second
UInt32 Shader = MW2Lib.HUD.SetShader(0, "white", 50, 50, 250, 250, 0);
MW2Lib.HUD.MoveOverTime(Shader, 1000, 100, 100);

- Call A Function With RPC
MW2Lib.RPC.Call(FunctionToCall, args);

- Write To Different Data Types To Memory
MW2Lib.Lib.WriteInt16(Offset, Value);
MW2Lib.Lib.WriteInt32(Offset, Value);
MW2Lib.Lib.WriteInt64(Offset, Value);
MW2Lib.Lib.WriteSingle(Offset, Value);
MW2Lib.Lib.WriteByte(Offset, Value);
MW2Lib.Lib.WriteBytes(Offset, Value);
MW2Lib.Lib.WriteString(Offset, Value);

- Read Different Data Types From Memory
MW2Lib.Lib.ReadInt16(Offset, Value);
MW2Lib.Lib.ReadInt32(Offset, Value);
MW2Lib.Lib.ReadInt64(Offset, Value);
MW2Lib.Lib.ReadSingle(Offset, Value);
MW2Lib.Lib.ReadByte(Offset, Value);
MW2Lib.Lib.ReadBytes(Offset, Value);
MW2Lib.Lib.ReadString(Offset, Value);


Enjoy!


And you don't even give credit No
Choco for RPC
SC58 for adding TOC and OPD Addresses to the RPC for it to work really in any function for mw2
07-10-2014, 01:07 PM #3
Shark
Retired.
Originally posted by SC58 View Post
And you don't even give credit No
Choco for RPC
SC58 for adding TOC and OPD Addresses to the RPC for it to work really in any function for mw2


sorry I was in a rush when I made the thread ill add credits now
07-10-2014, 11:13 PM #4
Shark
Retired.
added a bunch more features like magicbullet, magicgrenade, getposition and some maths functions
07-12-2014, 12:17 PM #5
Originally posted by SC58 View Post
And you don't even give credit No
Choco for RPC
SC58 for adding TOC and OPD Addresses to the RPC for it to work really in any function for mw2


Want a medal? Choco wrote that RPC forever ago...I don't see why credit is needed for something completely off topic? You don't release something to beg for credit, if you do that you're ignorant. You release something to help people who couldn't work it out. If this whole thing was based on the RPC, then yeah credit's would be nice. But it's aimed at using class's to mod a game with ease. You might aswell go list like 200 credits for the real people who started the research on everything in this whole fucking thing then? See? Credit's aren't really ever needed, he's not claiming to have found everything.

This is why both scene's are just full of skids. Because when ever any of you guys do something, you beg for credit. Fuck credit, you're suppose to be doing what you're doing for the fun of it, not for the fame...

The following 6 users say thank you to Bitwise for this useful post:

Eddie Mac, Akaipwn, Shark, VezahMoDz, ViolentFelon, xHostModer
07-12-2014, 05:56 PM #6
Kurt
Banned
Originally posted by Bitwise View Post
Want a medal? Choco wrote that RPC forever ago...I don't see why credit is needed for something completely off topic? You don't release something to beg for credit, if you do that you're ignorant. You release something to help people who couldn't work it out. If this whole thing was based on the RPC, then yeah credit's would be nice. But it's aimed at using class's to mod a game with ease. You might aswell go list like 200 credits for the real people who started the research on everything in this whole fucking thing then? See? Credit's aren't really ever needed, he's not claiming to have found everything.

This is why both scene's are just full of skids. Because when ever any of you guys do something, you beg for credit. Fuck credit, you're suppose to be doing what you're doing for the fun of it, not for the fame...

You just treated SC58!
07-14-2014, 11:24 AM #7
Shark
Retired.
added way m0re shit
07-15-2014, 02:05 PM #8
Originally posted by Bitwise View Post
Want a medal? Choco wrote that RPC forever ago...I don't see why credit is needed for something completely off topic? You don't release something to beg for credit, if you do that you're ignorant. You release something to help people who couldn't work it out. If this whole thing was based on the RPC, then yeah credit's would be nice. But it's aimed at using class's to mod a game with ease. You might aswell go list like 200 credits for the real people who started the research on everything in this whole fucking thing then? See? Credit's aren't really ever needed, he's not claiming to have found everything.

This is why both scene's are just full of skids. Because when ever any of you guys do something, you beg for credit. Fuck credit, you're suppose to be doing what you're doing for the fun of it, not for the fame...



lol most games would have nothing if SC58, seb, choco ect were releasing addresses, scripts, and offsets.! i do believe that there are the ones helping the community so if they want credit then they should get it. if you don't like them getting credit then learn some PPC skills and find them you self because i don't see you doing anything for the community.
07-16-2014, 04:06 PM #9
Originally posted by hacking247 View Post
lol most games would have nothing if SC58, seb, choco ect were releasing addresses, scripts, and offsets.! i do believe that there are the ones helping the community so if they want credit then they should get it. if you don't like them getting credit then learn some PPC skills and find them you self because i don't see you doing anything for the community.


    

typedef struct
{
char*alias[2];
int age;
}idntknoC;

void lrn2PPC(idntknoC*orlry)
{
__asm
{
.set IAMGAWD, 0x539

; startDAHASMDUD
mr %r31, $%r3
lwz %r5, 0(%r31) ; Getting the ***ts first name m8y
lbz %r4, 0(%r5) ; Getting string length
cmplwi %cr3, %r4, 0 ; Storing either the true bit for either Equal(r4 == 0), LT(r4 < 0), MT(r4 > 0) or NE(r4 != 0)
beq %cr3, error
lwz %r6, 4(%r3) ; Getting ***ts second name m8y
lbz %r3, 0(%r6)
cmplwi %cr6, %r3, 0
beq %cr6, error
lwz %r7, 8(%r31)
cmplwi %cr6, r7, 0
ble %cr6, error
lis %r3, aSuccess@l
ori %r3, %r3, aSucess@h
bl printf
blr
error:
lis %r3, aError@l
ori %r3, %r3, aError@h
bl printf
blr
- }
}
idntknoC* setDisPPC(char*firstName, char*lastName, int age)
{
idntknoC IDKC;
IDKC.alias[0] = firstName;
IDKC.alias[1] = lastName;
IDKC.age = age;
return &idntknoC;
}


EDIT:

Wanna stop sucking cocks? [url=www.mediafire.com/download/02ju28g9b1zpsd9/32Bit+ASMPPC+eBook+-+Bitwise.pdf]learn the ppc skills[/url]

The following user thanked Bitwise for this useful post:

John
04-16-2015, 03:08 PM #10
Holy crap did I roast the shit outta you bothEnzoDrack

The following 2 users say thank you to Bitwise for this useful post:

itsSorrow, Shark

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo