So I love the concept and most of it works great but the system for spawning the tents and the fire cause an issue. I ran it for about 6 hours in my server and it had created over 2000 server sided objects. I spent the time today reworking it to spawn the items client side and that issues went away. I just wanted you to be aware of what can happen on a high population server.
thank you
can you make a pr or can you tell me what you do ,so i can adapt it to improve the script.
sorry my English skill is low
So I used Renewed-Lib to spawn in the items but the best way to do it is have each client spawn the item when they are close to the area. Right now everything is loading multiple times on the server for each player that joins. You can use something like ox_lib for points to spawn the items. You can also just save the stash name to the item and add the metadata to the item when you pick it up giving the ability to have the storage stay with the tent. I can send you what I did but you will need renewed lib with it.
it will be nice if i can make it by using ox_lib.
I didnāt know much about metadata,
if you send what you do it would be helpful for the script to have some optimize and i will learn something new for me to improve this and another project that I plan to make.
Thank you very much
hey, thatās awesome, but Iād love to see it ready for qb-inventory, maybe you can keep that in mind for a future update, since I donāt use ox_inventoryā¦
Hi, thank you for interested in my script.
Sad to say, but i didnāt know anything about QB Core, maybe you can use qbox, i have read some of qbox doc and they say every qb core resources can use with qbox.
But anyway i will try to make it use with every framework
Dont use Qbcore and qb inventory.
Iām new at this, I try everything I can
Framework: Qbox
inventory: OX Inventory ( built in with QBOX)
Target System: OX
your welcome to join qboxās server and get support and recommendations
Update 1.3
Thank Geerdodagr8 for help me make this resource optimize
- Change Raycast place object function to Renewed-Lib place object function
- Add Heatzone use with esx_status and weathersync script
- Add function to handle negative effect from cold Temperature
Hello i have this problem maybe its the new esx?
SCRIPT ERROR: @esx_status/client/classes/status.lua:29: attempt to perform arithmetic on a nil value (field āvalā)^7
^3> add^7 (^5@esx_status/client/classes/status.lua^7:29)
^3> handler^7 (^5@esx_status/client/main.lua^7:115)
^3> fn^7 (^5@asylum_camping/heatzone.lua^7:29)
^1SCRIPT ERROR: @esx_status/client/classes/status.lua:29: attempt to perform arithmetic on a nil value (field āvalā)^7
^3> add^7 (^5@esx_status/client/classes/status.lua^7:29)
^3> handler^7 (^5@esx_status/client/main.lua^7:115)
^3> fn^7 (^5@asylum_camping/heatzone.lua^7:29)
^1SCRIPT ERROR: @esx_status/client/classes/status.lua:29: attempt to perform arithmetic on a nil value (field āvalā)^7
^3> add^7 (^5@esx_status/client/classes/status.lua^7:29)
^3> handler^7 (^5@esx_status/client/main.lua^7:115)
^3> fn^7 (^5@asylum_camping/heatzone.lua^7:29)
Check the status name in your basicneed find register status event make sure you add register status ācoldā in there.
Bad news is my laptop is burning i have to save up and buy a new one.
So NEW update to fix the issue will be stop
And i will continue this project when i got my new laptop
Can I add a respawn point to save? Used in zombie suits
In next update. i have done that before my laptop burn, ssd is safe
does anyone have a list of items for the script for ox inventory
like ? foods ??
some new BIG Update:
Rework the whole script.
Add UI for Cooking
optimize and improve performance
Where can i get GES-Temperature? Theres is no link
I forgot to add link in Special Thank
A few bug in camping script i will fix it later
Also could you make ready to plug items for ox inv and images? I mean ingredients? That could be nice. Also i got this