Vice City: Multiplayer

VC:MP Discussion => Bugs and Crashes => Support => Closed Bug Reports => Topic started by: Mariu22S on Apr 19, 2015, 08:37 AM

Title: Again Pickup Problem
Post by: Mariu22S on Apr 19, 2015, 08:37 AM
Again is the problem was supposedly fixed.

Video:https://www.youtube.com/watch?v=dbhSf0F9x_w&feature=youtu.be (https://www.youtube.com/watch?v=dbhSf0F9x_w&feature=youtu.be)

Link to topic
http://forum.vc-mp.org/?topic=225.msg1202#new
Title: Re: Again Pickup Problem
Post by: Sebastian on Apr 19, 2015, 08:48 AM
First, try that on a blank server.
Title: Re: Again Pickup Problem
Post by: Gudio on Apr 19, 2015, 08:48 AM
Dalej używasz timerów? Przekazuj ID i używaj FindPickup.
Title: Re: Again Pickup Problem
Post by: Mariu22S on Apr 19, 2015, 08:50 AM
Z timer'ami działa , ale po tych aktualizacjach było dobrze bez timerów teraz okazuje się znowu że nadal nie działa i trzeba stosować timery.Bo inaczej serwer pada.
Title: Re: Again Pickup Problem
Post by: Gudio on Apr 19, 2015, 08:57 AM
Stwórz pickupa i zapisz jego ID w jakiejś tabeli, w której znajdzie się również przykładowo nazwa gracza.
W onPickupClaimPicked sprawdź ID od tabeli i porównaj nazwę gracza, który go podnosi. Jeżeli to jest ten, który wyszedł, return 0, a jak ok to return 1.

Mam nadzieję, że to pomoże.
Title: Re: Again Pickup Problem
Post by: Mariu22S on Apr 19, 2015, 09:16 AM
Może coś źle zrobiłem, ale pickup który tworzy się na wyjściu ma ID null co jest dziwne.Nawet komenda /gotopic nie widzi tego pickup tak jakby go nie było taki Ghost.
Title: Re: Again Pickup Problem
Post by: . on Apr 19, 2015, 10:19 AM
Thanks guys. Your contribution to the topic will definitely help other users that have this issue as well. (this one included)
Title: Re: Again Pickup Problem
Post by: Mariu22S on Apr 19, 2015, 10:25 AM
How the issue is resolved it will answer  English.
Title: Re: Again Pickup Problem
Post by: Gudio on Apr 19, 2015, 01:09 PM
Quote from: S.L.C on Apr 19, 2015, 10:19 AMThanks guys. Your contribution to the topic will definitely help other users that have this issue as well. (this one included)
Stop repeating yourself. (http://forum.vc-mp.org/?topic=225.msg1173#msg1173)
You shouldn't really know what did I write here. The issue hasn't been solved yet, so it's pointless to translate bullshit that we are talking about. Mariu22S can't explain it in english properly, so I switched to polish to understand his issue again, as usual.

He's creating a pickup in onPlayerPart event. When it's picked up, the server immediately crashes.

@Mariu22S
Na razie używaj timerów (nie są takie złe jak to o nich zazwyczaj się mówi). Jak znajdę trochę czasu to zdebuguję i zobaczę co jest grane.
Title: Re: Again Pickup Problem
Post by: Mariu22S on Apr 19, 2015, 06:44 PM
Ok.Thanks
Title: Re: Again Pickup Problem
Post by: . on Apr 19, 2015, 07:19 PM
Quote from: Gudio on Apr 19, 2015, 01:09 PMStop repeating yourself. (http://forum.vc-mp.org/?topic=225.msg1173#msg1173)
You shouldn't really know what did I write here. The issue hasn't been solved yet, so it's pointless to translate bullshit that we are talking about. Mariu22S can't explain it in english properly, so I switched to polish to understand his issue again, as usual.

Well, if you want to speak in your native language. Why not use the PM system and then post the solution here :-\