creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
keeping an eye on dbg: outs   
xan

xan
United States  


  7/13/2015

... maybe my topic posting spree will be over soon, maybe it won't. All I know is that "Docking Station" and "Creatures" are really bad words SEO-wise. (I searched here too.)

C3/DS: Is there a way to view the debug output (eg. dbg: outs) more than one line at a time? For more than one agent (I'm not sure if I'm approaching it entirely wrong as I can't even get anything relevant from my agent in the console)? In real time? With or without weird specific tools that hook directly into the windows or linux binary? Honestly, just an agent that displays just a few lines of it ingame would be enough, if nothing else?

It would make my, well, debugging a lot easier, but I can't find any information on how to do it.

 
Malkin

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  7/13/2015

Do you have the CAOS Debugger tool?

My TCR Norns
 
xan

xan



  7/13/2015

i do not! i also wasn't aware web archive had a cdn archive, even if it's stripped of files good to know.

where would I acquire this thing?

also, am I out of luck in terms of other ways of viewing dbg: outs? even if this does end up solving my problem, i'd be interested in novel ways of doing so.

 
Papriko
Peppery One

Papriko



  7/13/2015

The CAOS Doc wrote:
DBG: OUTS (command) value (string)
Send a string to the debug log - use DBG: POLL to retrieve.

DBG: POLL (command)
This takes all of the DBG: OUTV and DBG: OUTS output to date and writes it to the output stream.



That is all I could find. Maybe you should mess around a little bit with it, such as running dbg: poll in the ingame console or something like that...

If you want to take the output stream of your own agents' scripts, I am not entirely sure how that works. You miiight need to use the CAOS command (CAOS has a command called CAOS)...

Also, if you do not have it already, you should definitely get yourself a Categorical CAOS Documentation. The alphabetical one is kinda useless when you use Ctrl-F inside the categorical to find stuff...


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
xan

xan



  7/13/2015

Yeah, I already looked at the docs and played around. DBG: POLL isn't very useful because it only returns one line, and it doesn't seem to give anything output from my agents. Only what I've already fed it by putting DBG: OUTS "string" in the console. Which implies to me that it's scope-limited...
 
Papriko
Peppery One

Papriko



  7/13/2015

I think you mentioned linux? Maybe you could use the Monitor from the Linux Console Tools then. They are not meddling with the binary as you have said, they merely use an interface the game offers anyways, via TCP port 20001 (and 20002, 20003 and so on if you start multiple instances of the game at once).

Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
xan

xan



  7/13/2015

hmm ... I wonder if it's only the Linux port that offers that interface? time to experiment...

e: I got a copy of the caos debugger going, seems to work fine. I'm still going to be experimenting with netcat on cygwin and 'porting' the linux scripts to it to see if it does anything, though.

 
Malkin

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  7/13/2015

Have you tried this 2007 archive of the Debugger?

My TCR Norns
 
xan

xan



  7/13/2015  1

@Malkin: I managed to find a copy at TreeSprite's. :)
 


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
1 online
Kodathekobold
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