PtokaX forum

Development Section => Your Developing Problems => Topic started by: [NL]Daddy-Bear? on 25 January, 2008, 16:21:14

Title: New Api Convert problem
Post by: [NL]Daddy-Bear? on 25 January, 2008, 16:21:14
Hello it?s me again.

Need some help please, I translated a lua with convertor.
Name of the lua = helpFully_Bot_v1.0
Get now err, mess.
>>>  Syntax Messages.txt:2: attempt to index global 'frmHub' (a nil value)  <<<  txt:2: ???
Where it?s  going wrong? Can?t find it  :(
Lua in the rar file below.

Respectfully,

[NL]Daddy-Bear?
Title: Re: New Api Convert problem
Post by: speedX on 25 January, 2008, 16:38:00
I tried the script but the above error didnt show up. Please could you tell me when do you get tht error??
Title: Re: New Api Convert problem
Post by: [NL]Daddy-Bear? on 25 January, 2008, 16:48:01
Hello it?s me again.

Hello SpeedX,
I get the error, only if the hub is running.
And within a second.

Respectfully,

[NL]Daddy-Bear?
Title: Re: New Api Convert problem
Post by: speedX on 25 January, 2008, 17:06:33
hm.....strange, I dont get tht error. Which version are you using??
Title: Re: New Api Convert problem
Post by: Rincewind on 25 January, 2008, 19:25:49

From the error it looks like you're loading a text file which contains frmHub (which no longer exists in PX API2).
Title: Re: New Api Convert problem
Post by: [NL]Daddy-Bear? on 25 January, 2008, 23:13:09
Hello it?s me again.

Hello Rincewind,

Thanks, it was idd in a txt file, that contains frmhub.

Respectfully,

[NL]Daddy-Bear?  :)