Jump to content
UBot Underground

Bot only works once


Recommended Posts

Hi.

 

My work only works correctly when I run it the first time.

 

Here's what I want to do:

 

1. Text box where I can enter a value

2. Create list from file

3. Text box number has to be equal or lower than $list total

 

 

I have a stat monitor. Which monitors the variable of the Text box variable.

When I enter a number, the monitor gets updated.

 

The List contains 7 items. I start with entering a 1 then a 2 then a 3 and so on.

Everything works fine.

 

Let's assume the number I enter is 10. Now I hit start.

The variable gets reset to the 7.

 

Now I enter 10 again, and it stays 10. When I enter 50 I get 50.

When I enter 500 I get 126

 

Very strange.

 

Don't know if this is an issue. Maybe I should use an additional variable instead of the text box one?

 

 

Bot Download Link:

http://dl.dropbox.com/u/10322/Test.zip

 

Video of the issue:

http://goview.com/?id=65a53d8b-d28b-4d52-b06a-91c8a4a61e50

 

Thanks a lot for your help

Dan

Link to post
Share on other sites

Hi.

 

My work only works correctly when I run it the first time.

 

Here's what I want to do:

 

1. Text box where I can enter a value

2. Create list from file

3. Text box number has to be equal or lower than $list total

 

 

I have a stat monitor. Which monitors the variable of the Text box variable.

When I enter a number, the monitor gets updated.

 

The List contains 7 items. I start with entering a 1 then a 2 then a 3 and so on.

Everything works fine.

 

Let's assume the number I enter is 10. Now I hit start.

The variable gets reset to the 7.

 

Now I enter 10 again, and it stays 10. When I enter 50 I get 50.

When I enter 500 I get 126

 

Very strange.

 

Don't know if this is an issue. Maybe I should use an additional variable instead of the text box one?

 

 

Bot Download Link:

http://dl.dropbox.com/u/10322/Test.zip

 

Video of the issue:

http://goview.com/?id=65a53d8b-d28b-4d52-b06a-91c8a4a61e50

 

Thanks a lot for your help

Dan

 

 

I think you might need a clear list at the top of the script. Have you tried that?

otherwise every time you run the script, the contents of the file are being added again and again to the list.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...