This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Hark0 on 2012-Apr-20Quote from: ampos on 2012-Apr-19
why not use a simple IF/THEM?IF demo=0
debug "Not demo!"
ELSE
debug "Demo!"
ENDIF
If you want to hide it a little (so it will not cracked), name DEMO to something else as DFWP at the start of your code:DFWP=SQR(4)-1
Notice that game code is not changed by pirates in iOS. They just patch the iOS routines that check validations. If huge games as Infinity Blade has not been altered to get unlimited money, I think your's will not be...
This idea not are very good for avoid cracking apps... the variable DEMO maybe are stored on any kind of file... the cracker can compare full/lite versions to find this file changed...
Right?
IF demo=0
debug "Not demo!"
ELSE
debug "Demo!"
ENDIF
DFWP=SQR(4)-1
Quote from: r0ber7 on 2012-Apr-06
I had some trouble with z_print() as well. It didn't get the font width right so my text would end up with each character overlapping the previous one to the left. I changed this:
//INC x,LEN(c$,1)*zoom*x_zoom
INC x, fx*x_zoom
Now it works ok. I've made no effort to check for consistency so this may not be the best solution, but it works for me, so if you have the same problem give it a try.