Gameware Development
  Gameware Creature Labs Shop Forums

Go Back  Gameware Development Forums > Creatures Forums > Creatures Chat
User Name
Password
Register FAQ Members List Calendar New posts


Reply
Thread Tools Search this Thread Display Modes
  #1  
Old 27-03-2007, 03:34 AM
Vampess's Avatar
Vampess Vampess is offline
Mattoid
 
Join Date: Jun 2006
Posts: 148
Vampess is on a distinguished road
Slow worlds

Anyone that ever ran a WR in DS/docked, and has experienced a slow down over a long period of time, read on.

I run an ettin wolfling run for awhile now, several worlds have crashed, but most existed for over 200 hours. What I noticed each time is that the world slowed down, as well as saving and loading, up to the point loading and saving took a literal half an hour.

For a long time, I've been under the impression it was the amount of histories saved, and as my recent world slowed down to a crawl again, I decided to delete all the histories, to see it if it would solve the long loading/saving time. After quite some work, I came to the conclusion, that whatever it was, it weren't the histories.

As I learned more CAOS over the months, I remembered reading about the agent profiler(DBG: PROF). I ran it, and it appeared the bramboo berries were taking up alot more resources then they should. After reinjecting the bramboo script, 4000 agents were deleted.

I've seen some error with the bramboo script when autokill was off, and I decided to investigate it. What happend was that a certain variable in some bramboo berries wasn't set right, killing the cane, and apparently killing the berries as well, but in fact the berries weren't killed, but sort of lingered in limbo. Confirmation of this were several pictures with misplaced bramboo in them, and suddenly falling petals, seemingly from nowhere.

My guess is, that while the autokill kills the cane, it somehow doesn't totally kill agents attached to it.

Another thing that I noticed before was grazer waste having a collision, but the script not firing. There were about 80 of these in my world, and I think the lack of the inst command and the heavy lag in the world, the scripts would sometime not activate, leaving even more agents in the world. But I haven't looked into this extensively.


After reinjecting the bramboo, the saving and loading time went down from a half and hour to less then a minute (and alot less memory), I reinjected the fixed bramboo scripted, and tested it 30 hours without autokill on. I watched the agent count and it didn't went noticably up, and it would go down to around when I reinjected.

Ofcourse here is the updated script, replace the one in your Docking Station\Bootstrap\010 Docking Station folder and just start a new world or type

Quote:
ject "bramboo.cos" 7

It's just the same bramboo, but if you are running a long wolfling run (and have no 3rd party agents you're uncertain about), this should save you alot of time, annoyance, and frame rate dropping in the long run
Reply With Quote
  #2  
Old 27-03-2007, 11:02 AM
Zzzzoot's Avatar
Zzzzoot Zzzzoot is offline
Making CAOS out of chaos
 
Join Date: Jul 2004
Location: That's for me to know and you to wonder about.
Posts: 1,095
Zzzzoot is on a distinguished road
This will be SO useful during the GWR
__________________
Male
My site


Reply With Quote
  #3  
Old 27-03-2007, 11:13 AM
Lone--Wanderer's Avatar
Lone--Wanderer Lone--Wanderer is offline
Spirit of the Ice
 
Join Date: Jul 2006
Posts: 1,685
Lone--Wanderer is an unknown quantity at this point
I delete bramboo the moment I start a world that isn't based in the Meso. Just takes up too much space. And C12DS is too massive to allow any extra agents onboard.
__________________
~Fly through a dream~
Reply With Quote
  #4  
Old 27-03-2007, 02:22 PM
TreeSprite's Avatar
TreeSprite TreeSprite is offline
The Nymph
 
Join Date: Dec 2003
Location: Illinois, U.S.A.
Posts: 1,111
TreeSprite is on a distinguished road
Thanks for the info, and the script Vampess! I'll check your code later today. This will indeed be useful for the GWR if what you say is true, and your code checks out.
__________________
"What is the world coming to when people find something they don't understand and don't start poking it to see what it does?"
-Danikat
Reply With Quote
  #5  
