DSA: dynamic JUMP (CSBwin)

Dead posts cluttering up the front page of certain non-RTC forums are kept here. Threads have the forum subject attached, except custom dungeon threads (which are obvious)
Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

DSA: dynamic JUMP (CSBwin)

Post by Zyx »

Could you add J* and G* commands where you jump to the state given by the stack?

ie: LA L3 &* LB &+ &-1 J*
will jump to the state 3*A+B-1 (at S0)
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

The olde 'Computed GOTO', heh? Sounds like
fun. You'll have it tomorrow.
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

10 Do code
20 Zyx likes
30 Zyx needs more stuff
40 Goto 10

: )
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

Now we just need self-modifying, self-replicating DSAs... muahaha!
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Hasn't there been certain sci-fi films about this technology? *runs and hides after making sure arnold is still in calefornia governatatating*
User avatar
mikko
Craftsman
Posts: 102
Joined: Sun Jan 15, 2006 2:42 pm
Location: Helsinki, Finland

Post by mikko »

DSAs will take over the defense networks and start a nuclear war? Then four brave adventurers shall save whatever is left.. :shock:
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

self-modifying, self-replicating DSAs
I had contemplated using the letters A, C, G, and T
to encode DSAs. I decided it was a bit too obvious.
User avatar
Adamo
Italodance spammer
Posts: 1534
Joined: Fri Apr 22, 2005 11:59 am
Location: Poland
Contact:

Post by Adamo »

Mikko, it would be possible to make a post-nuclear DM scenario with CSbuild & ADGE (no magic, guns and monsters like in Hired Guns, etc). But it would be a LOT of work, especially with replacing the graphics (100 % of them, I guess) and changing object`s functions.
Spoiler
(\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/)
Spoiler
(@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@)
Spoiler
(>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<)
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

CSBwin-CSBuild.zip has the lastest version with the
computed GOTO. J*/G* ( messageType state . . . ),
almost like you specified but with the message type
parameter thrown in. It is untested so be careful
and quick to report bugs.

Also, I fixed the automatic increment of VITALITY.
It was caused by the feeding filter. The original
subroutine that incremented attributes divided the
increment by two and then added one under certain
circumstances. 0/2+1 = 1. It was not expecting to
be asked to increment by zero, I guess. I added a
quick exit if the increment is zero.
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

thank you. Could you add a way to retrieve the alternate graphic number of a monster, for example with &Monster@?
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

retrieve the alternate graphic number of a monster, for example with &Monster@
Done in new CSBwin-CSBuild.zip.

Also &Monster!

So you can change a monster's graphics by
casting a spell. Perhaps a worm
could become a butterfly.

Documentation also updated.
Post Reply