Posts: 577
Threads: 183
Joined: Jun 2013
Reputation:
0
Hey guys, I was wondering how does this system works
I mean items are placed all over SA, I doubt that the scripter actually saved every pos
So from your experience, how does it work?
Posts: 1,076
Threads: 70
Joined: Jul 2016
Reputation:
0
You don't have to save them, just loop through them
Posts: 1,506
Threads: 13
Joined: Jun 2015
Not /save but made a command which is similar like /save, like /add (object type) (quantity) and it adds everything in the database and when the server restarts, it loads item from there.
Posts: 4,759
Threads: 33
Joined: Dec 2013
Reputation:
0
Most likely manually with a hard coded command.
You can do it with an automated system too, but some objects may appear in unsuitable places. Some extra code could help you avoid that, but depends on how you decide to do it.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
Yeah I gotta say, if you want logically placed items, then you'll have to do it yourself. Otherwise you just end up with players having no idea where to look for certain items and items being in completely random places. (Obviously)
It's very easy to tell when a server uses automatic loot spawns too. So when I see a server that actually has manually selected coordinates, I find it much more attractive.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
No, I'm talking about item spawns...