CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
[C#/C++] BO2 Notification
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="NotMyFaultv2" data-source="post: 25664" data-attributes="member: 6913"><p>Thanks to Pyrex BLJ for helping and for converting it to C++ with me. <img src="/styles/default/xenforo/smilies.emoji/people/smile.emoji.svg" class="smilie" loading="lazy" alt=":grinning:" title="Grinning :grinning:" data-shortname=":grinning:" /></p><p></p><p>[SPOILER="C#"]</p><p>[CODE]</p><p> private void Notify(string textHeader, string text, string Shader)</p><p> {</p><p> PS3.SetMemory(0x1C1FE73, new byte[] { 0x28 });</p><p> PS3.Extension.WriteString(0x01C1FC65, textHeader);</p><p> PS3.Extension.WriteString(0x01C1FE65, Shader);</p><p> PS3.Extension.WriteString(0x1C1FD65, text);</p><p> PS3.SetMemory(0x1C1FF66, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 });</p><p> PS3.SetMemory(0x0D50025, new byte[] { 0x20 });</p><p> System.Threading.Thread.Sleep(2500);</p><p> PS3.SetMemory(0x1C1FF66, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 });</p><p> PS3.Extension.WriteString(0x1C1FD65, "");</p><p>}</p><p>[/CODE]</p><p>[/SPOILER]</p><p></p><p>[SPOILER="C++"]</p><p>[CODE]</p><p>void Thread(uint64_t nothing) {</p><p> sleep(3000);</p><p> unsigned char byte32off[32] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; unsigned char byte32off2[32] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };</p><p> write_process(0x1C1FF66, &byte32off, 32);</p><p> write_process(0x1C1FD65, &byte32off2, 32);</p><p> write_process(0x1C1FC65, &byte32off2, 32);</p><p> write_process(0x01C1FE65, &byte32off2, 32);</p><p> sys_ppu_thread_exit(nothing);</p><p> }</p><p></p><p>sys_ppu_thread_t Sleeping; </p><p></p><p>void Notify(char *notifTitle, char *notifBody, char *notifShader) {</p><p> unsigned char byte28[1] = { 0x28 };</p><p> unsigned char byte32on[32] = { 0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };</p><p> unsigned char byte20[1] = { 0x20 };</p><p> write_process(0x1C1FE73, &byte28, 1);</p><p> PS3Lib::WriteString(0x01C1FC65, notifTitle);</p><p> PS3Lib::WriteString(0x01C1FE65, notifShader);</p><p> PS3Lib::WriteString(0x1C1FD65, notifBody);</p><p> write_process(0x1C1FF66, &byte32on, 32);</p><p> write_process(0x0D50025, &byte20, 1);</p><p> sys_ppu_thread_create(&Sleeping, Thread, 0, 10, 0x0A, 0, "Sleep");</p><p>}</p><p>[/CODE]</p><p>[/SPOILER]</p><p></p><p><img src="http://i.imgur.com/ZsY6fqd.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Call: Notify("Notification Header", "Notification Text", "menu_camo_mtx_dragon");</p></blockquote><p></p>
[QUOTE="NotMyFaultv2, post: 25664, member: 6913"] Thanks to Pyrex BLJ for helping and for converting it to C++ with me. :grinning: [SPOILER="C#"] [CODE] private void Notify(string textHeader, string text, string Shader) { PS3.SetMemory(0x1C1FE73, new byte[] { 0x28 }); PS3.Extension.WriteString(0x01C1FC65, textHeader); PS3.Extension.WriteString(0x01C1FE65, Shader); PS3.Extension.WriteString(0x1C1FD65, text); PS3.SetMemory(0x1C1FF66, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }); PS3.SetMemory(0x0D50025, new byte[] { 0x20 }); System.Threading.Thread.Sleep(2500); PS3.SetMemory(0x1C1FF66, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }); PS3.Extension.WriteString(0x1C1FD65, ""); } [/CODE] [/SPOILER] [SPOILER="C++"] [CODE] void Thread(uint64_t nothing) { sleep(3000); unsigned char byte32off[32] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; unsigned char byte32off2[32] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; write_process(0x1C1FF66, &byte32off, 32); write_process(0x1C1FD65, &byte32off2, 32); write_process(0x1C1FC65, &byte32off2, 32); write_process(0x01C1FE65, &byte32off2, 32); sys_ppu_thread_exit(nothing); } sys_ppu_thread_t Sleeping; void Notify(char *notifTitle, char *notifBody, char *notifShader) { unsigned char byte28[1] = { 0x28 }; unsigned char byte32on[32] = { 0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; unsigned char byte20[1] = { 0x20 }; write_process(0x1C1FE73, &byte28, 1); PS3Lib::WriteString(0x01C1FC65, notifTitle); PS3Lib::WriteString(0x01C1FE65, notifShader); PS3Lib::WriteString(0x1C1FD65, notifBody); write_process(0x1C1FF66, &byte32on, 32); write_process(0x0D50025, &byte20, 1); sys_ppu_thread_create(&Sleeping, Thread, 0, 10, 0x0A, 0, "Sleep"); } [/CODE] [/SPOILER] [IMG]http://i.imgur.com/ZsY6fqd.png[/IMG] Call: Notify("Notification Header", "Notification Text", "menu_camo_mtx_dragon"); [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
[C#/C++] BO2 Notification
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top