Author Topic: Annoying problem with "W"-words...  (Read 10544 times)

0 Members and 1 Guest are viewing this topic.

Offline lemur

Annoying problem with "W"-words...
« on: September 22, 2002, 06:10:34 PM »
Hi all,
This will probably sound stupid and odd to you:

I'm new to this AGI-dev stuff and I'm eating my fridge in frustration over a strange thing. I can't seem to add words beginning with "w" to the words.tok - file. The interpreter doesn't recognize them. I can add whatever other words I like except for "w"-words. Kinda annoying since I wanna have a "wallet" in my game :).

I use AGI Studio 1.35. Anyone came across this problem before? I've tried other fanmade games and there it works fine. I can't find anything I do wrong. Help! :)



Offline Parabola

Re:Annoying problem with "W"-words...
« Reply #1 on: September 22, 2002, 08:45:24 PM »
not a solution, just a thought. what about having the wallet as the inventory screen and carried objects are put in the 'wallet'?  :-\
We are etenal, Pain is an illusion.

Offline CapTAmerik@

Re:Annoying problem with "W"-words...
« Reply #2 on: September 23, 2002, 02:56:53 AM »
Maybe you could use a 'money clip' (if you use the wallet for money)?

Or maybe a 'business card holder' when you use it for business cards?

CaptAmerik@
I am mentally divergent, in that I am escaping certain unnamed realities that plague my life here. When I stop going there, I will be well. Are you also divergent, friend?
~ Mentally ill, 12 Monkeys

Offline Cosmic R

Re:Annoying problem with "W"-words...
« Reply #3 on: September 23, 2002, 03:21:41 AM »
I think that kinda defeats the purpose.  The problem is still there. what if he wanted wand? or willow, or wasp?

Offline Te Rangi

Re:Annoying problem with "W"-words...
« Reply #4 on: September 23, 2002, 03:30:49 AM »
I agree with Rainer. What's the point of making a solution to a problem that will still be there?

Offline CapTAmerik@

Re:Annoying problem with "W"-words...
« Reply #5 on: September 23, 2002, 04:20:45 AM »
I'm not saying I possess the knowledge. I'd be one of the worst when it would come to giving you a programming solution to the whole W in .tok...

So I was just trying to come up with a creative solution, as I'm sure there are other words for 'wand', 'wasp' and 'willow' as well.

The point I'm making is this: if no one knows the problem exists, or no one knows how to deal with it, avoid it when making your game concept!
 
 :-\

CaptAmerik@

I am mentally divergent, in that I am escaping certain unnamed realities that plague my life here. When I stop going there, I will be well. Are you also divergent, friend?
~ Mentally ill, 12 Monkeys

Offline Te Rangi

Re:Annoying problem with "W"-words...
« Reply #6 on: September 23, 2002, 04:24:02 AM »
Sorry for being a total bitch, but shouldn't we concentrate on finding a solution?

Offline lemur

Re:Annoying problem with "W"-words...
« Reply #7 on: September 23, 2002, 04:50:25 AM »
I've got all kinds of synonyms for the wallet. Like cash / money / billfold / etc... The strange thing is this, my code:

if (said("look","wallet")

And I write: "look wallet" I get an error: "logged an unknown word".

But if I write: "look cash" everything works fine! "Wallet" and "Cash" are in the same wordgroup:

billfold | cash | money | wallet

and the code says "look","wallet" (above) but still I can't use that word, but the other words in the same group?!?! strange isn't it? I noticed yesterday that some words work. Words that don't get recognized: war, walls, wallet, water. Words that get: woman, word, wuzz.

I've tried to take away the debug stuff but then I'll get the game-error, unrecognized word bla bla bla, instead which is pretty much the same :-)

Thanks for trying to help!

Offline Te Rangi

Re:Annoying problem with "W"-words...
« Reply #8 on: September 23, 2002, 05:03:42 AM »
No problem, lemur  ;)

Offline Chris Cromer

Re:Annoying problem with "W"-words...
« Reply #9 on: September 23, 2002, 05:06:50 AM »
Be sure to recompile your script after you alter the word list, if you don't recompile it then it won't know that the word exists(and give you the error).

That is the only time I have ever had that error before... so if that isn't it then I am not sure what is.
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline StrangeQuark

Re:Annoying problem with "W"-words...
« Reply #10 on: September 23, 2002, 09:44:17 AM »
Try what Chris said.

Words that don't get recognized: war, walls, wallet, water. Words that get: woman, word, wuzz.

Looks to be only words starting with wa.

Offline lemur

Re:Annoying problem with "W"-words...
« Reply #11 on: September 23, 2002, 11:16:09 AM »
Chris: Yes I've recompiled all the scripts. Besides, the interpreter recognizes words that I've added AFTER the word "wallet". Would be great if someone had time to test this on their machine.

It's words that start with "wa", "wb" and "wc" aswell. Haven't tried how far up it goes, but "wo" works fine.

Offline Jelle

Re:Annoying problem with "W"-words...
« Reply #12 on: September 23, 2002, 11:21:58 AM »
Send it to me... And I'll try to find out what's wrong with it...
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Offline lemur

Re:Annoying problem with "W"-words...
« Reply #13 on: September 23, 2002, 11:42:06 AM »
Jelle: Sure I could do that! But I meant if someone could just try to add the word "wallet" to their words.tok-file and see if the game understands it. Just a dumb-check to make sure there's no bug hidden somewhere...

Offline Jelle

Re:Annoying problem with "W"-words...
« Reply #14 on: September 23, 2002, 12:26:40 PM »
Oh sorry.

I have some W-words in my game: watch, who,...   and they all work!
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.053 seconds with 21 queries.