Dude resource "advice STR#"

I have a problem with a dude I'm using as part of a mission. Its "Ship Name" and "Ship Subtitle" STR#s work fine, but in the dude resource, the "Advice" STR# isnt working. Mainly because I can't figure out what the stupid number is supposed to be.

Quote

The NovaBible says:
**0x4xxx Specific advice (the lower 12 bits of this
value are added to 7500 to get
the ID of the STR# resource
from which to get the quote)
**

But what is the 4xxx?

------------------
"En gris rumpa är fläsk, rök den och det blir skinka."
(A pig butt is meat, smoke it and it becomes ham.)
~ Sweedish Translation

It's an excellent opportunity to introduce hexadecimals (well, you must know them a bit, but more explanations):
Following to the 4 should be a 3-digit hex number that, when converted to a decimal one and added to 7500, should give the ID of the str# resource from which to take the advice (which is just a text string). Now, why does it say "lower 12 bits"? Because each hex digit matches 4 bits:
0 is 0b0000
1 is 0b0001
2 is 0b0010
3 is 0b0011
4 is 0b0100
5 is 0b0101
6 is 0b0110
7 is 0b0111
8 is 0b1000
9 is 0b1001
A is 0b1010
B is 0b1011
C is 0b1100
D is 0b1101
E is 0b1110
F is 0b1111

A four digit hex number is actually a 16 digit binary number (not that you should care usually, but at times it may be important), and 0x4 is the first (also said high-order) 4 bits (0b0100). Moral is, a düde with the field filled with 0x4000 will pick its advice from str# ID 7500. But one with the field filled with 0x4100 will pick its advice from str# ID 7500+0x0100=7500+256=7756.

