Board ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
walter knupe // User Search
walter knupe // User Searchavatar_delete problemJan 1, 1999, 8:23pm
Roland,
for my bots i use a internal list of the people around it. It uses the avatar_add() and avatar_delete() event to keep the list up to date. As soon as i run a multi-instance application the aw_avatar_delete seems to get inaccurate. It reports the name aw_string(AW_AVATAR_NAME) of people which are still there, and skips the one that left. To rule out that this was a bug in my rather complex bot program, i created a very simple multi-instance bot, and it did was to put 2 bots on the same spot in awgames, and have each of them announce arrivals and departures... and even that small application did exhibit that odd behaviour. The error does not occur all the times, but, i'd say in one out of 10 cases. And it seems to me that its dependand of the happenings in beetween, so that i have the following theory... Successfull case: bot1: receives a "av_test" leave event, and announces it correctly bot2: receives a "av_test" leave event, and announces it correctly Unsuccessfull case: bot1: receives a "av_test" leave event (some things happen inbetween, say "av_test_2" talking or moving, while bot1 evaluates the event) bot1: and announces it correctly bot2: gets the same event, but with the name "av_test_2". bot2: announces "av_test_2 has left" and never realizes that "av_test" left so i think that any other incoming event overwrites the string that aw.dll was about to dispatch to the second bot. (second in regard to event dispatch order) while the first bot uses "aw_say()" and therefore gives control to aw.dll, that dll sorts out events and accidently puts the string into the wrong place. for example, is it a problem when a bot, inside of a event callback function, uses a aw.dll function that talks to the server ? (like aw_say()) ? thats what i observed, i can supply the sample c++ code if neccessary Walter avatar_delete problemJan 2, 1999, 7:59am
Yes, it uses the latest build, Build 12, and yes i realize that there was
another problem which was fixed. But this one is not yet fixed, i am just not sure if theres just another way to deal with avatar_delete() to avoid it. Walter Roland Vilett schrieb in Nachricht <368d84ae.0 at homer>... >Are you on the latest build of the SDK? There was a bug with AW_AVATAR_NAME >in multi-instance applications but it was fixed several builds ago. > >-Roland > [View Quote] avatar_delete problemJan 4, 1999, 1:35pm
Rolan, did you get a chance to look into this yet ?
Walter Walter Knupe schrieb in Nachricht <368dee6a.0 at homer>... >Yes, it uses the latest build, Build 12, and yes i realize that there was >another problem which >was fixed. > >But this one is not yet fixed, i am just not sure if theres just another way >to deal with avatar_delete() to avoid it. > > >Walter > > > >Roland Vilett schrieb in Nachricht <368d84ae.0 at homer>... >AW_AVATAR_NAME >to >created same >left aw.dll aw.dll, >aw_say()) > > avatar_delete problemJan 4, 1999, 4:44pm
This is a multi-part message in MIME format.
------=_NextPart_000_002D_01BE381A.97446660 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable You are correct.. i'll change the code to remember session numbers and = use those to clear entries from my list when ppl leave... why didn't i think of that ? :) Walter Edward Sumerfield schrieb in Nachricht = <3690EAC6.DD8B3E39 at poboxes.com>... Why do you need the name at this point?=20 I use the session number to track which avatar has "changed" or = "deleted" and index into my list with that. I retrieve the name in the = "add" event handler and store it in the list with the rest of the = information about the avatar. Names don't change so there is no point = re-getting them from the SDK.=20 Edward Sumerfield.=20 ------=_NextPart_000_002D_01BE381A.97446660 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!doctype html public "-//w3c//dtd html 4.0 = transitional//en"> <META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#b8b8b8> <DIV><FONT color=3D#000000 face=3DArial size=3D2>You are correct.. i'll = change the=20 code to remember session numbers and use those to</FONT></DIV> <DIV><FONT face=3DArial size=3D2>clear entries from my list when ppl=20 leave...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>why didn't i think of that ? = :)</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Walter</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: = 5px"> <DIV>Edward Sumerfield<ESUMERFD at POBOXES.COM> schrieb in Nachricht = <<A=20 = href=3D"mailto:3690EAC6.DD8B3E39 at poboxes.com">3690EAC6.DD8B3E39 at poboxes.c= om</A>>...</DIV>Why=20 do you need the name at this point?=20 <P>I use the session number to track which avatar has = "changed" or=20 "deleted" and index into my list with that. I retrieve the = name in=20 the "add" event handler and store it in the list with the = rest of=20 the information about the avatar. Names don't change so there is no = point=20 re-getting them from the SDK.=20 <P>Edward Sumerfield.=20 <P> </P></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_002D_01BE381A.97446660-- wsf and avatar_delete/add, another problemJan 2, 1999, 8:01am
There is a event to be set AW_WORLD_DISCONNECT which might be able to
signal you to clear avatar lists. Walter XelaG schrieb in Nachricht <368d8390.18190586 at news.activeworlds.com>... >Roland and the ng club: > >A problem with wfs. > >I'd like some advice on this. When there's a problem with the >communication with the server, wsf, my bots don't get the >aw_avatar_delete() event. As soon as communication is re-established, >the bots get aw_avatar_add() events for all present, as if they had >never been there in the first place, causing double entries in their >presece-lists. Since the session number has also changed (if the >problem was due to the world or uni servers, i suppose), i can only >cope with clearing the citizens from being entered more than once - i >keep their cit. numbers, which i ask from the server at every >avatar_add() event. > wsf and avatar_delete/add, another problemJan 2, 1999, 10:38pm
Sure you can, turn of your modem :)
Walter XelaG schrieb in Nachricht <368eb146.95428278 at news.activeworlds.com>... >Thank you both for your help. I've had it installed for a few days >now, but have had no wfs since then, so I can't test it yet. XelaG > >On Sat, 2 Jan 1999 14:44:23 -0800, "Roland Vilett" <roland at lmi.net> [View Quote] Bot has hearing impairments =(Jan 2, 1999, 10:42pm
Not calling aw_wait() is probably also responsible for your chat messages
not coming through. Winsock error 10053 is WSA_CONNABORTET and 10054 is WSA_CONNRESET, so both are a result of a timed out aw.dll<->server connection Walter Roland Vilett schrieb in Nachricht <368ea2f7.0 at homer>... >Any error in the 100xx range is coming directly from WinSock and indicates >some form of low-level socket communication problem. It is often extremely >difficult to diagnose the source of Winsock errors. Some of the winsock >errors are documented in the Windows help files, but first you have to look >up your error number in winsock.h to find out what error it is. > >One thing to keep in mind that even if you "stop doing things with the bot >for a while" you must continue to call aw_wait() periodically or else the >SDK <-> server communication link will time out. Again, this may not be >entirely clear in the SDK docs, but aw_wait() really is the central >heartbeat of the whole SDK and must be called regularly in your program's >main loop. Note that API methods in synchronous mode (i.e. no callbacks >installed) call aw_wait() implicitly, so if you are making regular >synchronous calls to the API then you don't need to call aw_wait() yourself. > >-Roland > [View Quote] Bot has hearing impairments =(Jan 3, 1999, 12:13am
use a WM_TIMER that fires every second and call aw_wait(10); in there..
works perfectly for me Walter Abbot Pabisoko schrieb in Nachricht <368ecfda.0 at homer>... >hmm..aw_wait freezes up the program..maybee if I put it on a timer..hmmm... > Bot has hearing impairments =(Jan 4, 1999, 1:35pm
Thats great.
What is the best WM_TIMER interval then ? is one second between aw_wait(0); best or would you recommend a different value ? Walter Roland Vilett schrieb in Nachricht <368ed7b7.0 at homer>... >It's also perfectly valid to call aw_wait(0); that causes the SDK to simply >process any outstanding inbound messages for all instances, send any >necessary heartbeats, and return. Passing in 10 makes it also do an >additional select for 10 milliseconds, which isn't really necessary since >you are already calling it from a WM_TIMER loop. > >-Roland > [View Quote] bot ideasJan 3, 1999, 12:02am
This is a multi-part message in MIME format.
------=_NextPart_000_007C_01BE36C5.72DB8980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In plain c, use a modulo operation to control it...=20 say you want to have numbers between 1-10... you do a int myrandom =3D abs ( aw_random() % 10) + 1; // %10 produces -9 to 9, = to take absolute value and add 1 or for numbers between 15 to 30 int my2ndrandmo =3D abs (aw_random() % 16) + 15; hope that helps, Walter Veleno schrieb in Nachricht <368ECE0D.F5673E54 at hiwaay.net>... I've been wondering how to use the aw_random function in the sdk. I = know it goes=20 if (aw_random () =3D=3D 1000000)=20 puts ("You sure are lucky");=20 But how do you control the range that it returns? it says something = about 6000 digits in the docs...=20 [View Quote] Well I'm thinknig of experimenting and doing something like that = using aw_random to propb pick different locations and what kind of = weather it will be...=20 [View Quote] > Weather bots: moving clouds (maybe even a morphing algorythm = or two to give the effect of actual clouds), storms (rain, snow, hail, = cats and dogs, whatever), fog, etc. Woo! Sure would look more realistic = than animated textures on polygons that go too fast or are too jerky if = repeating frames... ------=_NextPart_000_007C_01BE36C5.72DB8980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!doctype html public "-//w3c//dtd html 4.0 = transitional//en"> <META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#b8b8b8> <DIV><FONT face=3DArial size=3D2>In plain c, use a modulo operation to = control it...=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>say you want to have numbers between = 1-10... =20 you do a</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>int myrandom =3D abs ( aw_random() % = 10) +=20 1; // %10 produces -9 to 9, to take absolute value and add=20 1</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>or for numbers between 15 to = 30</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>int my2ndrandmo =3D abs (aw_random() % = 16) +=20 15;</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 face=3DArial size=3D2>hope that = helps,</FONT></DIV> <DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Walter</FONT></DIV> <DIV> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: = 5px"> <DIV>Veleno<ANNETTE at HIWAAY.NET> schrieb in Nachricht <<A=20 = href=3D"mailto:368ECE0D.F5673E54 at hiwaay.net">368ECE0D.F5673E54 at hiwaay.net= </A>>...</DIV>I've=20 been wondering how to use the aw_random function in the sdk. I know = it goes=20 <BR><I>if (aw_random () =3D=3D 1000000)</I> <BR><I> puts = ("You sure=20 are lucky");</I> <BR>But how do you control the range that it = returns?=20 it says something about 6000 digits in the docs...=20 [View Quote] ------=_NextPart_000_007C_01BE36C5.72DB8980-- Object Delete EventJan 5, 1999, 12:56pm
i doubt that a integer's range is enough to assign a unique ID to all
objects in a world if you fill each cell to its maximum (consider a cell data limit of "huge"). So my guess is that Object IDs are unique in their cell only Walter XelaG schrieb in Nachricht <36930de6.1696679 at news.activeworlds.com>... >I was wondering if the object number is unique for any object in a >given world. If so, I would see the use of the mentioned attributes as >a method to speed up recovery of the object in the case of a search >for the object in the server-database (object_x, object_z) or for >maintenance of the sequence array (cell_x, cell_z). > >Am I correct in assuming the uniqueness of the object number for ID >purposes? > >XelaG. Re: Bot ProgramsJan 4, 1999, 11:25pm
Interesting to the both in one statement like that. Why do you ask ?
Walter aka Faber jeremy miller schrieb in Nachricht <36911906.79C900CA at elpaso.net>... >Does anyone know of any bot programs other than HamBot and ImaBot??????? > Building methods and AW_CALLBACK_OBJECT_RESULT...Jan 6, 1999, 11:00am
I can only answer to 2 of your 5 points..
XelaG schrieb in Nachricht <36931a46.2188897 at news.activeworlds.com>... >I have a few questions about building objects. > >3. Does one have to call aw_instance_set(Instance) before setting >attributes in these 3 methods? > >5. I assume that aw_instance applies everywhere in querying and >building events and callbacks: am I correct? And those two even have a single answer: Querying and building takes place in the world you are currently in, since you don't specify a world separately. therefore it must be bound to a current bot instance and its current worlds. for that reason one would come to the conclusion that each bot can build separately, as if each was controlled by its own program. this observation probably applies to ALL sdk functions except for aw_init() and aw_exit(). Walter aka Faber Building methods and AW_CALLBACK_OBJECT_RESULT...Jan 6, 1999, 7:18pm
Canopus schrieb in Nachricht <3693CC3C.DDE0C1DC at ix.netcom.com>...
>A visible bot can also query a zone that is far away from the zone its avatar >is in. Try doing Sample 2 with a visible bot avatar located far from its >midispk. In effect, the API has two independent systems, one for avatars/chat, >and one for property. So its the world those systems share, and thats all :) Walter Building methods and AW_CALLBACK_OBJECT_RESULT...Jan 7, 1999, 12:18am
well, according to daniel, the distance matches those from avatars
exactly :) Walter XelaG schrieb in Nachricht <3693ef7d.35009490 at news.activeworlds.com>... >On Wed, 06 Jan 1999 12:49:00 -0800, Canopus <aek2 at ix.netcom.com> [View Quote] Building methods and AW_CALLBACK_OBJECT_RESULT...Jan 7, 1999, 1:58pm
What if I have 10 outstanding add object building requests, of which 5 fail.
Since the object number is created on the server, and applied only on success, what chance do i have to match my building requests with the error replies ? lets say i get 5 different failure reasons, which object caused which failure ? Walter Roland Vilett schrieb in Nachricht <369436b2.0 at homer>... > > >That is the only attribute that is defined during AW_CALLBACK_OBJECT_RESULT. >If you have multiple building requests outstanding, you use the object >number to match up the result with the request that you issued. > A small problem... (acutally 2 or 3)Jan 8, 1999, 11:23am
I'll contact you via email since this is not an SDK problem, but a MFC
problem instead Walter Byte Me schrieb in Nachricht <36957285.5464E711 at usa.net>... >Ok I have "aw.h" included in my teleport dialog for my bot but when it >calls the aw_state_change(); it returns no errors but doesn't make the >bot move and the exit button acts like its the login button if you need >any code please contact me... > Getting Started with SDKJan 10, 1999, 10:36pm
Was my answer in AWGames sufficient, Fungus ?
Walter aka Faber Getting Started with SDKJan 11, 1999, 7:48pm
now thats a difference.. the aw.lib is not in borland library format, so you
would have to use a impdef.exe or similar to generate aw.lib from the aw.dll yourself. i cannot provide more detail since i don't know borland good enough... Walter Fungus schrieb in Nachricht <369A63EE.9AB1D24B at hotmail.com>... >okay, (now I've actually read the manual that came with C++) so hopefully I >can ask this question more meaningfully ;-) > >- Um, it's not VC++ but Borland C++ > >- It looks like I can compile everything just fine, apart from > - if I just try to create an .exe, with my bot.cpp file linking to >aw.h no problems > and no other files in the project I get Unresolved external >'_aw_XXXXX' > errors. I'm guessing that's because I haven't linked in aw.lib >properly. > - If I link the aw.lib file to the .exe I get Error: >'D:\BOTS\AW.LIB' contains > invalid OMF record, type 0x21 > >Thanks for the advice Edward and Faber (no, it isn't fixed :( but the >idiots introduction to C++ was very helpful, unlike the manuals) > Getting Started with SDKJan 12, 1999, 12:05am
This is a multi-part message in MIME format.
------=_NextPart_000_0081_01BE3DD8.6958A540 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The warnigns appear because you are compiling a c sample source as a cpp = programm. C++ is much more strict and generates more warnings or errors = usually. for the missing functions it still really looks like no aw.lib is linked = to you project at all... i have no other explanation... Walter Fungus schrieb in Nachricht <369A7FB3.B1B1901E at hotmail.com>... Hmm, okay. I've rebuilt the dll to give me a new aw.lib. however it = doesn't change the error messages I get when I try to build.=20 Fungus.exe=20 |________bot.obj (compilation of bot.ccp linked to aw.h)=20 |=20 |________aw.lib (BC++ version)=20 Info :Building...=20 Info :Linking D:\bots\aw.dll=20 Info :Transferring to C:\BC5\BIN\implib.exe = at C:\WINDOWS\TEMP\RSP0.$$$=20 Info :Compiling D:\bots\bot.cpp=20 Warn : bot.cpp(19,11):Possibly incorrect assignment=20 // these appear when bot.ccp is compiled and refer to all the if {rc = =3D aw_init (AW_BUILD) and similar commands in the sourcecode.=20 Warn : bot.cpp(28,11):Possibly incorrect assignment=20 Warn : bot.cpp(38,11):Possibly incorrect assignment=20 Warn : bot.cpp(44,11):Possibly incorrect assignment=20 Warn : bot.cpp(53,11):Possibly incorrect assignment=20 Info :Linking D:\bots\bot.exe=20 Error: Error: Unresolved external '_aw_init' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_event_set' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_create' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_string_set' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_login' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_enter' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_int_set' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_state_change' referenced = from D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_wait' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_destroy' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_term' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_say' referenced from = D:\BOTS\BOT.OBJ=20 Error: Error: Unresolved external '_aw_string' referenced from = D:\BOTS\BOT.OBJ=20 =20 ------=_NextPart_000_0081_01BE3DD8.6958A540 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!doctype html public "-//w3c//dtd html 4.0 = transitional//en"> <META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR> </HEAD> <BODY aLink=3D#990000 bgColor=3D#c0c0c0 link=3D#993366 text=3D#000000 = vLink=3D#cc66cc> <DIV><FONT color=3D#000000 face=3DArial size=3D2>The warnigns appear = because you are=20 compiling a c sample source as a cpp programm. C++ is much more strict = and=20 generates more warnings or errors usually.</FONT></DIV> <DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>for the missing functions it still = really looks=20 like no aw.lib is linked to you project at all... i have no other=20 explanation...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Walter</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: = 5px"> <DIV>Fungus<MI_WALLACE at HOTMAIL.COM> schrieb in Nachricht <<A=20 = href=3D"mailto:369A7FB3.B1B1901E at hotmail.com">369A7FB3.B1B1901E at hotmail.c= om</A>>...</DIV>Hmm,=20 okay. I've rebuilt the dll to give me a new aw.lib. however it = doesn't=20 change the error messages I get when I try to build.=20 <P>Fungus.exe <BR> |________bot.obj (compilation = of=20 bot.ccp linked to aw.h) <BR> | = <BR> =20 |________aw.lib (BC++ version)=20 <P>Info :Building... <BR>Info :Linking D:\bots\aw.dll <BR>Info = :Transferring=20 to C:\BC5\BIN\implib.exe at C:\WINDOWS\TEMP\RSP0.$$$ <BR>Info = :Compiling=20 D:\bots\bot.cpp <BR>Warn : bot.cpp(19,11):Possibly incorrect=20 assignment <BR><B><FONT color=3D#ff0000>// these appear when bot.ccp = is=20 compiled and refer to all the if {rc =3D aw_init (AW_BUILD) and = similar=20 commands in the sourcecode.</FONT></B> <BR>Warn : =20 bot.cpp(28,11):Possibly incorrect assignment <BR>Warn : =20 bot.cpp(38,11):Possibly incorrect assignment <BR>Warn : =20 bot.cpp(44,11):Possibly incorrect assignment <BR>Warn : =20 bot.cpp(53,11):Possibly incorrect assignment <BR>Info :Linking=20 D:\bots\bot.exe <BR>Error: Error: Unresolved external = '_aw_init'=20 referenced from D:\BOTS\BOT.OBJ <BR>Error: Error: Unresolved = external=20 '_aw_event_set' referenced from D:\BOTS\BOT.OBJ <BR>Error: = Error:=20 Unresolved external '_aw_create' referenced from D:\BOTS\BOT.OBJ=20 <BR>Error: Error: Unresolved external '_aw_string_set' = referenced from=20 D:\BOTS\BOT.OBJ <BR>Error: Error: Unresolved external = '_aw_login'=20 referenced from D:\BOTS\BOT.OBJ <BR>Error: Error: Unresolved = external=20 '_aw_enter' referenced from D:\BOTS\BOT.OBJ <BR>Error: Error:=20 Unresolved external '_aw_int_set' referenced from D:\BOTS\BOT.OBJ=20 <BR>Error: Error: Unresolved external '_aw_state_change' = referenced=20 from D:\BOTS\BOT.OBJ <BR>Error: Error: Unresolved external = '_aw_wait'=20 referenced from D:\BOTS\BOT.OBJ <BR>Error: Error: Unresolved = external=20 '_aw_destroy' referenced from D:\BOTS\BOT.OBJ <BR>Error: = Error:=20 Unresolved external '_aw_term' referenced from D:\BOTS\BOT.OBJ=20 <BR>Error: Error: Unresolved external '_aw_say' referenced = from=20 D:\BOTS\BOT.OBJ <BR>Error: Error: Unresolved external = '_aw_string'=20 referenced from D:\BOTS\BOT.OBJ <BR> = </P></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0081_01BE3DD8.6958A540-- Getting Started with SDKJan 12, 1999, 8:58pm
This is a multi-part message in MIME format.
------=_NextPart_000_0033_01BE3E87.8216EC40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable It puzzles me that the aw.dll appears to the impdef tool as if it didn't = have any exports other then that debughookblah one... But you cannot just invent entries... entries go by name OR by ordinal = number (that odd number behind the at sign), and it seems that names are = not sufficient. your ordinal numbers are invalid in the best case = (resulting to the error you had) or are valid, but wrong function = (resulting in a crash). There were people here having success using impdef, so i don't know what = might have rendered that method invalid again... Roland, did you upgrade from VC5.0 to VC6.0 in the meantime ? that MIGHT = explain things... Walter ps: as for your situation, you might want to try either that cygnus free = c compiler (refer to Edward for that), or get VC6.0 for $100. It seems = the AW sdk becomes a Visual C++ promoter :) Fungus schrieb in Nachricht <369BC1A2.7FFCD003 at hotmail.com>... lol, perhaps I should wait a while before posting (still looking for = that *unpost* button)=20 anyway - I can get rid of all the error messages and get the program = to compile if I add in fungus.def lines like=20 EXPORTS=20 _aw_init at 1=20 _aw_blah_blah at 1=20 so this must be kinda right? however I think get a " the bot.exe = file is linked to missing export AW>DLL:_aw_init. " error when starting = the program. I guess I'm still not impdef'ing properly to link in the = _aw_init and related events.=20 ------=_NextPart_000_0033_01BE3E87.8216EC40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!doctype html public "-//w3c//dtd html 4.0 = transitional//en"> <META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR> </HEAD> <BODY aLink=3D#990000 bgColor=3D#c0c0c0 link=3D#993366 text=3D#000000 = vLink=3D#cc66cc> <DIV><FONT face=3DArial size=3D2>It puzzles me that the aw.dll appears = to the impdef=20 tool as if it didn't have any exports other then that debughookblah=20 one...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>But you cannot just invent entries... = entries go by=20 name OR by ordinal number (that odd number behind the at sign), and it = seems that=20 names are not sufficient. your ordinal numbers are invalid in the best = case=20 (resulting to the error you had) or are valid, but wrong function = (resulting in=20 a crash).</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>There were people here having success = using impdef,=20 so i don't know what might have rendered that method invalid=20 again...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Roland, did you upgrade from VC5.0 to = VC6.0 in the=20 meantime ? that MIGHT explain things...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Walter</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>ps: as for your situation, you might = want to try=20 either that cygnus free c compiler (refer to Edward for that), or get = VC6.0 for=20 $100. It seems the AW sdk becomes a Visual C++ promoter :)</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: = 5px"> <DIV>Fungus<MI_WALLACE at HOTMAIL.COM> schrieb in Nachricht <<A=20 = href=3D"mailto:369BC1A2.7FFCD003 at hotmail.com">369BC1A2.7FFCD003 at hotmail.c= om</A>>...</DIV>lol,=20 perhaps I should wait a while before posting (still looking for that = *unpost* button)=20 <P>anyway - I can get rid of all the error messages and get the = program to=20 compile if I add in fungus.def lines like=20 <P>EXPORTS <BR> =20 = _aw_init  = ; =20 at 1 <BR> _aw_blah_blah at 1=20 <P>so this must be kinda right? however I think get a " the = bot.exe=20 file is linked to missing export AW>DLL:_aw_init. " error = when=20 starting the program. I guess I'm still not impdef'ing properly to = link in=20 the _aw_init and related events. </P></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0033_01BE3E87.8216EC40-- Getting Started with SDKJan 13, 1999, 5:11pm
This is a multi-part message in MIME format.
------=_NextPart_000_00B8_01BE3F30.EC80D9C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Since Roland uses Visual C++ 5.0, he probably has no .def file to = include. They do those things different these days *smile* Walter =C6dificator schrieb in Nachricht = <369C202E.837297A0 at geocities.com>... Perhaps (if Roland is reading this post) a copy of the aw.def be = included in any future releases of the SDK? purdy-please?=20 ------=_NextPart_000_00B8_01BE3F30.EC80D9C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!doctype html public "-//w3c//dtd html 4.0 = transitional//en"> <META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#b8b8b8> <DIV><FONT color=3D#000000 face=3DArial><FONT size=3D3>Since Roland uses = Visual C++=20 5.0, he probably has no .def file to include. They do those things = different=20 these days *smile*</FONT></FONT><FONT size=3D3></FONT></DIV> <DIV><FONT color=3D#000000 face=3DArial><FONT = size=3D3></FONT></FONT><FONT=20 size=3D3></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D3>Walter</FONT></FONT><FONT=20 size=3D3></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: = 5px"> <DIV>Ædificator<AEDIFICATOR~NOSPAM! at GEOCITIES.COM> schrieb in=20 Nachricht <<A=20 = href=3D"mailto:369C202E.837297A0 at geocities.com">369C202E.837297A0 at geociti= es.com</A>>...</DIV>Perhaps=20 (if Roland is reading this post) a copy of the aw.def be included in = any=20 future releases of the SDK? purdy-please?=20 <P> </P></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_00B8_01BE3F30.EC80D9C0-- Getting Started with SDKJan 27, 1999, 5:05pm
I am surprised that Borland handles dll exported function names this way,
because usually the leading underscore in dll exportet names (and in linker-level non-c++ function names as well) is the calling convention. Functions that use regular c calling convention have a leading underscore, functions that use PASCAL calling convention have no leading underscore... therefore a function prototype having the wrong calling convention declared would lead to a linker unresolved external error instead of a program crash. DLL exported function have by convention a PASCAL calling convention and therefore no leading underscore. under rare conditions, such as variable arg functions (wsprintf(const char *, ...) is such a function) must have c calling convention, and are exportet using a leading underscore. just FYI Walter aka Faber ps: calling conventions define the order of arguments on the stack and the side (caller/callee) reponsible for cleaning up the stack after argument usage / removal Tony McGrath schrieb in Nachricht <36af3b8c.0 at homer>... >The real problem here is the fact that the Borland compilers prepend a "_" >to external identifiers >and the aw.dll exports its entry points without a prepended "_", which means >that the Borland >linker cannot find the function references. The redefinition of these entry >points using the DEF >file is one solution that will probably work with most Borland compilers. > Getting Started with SDKJan 27, 1999, 9:18pm
Oh, that explains that the aw.dll exports functions using c calling
conventions and therefore those functions have leading underscores.. stdcall is somewhat close to pascal i think... Walter aka Faber Canopus schrieb in Nachricht <36AF99BC.3A6CEC58 at ix.netcom.com>... >Don't know if it's relevant or not, but in linking Borland Delphi (Object >Pascal) to the aw.dll, there was a choice of five calling conventions (register, >pascal, cdecl, stdcall, and safecall). At first, stdcall was used, but it didn't >work; then cdecl (the regular c calling convention) was used, and it has >continued to work fine. > [View Quote] SDK Question...Jan 13, 1999, 5:20pm
This is a multi-part message in MIME format.
------=_NextPart_000_00E5_01BE3F32.379E79C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thats the point, Edward. The Beta AW2.1 Browser does implement a file transfer. The SDK, which is = supposed to be at "2.1" level as well, does not offer anything like = this. Since Filetransfer "inside" of AW will become regular as soon as 2.1 is = released, It would be nice if a bot could participate in File Transfer = as well. Think of having an ftp like session (say in whisper mode) to the bot. I could think of quite some possibilietes and services, but the exact = protocol specification would be needed, OR sdk support for it. Walter ps: Edward I am amazed that you kept explaining things to Mr. = Baud-IfIDontUnderstandAQuestionIGetPersonal-Walker Edward Sumerfield schrieb in Nachricht = <369CE6EA.B08F1FEB at poboxes.com>... The only issue with the bot program being both the receiver and = sending of a file is that the line utilization from the bots computer = will be high. If you are on a 28kbps like me the bot would thrash the = line a little.=20 I believe the problem comes with knowing what is the "AW Client File = Transfer" protocol, interface?=20 [View Quote] Why does the file have to come from the same host the bot is = running on? Why=20 not have a bot that knows where to get files via anonymous FTP? = An aw user=20 asks the bot for a file, and the bot gets the file via FTP, and = at the same=20 time sends it to the user via AW Client File Transfer. That way, = the bot=20 becomes a signpost to Internet files, and doesn't consume space = for files on=20 the bot server. Of course the bot server could be the source for = the FTP=20 transfer, as well. This is that same idea as attaching a MIDI = file from a=20 third party site to one of your objects in AW. You don't store = the file, you=20 just refer to it in its present location, making use of it in = the context of=20 the AW world.=20 DrChandra/PK-37=20 --=20 Andrew C. Esh mailto:andrew_esh at cnt.com=20 http://www.mtn.org/~andrewes - ACE Home Page=20 [View Quote] ------=_NextPart_000_00E5_01BE3F32.379E79C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!doctype html public "-//w3c//dtd html 4.0 = transitional//en"> <META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#b8b8b8> <DIV><FONT face=3DArial><FONT size=3D3>Thats the point, = Edward.</FONT></FONT><FONT=20 size=3D3></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D3></FONT></FONT><FONT=20 size=3D3></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D3>The Beta AW2.1 Browser does = implement a file=20 transfer. The SDK, which is supposed to be at "2.1" level as = well,=20 does not offer anything like this.</FONT></FONT><FONT = size=3D3></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D3></FONT></FONT><FONT=20 size=3D3></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D3>Since Filetransfer = "inside" of AW=20 will become regular as soon as 2.1 is released, It would be nice if a = bot could=20 participate in File Transfer as well.</FONT></FONT><FONT = size=3D3></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D3></FONT></FONT><FONT=20 size=3D3></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D3>Think of having an ftp like = session (say in=20 whisper mode) to the bot.</FONT></FONT><FONT size=3D3></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D3></FONT></FONT><FONT=20 size=3D3></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D3>I could think of quite some = possibilietes and=20 services, but the exact protocol specification would be needed, OR sdk = support=20 for it.</FONT></FONT><FONT size=3D3></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D3></FONT></FONT><FONT=20 size=3D3></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D3>Walter</FONT></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D3></FONT></FONT><FONT=20 size=3D3></FONT> </DIV> <DIV><FONT face=3DArial>ps: Edward I am amazed that you kept explaining = things to=20 Mr. Baud-IfIDontUnderstandAQuestionIGetPersonal-Walker</FONT></DIV> <DIV><FONT face=3DArial></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: = 5px"> <DIV>Edward Sumerfield<ESUMERFD at POBOXES.COM> schrieb in Nachricht = <<A=20 = href=3D"mailto:369CE6EA.B08F1FEB at poboxes.com">369CE6EA.B08F1FEB at poboxes.c= om</A>>...</DIV>The=20 only issue with the bot program being both the receiver and sending = of a=20 file is that the line utilization from the bots computer will be = high. If=20 you are on a 28kbps like me the bot would thrash the line a little.=20 <P>I believe the problem comes with knowing what is the "AW = Client File=20 Transfer" protocol, interface?=20 [View Quote] ACE Home Page=20 [View Quote] <BR>>> Other than that I don't have any ideas. Sorry. = <BR>>>=20 <BR>>> Oh, I hope you weren't insulted by my stupid = question?=20 <BR>>> <BR>>> Edward Sumerfield. <BR>>> = <BR>>>=20 [View Quote] ------=_NextPart_000_00E5_01BE3F32.379E79C0-- Re: Easy Make SDKJan 13, 1999, 5:22pm
This is a multi-part message in MIME format.
------=_NextPart_000_00F8_01BE3F32.81042600 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable LOL Edward, no other RAD Ideas ? (RAD =3D Rapid AW Development) *grin* Walter Edward Sumerfield schrieb in Nachricht = <369CA76C.71CADE5B at poboxes.com>... I'll make it ask the question and accept the input if you complete = the Volia! part.=20 [View Quote] anyone thought of that?Have a program that MAKES SDKs not runs = them.like it asks "What Do You Want TO Make?" and someone says "I want = It To Sing Happy Birthday".All It Asks then is "Input Words Please!" and = it makes a .C file.Then it Compiles it and Volia! Instant SDK?GIve Er a = Bit Of Throught.and remember:This Message came from a SDK NewBie:)But = NOt an AW newBie:)and not a C Newbie. ------=_NextPart_000_00F8_01BE3F32.81042600 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!doctype html public "-//w3c//dtd html 4.0 = transitional//en"> <META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#b8b8b8> <DIV><FONT color=3D#000000 face=3DArial><FONT = size=3D3>LOL</FONT></FONT><FONT=20 size=3D3></FONT></DIV> <DIV><FONT color=3D#000000 face=3DArial><FONT = size=3D3></FONT></FONT><FONT=20 size=3D3></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D3>Edward, no other RAD Ideas ? (RAD = =3D Rapid AW=20 Development) *grin*</FONT></FONT><FONT = size=3D3></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D3></FONT></FONT><FONT=20 size=3D3></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D3>Walter</FONT></FONT><FONT=20 size=3D3></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: = 5px"> <DIV>Edward Sumerfield<ESUMERFD at POBOXES.COM> schrieb in Nachricht = <<A=20 = href=3D"mailto:369CA76C.71CADE5B at poboxes.com">369CA76C.71CADE5B at poboxes.c= om</A>>...</DIV>I'll=20 make it ask the question and accept the input if you complete the = Volia!=20 part.=20 [View Quote] ------=_NextPart_000_00F8_01BE3F32.81042600-- File transfer SDK ?Jan 30, 1999, 2:03pm
Roland,
the sdk defines in its header file methods and attributes for file transfer... is it possible to a) use those definitions and b) get a very short description how to use them ? thank you :) Walter aka Faber Bye bye blackbird...no not the application the bird!Feb 7, 1999, 9:42am
Are you sure its this section that gives trouble ? it seems fine to me. have
the bird say "i am leaving" before its aw_destroy() so you can see if it reaches the destroy line or not. Walter aka Faber Abbot Pabisoko schrieb in Nachricht <36bcdfd3.0 at homer>... > Ive got some multiple instance confusion going on here...I can seem to >kill my bird without killing the application... > >heres were it seems to be troubled(AW_CHAT_MESSAGE handle): > > if (aw_instance() == birde) > { > if (strncmp(message, "BYE BYE BLACKBIRD", 14) == 0) > { > aw_instance_set(birde); > aw_destroy(); > } > } > >I get the dreaded 'Memory oculd not be "read"' message and then the >application dies...anybody have an idea on hwo to fix this? > > aw_contact_...Feb 10, 1999, 3:38pm
This is a multi-part message in MIME format.
------=_NextPart_000_009C_01BE5524.82AFDE60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Does that apply to the file sending stuff which is defined in aw.h as = well ? Walter aka Faber Roland Vilett schrieb in Nachricht <36c11d81.1 at homer>... Unfortunately, supporting contact lists from SDK apps will require = some significant re-write of the contact handling code in the uniserver. = Currently the mechanism depends on the owner of a contact list having a = unique citizen number, so that will have to be changed first. =20 Hopefully, we'll get this into a future version of AW... =20 -Roland [View Quote] - =C6dificator=20 ------=_NextPart_000_009C_01BE5524.82AFDE60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 = HTML//EN"><!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2><FONT color=3D#000080><STRONG>Does that = apply to the=20 file sending stuff which is defined in aw.h as well ?</FONT></FONT><FONT = color=3D#000080></FONT></STRONG></DIV> <DIV><FONT face=3DArial size=3D2><FONT = color=3D#000080><STRONG></FONT></FONT><FONT=20 color=3D#000080></FONT></STRONG> </DIV> <DIV><FONT face=3DArial size=3D2><FONT color=3D#000080><STRONG>Walter = aka=20 Faber</FONT></FONT><FONT color=3D#000080></FONT></STRONG></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: = 5px"> <DIV>Roland Vilett<ROLAND at ACTIVEWORLDS.COM> schrieb in Nachricht=20 <36c11d81.1 at homer>...</DIV> <DIV><FONT color=3D#000000 size=3D2>Unfortunately, supporting = contact lists from=20 SDK apps will require some significant re-write of the contact = handling code=20 in the uniserver. Currently the mechanism depends on the owner = of a=20 contact list having a unique citizen number, so that will have to be = changed=20 first.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Hopefully, we'll get this into a future version = of=20 AW...</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>-Roland</FONT></DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; = PADDING-LEFT: 5px"> <DIV>Ædificator<AEDIFICATOR~NOSPAM! at GEOCITIES.COM> wrote = in=20 message <<A=20 = href=3D"mailto:36C116C8.3E00893A at geocities.com">36C116C8.3E00893A at geociti= es.com</A>>...</DIV>Roland,=20 if you will...=20 <P>What is/will be the status on the contact list capability=20 (aw_contact_stuff)? I haven't noticed any talk about = it. I'm=20 making a tour guide, and it would be really nice to have it = inform me of=20 visitors while I am away, much less the other stuff I can do = with=20 it... Seeing it in the API reference is like yummy candy = in a=20 locked glass case! heh heh=20 <P>- Ædificator = </P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_009C_01BE5524.82AFDE60-- aw_contact_...Feb 11, 1999, 5:34pm
This is a multi-part message in MIME format.
------=_NextPart_000_0088_01BE55FD.FA31B100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable And, is there any way to have a specification of the things needed to = implement the file transfer from scratch ? i am sure all you do is = negotiate some I.P. addresses and ports, transfer length and name, and = then dump all the bytes into the socket until done.. thats not hard to do from scratch .) all i need are some more details :) Walter aka Faber Roland Vilett schrieb in Nachricht <36c1e0ed.1 at homer>... The file sending stuff you see in aw.h is only the requests that the = browser uses to establish a file transfer session with another browser, = since that part of the process occurs through the universe server. The = guts of the peer-to-peer file transfer mechanism itself are not part of = the SDK code, so even if these calls were available to an SDK app, you = would still have to implement the actual file transfer part from = scratch. Not very useful. =20 It's possible that we may include the entire file transfer mechanism = in a future version of the SDK. =20 -Roland =20 [View Quote] - =C6dificator=20 ------=_NextPart_000_0088_01BE55FD.FA31B100 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 = HTML//EN"><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"><!DOCTYPE HTML = PUBLIC "-//W3C//DTD W3 HTML//EN"><!doctype html public "-//w3c//dtd html = 4.0 transitional//en"> <META content=3D'"MSHTML 4.72.3511.1300"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2><STRONG><FONT color=3D#000080>And, is = there any way=20 to have a specification of the things needed to implement the file = transfer from=20 scratch ? i am sure all you do is negotiate some I.P. addresses and = ports,=20 transfer length and name, and then dump all the bytes into the socket = until=20 done..</FONT></FONT><FONT color=3D#000080></FONT></STRONG></DIV> <DIV><FONT face=3DArial size=3D2><STRONG><FONT = color=3D#000080></FONT></FONT><FONT=20 color=3D#000080></FONT></STRONG> </DIV> <DIV><FONT face=3DArial size=3D2><STRONG><FONT color=3D#000080>thats not = hard to do=20 from scratch .)</FONT></FONT><FONT = color=3D#000080></FONT></STRONG></DIV> <DIV><FONT face=3DArial size=3D2><STRONG><FONT = color=3D#000080></FONT></FONT><FONT=20 color=3D#000080></FONT></STRONG> </DIV> <DIV><FONT face=3DArial size=3D2><STRONG><FONT color=3D#000080>all i = need are some=20 more details :)</FONT></FONT><FONT = color=3D#000080></FONT></STRONG></DIV> <DIV><FONT face=3DArial size=3D2><STRONG><FONT = color=3D#000080></FONT></FONT><FONT=20 color=3D#000080></FONT></STRONG> </DIV> <DIV><FONT face=3DArial size=3D2><STRONG><FONT color=3D#000080>Walter = aka=20 Faber</FONT></FONT><FONT color=3D#000080></FONT></STRONG></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: = 5px"> <DIV>Roland Vilett<ROLAND at ACTIVEWORLDS.COM> schrieb in Nachricht=20 <36c1e0ed.1 at homer>...</DIV> <DIV><FONT color=3D#000000 size=3D2>The file sending stuff you see = in aw.h is=20 only the requests that the browser uses to establish a file transfer = session=20 with another browser, since that part of the process occurs through = the=20 universe server. The guts of the peer-to-peer file transfer = mechanism=20 itself are not part of the SDK code, so even if these calls were = available=20 to an SDK app, you would still have to implement the actual file = transfer=20 part from scratch. Not very useful.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT size=3D2>It's possible that we may include the entire = file transfer=20 mechanism in a future version of the SDK.</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>-Roland</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; = PADDING-LEFT: 5px"> [View Quote] ------=_NextPart_000_0088_01BE55FD.FA31B100-- |