AdomBot and SoO

196 views
Skip to first unread message

Panteleev Vladimir

unread,
Nov 15, 2003, 12:23:32 PM11/15/03
to
All right... I deeply thought about how to implement tiles in AdomBot
so it won't confuse magic rays and flying arrows with stuff lying on
the ground, and in the same time distinguish between items that have
same characters and colors, and how to make AdomBot run on Windows
95/98/Me. So, I sentenced the Windows beta4 ADOM executable for
disassembly, and will be directly hacking into ADOM's memory. This will
mean that future versions of AdomBot will run only with the Windows
version. Nevertheless, I'll do the best to compensate the lost
advantages of the DOS and Linux (+AdomSage) versions. The scripting
language is pretty well implemented, and it can be used to create a
fully mature bot. AdomBot can retreive most important information, and
commands can be sent via the "SendKeys" sub. I've also included a bunch
of other programs: MonsterDex (newer version) with lots of information
about monsters (items may also be added), and Conway, yet another
good (IMHO) herb growth pattern simulator. All this in a zipped
(GeoCities doesn't allow EXEs) installation package. I'll upload this
version tonight if all goes well.

Below is some stuff I dug up about the RRI & SoO, so here's some
spoiler space.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

Once again about the Red Rooster Inn:
I believe it is time to flush all doubts and rumors about this topic
far, far away. After examining the problem, here's what I found: In
the DOS and Linux executables, the following strings are present
besides those shown when trying to read the weird tome:

"This book is filled with strange texts written in weird letters."
"The tome seems to contain strange tunes you don't understand."
"The text contains a strange collectionof tunes, songs and
instrumental pieces."
"It seems to be some kind of code, hinting at some ancient powerful
magic, a scroll or something like that..."
(you) "fail to decipher it."
* "ABEF0AHGDJDJSHJGSJXKSSJHJKSHJGK572JDJHGSKJ32KDJKHS
LK0923JDJHGS6DJKGDSL89SKJHSLKJ3SLKJD2QWLKJNXLD4DLKJ
SHDJSDGCBJD4KDHXJH7DKJHDJH9DKJHDKH9DHGDG6KDJHDKHD"
* (You) "manage to decipher the secret."
* "It describes a means to find the scroll of omnipotence."
* (You) "have to %s to find it."

The bitty part is that the strings marked by asterisks are missing
from the Windows executable. This could mean that the comiler's
smart-linking removed those strings, as they weren't used anywhere in
the program.
Anyway, I've conducted an analysis of the coded string. Here's the
character frequency table:
------------------------------------------------
Alphabetically By frequence
48 30(0): 2 74 4A(J): 26
50 32(2): 4 68 44(D): 23
51 33(3): 3 75 4B(K): 19
52 34(4): 2 72 48(H): 18
53 35(5): 1 83 53(S): 14
54 36(6): 2 71 47(G): 9
55 37(7): 2 76 4C(L): 7
56 38(8): 1 50 32(2): 4
57 39(9): 4 57 39(9): 4
65 41(A): 2 51 33(3): 3
66 42(B): 2 88 58(X): 3
67 43(C): 1 55 37(7): 2
68 44(D): 23 65 41(A): 2
69 45(E): 1 54 36(6): 2
70 46(F): 1 66 42(B): 2
71 47(G): 9 48 30(0): 2
72 48(H): 18 52 34(4): 2
74 4A(J): 26 67 43(C): 1
75 4B(K): 19 78 4E(N): 1
76 4C(L): 7 81 51(Q): 1
78 4E(N): 1 56 38(8): 1
81 51(Q): 1 87 57(W): 1
83 53(S): 14 53 35(5): 1
87 57(W): 1 69 45(E): 1
88 58(X): 3 70 46(F): 1
------------------------------------------------
Here's an analysis of an uppercased fragment from "Harry Potter and
the Prisoner of Azkaban":
------------------------------------------------
Alphabetically By frequence
32 20( ):236 32 20( ):236
39 27('): 5 69 45(E):127
44 2C(,): 23 84 54(T): 94
46 2E(.): 9 65 41(A): 84
65 41(A): 84 82 52(R): 80
66 42(B): 20 72 48(H): 74
67 43(C): 23 79 4F(O): 73
68 44(D): 58 78 4E(N): 67
69 45(E):127 83 53(S): 62
70 46(F): 26 68 44(D): 58
71 47(G): 11 73 49(I): 57
72 48(H): 74 76 4C(L): 47
73 49(I): 57 85 55(U): 39
74 4A(J): 1 89 59(Y): 37
75 4B(K): 9 70 46(F): 26
76 4C(L): 47 87 57(W): 25
77 4D(M): 22 44 2C(,): 23
78 4E(N): 67 67 43(C): 23
79 4F(O): 73 77 4D(M): 22
80 50(P): 17 66 42(B): 20
81 51(Q): 4 80 50(P): 17
82 52(R): 80 86 56(V): 15
83 53(S): 62 71 47(G): 11
84 54(T): 94 46 2E(.): 9
85 55(U): 39 75 4B(K): 9
86 56(V): 15 39 27('): 5
87 57(W): 25 81 51(Q): 4
89 59(Y): 37 90 5A(Z): 2
90 5A(Z): 2 74 4A(J): 1
------------------------------------------------
As you can see, the space character is roughly dwice more frequent
than the letter "E". We can't see no similar pattern in the encoded
string. One curious thing is, though, there is a total 25 characters
encountered, which is close to 26, the number of letters in the
English alphabet.

There are also two strings after the item names list: "scroll of
omnipotence" and "ancient scroll". Nevertheless, these are not part
of a valid item entry, and are not referenced anywhere in the file.
The first string is referenced by a pointer after the item list,
however the only meaning of that pointer seems to be to keep the
compiler from ignoring those strings.

The following strings were also found:
"You read the scroll of omnipotence."
"Immediately you realize that this was a big mistake as you are not
prepared for the wave of power that suddenly floats your body. You
are ripped to pieces almost instantly!"
"ripped to pieces by trying to claim power not meant for %s"
(death reason)
"As you read the scroll you suddenly feel great power surging through
your body. You feel invincible and your abilities are increased by
enourmous amounts! Now you are a true champion of %s!"
The following strings also do not seem to have any references except
for some "anchors" after the pointer list of deity names. As for the
volcano, the only thing about it is that it is a wilderness map
element. It looks like a red exclamation sign, but so do map elements
that do not exist. Forcing one onto the map crashes the game when
stepping on it or trying to enter it (">").

This concludes my post for today. Maybe the next post we'll discuss
the mystery of the dwarven elder's twin.
Stay tuned >:]

Janek Kozicki

unread,
Nov 15, 2003, 5:21:41 PM11/15/03
to
Panteleev Vladimir said: (by the date of 15 Nov 2003 09:23:32 -0800)

> "It seems to be some kind of code, hinting at some ancient powerful
> magic, a scroll or something like that..."
> (you) "fail to decipher it."
> * "ABEF0AHGDJDJSHJGSJXKSSJHJKSHJGK572JDJHGSKJ32KDJKHS
> LK0923JDJHGS6DJKGDSL89SKJHSLKJ3SLKJD2QWLKJNXLD4DLKJ
> SHDJSDGCBJD4KDHXJH7DKJHDJH9DKJHDKH9DHGDG6KDJHDKHD"

hey! that's interesting :))

I'm trying to write a program that will make analusis of all possible
combinations of letter-substitutions. Maybe when connected with some
dictionary checker we could read it.

But only if this is a simple letter-substitution....

--
Janek Kozicki |

Wim Benthem

unread,
Nov 15, 2003, 7:34:09 PM11/15/03
to
On 15 Nov 2003 09:23:32 -0800, pv_...@programist.ru (Panteleev Vladimir) wrote:

>Below is some stuff I dug up about the RRI & SoO, so here's some
>spoiler space.

really not needed here.

>* "ABEF0AHGDJDJSHJGSJXKSSJHJKSHJGK572JDJHGSKJ32KDJKHS
> LK0923JDJHGS6DJKGDSL89SKJHSLKJ3SLKJD2QWLKJNXLD4DLKJ
> SHDJSDGCBJD4KDHXJH7DKJHDJH9DKJHDKH9DHGDG6KDJHDKHD"

> As you can see, the space character is roughly dwice more frequent
> than the letter "E". We can't see no similar pattern in the encoded
> string. One curious thing is, though, there is a total 25 characters
> encountered, which is close to 26, the number of letters in the
> English alphabet.

The large runs of characters from the second row of a qwerty keyboard
tell me, there's not much sense in trying to decode this.

--
Wim Benthem

Arturus Magi

unread,
Nov 15, 2003, 10:05:12 PM11/15/03
to
From: pv_...@programist.ru (Panteleev Vladimir)
Date: 15 Nov 2003 09:23:32 -0800

>After examining the problem, here's what I found: In
> the DOS and Linux executables, the following strings are present
> besides those shown when trying to read the weird tome:

<snip strings>

I seem to recall these already having been noted several times before, although
I don't recall anyone trying to analyze the garbled three-line string in the
middle.

> The following strings were also found:

This is the first time I saw these, though.

Panteleev Vladimir

unread,
Nov 15, 2003, 11:02:20 PM11/15/03
to
Janek Kozicki <n...@existant.org> wrote in message news:<2003111523214...@existant.org>...

Actually, all those tables below try to show that it wasn't coded thru
an xlat table (aka letter substitution). The "SPACE" character would
be easy to spot out because of it's increased frequence, but it could
be cut out, like in Filk's speech. Anyway, it's either a bunch of
randomly pressed keyboard buttons with CAPS LOCK on, either smth like
"mail Thomas and tell him you decoded that string and you've deserved
your name in the hall of fame" or smth like that.

By the way, the next version of AdomBot is uploaded
(http://www.geocities.com/adombot/). It'll probably be the last
version compatible with AdomSage or the DOS version. (I hope Thomas
doesn't get another Win32 compiler...)

Heng

unread,
Nov 16, 2003, 6:27:00 AM11/16/03
to
Janek Kozicki <n...@existant.org> wrote in message news:<2003111523214...@existant.org>...

i already tried that...
there is no caesar in there, that would produce german or english
words...

using keyword substitution didn't work for SECRET, ADOM, WALDENBROOK, etc...

the numbers are not comprehensible to me, sorry,

i honestly think it's just a random keyboard testing...
heng

sqweek

unread,
Nov 16, 2003, 8:44:37 AM11/16/03
to
Arturus Magi wrote:
> From: pv_...@programist.ru (Panteleev Vladimir)
> Date: 15 Nov 2003 09:23:32 -0800
>
> >After examining the problem, here's what I found: In
> > the DOS and Linux executables, the following strings are present
> > besides those shown when trying to read the weird tome:
>
> <snip strings>
>
> I seem to recall these already having been noted several times before, although
> I don't recall anyone trying to analyze the garbled three-line string in the
> middle.

I'm pretty sure Mike3 took it over to alt.cryptography :)

Reply all
Reply to author
Forward
0 new messages