Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Out of Bounds Errors
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #11
RE: Out of Bounds Errors
Will you share your spawner? I want to see it working =D

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-17-2012 12:33 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #12
RE: Out of Bounds Errors
It's in the downloads section under functions Wink

I'm actually going to start looking at environ now I think... might take me a while to fix it though if i can't reproduce the problems

[Image: 2nis46r.jpg]
(This post was last modified: 08-17-2012 12:38 PM by Mordaunt.)
08-17-2012 12:37 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #13
RE: Out of Bounds Errors
(08-17-2012 12:37 PM)Mordaunt Wrote:  It's in the downloads section under functions Wink

I'm actually going to start looking at environ now I think... might take me a while to fix it though if i can't reproduce the problems
You could try work with the serv.rtime
I will test your spawner then, thanks buddy.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-17-2012 12:47 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #14
RE: Out of Bounds Errors
oh boy.. this is gonna be a big job, already found an issue with fatigue due to temperature.
Half the battle is remembering how I set all this, it's a big script

[Image: 2nis46r.jpg]
08-17-2012 12:50 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #15
RE: Out of Bounds Errors
Figured I'd post this just to illustrate what this script does...

Each blue x is a spawngem placed by the script, notice it doesn't place on rocks...
Sand & Snow gembits have lower distance figures so the spawns don't go too far from that terrain type.
Gembits in towns have the standard distance but a modified spawngroup to prevent bears and such from running loose in town, AS LONG AS THE TOWN IS GUARDED.

Water spawning active:
[Image: 28upv6b.png]

Water spawning disabled:
[Image: 1zoe0zt.png]

Actually just uploaded a new version (1.3) since yesterday with toggles to turn on/off spawning for : water, towns, sand, snow, even land altogether (incase you have a spawned land and just want to spawn water)

Just dawned one me you can now turn off water, spawn land.
Turn off land, turn on water, adjust your settings et voila!
[Image: 2pq9z10.png]

Less spawns at sea, but they still have distance roam between the points

[Image: 2nis46r.jpg]
(This post was last modified: 08-18-2012 07:16 AM by Mordaunt.)
08-18-2012 05:05 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #16
RE: Out of Bounds Errors
Mord, I tried it before in my home, but I'm not there now.
It's awesome man, congratulations.

Now my review about it:
- Respawns too much regular, same X position and increasing Y or Y and X++...
- Smalls areas don't spawned because of distances set in defs.
- Everything works perfectly.

I will try your new version when I come home.
And will try do something to identify the certain forest and try to scale it and then set the spawns.

Hope we will make the best spawner for sphere ever =D

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-18-2012 09:41 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #17
RE: Out of Bounds Errors
I am looking at tweaking settings on it, new npcs will always spawn from a gembit, thats the way everything works, the roam distance is set high to allow the spawns to move away from the gembit.

in v1.3 the roam distance is now tied to the gembit gap, so technically a spawn from one gembit should be able to roam as far as the next gembit which should get rid of any dead areas where there are no spawns. The only alternative would be more spawn points closer together while maintaining the same roam distance. This I think could create more lag, certainly more npcs.

I can add in settings to allow easier tweaking of the gembit timers, they are currently set to spawn anywher from 5 mins to 20 mins, though the first spawn from each gembit will appear when the function is initially run. I wouldn't recommend the bits spawn much faster during the initial population phase, this would most certainly cause lag. Slowing down the spawning would also cause problems for players hunting specific animals generated from the gembits.

The small area issue I am not sure how to fix, I was not aware that the gembits did not spawn at all, though I have found some that have spawned inside a building trapping all the spawns there in.
Given that the gembit generated are standard bits there is no issue in physically moving or removing them ingame if you come across a problematic one. Not ideal I know, it is something that I will have to think about.

I will make some changes to make it easier for the user to switch out settings in the script for v1.4, there is still going to be a bit of "hit and miss" in testing to see which settings will work best in it, probably not helped by the fact that I beleive sector.sleep will stop some of the npcs roaming to their full potential

[Image: 2nis46r.jpg]
08-18-2012 10:29 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #18
RE: Out of Bounds Errors
I understand it, sector.sleep is very difficult to understand, until today I don't understand it...
The small areas is because the spawnbit don't be generated inner it, so, a small desert areas don't get spawned. ( but I can talk this to you: it's very random and lucky to get spawn in these areas... using the map that I'm using, some very very small areas was spawned, but is luck, beacause the spawnbit was created inside it.

Give me time to refresh my mind and sunday I will back very inspirated hahahahahhah
I'm drunk now hahahahhahaha I like it
Don't worry about shit things maybe I said there.
I promisse you that we will make the best spawner and the best environment system (haha not too drunk maybe, I remember that we are working on it)

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-18-2012 03:42 PM
Find all posts by this user Like Post Quote this message in a reply
htid4life
Journeyman
*

Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2



Post: #19
RE: Out of Bounds Errors
so i did a test and set the gap at 10 works Smile did this for fun Lol

[Image: wvcoqa.png]

[Image: htid.jpg]
08-18-2012 11:44 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #20
RE: Out of Bounds Errors
LOL WTF BARBECUE HAHAHAHAHA

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-19-2012 02:55 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)