we realy have a big problem, i dont know why nobody seemed to ask this before but maybe you do know, that when you deconstruct the Vein-Wrecks (Iron, Silver, Gold, it doesnt count), its only client-side, all other clients except yours, still sees the Vein-Wreck and can deconstruct it a second time. So if a group of 5 guys finds a gold-vein, each one of them can deconstruct the vein and get the gold ore... so sometimes groups can get like 100 Gold from one Vein.
Its a big issue because it ruins the whole economy on our server, giving the big clans the most money.
But lets get to the "How its done", i know its done in the actions/remove.sqf, i do the following after one player has reached the proceed state but its not working, all other players still see the Vein-Wrecks.
So, i know it has to be done on all Clients, but i thought i can simply "hide" the Object on all clients.
The only other option i see is to set a Variable on the Wreck when its been removed, and to check for the variable on each remove-request, so the vein cant be removed twice. But a better solution would be to get it cleaned up on all clients after the remove.
Btw: If you remove a vein-wreck, and the second client relogs, the wreck is gone on his client - But as long as the other clients stay in-game, the wreck is still there.
Question
grafzahl
Hey Guys,
we realy have a big problem, i dont know why nobody seemed to ask this before but maybe you do know, that when you deconstruct the Vein-Wrecks (Iron, Silver, Gold, it doesnt count), its only client-side, all other clients except yours, still sees the Vein-Wreck and can deconstruct it a second time. So if a group of 5 guys finds a gold-vein, each one of them can deconstruct the vein and get the gold ore... so sometimes groups can get like 100 Gold from one Vein.
Its a big issue because it ruins the whole economy on our server, giving the big clans the most money.
But lets get to the "How its done", i know its done in the actions/remove.sqf, i do the following after one player has reached the proceed state but its not working, all other players still see the Vein-Wrecks.
So, i know it has to be done on all Clients, but i thought i can simply "hide" the Object on all clients.
The only other option i see is to set a Variable on the Wreck when its been removed, and to check for the variable on each remove-request, so the vein cant be removed twice. But a better solution would be to get it cleaned up on all clients after the remove.
Btw: If you remove a vein-wreck, and the second client relogs, the wreck is gone on his client - But as long as the other clients stay in-game, the wreck is still there.
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now