Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: DFCom - Utility (Beta) 1.2 Updated April 13  (Read 3279 times)

Zep--

  • Bay Watcher
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #15 on: April 11, 2008, 03:56:00 pm »

new version up, see first post for update text...

Thx,
Zep--

Logged

Kogan Loloklam

  • Bay Watcher
  • I'm suffering from an acute case of Hominini Terravitae Biologis. Keep your distance!
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #16 on: April 11, 2008, 09:44:00 pm »

There is still something wonkey going on. Here's a 300ish line command, creating an entire "entry" for a fortress.

I PMed you the entire text of the action, so you can take a look at it yourself. I imagine if I work on better placement of the pause, it will work, but that doesn't identify the problem very well.

You will also see why I think multipliers would be good too.

{DOWN**12}
is so much easier then
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}

;)

Logged
... if someone dies TOUGH LUCK. YOU SHOULD HAVE PAYED ATTENTION DURING ALL THE DAMNED DODGING DEMONSTRATIONS!

Preserve the Toad.
Drag the world out of the Dark age of Gaming kicking and screaming!

Zep--

  • Bay Watcher
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #17 on: April 11, 2008, 09:49:00 pm »

quote:
Originally posted by Kogan Loloklam:
<STRONG>There is still something wonkey going on. Here's a 300ish line command, creating an entire "entry" for a fortress.

I PMed you the entire text of the action, so you can take a look at it yourself. I imagine if I work on better placement of the pause, it will work, but that doesn't identify the problem very well.

You will also see why I think multipliers would be good too.

{DOWN**12}
is so much easier then
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}

 ;)</STRONG>


that is already in there...look at the new ini file

{DOWN 12}
works

I cant find out how to look at an IM here...can u give me a clue?

Logged

Kogan Loloklam

  • Bay Watcher
  • I'm suffering from an acute case of Hominini Terravitae Biologis. Keep your distance!
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #18 on: April 11, 2008, 09:55:00 pm »

Thanks for the down 12, forgot to check the old Ini file, I was so busy testing the {Pause} to see if it worked   ;)

(Edit: For checking private messages press this button:

)

[ April 11, 2008: Message edited by: Kogan Loloklam ]

Logged
... if someone dies TOUGH LUCK. YOU SHOULD HAVE PAYED ATTENTION DURING ALL THE DAMNED DODGING DEMONSTRATIONS!

Preserve the Toad.
Drag the world out of the Dark age of Gaming kicking and screaming!

Zep--

  • Bay Watcher
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #19 on: April 11, 2008, 10:02:00 pm »

quote:
Originally posted by Kogan Loloklam:
<STRONG>Thanks for the down 12, forgot to check the old Ini file, I was so busy testing the {Pause} to see if it worked    ;)</STRONG>

I got your script to work by inserting some {pause}'s every 20 lines or so.

perhaps you need to increase your timer count

when i ran it

I got 3 rooms, an entry way with 4 pillars and some channels, a 5x4 room with some stairs, and a large room with 2 stairs.

Thx,
Zep--

[ April 11, 2008: Message edited by: Zep-- ]

Logged

Zep--

  • Bay Watcher
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #20 on: April 11, 2008, 10:08:00 pm »

quote:
Originally posted by Kogan Loloklam:
<STRONG>Thanks for the down 12, forgot to check the old Ini file, I was so busy testing the {Pause} to see if it worked    :)

Thx,
Zep--

Logged

Kogan Loloklam

  • Bay Watcher
  • I'm suffering from an acute case of Hominini Terravitae Biologis. Keep your distance!
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #21 on: April 11, 2008, 10:59:00 pm »

So do you know what caused the weirdness this time?
Logged
... if someone dies TOUGH LUCK. YOU SHOULD HAVE PAYED ATTENTION DURING ALL THE DAMNED DODGING DEMONSTRATIONS!

Preserve the Toad.
Drag the world out of the Dark age of Gaming kicking and screaming!

Zep--

  • Bay Watcher
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #22 on: April 12, 2008, 06:50:00 am »

quote:
Originally posted by Kogan Loloklam:
<STRONG>So do you know what caused the weirdness this time?</STRONG>

If by weirdness you mean it bombs out on large sets of commands, that is normal, but can be worked around by inserting {PAUSE}'s to give dwarf fortress time to empty the buffer before the next group of commands are sent.

Computers can only accept so many commands before the keyboard buffer becomes full. Also the pause time you set has to be a large enough time for Dwarf Fortress to process what is in the buffer.

I've take the 5x5 room, set it to repeat 25 times with a pause of 500 and all 25 rooms built no problem. This one from the ini...
[D-Rr-Room SD 5x5]
{REPEAT}
{ENTER}
{DOWN 4}
{RIGHT 4}
{ENTER}
{LEFT 2}
{DOWN}
{ENTER 2}
{DOWN}
{PAUSE}
{RIGHT 4}
{UP 6}


if you are having some other weirdness..then please explain.

Also..did you know you can send Z level commands to make multi-level rooms?


Thx,
Zep--

[ April 12, 2008: Message edited by: Zep-- ]

Logged

Zep--

  • Bay Watcher
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #23 on: April 12, 2008, 08:49:00 am »

Also something to remember
{DOWN 24}
is not 1 command, it's actually 24 commands as far as the program is concerned, so if you use anything large like that, be sure to insert a {PAUSE} tag after it.

Thx,
Zep--

Logged

Zep--

  • Bay Watcher
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #24 on: April 12, 2008, 09:10:00 am »

Update, added some screenshots to show what DFCom looks like to those not sure how it looks without downloading.

Thx,
Zep--

Logged

Kogan Loloklam

  • Bay Watcher
  • I'm suffering from an acute case of Hominini Terravitae Biologis. Keep your distance!
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #25 on: April 12, 2008, 01:26:00 pm »

Yep, I do:
{ENTER} {UP} {ENTER}  

>

h {UP} {LEFT} {LEFT} {ENTER} {DOWN} {DOWN} {DOWN} {RIGHT} {RIGHT} {RIGHT} {RIGHT} {ENTER} i {UP}

So the weirdness was because there wasn't enough of a pause to clean out the buffer, and when it reached the command of {pause}, it halted sending information to the keyboard buffer, but then resumed, causing some of the commands to get into the barely empty buffer, filling it up again, until the next pause where it cleared out more of the buffer allowing other commands to get in?

That would explain what happened  ;)

Logged
... if someone dies TOUGH LUCK. YOU SHOULD HAVE PAYED ATTENTION DURING ALL THE DAMNED DODGING DEMONSTRATIONS!

Preserve the Toad.
Drag the world out of the Dark age of Gaming kicking and screaming!

Zep--

  • Bay Watcher
    • View Profile
Re: DFCom - Utility (Beta) 1.2 Updated April 13
« Reply #26 on: April 13, 2008, 06:45:00 pm »

New version 1.2 April 13. See first post for update text.

Thx,
Zep--

Logged
Pages: 1 [2]