SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 27/12/2017, 03:00 PM   #1
Graber
Big Clucker
 
Graber's Avatar
 
Join Date: Mar 2013
Location: Germany
Posts: 113
Reputation: 125
Default Pickups outside normal map don't get created

Bug relating to 0.3.8 new objects was fixed in latest RCs. But still, pickups that are outside of the normal 4096 range won’t get created. Given the 0.3.8 update that will allow custom objects (and therefor, maps), it would only make sense to get the pickups fixed so scripters can take advantage of it.

An unofficial fix is already available, this proves the issue can be fixed.
Quote:
Originally Posted by ][Noname][ View Post
pickup coord stored in short int 16 bit value

Code:
float x;
short int savex=short int(x*8)
limit - (2^16)/8/2=65536/8/2=8192/2=4096

set limit to 32768 without changing structure format will change coord accuracy step to 1.0

test with limit 4096*2=8192
but accuracy - 0.25

PickupCoordTest.asi
source

I don't know is there any incompatible with other mods or what Kalcor will change

use only for testing!
Please!

Last edited by Graber; 05/01/2018 at 11:46 PM.
Graber is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [MySQL]Pickups Manager Module (Full Control on pickups) TitanX Filterscripts 5 13/03/2017 08:02 PM
pickups dont get created... niels44 Scripting Help 12 12/12/2012 08:16 PM
Pickups acting as other pickups [HELP] ShawtyyMacJunior Scripting Help 2 12/08/2012 12:50 PM
Pickups/3DTexts don't show on house pickups - Help ! Edvin Scripting Help 1 21/06/2012 08:50 PM
[URGENT] I need a list of pickups with thier ids The new 0.3c pickups AMEENAMEEN Scripting Help 1 14/04/2012 06:12 PM


All times are GMT. The time now is 05:21 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.