Hi
I have problem with this on Android player:
local d2,b2 = Wherigo.VectorToPoint(zone012.OriginalPoint, Player.ObjectLocation)
kysimus = kysimus + d2("m")
Emulator works well!
Can I do something different?
Holmes
Hi,
did you try this functionality on J2me OpenWIG emulator? I'm not very familiar with LUA (funny right :) ), so please test this firstly on OpenWIG! Thanks ...
Solution is:
local d2,b2 = Wherigo.VectorToPoint(zone005.OriginalPoint, Player.ObjectLocation)
kysimus = kysimus + d2:GetValue('m')
Thanks for ernst.spiess!
Holmes
Hello,
QuoteSolution is:
local d2,b2 = Wherigo.VectorToPoint(zone005.OriginalPoint, Player.ObjectLocation)
kysimus = kysimus + d2:GetValue('m')
Thanks for ernst.spiess!
Holmes
Not 100% correct, try
kysimus = kysimus + d2:GetValue 'm' -- or feet - but without brackets
at the same time I am massively programming currently WIG's - there are more problems on ANDROID WhereYouGo
One major when using tables is that table.getn function crashes - I replaced all that calls and count the table entries by myself.
Hi!
What is difference ?
kysimus = kysimus + d2:GetValue('m')
kysimus = kysimus + d2:GetValue 'm'
Holmes
Hi,
it's not for first time when I saw problem with table.getn, but ... I have discuss this with author of OpenWIG and he wrote me:
problem is when function "table.getn", is old and should not be used anymore. Instead of this they have to use #table
maybe it helps.
and one last thing ... if you have any problems with your cartridge on Android WhereYouGo, please try this first on Java OpenWIG as described here (//http://forum.asamm.cz/viewtopic.php?f=22&t=84), thanks
Quote from: "bodenseepingu"Hello,
QuoteSolution is:
local d2,b2 = Wherigo.VectorToPoint(zone005.OriginalPoint, Player.ObjectLocation)
kysimus = kysimus + d2:GetValue('m')
Thanks for ernst.spiess!
Holmes
Not 100% correct, try
kysimus = kysimus + d2:GetValue 'm' -- or feet - but without brackets
at the same time I am massively programming currently WIG's - there are more problems on ANDROID WhereYouGo
One major when using tables is that table.getn function crashes - I replaced all that calls and count the table entries by myself.