ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Amusement at my own stupidity... (Sdk)
Amusement at my own stupidity... // Sdkstrike rapierAug 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 |