Advanced

Change History

Discuss your script development with others (bugs, optimizations, methods ...)

Message: Re: My Generic County checker not working for one geocacher nickname

Changed By: Target.
Change Date: August 17, 2016 01:36PM

Re: My Generic County checker not working for one geocacher nickname
The problem is the print on line 137
Adding a space before \n will create a working script. I have no ide why.
[code]
Print("gc ".. cache['gccode'].." county "..cache['county']..' visitdate: '..cache['visitdate'],"\n" )
Print("gc ".. cache['gccode'].." county "..cache['county']..' visitdate: '..cache['visitdate']," \n" )
[/code]

If you add a return surrounded by a if you can run only parts of the script.
I was with that able to determine what code segement was the problem
And with adding comment -- line by line and finaly )-- to run part of the print I found the error
[code]
if true then
return { ok = ok, log = false, html = false }
end
[/code]

EDIT: BBcode is interprited inside CODE segment so extra space is before ) to remove smiley
Changed By: Target.
Change Date: August 17, 2016 01:35PM

Re: My Generic County checker not working for one geocacher nickname
The problem is the print on line 137
Adding a space before \n will create a working script. I have no ide why.
[code]
Print("gc ".. cache['gccode'].." county "..cache['county']..' visitdate: '..cache['visitdate'],"\n")
)
Print("gc ".. cache['gccode'].." county "..cache['county']..' visitdate: '..cache['visitdate']," \n")
)
[/code]

If you add a return surrounded by a if you can run only parts of the script.
I was with that able to determine what code segement was the problem
And with adding comment -- line by line and finaly )-- to run part of the print I found the error
[code]
if true then
return { ok = ok, log = false, html = false }
end
[/code]

EDIT: BBcode is interprited inside CODE segment

Original Message

Author: Target.
Date: August 17, 2016 01:35PM

Re: My Generic County checker not working for one geocacher nickname
The problem is the print on line 137
Adding a space before \n will create a working script. I have no ide why.
[code]
Print("gc ".. cache['gccode'].." county "..cache['county']..' visitdate: '..cache['visitdate'],"\n")
Print("gc ".. cache['gccode'].." county "..cache['county']..' visitdate: '..cache['visitdate']," \n")
[/code]

If you add a return surrounded by a if you can run only parts of the script.
I was with that able to determine what code segement was the problem
And with adding comment -- line by line and finaly )-- to run part of the print I found the error
[code]
if true then
return { ok = ok, log = false, html = false }
end
[/code]