SA-MP Forums Archive
Strange pickup bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Strange pickup bug (/showthread.php?tid=142914)



Strange pickup bug - SiJ - 20.04.2010

Hey,
When I reload my FS (OnFilterScriptExit callback has DestroyPickup) and pick up a pickup created by that FS it calls OnPlayerPickUpPickup with wrong pickupid (so I get wrong code executed for that pickup)


Re: Strange pickup bug - Rac3r - 20.04.2010

Unsure if it's related, but I broke our pickups the other day, it printed that the ID was 0, but really it was ID 1 (second pickup created).

pawn Код:
CreatePickup(2485,0,0.0,0.0,-20.0,STARTVWORLD_MIN);//dummy pickup

  CreatePickup(2485,1,246.4358,117.7225,1003.2188,STARTVWORLD_MIN);
  CreatePickup(1586,1,252.1006,117.4052,1002.5000,STARTVWORLD_MIN);
  CreatePickup(1518,1,258.5749,109.7042,1003.2188,STARTVWORLD_MIN);
  CreatePickup(2510,1,251.5251,112.1837,1003.2188,STARTVWORLD_MIN);
  CreatePickup(1277,1,240.4717,112.8771,1003.2188,STARTVWORLD_MIN);
  CreatePickup(1255,1,-1947.2568,258.2011,35.53095,STARTVWORLD_MIN);
Quote:

[22:28:37] [Pickup] ID: 32 NAME: Rac3r PICKUPID: 0
[22:29:08] [Pickup] ID: 32 NAME: Rac3r PICKUPID: 0

Really strange.

Just thought I'd add this to the mix. Hopefully it's a not completely unrelated.


Re: Strange pickup bug - Sew_Sumi - 24.04.2010

I don't see why it would really matter which ID it picks up, as your script should be tracking the pickup...


Re: Strange pickup bug - Simon - 24.04.2010

Pickup ID's are still bugged, simple gamemode with instructions on how to reproduce bug here:

http://sa-mp.pastebin.com/CZzWpMzi


Re: Strange pickup bug - Simon - 23.08.2010

Quote:
Originally Posted by Simon
Посмотреть сообщение
Pickup ID's are still bugged, simple gamemode with instructions on how to reproduce bug here:

http://sa-mp.pastebin.com/CZzWpMzi
Still bugged in 0.3b R2.