Old 27-03-2007, 04:13 PM
Daikaze's Avatar
Daikaze Daikaze is offline
Nornologist
 
Join Date: Dec 2006
Location: In Albia
Posts: 331
Daikaze is on a distinguished road
I started using it last night, so far so good. I think thsi will be very helpful for the GWR, in the last one I had to remake my world several times.
__________________
Are you going to participate in the GWR 2.0 over at Nimandir's forums? We'd be happy to see you join us. http://creatures.imperialthrone.com/gwr/
Reply With Quote
  #6  
Old 28-03-2007, 01:32 PM
Vampess's Avatar
Vampess Vampess is offline
Mattoid
 
Join Date: Jun 2006
Posts: 148
Vampess is on a distinguished road
I've ran the world for 70 hours now, the agent count remains steady around 1200 to 1500. An added effect I noticed is not having to replant the bramboo, so that saves some work as well.

The grazer waste collision script not firing is not related to lag, nor does it cause it. So I'm leaving that alone

As for the script testing true, ofcourse it will, otherwise I wouldn't have offered it. Furthermore I had a huge "I wish I'd known that earlier" feeling, because then I wouldn't have thought that even a gig ram wasn't sufficient, and I would've run my wolfling run alot more.

I couldn't start it up, turn wolf control on, and walk away, I had to wait for the game to load. So I only ran it when I had a couple of hours, and I thought of it in time. Also, if I'd run it, my pc would almost go as slow as DS itself, but now I can do other stuff again

So that's why I put it up; because it makes my creatures experience alot better, and CC shouldn't miss out
Reply With Quote
  #7  
Old 29-03-2007, 11:56 AM
TreeSprite's Avatar
TreeSprite TreeSprite is offline
The Nymph
 
Join Date: Dec 2003
Location: Illinois, U.S.A.
Posts: 1,111
TreeSprite is on a distinguished road
Well, I've tested it now... and... IT'S AWESOME! *Bows in thankfulness to Vampess*
__________________
"What is the world coming to when people find something they don't understand and don't start poking it to see what it does?"
-Danikat
Reply With Quote
  #8  
Old 01-04-2007, 01:56 PM
Vampess's Avatar
Vampess Vampess is offline
Mattoid
 
Join Date: Jun 2006
Posts: 148
Vampess is on a distinguished road
Thanks for the feedback TreeSprite

I do have to say I expected more people to be interested in this.. It's not only WRs that slow down, but any world that's old. I like old worlds because they have mutated bacteria, alot of creature histories, etcera.

Ofcourse, if anyone wants to spread the word about this updated script, I would appreciate it very much, as I think it's very important (the slowdowns annoyed me to quite some height) to have

Also it's important to know that autokill doesn't kill agents flying relative to another, even though it looks that way.
Reply With Quote
  #9  
Old 01-04-2007, 10:40 PM
Jelisa_j's Avatar
Jelisa_j Jelisa_j is offline
Purple Dragon
 
Join Date: Mar 2004
Location: Salt Lake City, Utah
Posts: 959
Jelisa_j is on a distinguished road
I don't think it would help just with WRs, but regular runs as well
I downloaded it and will be using in all mu futue worlds.
I might even try injecting it. I've only done injecting with caos once before.

Thank you Vampess!
__________________
jess
Reply With Quote
  #10  
Old 05-04-2007, 02:41 AM
malkin's Avatar
malkin malkin is online now
Provost
 
Join Date: Dec 2003
Posts: 1,341
malkin is on a distinguished road
Thanks for this script, Vampess! I've put it on the Cwiki under the entry for Bramboo.
__________________


The CCSF needs YOU!

Please sign up to be a part of the CCSF team!

Creatures Community Spirit Festival 2006
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 11:35 PM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
Copyright 2004 Gameware Development Ltd.