Gordon_G Posted July 20, 2017 Share Posted July 20, 2017 (edited) 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) : Then, I go away, always in the same int and dim (pic 2) : And, when I come back in the first place (pic 3) : 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 July 20, 2017 by Gordon_G Link to comment
f8upd8 Posted July 21, 2017 Share Posted July 21, 2017 (edited) 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 July 21, 2017 by f8upd8 Link to comment
Dimos7 Posted July 21, 2017 Share Posted July 21, 2017 -- 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 Link to comment
f8upd8 Posted July 21, 2017 Share Posted July 21, 2017 LOL. I found error. "int" can't be used as variable. Link to comment
Gordon_G Posted July 21, 2017 Author Share Posted July 21, 2017 (edited) 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 July 21, 2017 by Gordon_G Link to comment
pa3ck Posted July 21, 2017 Share Posted July 21, 2017 How far do you go? Do you go far enough to stream out the pickup? Link to comment
itHyperoX Posted July 21, 2017 Share Posted July 21, 2017 local X, Y, Z = 355.87365722656, 151.42892456055, 1025.7890625 local createdPickup = createPickup(X,Y,Z,3,0) setElementInterior(createdPickup,3) setElementDimension(createdPickup,1) Link to comment
_DrXenon Posted July 21, 2017 Share Posted July 21, 2017 Does it disappear after you hit/use it or just by itself without any hitting since the moment of creation? Link to comment
Gordon_G Posted July 22, 2017 Author Share Posted July 22, 2017 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
_DrXenon Posted July 22, 2017 Share Posted July 22, 2017 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
Gordon_G Posted July 22, 2017 Author Share Posted July 22, 2017 @SuperCroz well, when I get out from the interior and come back to the pickup pos I can see the pickup back. Link to comment
f8upd8 Posted July 22, 2017 Share Posted July 22, 2017 (edited) 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 July 22, 2017 by f8upd8 Link to comment
Gordon_G Posted July 22, 2017 Author Share Posted July 22, 2017 @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
Gordon_G Posted July 22, 2017 Author Share Posted July 22, 2017 *up* I made a video to show you the bug : Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now