Board ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
dr. squailboont // User Search
dr. squailboont // User Searchaw_query_5x5Aug 28, 2005, 8:02pm
My current 'handle_cell_begin' code:
void handle_cell_begin(void) { int sector_x = aw_sector_from_cell(aw_int(AW_CELL_X)) - query_x; int sector_z = aw_sector_from_cell(aw_int(AW_CELL_Z)) - query_z; sequence[sector_z+1][sector_x+1] = aw_int(AW_CELL_SEQUENCE); } works fine with the standard 3x3 aw_query; however, using aw_query_5x5 doesn't seem to quite work with this (the query simply goes into an infinite loop) Anyone know how this code should be written for the 5x5 query? SDK 60 hangs on aw_initJun 14, 2006, 2:39am
If you're trying to run the program in a debugger, the SDK will not
allow you to do that. As Ima Genius says, the latest we have been told is that the debuggable, static library, and Linux versions of the SDK will be available to those who have signed an NDA with AWI. I have attempted twice now to acquire an NDA, and both times JP has told me that he will notify me when more information is available. [View Quote] SDK terrain errorJun 6, 2006, 9:33pm
In 4.1, the terrain heights can now be much higher... Therefore, the
type has been changed from "short" to "int". You will also need to set AW_TERRAIN_VERSION_NEEDED. Example C code: http://www.pastecode.com/350 Object eventsJun 11, 2006, 3:37am
[View Quote]
AW_OBJECT_ID: This is a new identifier for objects that is unique across
the *entire* world, as opposed to AW_OBJECT_NUMBER only being unique in *one cell*. An object change can be more easily detected by receiving the same OBJECT_ID in an OBJECT_ADD event. AW_OBJECT_DATA, as you have correctly observed, is only for V4 Objects. It will not be saved with standard RWX/COB objects. Terrain in 4.1Jun 14, 2006, 4:47am
As I have been encountering through working on Demeter's conversion to
4.1, there have been a number of 'subtle' changes in the terrain system since its change from the "short" type to the normal signed "int" type. Changes I have 'discovered' thus far: * Terrain texture rotation types AW_TERRAIN_ROTATE_NONE 0x0000 0000000000000000 AW_TERRAIN_ROTATE_LEFT 0x4000 0100000000000000 AW_TERRAIN_ROTATE_OPPOSITE 0x8000 1000000000000000 AW_TERRAIN_ROTATE_RIGHT 0xC000 1100000000000000 These values are Logical OR'd with the texture value. If the overall value of the texture is exactly 0xFFFE (65534), a hole is placed in the terrain. * Attribute 'AW_TERRAIN_VERSION_NEEDED' I have yet to have this one explained to me, but I was told some time ago that this attribute must be set to an integer value of '2' (via aw_int_set) This hopefully will save some frustration for anyone else trying to figure out what they've done to terrain now. SDK 62 Console bot Application Error when closedAug 16, 2006, 1:31am
In C with Win32, the following code will also 'work' (in the sense that the Application Error will not show):
TerminateProcess(GetCurrentProcess(), 0); -- Remarks from the Win32 reference page on 'TerminateProcess', which I assume is the equivalent of your C# code: The TerminateProcess function is used to unconditionally cause a process to exit. Use it only in extreme circumstances. The state of global data maintained by dynamic-link libraries (DLLs) may be compromised if TerminateProcess is used rather than ExitProcess. TerminateProcess causes all threads within a process to terminate, and causes a process to exit, but DLLs attached to the process are not notified that the process is terminating. Terminating a process causes the following: 1. All of the object handles opened by the process are closed. 2. All of the threads in the process terminate their execution. 3. The state of the process object becomes signaled, satisfying any threads that had been waiting for the process to terminate. 4. The states of all threads of the process become signaled, satisfying any threads that had been waiting for the threads to terminate. 5. The termination status of the process changes from STILL_ACTIVE to the exit value of the process. Terminating a process does not cause child processes to be terminated. Terminating a process does not necessarily remove the process object from the system. A process object is deleted when the last handle to the process is closed. Particle Emitter StructuresAug 5, 2006, 12:37am
I have written a useful article describing exactly how to set up the
Particle Emitter structures in the SDK: http://squailboont.info/sdk/pe_struct.htm From there it is not difficult to determine the procedures to set up structures for zones, movers, and cameras. Particle Emitter StructuresAug 5, 2006, 4:05am
[View Quote]
I have now created additional functions for movers, cameras, and zones;
the mover functions include adding and retrieving waypoints. Helper functions for V4 objects: http://squailboont.info/sdk/mover.c http://squailboont.info/sdk/zone.c http://squailboont.info/sdk/camera.c http://squailboont.info/sdk/particle.c Preston ManualSep 9, 2005, 10:43pm
Preston help is available in the program itself by clicking "Help" in the main screen and then clicking on the part of the interface that you need help with.
[View Quote] > Does such an animal exist, say in .pdf or html format? If so, I'd be grateful for a link to it. Thanks. Demeter 2.0 Alpha TestingFeb 4, 2006, 6:46am
I have completed a translation of the original Demeter 1.x Visual Basic
source code to C++. I believe it is now to the point where version 2.0 is almost totally compatible in behavior with Demeter 1.x. A small test group will be put together to verify that Demeter 2.0 behaves as expected. Interested testers should contact me by email. (drsquailboont at gmail.com) The public release of Demeter 2.0 will be determined later. Thanks, -- Dr. Squailboont Hermes Public ReleaseApr 27, 2006, 2:58am
After several builds in AWTeen, Hermes is now being released to the public.
For those interested, check the Hermes website: http://squailboont.info/hermes/ Hermes Public ReleaseApr 27, 2006, 4:37pm
Woops.. This wasn't linked from the main page (fixed now), but was there
already: http://squailboont.info/hermes/config.htm [View Quote] 4.1 Hermes now availableJun 7, 2006, 8:26pm
Though it was running in AWTeen since last friday, public release of
Hermes was delayed pending completion of a GUI revision. Build 27 is now available for 4.1 only. Build 26 will remain available for 3.6, and will be the last release for this version. http://squailboont.info/hermes/ 4.1 Hermes now availableJun 9, 2006, 2:46am
A sporadic crash bug has been discovered in build 27.
Users are advised to upgrade to build 28 as soon as possible. http://squailboont.info/hermes/ (Build 26 remains available for 3.6 universes, and is not known to contain this bug.) [View Quote] 4.1 Demeter now availableJun 14, 2006, 2:23pm
Demeter is a terrain editor that can be used in any
ActiveWorlds-compatible world, allowing users to edit terrain around their buildings in an easier manner than the original terrain interface, even without Caretaker rights. Now available for 4.1: http://squailboont.info/demeter2/ Sceensaver CrashesAug 24, 2005, 4:23pm
I've had AW crash the other day just from the "Blank" screensaver...
[View Quote] > Dunno if this still applies, but i'm sure Strike will feel free to correct me if i'm off on this. If AW is running in OpenGL or DirectX rendering mode and your screen saver is using the same ( DirectX or OpenGL rendering ) that is why it crash's. I've seen many cases of 3d games crashing during play due to a screen saver that decided to go active and pull control of the graphics card away from it. dunno if that's the case here but I'd only ask what screen saver specifically were you running at the time =) Sceensaver CrashesAug 24, 2005, 4:25pm
The only "modern" reason to use one is because on NT OSes (2000, XP, etc.) the dekstop can also be "locked" and require the user to enter his password to get back in.
[View Quote] > Just an FYI, but, screensavers are more harmful than good. The problem they save the screen from is no longer an issue. You'll save more $ on your power bill by just using the monitor shut off feature instead of a screensaver. Latest wishlist!Oct 27, 2005, 11:44pm
[View Quote]
Consider yourself lucky. I've seen AW crash just by doing nothing at all; there's no correlation between any of the times AW decided to crash.
Utility to Convert from RAS to BMP/JPGNov 2, 2005, 9:21pm
Anyone know of such a utility? I have a texture in the AW cache that I don't have any copy of anymore that is no longer hosted where I once had it. The RAS file is the only remaining copy of it.
Utility to Convert from RAS to BMP/JPGNov 2, 2005, 11:06pm
[View Quote]
> http://oct31.de/aw/rwras2bmp/index.html
This tool doesn't seem to like the RAS files that I have. :/ Utility to Convert from RAS to BMP/JPGNov 2, 2005, 11:07pm
[View Quote]
> http://oct31.de/aw/rwras2bmp/index.html
C:\Active Worlds\rwras2bmp>rwras2bmp -d clock2.ras Header 12 Bytes : Bytes/Pixel = 4 Type = 0 Size X = 32768 Size Y = 32768 Error reading 16Bit values Please give us back our old world server look and feelJun 14, 2006, 11:52pm
[View Quote]
Here it is as a PDF file (4 pages): http://squailboont.info/srvany.pdf
ENZO please read !!Aug 22, 2005, 12:44pm
For once, I agree wholeheartedly! It is, in fact, extremely unpleasant to be pissed ON as opposed to being pissed OFF.
[View Quote] > Bravo Baro, > > Moral of the story? "It's better to be pissed OFF than pissed ON" > > :) LMAOAug 21, 2005, 6:54am
Good morning!Aug 21, 2005, 6:41am
Ladies and Gentlemen, Hobos and Tramps,
Cross-eyed mosquitos and bowlegged ants, I come before you to stand behind you To tell you of something I know nothing about. Next Thursday (which is good Friday), There will be a convention held in the Women's Club which is strictly for Men. Admission is free, pay at the door, Pull up a chair, and sit on the floor. It was a summer's day in winter, And the snow was raining fast, As a barefoot boy with shoes on, Stood sitting in the grass. Oh, that bright day in the dead of night, Two dead men got up to fight. Three blind men to see fair play, Forty mutes to yell "Hooray"! Back to back, they faced each other, Drew their swords and shot each other. A deaf policeman heard the noise, Came and arrested those two dead boys. I think people like argueing...Aug 21, 2005, 7:56pm
I'm more inclined to believe that people like bananas. This is why everyone should be in a clown suit.
[View Quote] > I really think so! Thats why I dont go on the NGs that much... I think people like argueing...Aug 21, 2005, 8:53pm
Elongated eel? I thought it was more of a spiffy spork.
[View Quote] > Shut up you ugly excuse for an elongated eel! > > Rooarrr I think people like argueing...Aug 21, 2005, 11:25pm
I completely and totally disagree. The color black belongs to a certain monkey.
[View Quote] > wanna argue? > > the color black is actually red enhanced...agree? I think people like argueing...Aug 21, 2005, 11:26pm
I think people like argueing...Aug 22, 2005, 1:47am
|