creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Help Forum
old
RACE and PACE?   
Malkin

Malkin
Australia  
Manager


 visit Malkin's website: Malkin's page at CWiki
  5/15/2013

How would I use RACE or PACE to work out how efficiently my game is running?

My TCR Norns
 
ylukyun
Patient Pirate

ylukyun

Manager



  5/15/2013  1

PACE is just "outv pace" at the command line. The lower the number, the more efficient. It should be lower than 1. If it's not, you probably have a rogue script somewhere.
 
Malkin

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  5/15/2013

Well, you know how Mac engines are supposedly slower than others? 1.28. :)

Is there a way to get that kind of stuff in a .txt file, at a regular interval?


My TCR Norns
 
ylukyun
Patient Pirate

ylukyun

Manager



  5/15/2013

There probably is a way of using FILE OOPE and a timer script.
 
Liam

Liam


 visit Liam's website: Spellhold Studios
  5/15/2013  1

CTRL+SHIFT+P will output this value in a window to the lower left of the screen. Pretty useful.

- Liam / K'aeloree

Spellhold Studios, a Baldur's Gate II, Neverwinter Nights and Oblivion Modding Community

 
Papriko
Peppery One

Papriko



  5/15/2013  2

Let's see.....

file oope 0 "pace_record.txt" 1
sets va00 rtif rtim "%A %x %X"
adds va00 ": "
adds va00 vtos pace
outs va00
outs ""
file oclo


In this example I formatted the string: weekday month/day/year hour:minute:second pace. When you stuff this into a timer script, you should get a wonderful output like
Wednesday 05/15/13 11:52:57: 0.414000
and afterwards an empty line to seperate individual outputs. The append-flag of FILE OOPE is set to 1, so it will create the file if it not exists and add to it when it does (rather than overwriting it).

Also, it'll write the file to the local world journal folder, not your global one. Just in case you don't find it.

Another note: for the timer script you should rely on real time (see RTIM), not on ingame ticks, in case you wanna run this in a wolfing run. You might end up with some spam otherwise...


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Malkin

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  5/15/2013

Wow, thanks, this is very interesting stuff! :D

My TCR Norns
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki