Jump to content

mcfr1es

Active Members
  • Posts

    57
  • Joined

  • Last visited

mcfr1es's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. try scanning every other pixel or every n th pixel. As you can probably guess, this increases excecution speed by a factor of n.
  2. hey toddie, I have written a script ( with the help of these people in the forum) that constantly adds usernames to a txt file but first checks if it alreadyy exists before adding... I'm on a public computer right now so i think ill post when i get home. In the mean time, try it a bit yourself, thats how you learn. This should get you started: try reading the list into an array to start with and continue to add it in that array as you go along (Ubound is key in this script) then write it in the txt file as well. As you are adding new values, check that new item against the whole array. this of course involves the use of a loop. Within the loop make a counter that counts how many times the new item is different from the old items. If the counter is equal to the number of items at the end of the loop (does not already exist) add it in the array (ReDIm) and the txt file as well and loop it! hope it helped, iwill post my script later but i find you understand better if you try it yourself first -Fryboy
  3. you dont use tidy!!!! can we get jDeB in here
  4. different versions maybe?
  5. this is how you learn, thats the problem with the game scripters, they come in, do a half assed job, try to get people to make their scripts for them and leave, all the while remaining as ignorant in scripting as when they first started. take my advice, fix that script up (shorten it) and you will easily be able to catch any problems as well as make it much more functional than it is now.
  6. before you continue i think you should really take time to look at: functions, loops and arrays to make your script the least bit legible, then post again.. ALOT of unnecessary script is in there.
  7. to make it faster, try implementing a step feature, where the user inputs step # and script would search for every other pixel if step = 2 or every 3 pixels if step = 4 etc. is "untitled" supposed to be misspelled?
  8. hah
  9. eeehhhh where is that clicking for ie? thats very sloppy and can easily be thrown off with a lil lag would be better to check out: run command to open ie and search the boards for the udf named WinWaitWeb, which waits for an ie page to load Also, if you want the source, use UrlDownloadtofile instead of physically clicking the button (this doesnt require you to wait for page to load)
  10. Mistake on my part, there is no while in my script.... changing first post now and ill use return, strangely i havent used it before: would I use it like this -> return or return()
  11. in a certain part of my script, I have a function that is set up like so: Func Blah For ---- For ---- If BlahBlahBlah Then If BlahBlahBlah Then If BlahBlahBlah Then xxxxxxxxxxxxx Elseif BlahBlahBlah Then xxxxxxxxxxxxx Elseif BlahBlahBlah Then xxxxxxxxxxxxx Endif Endif ENdif If BlahBlahBlah Then If BlahBlahBlah Then If BlahBlahBlah Then xxxxxxxxxxxxx Elseif BlahBlahBlah Then xxxxxxxxxxxxx Elseif BlahBlahBlah Then xxxxxxxxxxxxx Endif Endif ENdif If BlahBlahBlah Then If BlahBlahBlah Then If BlahBlahBlah Then xxxxxxxxxxxxx Elseif BlahBlahBlah Then xxxxxxxxxxxxx Elseif BlahBlahBlah Then xxxxxxxxxxxxx Endif Endif ENdif Next--- Next--- EndFunc I want to break out of the function if one of the "xxxxxxxxxxx" parts are reached.. I know that exitloop only breaks out of do/for/while loops I tried to use ExitLoop 2 but I dont believe it works... Am I correct on this matter (that ExitLoop 2 doesnt work) and if so what else can I use? to break out of the function Note: I know that I can combine my first two "if" statements in each group but i choose to not do so for legibility purposes
  12. weeee! A valid bug report, I feel so special now
×
×
  • Create New...