Jump to content

Pickup disappear in interior


Gordon_G

Recommended Posts

Hello. I've a big issue with pickup.

So, my resource create some pickups in the interior 3 and dim 1. I can see them properly (pic 1) :

877754111.png

Then, I go away, always in the same int and dim (pic 2) :

123232292.png

And, when I come back in the first place (pic 3) :

892875213.png

and I must restart de resource to see pickups back.

It's really strange. I don't think it's my script's problem 'cause it works fine in the first case. However, this is my script for only one pickup :

-- SERVER SIDE

local x,y,z,int,dim = 355.87365722656, 151.42892456055, 1025.7890625, 3, 1
thePickup = createPickup( x, y, z, 3, 1242 )
setElementInterior( thePickup, int, x, y, z ) setElementDimension( thePickup, dim )

 

Edited by Gordon_G
Link to comment

How did you come back? Via warp? There are a number of bugs that linked with warping.

If it so, try another way.

Setting your interior and dimension through standart admin panel causes some issues sometimes.

Sounds strange, but it's true.

Edited by f8upd8
Link to comment
11 hours ago, f8upd8 said:

How did you come back? Via warp? There are a number of bugs that linked with warping.

If it so, try another way.

Setting your interior and dimension through standart admin panel causes some issues sometimes.

Sounds strange, but it's true.

No, by walking, I don't change my interior or dimension between pic 1 and pic 2.

2 hours ago, f8upd8 said:

LOL. I found error. "int" can't be used as variable.

It can't be the problem 'cause in pic 1 I see correctly the pickup.

5 hours ago, Dimos7 said:

-- SERVER SIDE

local x,y,z,int,dim = 355.87365722656, 151.42892456055, 1025.7890625, 3, 1
thePickup = createPickup( x, y, z, 3, 1242 )
setElementInterior( thePickup, int) setElementDimension( thePickup, dim )

try it like that 

 

I've already tried, same problem.

Edited by Gordon_G
Link to comment
18 hours ago, SuperCroz said:

Does it disappear after you hit/use it or just by itself without any hitting since the moment of creation?

I don't hit the pickup, I juste move.

 

21 hours ago, TheMOG said:

local X, Y, Z = 355.87365722656, 151.42892456055, 1025.7890625
local createdPickup = createPickup(X,Y,Z,3,0)
setElementInterior(createdPickup,3)
setElementDimension(createdPickup,1)

 

same prob.

 

22 hours ago, pa3ck said:

How far do you go? Do you go far enough to stream out the pickup?

I think it's that yes. But how can I improve the stream distance ?

Link to comment

Well the distance doesn't matter. Once it streams out, It should stream in again when you are close enough. I don't have such problems tho in my bank system. But Its good to check if the interior of the pickup and the dimensions are the same as yours when it disappears also check logs.Also try it outside an interior to check if that also happens.

Link to comment
1 hour ago, Gordon_G said:

@SuperCroz well, when I get out from the interior and come back to the pickup pos I can see the pickup back.

You said  "and I must restart de resource to see pickups back". So this happening unpredictable?

Or i misunderstood? If it just moving to another interior, then... If script is really clear, there is definitely some bug and you should report

 

Edited by f8upd8
Link to comment

@f8upd8 this is what I've understande until now :

- The pickup disappear when I'm going to far from it.

- The pickup appear-back when I change my interior to 0 for exemple and come back to interior 3

- The pickup appear-back when I restart the resource if I'm near from him

@SuperCroz - I don't have this prob' when the pickup's interior is 0

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...