Post: RPC Error
11-04-2014, 02:33 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); [/COLOR]I am trying to add rpc to my tool. But It keeps giving me an error at the bottom:
    
byte[] fadd = BitConverter.GetBytes(func_address);
Array.Reverse(fadd);
PS3.SetMemory(0x1005004C, fadd);
System.Threading.Thread.Sleep(20);
[COLOR="#00FF00"] byte[] ret = PS3.GetMemory(0x10050050, 4);[/COLOR]
Array.Reverse(ret);
return BitConverter.ToInt32(ret, 0);
}
}


The green is where I am getting the error.
(adsbygoogle = window.adsbygoogle || []).push({});
11-05-2014, 03:45 PM #2
i got the same
11-05-2014, 04:24 PM #3
Originally posted by PatriotMods View Post
[/COLOR]I am trying to add rpc to my tool. But It keeps giving me an error at the bottom:
    
byte[] fadd = BitConverter.GetBytes(func_address);
Array.Reverse(fadd);
PS3.SetMemory(0x1005004C, fadd);
System.Threading.Thread.Sleep(20);
[COLOR="#00FF00"] byte[] ret = PS3.GetMemory(0x10050050, 4);[/COLOR]
Array.Reverse(ret);
return BitConverter.ToInt32(ret, 0);
}
}


The green is where I am getting the error.


I'm guessing you don't use PS3Lib for some reason?
If you did, are you sure you added public PS3API PS3 = new PS3API(); to your project?
If you did all of that, check your function arguments:
If your GetMemory function has a byte array (byte[]) as 2nd argument, try replacing your error line with this:
    
byte[] ret = new byte[4];
PS3.GetMemory(0x10050050, ret);

The following user thanked Joren for this useful post:

One

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo