too big // User Search

too big // User Search

1  |  

Problems with aw_citizen_add()...

Nov 29, 1998, 4:29pm
<HTML>
<FONT FACE="Arial,Helvetica">&nbsp;&nbsp;&nbsp; It would appear, that there
is some sort of problem with the AW_CITIZEN_ADD() function when I noticed
an error,</FONT>
<BR><FONT FACE="Arial,Helvetica">it had to have been an error in the API
Reference or the sdk</FONT>
<BR><FONT FACE="Arial,Helvetica">itself. Anyways, I noticed in teh docs
it used the</FONT>
<BR><FONT FACE="Arial,Helvetica">AW_CITIZEN_TERM attribute for how many
days until the</FONT>
<BR><FONT FACE="Arial,Helvetica">citizenship terminates (as desribed in
teh API Reference)...</FONT>

<P><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
rc;</TT><TT></TT>

<P><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_int_set (AW_CITIZEN_NUMBER,
0);</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_string_set (AW_CITIZEN_NAME,
"George");</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_string_set (AW_CITIZEN_PASSWORD,
"secret");</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_string_set (AW_CITIZEN_EMAIL,
"george at xyz.com");</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_int_set (AW_CITIZEN_TERM,
365);</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_bool_set (AW_CITIZEN_BETA,
FALSE);</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (rc = aw_citizen_add
())</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf ("Unable to add
citizen (reason %d)\n", rc);</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf ("Citizen #%d
added\n", aw_int(AW_CITIZEN_NUMBER));</TT><TT></TT>

<P><FONT FACE="Arial,Helvetica">&nbsp;&nbsp;&nbsp; However, if you will
wook thru aw.h there apperas to be no</FONT>
<BR><FONT FACE="Arial,Helvetica">AW_CITIZEN_TERM...</FONT><FONT FACE="Arial,Helvetica"></FONT>

<P><FONT FACE="Arial,Helvetica">Hmmm...</FONT><FONT FACE="Arial,Helvetica"></FONT>

<P><FONT FACE="Arial,Helvetica">-TooBig</FONT>
<BR><FONT FACE="Arial,Helvetica">-TooBig at Earthling.net</FONT><FONT FACE="Arial,Helvetica"></FONT>

<P><FONT FACE="Arial,Helvetica">ImaBot</FONT></HTML>

Problems with aw_citizen_add()...

Nov 29, 1998, 4:30pm
<HTML>
Mmmmm a bit of grammar problems in the first line there, woops :)

[View Quote] <P><FONT FACE="Arial,Helvetica">&nbsp;&nbsp;&nbsp; It would appear, that
there is some sort of problem with the AW_CITIZEN_ADD() function when I
noticed an error,</FONT>
<BR><FONT FACE="Arial,Helvetica">it had to have been an error in the API
Reference or the sdk</FONT>
<BR><FONT FACE="Arial,Helvetica">itself. Anyways, I noticed in teh docs
it used the</FONT>
<BR><FONT FACE="Arial,Helvetica">AW_CITIZEN_TERM attribute for how many
days until the</FONT>
<BR><FONT FACE="Arial,Helvetica">citizenship terminates (as desribed in
teh API Reference)...</FONT>

<P><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
rc;</TT>

<P><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_int_set (AW_CITIZEN_NUMBER,
0);</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_string_set (AW_CITIZEN_NAME,
"George");</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_string_set (AW_CITIZEN_PASSWORD,
"secret");</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_string_set (AW_CITIZEN_EMAIL,
"george at xyz.com");</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_int_set (AW_CITIZEN_TERM,
365);</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aw_bool_set (AW_CITIZEN_BETA,
FALSE);</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (rc = aw_citizen_add
())</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf ("Unable to add
citizen (reason %d)\n", rc);</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf ("Citizen #%d
added\n", aw_int(AW_CITIZEN_NUMBER));</TT>

<P><FONT FACE="Arial,Helvetica">&nbsp;&nbsp;&nbsp; However, if you will
wook thru aw.h there apperas to be no</FONT>
<BR><FONT FACE="Arial,Helvetica">AW_CITIZEN_TERM...</FONT>

<P><FONT FACE="Arial,Helvetica">Hmmm...</FONT>

<P><FONT FACE="Arial,Helvetica">-TooBig</FONT>
<BR><FONT FACE="Arial,Helvetica">-TooBig at Earthling.net</FONT>

<P><FONT FACE="Arial,Helvetica">ImaBot</FONT></BLOCKQUOTE>
&nbsp;</HTML>

Problem with AW_EVENT_EJECT ?

Nov 29, 1998, 7:53pm
Gee, seems to me like its remarkingly similar to the AW_CITIZEN_TERM
being undeclared and not in the header problem, yet in teh API ref, mmmm
:)