------------------
The (url="http://"https://secure.ambrosiasw.com/cgi-bin/store/hazel.cgi?action=serve&item;=breakdown.html&BREAKDOWN;_SKUID=1480")Ambrosia Mac CD(/url) with other registrations - 5$. Paying for (url="http://"http://www.ambrosiasw.com/games/evn/")EV Nova(/url) as it's such a great game - 30$.
The (url="http://"http://www.ambrosiasw.com/games/evn/tshirts.html")1337 EV Nova T-shirt(/url)(url="http://"http://www.ambrosiasw.com/webboard/Forum25/HTML/000003.html#ZachaPedro05-18-200409:42AM") (/url) - 22$. The (url="http://"http://w00tware.ev-nova.net/")NovaTools(/url) by wOOtWare to tinker with your Nova - FREE!
The feeling you're a Nova geek - priceless.
There are things money can't buy or that are free, for everything else, there's indeed Mastercard.

Quote

Originally posted by Zacha Pedro:
Moral is, a düde with the field filled with 0x4000 will pick its advice from str# ID 7500. But one with the field filled with 0x4100 will pick its advice from str# ID 7500+0x0100=7500+256=7756.

Ok, but where does it say what the 4xxx is? There isn't a field to refrence anywhere that I know of: (url="http://"http://www.everythingisrelative.com/Dude.gif")Look.(/url) So where do I find the number I need to add to 7500 to find the STR# I need?

PS: Why is it that none of Nova's dudes use this particular STR# field?
------------------
"En gris rumpa är fläsk, rök den och det blir skinka."
(A pig butt is meat, smoke it and it becomes ham.)
~ Sweedish Translation

(This message has been edited by Picquilarius (edited 06-10-2004).)

The 0x4000 bit is automatically set behind the scenes when you check the Advice box. If you know the ID of the STR# you want to use you just stick that ID number in the Advice field. If it is true that none of Nova's dudes use it then you may have to create your own advice STR# set.

------------------
"The Macintosh may only have 10% of the market, but it is clearly the top 10%." — Douglas Adams

Quote

Originally posted by Guy:
**The 0x4000 bit is automatically set behind the scenes when you check the Advice box. If you know the ID of the STR# you want to use you just stick that ID number in the Advice field. If it is true that none of Nova's dudes use it then you may have to create your own advice STR# set.
**

That may be, but I still need to know what the 4xxx number is so I can add it to the 7500. I know it isn't 4000 because that would make the advice STR# 7500, and I tried that and it didn't work.

------------------
"En gris rumpa är fläsk, rök den och det blir skinka."
(A pig butt is meat, smoke it and it becomes ham.)
~ Sweedish Translation

I forgot that NovaTools takes care of this for you, just check the box and enter in the field the ID of the str# resource you would like the düde to use for advice (a number between 7500 and around 11500).

------------------
The (url="http://"https://secure.ambrosiasw.com/cgi-bin/store/hazel.cgi?action=serve&item;=breakdown.html&BREAKDOWN;_SKUID=1480")Ambrosia Mac CD(/url) with other registrations - 5$. Paying for (url="http://"http://www.ambrosiasw.com/games/evn/")EV Nova(/url) as it's such a great game - 30$.
The (url="http://"http://www.ambrosiasw.com/games/evn/tshirts.html")1337 EV Nova T-shirt(/url)(url="http://"http://www.ambrosiasw.com/webboard/Forum25/HTML/000003.html#ZachaPedro05-18-200409:42AM") (/url) - 22$. The (url="http://"http://w00tware.ev-nova.net/")NovaTools(/url) by wOOtWare to tinker with your Nova - FREE!
The feeling you're a Nova geek - priceless.
There are things money can't buy or that are free, for everything else, there's indeed Mastercard.

Perhaps you should use NovaTools. There it is easier. I don't have the links here, now, but if you enter it in google, you'll surely find them (or perhaps some nice person will post the links).

Be careful, though, the shän editor tends to crash the program when you try to save while too many fields are filled out, although it doesn't crash Classic. The oütf editor tends to crash, too, taking the entire Classic with it, when it is opened too often. So make sure to save frequently, and backup the file you're working on.

------------------
“He who knows does not speak! He who speaks does not know!”
Believe me, when you hear this phrase often enough and as an answer to just about every question you ask, you'll all but kill the guy who said this.
(url="http://"http://starlightdev.freewebpage.org")STARLIGHT DEVELOPMENT(/url)

Quote

Originally posted by Zacha Pedro:
**I forgot that NovaTools takes care of this for you, just check the box and enter in the field the ID of the str# resource you would like the düde to use for advice (a number between 7500 and around 11500).
**

Hmmm, if thats the case, I must be doing something else wrong. I've tried several different STR#s in that range and it has yet to work.

Anyone know if there's a charecter limit for ship hails?

Oh, and Arion, thanks but I'm using NovaTools. The only problems I have with it crashing is when I take ScreenSnapz of it...go figure.

------------------
"En gris rumpa är fläsk, rök den och det blir skinka."
(A pig butt is meat, smoke it and it becomes ham.)
~ Sweedish Translation

First off, we couldn't possibly be on the Ambrosia boards if I wouldn't tell you: you can use Snap pro 2 instead.

Now, for your problem, it's odd, are you sure there's a valid str# resource from which to take the advice? I'm not quite sure such advice/various hail strings work when the düde is a mission düde. Try making the düde appear normally in one system. BTW, you can access to very interesting information in the NovaTools menu that appears when one NT editor is open.

------------------
The (url="http://"https://secure.ambrosiasw.com/cgi-bin/store/hazel.cgi?action=serve&item;=breakdown.html&BREAKDOWN;_SKUID=1480")Ambrosia Mac CD(/url) with other registrations - 5$. Paying for (url="http://"http://www.ambrosiasw.com/games/evn/")EV Nova(/url) as it's such a great game - 30$.
The (url="http://"http://www.ambrosiasw.com/games/evn/tshirts.html")1337 EV Nova T-shirt(/url)(url="http://"http://www.ambrosiasw.com/webboard/Forum25/HTML/000003.html#ZachaPedro05-18-200409:42AM") (/url) - 22$. The (url="http://"http://w00tware.ev-nova.net/")NovaTools(/url) by wOOtWare to tinker with your Nova - FREE!
The feeling you're a Nova geek - priceless.
There are things money can't buy or that are free, for everything else, there's indeed Mastercard.

(This message has been edited by Zacha Pedro (edited 06-11-2004).)

Heh, I ONLY use Snapz Pro2, and that's what makes it crash.

Yes theres a valid STR#, I made it myself, and Its currently 7500. I put th dude into a system and made it appear 100% of the time. So far I can't get it to hail me with ANY of the hail types. (generic greeting, good prices, disaster info, advice STR#, or govt. hail) It just sort of flies around and jumps out. Is being hailed a random thing?

And what exactly are you refering to when you say "one NT editor". Do you mean like Blitzen or Mishmash, or one of the Nova Files themselves? (edit: Oh, never mind then. ;D)

------------------
"En gris rumpa är fläsk, rök den och det blir skinka."
(A pig butt is meat, smoke it and it becomes ham.)
~ Sweedish Translation

(This message has been edited by Picquilarius (edited 06-11-2004).)

(This message has been edited by Picquilarius (edited 06-11-2004).)

Quote

Originally posted by Picquilarius:
**Heh, I ONLY use Snapz Pro2, and that's what makes it crash.

Yes theres a valid STR#, I made it myself, and Its currently 7500. I put th dude into a system and made it appear 100% of the time. So far I can't get it to hail me with ANY of the hail types. (generic greeting, good prices, disaster info, advice STR#, or govt. hail) It just sort of flies around and jumps out. Is being hailed a random thing?

And what exactly are you refering to when you say "one NT editor". Do you mean like Blitzen or Mishmash, or one of the Nova Files themselves? (edit: Oh, never mind then. ;D)

**

Düdes never call you by themselves. Only përs do. The düde will give you advice when you hail it.

------------------
The (url="http://"https://secure.ambrosiasw.com/cgi-bin/store/hazel.cgi?action=serve&item;=breakdown.html&BREAKDOWN;_SKUID=1480")Ambrosia Mac CD(/url) with other registrations - 5$. Paying for (url="http://"http://www.ambrosiasw.com/games/evn/")EV Nova(/url) as it's such a great game - 30$.
The (url="http://"http://www.ambrosiasw.com/games/evn/tshirts.html")1337 EV Nova T-shirt(/url)(url="http://"http://www.ambrosiasw.com/webboard/Forum25/HTML/000003.html#ZachaPedro05-18-200409:42AM") (/url) - 22$. The (url="http://"http://w00tware.ev-nova.net/")NovaTools(/url) by wOOtWare to tinker with your Nova - FREE!
The feeling you're a Nova geek - priceless.
There are things money can't buy or that are free, for everything else, there's indeed Mastercard.

Quote

Originally posted by Zacha Pedro:
**Düdes never call you by themselves. Only përs do. The düde will give you advice when you hail it.
**

Oh. Well that certainly answers a few questions... guess I can't do what I wanted then.

------------------
"En gris rumpa är fläsk, rök den och det blir skinka."
(A pig butt is meat, smoke it and it becomes ham.)
~ Sweedish Translation