Vice City: Multiplayer

VC:MP Discussion => Bugs and Crashes => Support => Closed Bug Reports => Topic started by: Mariu22S on Jan 04, 2015, 12:29 PM

Title: Pickup and player.ID
Post by: Mariu22S on Jan 04, 2015, 12:29 PM
For example if the server is the player with ID 0 will come out of the pickup and the pickup and the server is recreate and re-enters the player but with the ID 1 and the server will come down.


//My English is too poor probably do not understand

Title: Re: Pickup and player.ID
Post by: . on Jan 04, 2015, 12:36 PM
Quote from: Mariu22S on Jan 04, 2015, 12:29 PM//My English is too poor probably do not understand

You got that right. Maybe you can ask someone to translate what you mean for you.
Title: Re: Pickup and player.ID
Post by: Fjose on Jan 04, 2015, 06:27 PM
Quote from: Mariu22S on Jan 04, 2015, 12:29 PMFor example if the server is the player with ID 0 will come out of the pickup and the pickup and the server is recreate and re-enters the player but with the ID 1 and the server will come down.


//My English is too poor probably do not understand

I guess, you are trying to say that:

if in the server, the player with the ID 0 take the pickup, the pickup will be recreated but if the player with the ID 1 take the pickup, the server will get a crash.

Title: Re: Pickup and player.ID
Post by: . on Jan 04, 2015, 07:04 PM
Quote from: Fjose on Jan 04, 2015, 06:27 PMif in the server, the player with the ID 0 take the pickup, the pickup will be recreated but if the player with the ID 1 take the pickup, the server will get a crash.

(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fcf.chucklesnetwork.com%2Fitems%2F1%2F1%2F2%2F1%2F3%2Foriginal%2Fdoes-not-compute.jpg&hash=5ef09ac78b3a5b3de64ed24223a3f5fff5d9bef5)
Title: Re: Pickup and player.ID
Post by: Fuzzie on Jan 05, 2015, 03:52 AM
I have seen 0.4 servers that uses pickups. They don't crash  because of it. (Atleast not that I'm aware of) It's most likely your code or the way you add those pickups.
Title: Re: Pickup and player.ID
Post by: Honey on Jan 05, 2015, 05:43 AM
Fuzzie is right, I also use pickups for property information and I haven't seen any crashes, It would be better to post the code of that pickup for us
Title: Re: Pickup and player.ID
Post by: Stormeus on Feb 16, 2015, 11:11 PM
Closed as duplicate of http://forum.vc-mp.org/?topic=225.0