I still have doubts, "MethodName" Can it be anyone inside the dump or just a few specific ones?You need a monoString struct. Then you can hook it like this...
void *(*RPC)(monoString*, int);
Then use it like this...
RPC((CreateMonoString("TypeMethodNameHere"), 0);
0 = All Photon Targets (sends to everyone)
A few specific ones. Usually they start with the word "On"I still have doubts, "MethodName" Can it be anyone inside the dump or just a few specific ones?
In the dump the methods you can use have [PunRPC] above itI still have doubts, "MethodName" Can it be anyone inside the dump or just a few specific ones?
I have one last question?In the dump the methods you can use have [PunRPC] above it
I’ve been trying to figure out the same thingI have one last question?
public static void RPC(PhotonEventTag tag, PhotonPlayer player, object[] parameters) { }
What does the "object[]" list of objects refer to? I'm a beginner and I'm trying to understand better
All I know is that it's an object array. I can't figure out how to write that part in lgl C++I have one last question?
public static void RPC(PhotonEventTag tag, PhotonPlayer player, object[] parameters) { }
What does the "object[]" list of objects refer to? I'm a beginner and I'm trying to understand better
Bomb Hacker knows how, and uses RPC with parameters in his menus but he won't share how, at least not with me, soI’ve been trying to figure out the same thing
How u know he using RPC param/method without he share ?Bomb Hacker knows how, and uses RPC with parameters in his menus but he won't share how, at least not with me, so
Because we did this stuff years ago. For ex; odysee.com/@Rev:6/Trolling-Forward-Assault-Developers-By-Banning-Them-xBrea:4How u know he using RPC param/method without he share ?
No offense, im not saying its not doable just want to know how this guy know BombHacker using rpc without he share src/mention somewhere elseBecause we did this stuff years ago. For ex; odysee.com/@Rev:6/Trolling-Forward-Assault-Developers-By-Banning-Them-xBrea:4
Because it's not *very* public info. Very few people know how to go about doing it, which is why you won't see much of it being mentionedThose that do accomplish the task pretty much do it without any web assistance; Bomb was able to use RPC because as a team, we were collectively working on it in 2021. If I remember correctly, there are some resources that may be helpful to you on UC.No offense, im not saying its not doable just want to know how this guy know BombHacker using rpc without he share src/mention somewhere else
Because I asked him and he told me. That is usually how one finds out information from another.No offense, im not saying its not doable just want to know how this guy know BombHacker using rpc without he share src/mention somewhere else
Basically some PUN RPC methods have parameter types such as int, float, bool & void*, you have to box these values then they get placed into the object[] that Photon RPC uses. I've figured out how to do it thanks to help from another modder, send me a message if you need help with it.I have one last question?
public static void RPC(PhotonEventTag tag, PhotonPlayer player, object[] parameters) { }
What does the "object[]" list of objects refer to? I'm a beginner and I'm trying to understand better
Can u give a example how to hook RPC bcz I been struggling how to use rpc for long time and found nothingBasically some PUN RPC methods have parameter types such as int, float, bool & void*, you have to box these values then they get placed into the object[] that Photon RPC uses. I've figured out how to do it thanks to help from another modder, send me a message if you need help with it.
Você pode dar um exemplo de como conectar o RPC bcz. Estou lutando para usar o rpc há muito tempo e não encontrei nada
[/CITAR]
Claro, você vai dar um exemplo de como conectar o RPC com parâmetros em seu código. Aqui está um exemplo básico em C++:
Suponha que você tenha um método chamado `RPC` definido em uma classe chamada `MyClass`. Você deseja chamar esse método com duas parâmetros: um inteiro e uma string.
1. **Definição do método RPC na classe MyClass**:
```cpp
class MinhaClasse {
público:
static void RPC(int intValue, const std::string& stringValue) {
// Implementação do método RPC aqui
}
};
```
2. **Preparação das parâmetros antes de chamar o método RPC**:
```cpp
int intValor = 10;
std::string stringValue = "Exemplo de string";
```
3. **Chamada do método RPC com as parâmetros preparadas**:
```cpp
MinhaClasse::RPC(intValue, stringValue);
```
Para ajustar a implementação, certifique-se de que o método `RPC` de acordo com o que você precisa fazer dentro dele. Este exemplo simplesmente demonstra como chamar o método com os parâmetros desejados.
Lembre-se de adaptar este exemplo ao seu código específico e às suas necessidades. Se você tiver dúvidas adicionais ou precisar de mais ajuda, estou à disposição.