Board ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
ananas // User Search
ananas // User SearchC++Aug 4, 2001, 9:45am
lol, I bet Tony uses the FAgent on purpose, it IS a very good one and
it has full support for everything a newsreader needs. [View Quote] -- "_ | /\ \ / __/ /_ Passing a Variable to a urlAug 10, 2001, 8:22pm
Never did that, always worked without. Sometimes it helps to read the
manual only if needed ;) [View Quote] -- "_ | /\ \ / __/ /_ Re: -=[ATTENTION]=-Jan 5, 2001, 10:40am
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------54DE426DCB83805460CDABDE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I didn't dig out this already dead thread and I did not relate to the original post (but have watched the discussion). I just can not agree when Milenko writes that no one cares about it. XelaG offers his bots for free and if that should be a reason to call him names it goes over my head - and I do care about it. But good to hear that you made peace :) Volker lanezeri schrieb: > > This post is from November.. me and XelaG worked out our differences.. --------------54DE426DCB83805460CDABDE Content-Type: text/x-vcard; charset=us-ascii; name="vha.vcf" Content-Transfer-Encoding: 7bit Content-Description: Visitenkarte für Volker Hatzenberger Content-Disposition: attachment; filename="vha.vcf" begin:vcard n:Hatzenberger;Volker x-mozilla-html:FALSE url:oct31.de adr:;;Bornheimer Strasse 15;Bonn;;53111;Germany version:2.1 email;internet:vha at oct31.de end:vcard --------------54DE426DCB83805460CDABDE-- Message to "Eep"Sep 1, 2001, 7:41am
Nothing to be afraid about.
An off-topic post is by far not abusive enough to ban someone or take away her/his web account. Reasons to do that are continous spamming, flooding, posting huge binaries or abusive contents, not just off-topic posts. Volker [View Quote] -- "_ | /\ \ / __/ /_ Wanted: 2.2 SDKSep 3, 2001, 3:41pm
Error 1403Sep 29, 2001, 11:00am
Isn't there any text that comes with this 1403?
When exactly does it occur? Does it come up when you load a page or when you try to access an object or when you start a world server? Does it come up in the AW browser or do you see it in the server log? It should not be a HTTP error, I think it's more related to the Xitami or to AW. All HTTP codes are <1000 I think. [View Quote] -- "_ | /\ \ / __/ /_ AwWait in C++Oct 1, 2001, 3:01am
WHAT THE HECK IS WRONG WITH THISOct 5, 2001, 3:25am
Just a guess, if you have
char *temp; replace it by char temp[40]; maybe? [View Quote] -- "_ | /\ \ / __/ /_ WHAT THE HECK IS WRONG WITH THISOct 5, 2001, 3:30am
hm, maybe a little more explanation
char *temp; This does not give you a buffer where you can store characters, so it is just an uninitialized pointer that points to some place in memory, it might be yours, it might belong to a different program or it might even be program code that you destroy when you copy (or sprintf) stuff there char temp[40]; This can be used to actually store a string with up to 39 characters (plus 0x00 character at the end). Such an array always consists of storage that you may use and (implicite) a pointer too, so it can be used like a pointer but this pointer is already initialized when it is created. -- "_ | /\ \ / __/ /_ Programing Eroor c++Oct 3, 2001, 12:02pm
Did you check the C: drive too? Some temporary files during
compile/link go there, maybe you need to clean your c:\temp folder (or whereever the %TEMP points to) [View Quote] -- "_ | /\ \ / __/ /_ Programing Eroor c++Oct 3, 2001, 6:41pm
Not always necessary, he could try to add the DLL to the project
instead of the LIB. I'm not sure if MSC5 does that but Watcom for example can create import libraries from DLLs automatically and link these. Afaik. the aw.LIB is nothing but an import library for the aw.DLL so this might work. If that does not work there's still the active way to load a library with LoadLibrary(), GetProcAddress() and FreeLibrary(). A little more work but cheaper than a new MSC. And less money for this company we all love so much ;) [View Quote] -- "_ | /\ \ / __/ /_ VB Error QuestionOct 14, 2001, 2:11am
no VB knowledge but here's my idea from C :
A constant is a constant value that can only be set from values that can be evaluated at compile time. Simple calculations that are evaluated from other constants are values like that. Everything that might change its value in any runtime operation (function results are evaluated at runtime) always has to be a variable instead of a constant. If either PLAYER_ID or WELCOME_MESSAGE_NEWPLAYER are declared constant, the compiler will not allow changes on runtime. Usually all-uppercase names are used for constants, to make clear that these cannot be used on the left side of the "equals"-operator. [View Quote] -- "_ | /\ \ / __/ /_ VB Error QuestionOct 14, 2001, 4:23am
oh, now I understand this hilite stuff - if I take it out
I can read the code and see the error in it (I guess). You assign a value to a function ! sdk1.AwWhisper(PLAYER_ID, WELCOME_MESSAGE_NEWPLAYER) = True A function isn't a good L-Value, not useable for the left side of the equals sign just a hint : You should consult a styleguide sometimes ;) [View Quote] -- "_ | /\ \ / __/ /_ VB Error QuestionOct 14, 2001, 4:38pm
Maybe VB requires that a return value of a function is
always used? AwWhisper is declared as a function returning a longint value, that would be : Dim DummyLong As Long DummyLong = sdk1.AwWhisper(PLAYER_ID, WELCOME_MESSAGE_NEWPLAYER) optional : If (sdk1.AwWhisper(PLAYER_ID, WELCOME_MESSAGE_NEWPLAYER) > 0) Then Begin <= just an empty statement here, ... End <= ... I guess in VB it looks like this [View Quote] -- "_ | /\ \ / __/ /_ A linux SDK??Oct 31, 2001, 4:49am
It seems that here Linux becomes more and more a developement
platform. Even insurance companies, known to be conservative in their choice of software, are running more and more Linux backends and have projects on them. Not many frontends though, not yet at least. I'm waiting with a private Linux server until the Crusoe CPU is available for PCs, currently it's only available in laptops and 19" racks - well, I have one ancient installation of Linux on a 486 but I don't use that box anymore. I would be interested. [View Quote] -- "_ | /\ \ / __/ /_ Vanishing InstancesOct 31, 2001, 6:10am
I had an effect like this when I didn't have an
aw_wait() active for some time. [View Quote] -- "_ | /\ \ / __/ /_ Another Non-SDK Related VB QuestionNov 4, 2001, 12:37pm
http://www.mjtnet.com/ - their Macro Scheduler - might help
-- "_ | /\ \ / __/ /_ Another Non-SDK Related VB QuestionNov 4, 2001, 6:02pm
I missed that you are looking for a VB solution, didn't
see the message subject, that's why I came with this macro thing, sorry. I can name some system calls that might bring you closer to a solution, I have no experience with them but know roughly what they do : Hook = SetWindowsHookEx (WH_SYSMSGFILTER, ...) SysMsgProc (...); UnhookWindowsHookEx (Hook); Maybe this points you to some ideas without the need for a timer. [View Quote] -- "_ | /\ \ / __/ /_ I need a listNov 18, 2001, 2:32am
If you got this message from the IO that could mean
that it isn't a message that the SK produces. [View Quote] -- "_ | /\ \ / __/ /_ PHP SDKNov 18, 2001, 8:25pm
PHP SDK? Where did you see that?
You can add own compiled functions to PHP - but I'm quite sure that you misunderstood something. Some use PHP to add features to their object path, or enhance the world admin tool, but that isn't a SDK thing, it is done using HTTP and separate compiled Linux binaries. [View Quote] -- "_ | /\ \ / __/ /_ PHP SDKNov 19, 2001, 1:22am
The way functions are added to PHP is not identical
in Linux and Windows, but compareable - but you need functions that you can add. The DLL that includes the AW-SDK into PHP cannot be much more than a wrapper that hangs those function into the interpreter's chained function list. But in order to create such a wrapper you need something to wrap - for windows that is the AW.DLL, but there is no pendant for Linux. [View Quote] -- "_ | /\ \ / __/ /_ PHP SDKNov 20, 2001, 12:53am
A bot and a web page could work well together, especially when
web page (and bot) are on the same host as the world server. No need to have a separate PC always running. Sure PHP is not the ideal language for a bot, but a nice enhancement for a world information page for example. [View Quote] -- "_ | /\ \ / __/ /_ Old SDK buildsJan 19, 2001, 3:23pm
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------8F98FB1BF4E2490B1140B236 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit that's where you found the SDK interface for VB : http://aw.grimmsoft.com/sdk/ --------------8F98FB1BF4E2490B1140B236 Content-Type: text/x-vcard; charset=us-ascii; name="vha.vcf" Content-Transfer-Encoding: 7bit Content-Description: Visitenkarte für Volker Hatzenberger Content-Disposition: attachment; filename="vha.vcf" begin:vcard n:Hatzenberger;Volker x-mozilla-html:FALSE url:oct31.de adr:;;Bornheimer Strasse 15;Bonn;;53111;Germany version:2.1 email;internet:vha at oct31.de end:vcard --------------8F98FB1BF4E2490B1140B236-- problems with C++ sample projectNov 25, 2001, 6:28pm
Looks very much as if the linker would not like the
microsoft library format. I heard from some people who tried different compilers about trouble, either with the format or with undefined symbols, some even from a standard function that is used wrong in the SDK (stricmp(), see note below). Best you would get rid of both libraries and use the DLL instead. This requires either a DLL library import tool in your compiler or manual imports with LoadLibrary(). Most windows developement systems should have such an implib tool. Watcom for example handles the import calls itself, by creating an import file for the linker : wlib -q -n -b aw.lib aw.dll The result is the Watcom version of aw.lib, I attached it in Andras' newsgroup, maybe your Bloodshed linker is happy with this one, it's worth a try. Libraries in different IDE's always cause trouble, the linkers are seldom compatible and the compiler standard libraries are only standard for this specific IDE. The AW_Static.lib is a microsoft library and might work in a microsoft developement system, but you should forget the idea to use it in a different one. p.s.: Not on topic but I'll explain : stricmp() is not a standard function. Ansi compilers should preceed it with an underscore so it is actually referred to as _stricmp(). some libraries have strcmpi() instead, _strcmpi(), bcmpi(), _bcmpi() or strcasecmp(). [View Quote] -- "_ | /\ \ / __/ /_ problems with C++ sample projectNov 25, 2001, 8:25pm
What I found out so far is that it should look
somehow like this in the Gnu windoze environment : dlltool --def aw.def --dllname Aw.dll --output-lib aw.a and the aw.def like this (with no line breaks) : EXPORTS aw_address aw_avatar_click aw_bool aw_bool_set aw_callback aw_callback_set aw_cell_next aw_citizen_add aw_citizen_attributes_by_name aw_citizen_attributes_by_number aw_citizen_change aw_citizen_delete aw_citizen_next aw_citizen_previous aw_create aw_create_resolved aw_delete_all_objects aw_destroy aw_enter aw_event aw_event_set aw_exit aw_float aw_float_set aw_init aw_instance aw_instance_set aw_int aw_int_set aw_license_add aw_license_attributes aw_license_change aw_license_delete aw_license_next aw_license_previous aw_login aw_object_add aw_object_change aw_object_click aw_object_delete aw_object_load aw_object_select aw_query aw_query_5x5 aw_random aw_say aw_sector_from_cell aw_server_admin aw_server_world_add aw_server_world_change aw_server_world_delete aw_server_world_list aw_server_world_set aw_server_world_start aw_server_world_stop aw_session aw_state_change aw_string aw_string_set aw_teleport aw_term aw_universe_attributes_change aw_universe_ejection_add aw_universe_ejection_delete aw_universe_ejection_lookup aw_universe_ejection_next aw_universe_ejection_previous aw_url_send aw_wait aw_whisper aw_world_attribute_get aw_world_attribute_set aw_world_attributes_change aw_world_attributes_reset aw_world_eject aw_world_ejection_add aw_world_ejection_delete aw_world_ejection_lookup aw_world_ejection_next aw_world_ejection_previous aw_world_list aw_world_reload_registry [View Quote] -- "_ | /\ \ / __/ /_ AW.DLL needs versioningNov 25, 2001, 8:36pm
A wish to the AW SDK developers :
Please add a VS_VERSION_INFO ressource to your DLL so you can right-click a DLL and see which version it belongs to. Optional, and even better, have the DLL version in the name of the distributed files. Best would be, you did both. A DLL makes more sense if you can really share it between several applications. Currently each bot has to have its own DLL in the directory, because no bot uses the really dynamic loading of libraries with LoadModule(), and the import-library linked bots are not compatible with different DLL versions. This would help bot users and bot developers to organize the current DLL chaos. -- "_ | /\ \ / __/ /_ Delphi Tutorials.Dec 14, 2001, 8:07pm
You find a lot of informations there on
http://www.inner-smile.com/delphit.htm and here's a tutorial : http://www.afm.sbu.ac.uk/cs/teaching/prog/ [View Quote] -- "_ | /\ \ / __/ /_ dlephi..no sorryDec 16, 2001, 10:20pm
|