+vphakli Posted August 13, 2008 Share Posted August 13, 2008 What is the easiest way to detect Colorado demo mode in Cartridge? If you want to prevent simulation... Is it supported by builder or need some authors code? -Pekka Quote Link to comment
Ranger Fox Posted August 13, 2008 Share Posted August 13, 2008 You need an author script for this. Look for topics like Emulator check in the forum for code and instructions you can use. Just get the device ID back and you should know be able to tell which device is running your cartridge. Quote Link to comment
+Audion64 Posted August 13, 2008 Share Posted August 13, 2008 Device ID check won't work. It's actually running on the Colorado so it will return Colorado as expected. But in Demo mode the user can basically do just like in the emulator and 'virtually' move from zone to zone. As far as I know, there is currently no method to detect that a Colorado user has placed it into Demo mode. Quote Link to comment
+vphakli Posted August 14, 2008 Author Share Posted August 14, 2008 Device ID check won't work. It's actually running on the Colorado so it will return Colorado as expected. But in Demo mode the user can basically do just like in the emulator and 'virtually' move from zone to zone. As far as I know, there is currently no method to detect that a Colorado user has placed it into Demo mode. That is my experience also. It works with emulator but not in CO demo mode. I think if it is possible to check player's longitude or latitude some way... if it is different when GPS is on/off? Any ideas? Quote Link to comment
Ranger Fox Posted August 14, 2008 Share Posted August 14, 2008 Oh, that. Put an invisible zone between two destinations. If the user does not cross this zone en route to the destination zone, the user is clearly in demo mode. It's like an invisible line you have to cross because everyone takes that route. When the user crosses the line, flag a variable. When the user enters the destination zone, check for the flag and do what you will. Quote Link to comment
+vphakli Posted August 14, 2008 Author Share Posted August 14, 2008 Oh, that. Put an invisible zone between two destinations. If the user does not cross this zone en route to the destination zone, the user is clearly in demo mode. It's like an invisible line you have to cross because everyone takes that route. When the user crosses the line, flag a variable. When the user enters the destination zone, check for the flag and do what you will. Ok, thanks. This could be the solution. Quote Link to comment
+gereta Posted August 29, 2008 Share Posted August 29, 2008 (edited) Oh, that. Put an invisible zone between two destinations. If the user does not cross this zone en route to the destination zone, the user is clearly in demo mode. It's like an invisible line you have to cross because everyone takes that route. When the user crosses the line, flag a variable. When the user enters the destination zone, check for the flag and do what you will. Ok, thanks. This could be the solution. Yes exactly in this way I did it couple of weeks ago. But I'm facing to another issue. When demo mode is detected I'll display alert message to user, play alert sound, set variable indicating that demo mode has been detected and save&exit cartridge. But when saved cartridge is loaded again I would like to test if the sloaded game "is save from demo mode" and it seems that variable I set before save is not saved (stored). I do the check in OnStart function. Is content of variables saved and restored when loading cartrige? (I assume thet these are initialized at the beggining) Or how to manage this? Any help appriciated. Thanks. Edited August 29, 2008 by gereta Quote Link to comment
+Geofellas Posted August 30, 2008 Share Posted August 30, 2008 I just experimented with running my Wherigo that is under development in Garmin Demo mode on the CO and found that the OnEnter event for the first zone didn't fire when it zeroed out. It works fine in real (WAAS) mode. Is this actually an effective trap (i.e. without resorting to this invisible zone technique) or is there something wrong with my setup? Thanks for any input Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.