-TooBig
-TooBig at Earthling.net

[View Quote] > Hi,
> Trying to program an eject handler into my bot, i discovered
> AW_EVENT_EJECT seems to be missing... I get the error
> 'AW_EVENT_EJECT' : undeclared identifier when I try to compile, and I
>
> can't find AW_EVENT_EJECT in the header file... Any ideas?
> - Ima

Re: Roland, ya gotta check this out! (Was: Re: CPU)

Nov 29, 1998, 7:57pm
Oh geez dean, the sdk was designed for 'programmers', specifically for C
considering
the infinite possiblitys it provides, the programmers will program and
the non-programmers will take the benefits of the fun and new stuff aw
will see.

If your not up to programming in C, you can always make your own simple
bots in hambot or run them off of other sdk programmed programs...

-TooBig
-TooBig at Earthling.net

[View Quote] > Until the bots or whatever are packaged into a user friendly system
> that ANYBODY
> can use, I don't see how they will be such an improvement. The
> heart of a
> good program is user friendliness as well as power.
>
> When will this stuff be available for code illiterate people?
>
[View Quote]

Re: Witch?

Jan 31, 1999, 7:56pm
Mmmm, I see, well if she modified the RWX file she could add
a tag command to the RWX file which would look something like this...

Tag 40

That could be placed anywhere in the file... any polygons from that
point on
until it reaches the next Tag line will be tagged with the number 40
Now, in AW you could use the animate me line the same, or you could add
in another
animate command to tell it to only animate polygons with a certain tag
line like this...

animate tag=40 me stone 1 1 0

then only polgyons with the tag of 40 would have there textures animated
as Stone1...

Hope that helps :)

-Too Big
-TooBig at Earthling.net

[View Quote] >
>
> Thank you, princess Tia fo redirecting my question. The orginal file
> text is the following and has not any tags:
>
> #Dachs-Production 1998, Freeware
> modelbegin
> clumpbegin
> vertex 0.0000 0.0000 0.5000 uv 3.0171 0.0000
> vertex 0.0000 0.0000 0.4000 uv 3.0000 0.5153
> vertex -0.1000 0.0000 0.1000 uv 2.5000 2.0103
> vertex -0.3500 0.0000 -0.3000 uv 1.2412 4.0033
> vertex -0.4000 0.0000 -0.5000 uv 1.0000 5.0000
> vertex -0.0000 0.0000 -0.5000 uv 3.0171 5.0000
> vertex 0.1000 0.0000 -0.3000 uv 3.3447 4.0033
> vertex 0.3000 0.0000 0.1000 uv 4.4655 2.0103
> vertex 0.4000 0.0000 0.4000 uv 5.0000 0.5325
> vertex 0.4000 0.0000 0.5000 uv 5.0000 0.0342
> vertex -0.5000 0.0000 0.5000 uv 1.0000 0.0000
> vertex -0.5000 0.0000 -0.5000 uv 1.0000 5.0000
> vertex -0.4000 0.0000 -0.5000 uv 1.4655 5.0000
> vertex -0.3500 0.0000 -0.3000 uv 1.7412 3.9964
> vertex -0.1000 0.0000 0.1000 uv 2.9655 2.0067
> vertex -0.0000 0.0000 0.4000 uv 3.4826 0.5016
> vertex 0.0000 0.0000 0.5000 uv 3.5000 0.0000
> vertex 0.4000 0.0000 0.5000 uv 3.0103 0.0000
> vertex 0.4000 0.0000 0.4000 uv 2.9928 0.4843
> vertex 0.3000 0.0000 0.1000 uv 2.4859 1.9895
> vertex 0.1000 0.0000 -0.3000 uv 1.3320 3.9791
> vertex 0.0000 0.0000 -0.5000 uv 1.0000 5.0000
> vertex 0.5000 0.0000 -0.5000 uv 3.4998 4.9825
> vertex 0.5000 0.0000 0.5000 uv 3.5000 0.0000
>
> color .6 .6 .6
> surface .5 .3 0
> texturemode foreshorten
> texture boden
> Triangle 9 2 1
> Triangle 9 1 10
> texture grasso
> Triangle 12 16 15
> Triangle 12 15 14
> Triangle 12 14 13
> Triangle 23 22 21
> quad 24 23 21 20
> Triangle 24 20 19
> Triangle 24 19 18
> quad 12 11 17 16
> texture boden
> quad 9 8 3 2
> quad 8 7 4 3
> quad 7 6 5 4
> clumpend
> modelend
>
>
[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn