You are viewing our Forum Archives. To view or take place in current topics click here.
JRPC quick question +50 rep
Posted:

JRPC quick question +50 repPosted:

xChillest
  • TTG Addict
Status: Offline
Joined: Jul 30, 201212Year Member
Posts: 2,396
Reputation Power: 123
Status: Offline
Joined: Jul 30, 201212Year Member
Posts: 2,396
Reputation Power: 123
I've just started using JRPC instead of XRPC because of stability, and I've kinda run into an issue. You don't call functions in JRPC like you do in XRPC, and I'm wondering if anyone could give me an example of sending dvars in Mw2.

For example, if I were using XRPC I could use
Jtag.Call(SV, -1, 0, "J 2056 206426");

But if I throw that into a tool using JRPC and change "Jtag" to "Console" it gives me errors. I know JRPC does support calling functions, just don't know how to do it lol. Any help is greatly appreciated
#2. Posted:
ProJimmyRustler
  • E3 2016
Status: Offline
Joined: Jul 14, 201410Year Member
Posts: 1,720
Reputation Power: 71
Status: Offline
Joined: Jul 14, 201410Year Member
Posts: 1,720
Reputation Power: 71
SRT wrote I've just started using JRPC instead of XRPC because of stability, and I've kinda run into an issue. You don't call functions in JRPC like you do in XRPC, and I'm wondering if anyone could give me an example of sending dvars in Mw2.

For example, if I were using XRPC I could use
Jtag.Call(SV, -1, 0, "J 2056 206426");

But if I throw that into a tool using JRPC and change "Jtag" to "Console" it gives me errors. I know JRPC does support calling functions, just don't know how to do it lol. Any help is greatly appreciated
I don't know if this is what your looking for, but I found this on google.
Hello everyone!

I have a new RPC from scratch a couple of months ago but I was keeping it to my self for testing and just finished testing the new JRPCv2 and I believe it is working great .

I during my testing I haven't crashed from trying to call a function like the old JRPC and when I crash to the dashboard from using a bad address the RPC still works fine.

I have added a .ini to the project so you can load more plugins and to turn on/off KV.bin file transfer from the console.

The plugin also gives you the ability to call XNotify from system threads so no need to create a title thread just to create a notify.

I have also added a lot more function to the IXboxConsole xdevkit class like memory reading and writing of types (including arrays)

I have included a project for an example of calling functions and using other commands.

With the RPC calling you can decide what thread to call on E.G. title or system (by default all calls will be system)

The RPC calling functions:
Code (C):
Call(uint Address, params object[] Arguments);
Call(string module, int ordinal, params object[] Arguments);
Call(JRPC.ThreadType Type, uint Address, params object[] Arguments);
Call(JRPC.ThreadType Type, string module, int ordinal, params object[] Arguments);

//CallVoid same as above but no return

//CallArray same as above but with an uint arg for the array size

//CallString same as above but it returns a string
#3. Posted:
BiiTWWizz3
  • New Member
Status: Offline
Joined: Jul 20, 201410Year Member
Posts: 2
Reputation Power: 0
Status: Offline
Joined: Jul 20, 201410Year Member
Posts: 2
Reputation Power: 0
You could just use Intellisense to see the functions inside the class? But it's CallVoid you're looking for
#4. Posted:
xChillest
  • Christmas!
Status: Offline
Joined: Jul 30, 201212Year Member
Posts: 2,396
Reputation Power: 123
Status: Offline
Joined: Jul 30, 201212Year Member
Posts: 2,396
Reputation Power: 123
BiiTWWizz3 wrote You could just use Intellisense to see the functions inside the class? But it's CallVoid you're looking for

Well that was pretty simple. Thanks for the help
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.