b
package 34 ( ID_CONNECTION_REQUEST_ACCEPTED ) sends invalid Id for player
c
Do not use that ID
b
this is a joke?
c
No, the ID sent with that RPC is an internal ID for raknet itself, server's pool handles things differently
b
I have my own client. and there were no problems with this before omp11. Now the client is assigned the wrong local player id
c
can you use #966398440051445790 instead @bumpy-carpenter-21195
b
unfortunately I can't give more information as it doesn't always show up and I don't want to bother the players for debugging. I had to go back to samp 0.3.7. This solved the problems
c
I asked you a question in #966398440051445790 , but it's fine, thanks.
@bumpy-carpenter-21195 you can use RPC_InitGame to retrieve real player id
and this has been the case for all open.mp beta builds since beginning as well
b
can you show the structure of RPC_InitGame ?
my bad. found
c
b
sorry for writing here, could you throw off the guide for config.json omp? Some parameters are not clear to me. For example use_intagib vehicle_respawn_time ( seconds? ) mtu public_addr
c
it's fine instagib: is an old configurable variable that is not available in samp client anymore, the name is probably taken from Quake game, instagib is basically instakill or instant kill, enables one shot one kill feature in game (it's not available at the moment because samp removed this on client side) vehicle_respawn_time: is in milliseconds, default is 10 seconds mtu: keep it the default value, you don't really need or should change this if you have no idea what this is, because if you don't know, then you don't have anything on your server requiring higher MTU, but if you are still interested: public_addr: some machines you run your server on can have different IPs, this is used so if the address you set in
bind
config is different, you set a new one. this config variable is only used for DL servers, because in open.mp, it will host a webserver for downloading models
b
thank you very much. Maybe you still know why gametext doesn't work? everything is fine when you return to the sample. Rpc gametext is not coming :c
and also the RPC GiveMoney in the samp send the value 'as it is' in pawn. And in open-mp, it pluses the old values .. ( not a problem for me. just told )
the most common gametext. for example GameTextForPlayer(playerid, "~W~Siren ~G~on", 1000, 3);
c
have you tried that on a clean gamemode first?
Copy code
cpp
#include <a_samp>

main()
{
}

public OnPlayerSpawn()
{
    GameTextForPlayer(playerid, "~W~Siren ~G~on", 1000, 3);
}
like this
it shows, but RPC is not coming?
b
use a_samp? or is mistake
c
it doesn't matter
b
wow. is crash server why?
ok. clear mode normal send gametext
c
why was your server crashing?
are you talking about receiving RPC, or showing? what is your test client?
b
the server crashed due to the fact that plugins from the main mod were connected (although I'm not sure if this should affect)
I'm talking about taking RPC. i use my own client
exactly the same mod with the same list of plugins perfectly shows the gametext
In general, this is also not critical for me. I was going to create new gametext gui. but if you need some more information, I can try
c
okay then, if you have Fixes.dll loaded (or Fixes.so) gametexts work as TextDraws
so they are sending textdraw RPCs instead
remove Fixes.dll or Fixes.so so you get what you want
b
this seems to be true, I don’t have textdraws in my client
thanks for answers
c
you can safely remove Fixes.so and do better in your client
b
any clue why it doesn't work? on the samp - ok
callback in pawn not called
c
check omp code see if theres any validity check
b
OK. I found. it was the bones. gta bone != samp bone. and I only saved gta bone ty)
@cool-battery-88185 I am logging the receipt of RPC GiveMoney and ResetMoney. It floods like crazy, despite the fact that I don’t have a single call to these functions in my mod. wtf?
c
@bumpy-carpenter-21195 try it without Fixes.so and tell me if it works
b
without fixes - ok
@cool-battery-88185 pls check is https://github.com/katursis/Pawn.RakNet/issues/83 maybe omp err?
c
can you please translate it in english for me
just so, sorry, i don't know english well
@cool-battery-88185 I'm sorry for interrupting. Can you say something about this situation?
5 Views