the problem in multiplayer(help!)

Discussions about Coding and Scripting
User avatar
Gadavre
Skilled
Posts: 169
Joined: Sun Jan 18, 2015 7:55 am

the problem in multiplayer(help!)

Post by Gadavre »

I tried to optimize my mod "InstaSniper" for a network game, but nothing comes out. A certain number of shields should be random spawn on the map. However, if I play on the client, I can not pickup up shields.I tested on the dedicated server on my Computer.I understand that the client can not get the exact location of the shields.But I can not write the network code myself
It is very difficult.

If I can not find the code I need, my mod will be without a network game.

I am asking for help...
User avatar
PrinceOfFunky
Godlike
Posts: 1200
Joined: Mon Aug 31, 2015 10:31 pm

Re: the problem in multiplayer(help!)

Post by PrinceOfFunky »

Gadavre wrote:I tried to optimize my mod "InstaSniper" for a network game, but nothing comes out. A certain number of shields should be random spawn on the map. However, if I play on the client, I can not pickup up shields.I tested on the dedicated server on my Computer.I understand that the client can not get the exact location of the shields.But I can not write the network code myself
It is very difficult.

If I can not find the code I need, my mod will be without a network game.

I am asking for help...
It's probably fault of HandlePickupQuery() rather than MoveBelt().
"Your stuff is known to be buggy and unfinished/not properly tested"