Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CRDR - Weather Application Ver.1.2 (Cheat Engine 7.1)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions
View previous topic :: View next topic  
Author Message
ByTransient
Cheater
Reputation: 0

Joined: 05 Sep 2020
Posts: 49

PostPosted: Thu Nov 05, 2020 10:15 am    Post subject: Reply with quote

"1287: attempt to perform arithmetic on a nil value (upvalue 'tz')"

Does it have anything to do with API key?
I watched the video, you did a good job again.
Back to top
View user's profile Send private message
ByTransient
Cheater
Reputation: 0

Joined: 05 Sep 2020
Posts: 49

PostPosted: Thu Nov 05, 2020 11:38 am    Post subject: Reply with quote

"tz" is present and the result is 2.
I used the following code:

Code:
for i = 1, #utcTable do
if defloc  == utcTable[i].city then
    tz = utcTable[i].utc
    else
tz = utcTable[i].utc
 end
 end

if tz == "" then
showMessage('Unable to identified your location')
else
print("tz: "..tz)
end --result tz: 2


The following error message is:

Code:
"1035: unexpected character '<' at line 1 col 1"


Note: My country, city and time are displayed correctly.
But I cannot view other countries or the "arrow" button at the bottom cannot be pressed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites