Post: AnyBody got nonhost endgame code
08-11-2015, 10:58 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Title says it all, but if you have the code either message it on skype: netzdex or pm me it (making a private rtm and want it in there)

The following user thanked Quickest for this useful post:

Maverick
08-14-2015, 08:58 PM #29
Ok, Joren check you PMs i did it but it says like somethings not implented but idk

The following user thanked Quickest for this useful post:

Maverick
08-15-2015, 07:04 AM #30
Maverick
Climbing up the ladder
Originally posted by Joren View Post
such difference, wow.

You must login or register to view this content.

Can you give me a hand?
void endgame()
{
char[] buffer = new char[0x100];
snprintf(buffer, "cmd mr %i %i %s", PS3.Extension.ReadInt16(0xF109E8 + 0x13B4), 3, "endround");
RPC.Call(0x0313C18 ,0, buffer);
}
Is correct yeah? snprintf is red underlined
08-15-2015, 08:14 AM #31
Maverick
Climbing up the ladder
Originally posted by Jaidyn108 View Post
Can you give me a hand?
void endgame()
{
char[] buffer = new char[0x100];
snprintf(buffer, "cmd mr %i %i %s", PS3.Extension.ReadInt16(0xF109E8 + 0x13B4), 3, "endround");
RPC.Call(0x0313C18 ,0, buffer);
}
Is correct yeah? snprintf is red underlined


I got it to work but what you coded is wayy off

The following user thanked Maverick for this useful post:

Adrian
08-15-2015, 08:44 AM #32
Adrian
Adrian is back!
Originally posted by Joren View Post
such difference, wow.

You must login or register to view this content.


Facepalm snprintf doesn't exist in C# it is C++.

The following user thanked Adrian for this useful post:

Maverick
08-15-2015, 05:23 PM #33
Originally posted by Adrian. View Post
Facepalm snprintf doesn't exist in C# it is C++.


Ever heard of PInvoke? Kidding me
08-15-2015, 05:26 PM #34
Adrian
Adrian is back!
Originally posted by Joren View Post
Ever heard of PInvoke? Kidding me


I have the code, that code is way off and does not work.
08-15-2015, 05:30 PM #35
Originally posted by Adrian. View Post
I have the code, that code is way off and does not work.


That code isn't "way off". I tested it before posting and works just fine.
The reason "it won't work" is because people don't know C#. They know "how to make tools in C#".
If you'd know proper C#, you would knew you just use PInvoke for printf and it works just fine.
That's how I do it and how it works.

Another thing, just because someone's code is different, doesn't mean it's wrong or "way off".
2+4 = 6 but 4+2 = 6 aswell.

That's the problem with people these days, they make a C# tool and they think they know C#.
Just because you can use an included library, doesn't mean you know C#. FAR from.

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

Boliberrys, Father Luckeyy
08-15-2015, 05:32 PM #36
Adrian
Adrian is back!
Originally posted by Joren View Post
That code isn't "way off". I tested it before posting and works just fine.
The reason "it won't work" is because people don't know C#. They know "how to make tools in C#".
If you'd know proper C#, you would knew you just use PInvoke for printf and it works just fine.
That's how I do it and how it works.

Another thing, just because someone's code is different, doesn't mean it's wrong or "way off".
2+4 = 6 but 4+2 = 6 aswell.

That's the problem with people these days, they make a C# tool and they think they know C#.
Just because you can use an included library, doesn't mean you know C#. FAR from.


snprintf is just a function to format strings in C++.

The following user thanked Adrian for this useful post:

Maverick
08-15-2015, 05:32 PM #37
Originally posted by Adrian. View Post
snprintf is just a function to format strings in C++.


And...?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo