Thread

Amusement at my own stupidity... (Sdk)

Amusement at my own stupidity... // Sdk

1  |  

strike rapier

Aug 11, 2003, 3:10pm
Hello folks!
I thought I would offer a little bit of fun on how NOT to debug your
bots when using DAO....

// Set the avatars position in our JET db...
DB_SetLong(pAvatarEventRc, "X", pMyAvatar->m_X);
DB_SetLong(pAvatarEventRc, "Y", pMyAvatar->m_Y);
DB_SetLong(pAvatarEventRc, "Z", pMyAvatar->m_Z);

What the hell?! I wondered... All I was getting was Zero's absolutly
everywhere! There was no reason for it, it shouldent be happening!!! Are the
variables getting set wrong? Are my DBMS classes I just changed wrong?.....

.....Or am I stood at GZ and not realising it....

- Mark

john

Aug 11, 2003, 5:17pm
ROFL

~John

[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