keen Posted November 17, 2007 Share Posted November 17, 2007 Ok guys, I am making a FRee Rice bot. (http://freerice.com) I really dont know how to make it know what the right word is. I have a database of every single word and answer and I had an idea to make a IF $read = "word" then blah blah blah but that means doing it for every word. Any ideas on how to do this faster? [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
keen Posted November 18, 2007 Author Share Posted November 18, 2007 Bump. [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
Paulie Posted November 18, 2007 Share Posted November 18, 2007 What format is the database in? Well, to read it, you could _IEGetPageSource and do a something to pull the words out of here: <ol> <li><strong>famished</strong> means:</li> <li><noscript><input type="submit" name="SELECTED" value=" 1 "> </noscript><a href="java script: submitForm('1')">needless</a></li> <li><noscript><input type="submit" name="SELECTED" value=" 2 "> </noscript><a href="java script: submitForm('2')">freaky</a></li> <li><noscript><input type="submit" name="SELECTED" value=" 3 "> </noscript><a href="java script: submitForm('3')">starving</a></li> <li><noscript><input type="submit" name="SELECTED" value=" 4 "> </noscript><a href="java script: submitForm('4')">lame</a></li> </ol> then find it in the DB. Link to comment Share on other sites More sharing options...
Nahuel Posted November 18, 2007 Share Posted November 18, 2007 How did you manage to have access to such information? If you know all that, then I suppose the bot will write itself! Link to comment Share on other sites More sharing options...
Valuater Posted November 19, 2007 Share Posted November 19, 2007 (edited) Well this looks like a great Idea www.FreeRice.comI personally gave over 4,000+ just today8) Edited November 19, 2007 by Valuater Link to comment Share on other sites More sharing options...
Nahuel Posted November 19, 2007 Share Posted November 19, 2007 (edited) Ok, here's my try: expandcollapse popup#include <IE.au3> #include <INet.au3> HotKeySet("{F10}","hideshow") $oIE=_IECreate("http://freerice.com",1) While 1 $html=_IEBodyReadHTML($oIE) $Word=StringRegExp($html,"(?i)<li><strong>(.*?)</strong>",1) $LearnWord=StringRegExp($html,'(?i)incorrect>(.*?)</div>',1) If IsArray($LearnWord) Then $splitted=StringSplit($LearnWord[0],"=") $learn=StringStripWS($splitted[1],2) $means=StringStripWS($splitted[2],1) ConsoleWrite(">Learned a new word!: " & $LearnWord[0] & @CRLF) IniWrite("learning.ini","Learned words",$learn,$means) EndIf $isLearned=IniRead("learning.ini","Learned words",StringStripWS($Word[0],8),"") If $isLearned <> "" Then ConsoleWrite("+>Found synonym. Clicking by text(learned word): " & $isLearned & @CRLF) _IELinkClickByText($oIE,$isLearned) Else $SynonymsG = _GetSyn(StringStripWS($Word[0],8)) If IsArray($SynonymsG) Then $oLinks=_IELinkGetCollection($oIE) $Found=False For $oLink In $oLinks For $a=1 To $SynonymsG[0] If StringInStr($oLink.href,"Javascript") Then $test=_IEPropertyGet($oLink,"innertext") If StringInStr($SynonymsG[$a],$test) Then $WordToClick = $test $Found=True ExitLoop(2) EndIf EndIf Next Next Else $Found=False EndIf If $Found Then ConsoleWrite("+>Found synonym. Clicking by text: " & $WordToClick & @CRLF) _IELinkClickByText($oIE,$WordToClick) Else ConsoleWrite("-> Could not find synonym. Clicking random word." & @CRLF) _IENavigate($oIE,"java script: submitForm('" & Random(1,4,1) & "')") EndIf EndIf WEnd Func hideshow() If _IEPropertyGet($oIE,"visible") Then _IEAction($oIE,"invisible") Else _IEAction($oIE,"visible") EndIf EndFunc Func _GetSyn($sWord) $sSource=_INetGetSource("http://www.synonymer.se/en/?query="&$sWord&"&btnS=Find+synonyms") $synonyms=StringRegExp($sSource,'(?i)class="synonym">(.*?)</TR>',1) If Not IsArray($synonyms) Then Return 0 $syns=StringSplit($synonyms[0],",") Return $syns EndFunc -edit- I've noticed that after some time, the site starts throwing repeated words. So I made the bot 'learn' the words it gets wrong, so it won't get them wrong the next time. Here's the ini with a few words it has learned already to save you some time: expandcollapse popup[Learned words] rotate=turn craftsman=artisan wobbly=shaky unleash=release teenage=adolescent rug=carpet opportunity=favorable occasion chitchat=small talk cannibal=man-eater luggage=baggage consultant=advisor manufacturer=maker stargazer=astronomer witchcraft=sorcery phenomenal=extraordinary wizard=sorcerer triplet=threesome misfortune=bad luck amazing=marvelous before=previously roast=bake rich=wealthy prince=king’s son refrigerator=icebox curtain=drape outer=external announce=proclaim shining=bright bunny=rabbit mama=mother unmask=expose residence=home surgery=operation pony=small horse certainly=for sure jolly=in good spirits queen=king’s wife penny=cent fascinating=very interesting thankless=unappreciated participation=involvement accidental=by chance trot=jog compare=liken slogan=motto lullaby=soothing baby song rarely=seldom icing=frosting unwise=foolish psychological=mental prepared=ready pistol=handgun fiercely=ferociously odor=scent heartache=grief division=separation handsome=fine-looking daybreak=dawn drugstore=pharmacy behavior=conduct isolated=alone wonderful=marvelous longanimity=patience voluptuary=sensualist chagrin=mortification windfall=bonanza concordat=agreement seraphic=angelic billow=surge tawny=yellowish-brown torero=matador ordinance=regulation angular=sharp-cornered transgression=violation heroism=valor duct=tube despise=scorn heartless=cruel keepsake=memento origami=paper-folding jointly=together squishy=sponge-like emerge=come out disastrous=ill-fated curse=swear checkup=medical examination chef=cook stadium=arena minor=less important worker=laborer normally=usually afterward=later treatment=handling label=tag speedy=fast fail=be unsuccessful raisin=dried grape improve=make better quickly=rapidly elect=choose by vote puppy=young dog village=small town totally=entirely dangerous=unsafe exhausted=very tired bucket=pail sensational=spectacular swab=mop domesticate=tame bombardment=barrage ghoul=fiend fantasize=imagine impure=tainted hurrah=cheer naughty=misbehaving deliberately=on purpose lad=boy lodge=shelter magnificence=splendor maiden=young woman uptight=tense muck=gunk rewarding=satisfying youngster=child alley=narrow street sorcerer=wizard specially=particularly poisonous=venomous sketch=draw dare=challenge restrict=limit maturity=adulthood miniature=small-scale graveyard=cemetery motor=engine nursery=baby’s room plaything=toy afterwards=later temporary=not permanent misery=unhappiness breezy=airy balance=equilibrium cancel=call off elastic=springy exclusive=unshared aggression=hostility colony=settlement theory=hypothesis wallet=billfold sociable=friendly convict=inmate hound=dog spyglass=small telescope lack=be without watchman=guard illusionist=magician veterinarian=animal doctor cider=apple juice infantryman=foot soldier safari=hunting expedition vapor=fog shack=hut applause=clapping rapidly=quickly teamwork=cooperation immediately=right away completely=totally peek=quick look slaughter=killing courageous=brave enrollment=registration tasty=appetizing precisely=exactly tights=leotards seller=vendor madness=insanity flee=run away nasty=filthy choosy=particular astonishing=extraordinary dishonorable=shameful plug=stopper originally=at first global=worldwide pigheaded=stubborn withdraw=take back accelerate=move faster tactic=maneuver memorial=commemorative decade=ten years czar=Russian emperor moisture=wetness wrapper=covering shallow=not deep shovel=dig labor=work chubby=plump kettle=pot burst=break open especially=particularly nearly=almost pup=young dog seek=search for madman=lunatic educator=teacher resign=give up yucky=disgusting bachelor=unmarried man cryptography=secret writing receptive=open recline=lean back dignify=honor believable=credible wholly=completely twine=string dangle=swing kidnap=abduct seasoning=spice aide=assistant casket=coffin lumber=wooden boards detective=investigator rhythm=musical beat bun=roll abandon=forsake outrageous=shocking reluctance=unwillingness classification=category deprive=take away extract=pull out weirdo=eccentric blabber=chatter prohibition=ban sorrowful=sad prisoner=captive sweep=brush swear=curse charming=delightful romance=love affair save it as 'learning.ini' in the same directory of the script. If it continues to learn words, it's just a matter of time until it gets almost perfect. Edited November 19, 2007 by Nahuel Link to comment Share on other sites More sharing options...
Nahuel Posted November 19, 2007 Share Posted November 19, 2007 Works alright Link to comment Share on other sites More sharing options...
schilbiz Posted November 19, 2007 Share Posted November 19, 2007 (edited) Who could have imagined AutoIt would be feeding rice to the needy! Edited November 19, 2007 by schilbiz Link to comment Share on other sites More sharing options...
Brickoneer Posted November 19, 2007 Share Posted November 19, 2007 (edited) I had to change 'java script' to 'javascript' for it to work, but it works great. I added another 160-ish more words... about 400 known words now. Here is the list to put into learning.ini: expandcollapse popup[Learned words] rotate=turn craftsman=artisan wobbly=shaky unleash=release teenage=adolescent rug=carpet opportunity=favorable occasion chitchat=small talk cannibal=man-eater luggage=baggage consultant=advisor manufacturer=maker stargazer=astronomer witchcraft=sorcery phenomenal=extraordinary wizard=sorcerer triplet=threesome misfortune=bad luck amazing=marvelous before=previously roast=bake rich=wealthy prince=kings son refrigerator=icebox curtain=drape outer=external announce=proclaim shining=bright bunny=rabbit mama=mother unmask=expose residence=home surgery=operation pony=small horse certainly=for sure jolly=in good spirits queen=kings wife penny=cent fascinating=very interesting thankless=unappreciated participation=involvement accidental=by chance trot=jog compare=liken slogan=motto lullaby=soothing baby song rarely=seldom icing=frosting unwise=foolish psychological=mental prepared=ready pistol=handgun fiercely=ferociously odor=scent heartache=grief division=separation handsome=fine-looking daybreak=dawn drugstore=pharmacy behavior=conduct isolated=alone wonderful=marvelous longanimity=patience voluptuary=sensualist chagrin=mortification windfall=bonanza concordat=agreement seraphic=angelic billow=surge tawny=yellowish-brown torero=matador ordinance=regulation angular=sharp-cornered transgression=violation heroism=valor duct=tube despise=scorn heartless=cruel keepsake=memento origami=paper-folding jointly=together squishy=sponge-like emerge=come out disastrous=ill-fated curse=swear checkup=medical examination chef=cook stadium=arena minor=less important worker=laborer normally=usually afterward=later treatment=handling label=tag speedy=fast fail=be unsuccessful raisin=dried grape improve=make better quickly=rapidly elect=choose by vote puppy=young dog village=small town totally=entirely dangerous=unsafe exhausted=very tired bucket=pail sensational=spectacular swab=mop domesticate=tame bombardment=barrage ghoul=fiend fantasize=imagine impure=tainted hurrah=cheer naughty=misbehaving deliberately=on purpose lad=boy lodge=shelter magnificence=splendor maiden=young woman uptight=tense muck=gunk rewarding=satisfying youngster=child alley=narrow street sorcerer=wizard specially=particularly poisonous=venomous sketch=draw dare=challenge restrict=limit maturity=adulthood miniature=small-scale graveyard=cemetery motor=engine nursery=babys room plaything=toy afterwards=later temporary=not permanent misery=unhappiness breezy=airy balance=equilibrium cancel=call off elastic=springy exclusive=unshared aggression=hostility colony=settlement theory=hypothesis wallet=billfold sociable=friendly convict=inmate hound=dog spyglass=small telescope lack=be without watchman=guard illusionist=magician veterinarian=animal doctor cider=apple juice infantryman=foot soldier safari=hunting expedition vapor=fog shack=hut applause=clapping rapidly=quickly teamwork=cooperation immediately=right away completely=totally peek=quick look slaughter=killing courageous=brave enrollment=registration tasty=appetizing precisely=exactly tights=leotards seller=vendor madness=insanity flee=run away nasty=filthy choosy=particular astonishing=extraordinary dishonorable=shameful plug=stopper originally=at first global=worldwide pigheaded=stubborn withdraw=take back accelerate=move faster tactic=maneuver memorial=commemorative decade=ten years czar=Russian emperor moisture=wetness wrapper=covering shallow=not deep shovel=dig labor=work chubby=plump kettle=pot burst=break open especially=particularly nearly=almost pup=young dog seek=search for madman=lunatic educator=teacher resign=give up yucky=disgusting bachelor=unmarried man cryptography=secret writing receptive=open recline=lean back dignify=honor believable=credible wholly=completely twine=string dangle=swing kidnap=abduct seasoning=spice aide=assistant casket=coffin lumber=wooden boards detective=investigator rhythm=musical beat bun=roll abandon=forsake outrageous=shocking reluctance=unwillingness classification=category deprive=take away extract=pull out weirdo=eccentric blabber=chatter prohibition=ban sorrowful=sad prisoner=captive sweep=brush swear=curse charming=delightful romance=love affair adjoining=neighboring agonizing=painful gleeful=merry chute=slide onlooker=spectator heartrending=sorrowful swampy=marshy emphasis=special importance inhale=breathe in weeny=tiny dimwit=dunce pirate=buccaneer deceitful=dishonest distrustful=suspicious droopy=sagging astound=amaze skeptic=doubter counselor=adviser spectacular=sensational deformed=misshapen apiarian=bee-related mandible=jaw fissure=crack germicide=disinfectant opacity=non-transparency embezzlement=theft tyrannical=despotic contraction=shortening bisect=divide pudency=modesty dray=cart scree=slope of loose rock scruff=nape preempt=displace axiomatic=self-evident tome=book incise=carve sleight=dexterity poseur=phony rigmarole=nonsense sallow=sickly attentive=heedful peevish=irritable abysmal=wretched rhetorician=orator epitomize=be typical of enshroud=cover trachea=windpipe shuck=husk soothsaying=prophecy altruism=selflessness supplemental=auxiliary neutralize=counteract hindmost=rear impoverish=make poor plummet=drop sharply adulterate=make impure wince=flinch bigotry=prejudice buffer=cushion reincarnation=rebirth precedence=priority picturesque=pretty incapacitate=disable afar=great distance bachelorette=unmarried woman serpent=snake handily=conveniently gown=robe cooperate=work together aggravation=irritation crossroad=intersection skeptical=doubting pail=bucket sharpshooter=marksman fumble=mishandle appreciative=grateful inconsiderate=thoughtless circular=round nauseate=disgust splendor=brilliancy feebleminded=foolish carnivore=meat-eater curious=inquisitive lighthouse=beacon accumulate=gather medal=award burp=belch abuse=mistreat oarsman=rower combatant=fighter dealership=franchise celebrity=famous person dedication=commitment abruptly=suddenly turnabout=reversal elevated=high swirl=spin around flatter=compliment excessively placement=position autograph=signature itemize=list uncouple=disconnect breathtaking=astonishing suspense=uncertainty uncertainty=doubt clobber=bash audition=tryout crucial=decisive doze=sleep lightly uneasy=restless sneaky=tricky inquiry=question insanity=madness backbone=spine dependable=trustworthy sole=only tearful=weeping yowl=wail grimy=dirty obviously=plainly playful=frolicsome gracious=courteous pharmacy=drugstore buddy=pal pedestrian=walker brook=small stream needless=unnecessary hardening=solidification stun=daze mythological=legendary rebellion=uprising forger=counterfeiter tadpole=polliwog bookish=studious pulsation=throb leery=wary clunk=thump logo=symbol hazy=misty defective=faulty prediction=prophecy isle=small island secluded=isolated basin=washbowl ignoramus=dunce trance=hypnotic state lately=recently comprehensive=wide-reaching noiseless=silent scent=odor vacate=leave enlargement=expansion precision=exactness gelatinous=jelly-like surroundings=environment moldy=musty Edited November 19, 2007 by Brickoneer Link to comment Share on other sites More sharing options...
Nahuel Posted November 19, 2007 Share Posted November 19, 2007 (edited) This forum keeps splitting up 'Javascript' in my codes! Seriously, wtf...I'm using a really fast computer right now and it won't even let me see all the options before it clicks the right one! BUT, the ini file grows way too fast... I think that's gonna cause trouble. I read somewhere that the limit for a section is 32KB... Right now, my ini is 10kb:expandcollapse popup[Learned words] rotate=turn craftsman=artisan wobbly=shaky unleash=release teenage=adolescent rug=carpet opportunity=favorable occasion chitchat=small talk cannibal=man-eater luggage=baggage consultant=advisor manufacturer=maker stargazer=astronomer witchcraft=sorcery phenomenal=extraordinary wizard=sorcerer triplet=threesome misfortune=bad luck amazing=marvelous before=previously roast=bake rich=wealthy prince=king’s son refrigerator=icebox curtain=drape outer=external announce=proclaim shining=bright bunny=rabbit mama=mother unmask=expose residence=home surgery=operation pony=small horse certainly=for sure jolly=in good spirits queen=king’s wife penny=cent fascinating=very interesting thankless=unappreciated participation=involvement accidental=by chance trot=jog compare=liken slogan=motto lullaby=soothing baby song rarely=seldom icing=frosting unwise=foolish psychological=mental prepared=ready pistol=handgun fiercely=ferociously odor=scent heartache=grief division=separation handsome=fine-looking daybreak=dawn drugstore=pharmacy behavior=conduct isolated=alone wonderful=marvelous longanimity=patience voluptuary=sensualist chagrin=mortification windfall=bonanza concordat=agreement seraphic=angelic billow=surge tawny=yellowish-brown torero=matador ordinance=regulation angular=sharp-cornered transgression=violation heroism=valor duct=tube despise=scorn heartless=cruel keepsake=memento origami=paper-folding jointly=together squishy=sponge-like emerge=come out disastrous=ill-fated curse=swear checkup=medical examination chef=cook stadium=arena minor=less important worker=laborer normally=usually afterward=later treatment=handling label=tag speedy=fast fail=be unsuccessful raisin=dried grape improve=make better quickly=rapidly elect=choose by vote puppy=young dog village=small town totally=entirely dangerous=unsafe exhausted=very tired bucket=pail sensational=spectacular swab=mop domesticate=tame bombardment=barrage ghoul=fiend fantasize=imagine impure=tainted hurrah=cheer naughty=misbehaving deliberately=on purpose lad=boy lodge=shelter magnificence=splendor maiden=young woman uptight=tense muck=gunk rewarding=satisfying youngster=child alley=narrow street sorcerer=wizard specially=particularly poisonous=venomous sketch=draw dare=challenge restrict=limit maturity=adulthood miniature=small-scale graveyard=cemetery motor=engine nursery=baby’s room plaything=toy afterwards=later temporary=not permanent misery=unhappiness breezy=airy balance=equilibrium cancel=call off elastic=springy exclusive=unshared aggression=hostility colony=settlement theory=hypothesis wallet=billfold sociable=friendly convict=inmate hound=dog spyglass=small telescope lack=be without watchman=guard illusionist=magician veterinarian=animal doctor cider=apple juice infantryman=foot soldier safari=hunting expedition vapor=fog shack=hut applause=clapping rapidly=quickly teamwork=cooperation immediately=right away completely=totally peek=quick look slaughter=killing courageous=brave enrollment=registration tasty=appetizing precisely=exactly tights=leotards seller=vendor madness=insanity flee=run away nasty=filthy choosy=particular astonishing=extraordinary dishonorable=shameful plug=stopper originally=at first global=worldwide pigheaded=stubborn withdraw=take back accelerate=move faster tactic=maneuver memorial=commemorative decade=ten years czar=Russian emperor moisture=wetness wrapper=covering shallow=not deep shovel=dig labor=work chubby=plump kettle=pot burst=break open especially=particularly nearly=almost pup=young dog seek=search for madman=lunatic educator=teacher resign=give up yucky=disgusting bachelor=unmarried man cryptography=secret writing receptive=open recline=lean back dignify=honor believable=credible wholly=completely twine=string dangle=swing kidnap=abduct seasoning=spice aide=assistant casket=coffin lumber=wooden boards detective=investigator rhythm=musical beat bun=roll abandon=forsake outrageous=shocking reluctance=unwillingness classification=category deprive=take away extract=pull out weirdo=eccentric blabber=chatter prohibition=ban sorrowful=sad prisoner=captive sweep=brush swear=curse charming=delightful romance=love affair headquarters=main office follow=come after generally=commonly hardening=solidification comical=funny zap=destroy abruptly=suddenly mistreat=abuse rumor=hearsay singer=vocalist lupine=wolfish peerage=nobility entomology=study of insects collusion=secret agreement vexation=annoyance sonata=musical composition whim=impulse impiety=irreverence petticoat=underskirt parole=conditional release effervesce=fizz gory=bloody sedentary=inactive stately=grand irascible=bad-tempered tycoon=magnate sidekick=pal lure=entice den=lair symmetrical=proportionate gratify=satisfy divine=godlike grimy=dirty counselor=adviser insanity=madness dealership=franchise seldom=rarely barber=haircutter besiege=beleaguer wigwam=teepee mortify=chagrin dogged=persistent scraggly=unkempt odorous=fragrant pro=in favor of unflinching=resolute transpire=happen subside=diminish habituate=accustom topple=overturn deadlock=standstill rowdy=raucous confederacy=alliance wacky=zany chickenhearted=cowardly oarsman=rower scholarship=learned knowledge outdated=obsolete stroll=leisurely walk gab=chatter sweaty=perspiring swirl=spin around disappointing=unsatisfying carnivore=meat-eater backbone=spine essential=necessary depressing=dreary stallion=male horse rumple=wrinkle worsen=deteriorate impatient=restless dunce=simpleton wharf=pier freaky=bizarre noiseless=silent prejudiced=biased pail=bucket boring=tiresome ranch=cattle farm hilarious=extremely funny disgusting=repugnant ban=forbid cozy=snug laborer=workman certainty=sure thing couch=sofa ordinary=regular familiarize=accustom outwardly=externally spellbind=bewitch pirate=buccaneer feebleminded=foolish freshly=newly audition=tryout pancake=flapjack trample=stomp scratchy=prickly tidbit=morsel sculpture=carving accessible=approachable sharpshooter=marksman revolve=go around lighthouse=beacon spectacular=sensational swampy=marshy blockage=obstruction distrustful=suspicious moisten=dampen brook=small stream sole=only celebrity=famous person wrathful=angry atomic=nuclear remarkably=unusually mellow=relaxed needy=poor disobedient=noncompliant pillar=column drape=curtain piccolo=flute isle=small island questionnaire=survey slobber=drool basin=washbowl counterfeiter=forger courtesy=politeness logo=symbol woodman=forester buddy=pal lodging=shelter smooch=kiss disrobe=undress moldy=musty automobile=car confirm=corroborate belly=abdomen customary=usual suicidal=self-destructive flatter=compliment excessively ignoramus=dunce aggravation=irritation venomous=poisonous tot=child pricey=expensive preview=advance showing astound=amaze outlook=point of view rapidity=swiftness violin=fiddle mainly=chiefly contented=satisfied crossroad=intersection magician=sorcerer skillful=adept gangster=racketeer gelatinous=jelly-like excessive=overly much mature=full-grown lengthen=extend foamy=frothy hogwash=nonsense pharmacy=drugstore needless=unnecessary combatant=fighter wrongdoing=misconduct dignity=self-respect enchantment=spell jiggle=shake burp=belch abandonment=desertion vaccinate=inoculate sourpuss=grump dimwit=dunce mockery=ridicule soar=fly high enlargement=expansion pier=wharf gracious=courteous deceitful=dishonest breathtaking=astonishing amphitheater=arena accumulate=gather surroundings=environment repulse=drive back secluded=isolated defective=faulty stun=daze deformed=misshapen skeptic=doubter threefold=triple grumpy=ill-tempered symmetry=proportion spirited=lively elephantine=huge safeguard=protect clarify=make clear protector=guardian nutty=crazy addiction=dependence decisive=conclusive sympathize=commiserate braggart=boaster trance=hypnotic state gnaw=chew nonsensical=absurd sweepstakes=lottery regrettably=unfortunately triumphant=victorious doze=sleep lightly precision=exactness turnabout=reversal medal=award fumble=mishandle snip=cut puny=small fulfill=satisfy newborn=infant charitable=benevolent dissimilar=unlike grouchy=irritable murderous=homicidal graphic=vivid pronouncement=declaration shriek=scream wizardry=sorcery carefree=unworried maniac=madman incompetent=not capable flunk=fail playwright=dramatist sleet=freezing rain environmentalist=conservationist leery=wary stationary=fixed distressful=worrisome dilemma=difficult choice hostility=unfriendliness flex=bend scent=odor affectionate=loving serpent=snake exasperate=greatly irritate easygoing=relaxed nutritious=nourishing thud=clunk orbit=revolve elevated=high ferocity=fierceness deprived=needy precaution=safeguard suspense=uncertainty designate=specify pleasantry=nicety kinsfolk=relatives solo=alone agriculture=farming raging=furious presently=soon brainwash=indoctrinate twister=tornado mythological=legendary fraud=deceit infancy=babyhood wholehearted=enthusiastic abuse=mistreat wrecker=tow truck refurbish=renovate sneaky=tricky vacate=leave lately=recently custodian=keeper hearten=encourage crafty=cunning nosy=prying pulsation=throb prediction=prophecy radiate=shine translator=interpreter uneasy=restless proclaim=announce mortgage=property loan spacious=roomy spendthrift=wasteful person memoir=autobiography steeple=spire perceive=observe progressive=advancing blotch=spot seabed=ocean floor revolver=pistol gleeful=merry astounding=incredible villainy=wickedness rafter=roof beam fishy=suspicious glimmer=faint light domination=supremacy invigorate=energize misconduct=wrongdoing baggy=loose-fitting ripen=mature physician=doctor liking=fondness gob=lump choppy=jerky celestial=heavenly soaring=lofty bassinet=baby’s bed clunk=thump comprehensive=wide-reaching modification=change dependence=reliance irresponsible=unreliable wedlock=marriage oodles=lots chivalry=gallantry routine=ordinary chomp=bite boulevard=avenue agonizing=painful paycheck=salary argumentation=debate twitter=chirp dedication=commitmentI'll be in 10,000 in just a minute -edit- Edited November 19, 2007 by Nahuel Link to comment Share on other sites More sharing options...
ColumbusJames Posted November 19, 2007 Share Posted November 19, 2007 Perhaps you all should have taken the time to read the following FAQ at the site.If FreeRice has the rice to give, why not give it all away right now?FreeRice is not sitting on a pile of rice―you are earning it 10 grains at a time. Here is how it works. When you play the game, advertisements appear on the bottom of your screen. The money generated by these advertisements is then used to buy the rice. So by playing, you generate the money that pays for the rice donated to hungry people.Couldnt I just write a computer program to play all day and give a lot of rice that way?There are two problems with this. First, it overloads our servers so that real people cant play and learn vocabulary. Second, without real people playing and eventually buying products, it is no longer cost-effective for companies to advertise. Without advertising, we cannot give any rice at all. Link to comment Share on other sites More sharing options...
Brickoneer Posted November 19, 2007 Share Posted November 19, 2007 (edited) Hmm... how about a click on the ads on a random pages? Gets em some click-through $$. also, I already disabled images before I even started... saves them bandwidth. [edit] OR... we could just play the way it was meant to be played. Edited November 19, 2007 by Brickoneer Link to comment Share on other sites More sharing options...
Nahuel Posted November 19, 2007 Share Posted November 19, 2007 (edited) Perhaps you all should have taken the time to read the following FAQ at the site.If FreeRice has the rice to give, why not give it all away right now?FreeRice is not sitting on a pile of rice―you are earning it 10 grains at a time. Here is how it works. When you play the game, advertisements appear on the bottom of your screen. The money generated by these advertisements is then used to buy the rice. So by playing, you generate the money that pays for the rice donated to hungry people.Couldn’t I just write a computer program to play all day and give a lot of rice that way?There are two problems with this. First, it overloads our servers so that real people can’t play and learn vocabulary. Second, without real people playing and eventually buying products, it is no longer cost-effective for companies to advertise. Without advertising, we cannot give any rice at all.Yes, that's true... I guess I just got a little bit over-excited. It wouldn't really make a difference from my side, since I seem to have developed some sort of power to ignore publicity completely, so there's no point if I play either..?I'll spread around the site to make it up though , thanks for pointing it out.-edit-Why hide? Edited November 19, 2007 by Nahuel Link to comment Share on other sites More sharing options...
HeffeD Posted November 19, 2007 Share Posted November 19, 2007 What about adding delay so it's more server friendly? Making it play about as quickly as a human would solve the server overload issues. I never saw the ads anyway because I block them... Link to comment Share on other sites More sharing options...
James Posted November 19, 2007 Share Posted November 19, 2007 Strange, the bot stopped working Throws error: C:\Documents and Settings\James\My Documents\My Programming\RiceBot\RiceBot.au3 (18) : ==> Subscript used with non-Array variable.: $isLearned=IniRead("learning.ini","Learned words",StringStripWS($Word[0],8),"") $isLearned=IniRead("learning.ini","Learned words",StringStripWS($Word^ ERROR James Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Nahuel Posted November 19, 2007 Share Posted November 19, 2007 Yeah, that's because the site shows a message. Something like: "We can't make free rice donations so fast, please press back in your explorer and try again" Just make it go slower, add a sleep somewhere. Link to comment Share on other sites More sharing options...
HeffeD Posted November 19, 2007 Share Posted November 19, 2007 I get this error. -> Could not find synonym. Clicking random word. C:\Program Files\AutoIt3\Include\IE.au3 (286) : ==> The requested action with this object has failed.: $o_object.navigate ($s_Url) $o_object.navigate ($s_Url)^ ERROR Not sure what I'm doing wrong... I do have the includes. Link to comment Share on other sites More sharing options...
Paulie Posted November 19, 2007 Share Posted November 19, 2007 I get this error. -> Could not find synonym. Clicking random word. C:\Program Files\AutoIt3\Include\IE.au3 (286) : ==> The requested action with this object has failed.: $o_object.navigate ($s_Url) $o_object.navigate ($s_Url)^ ERROR Not sure what I'm doing wrong... I do have the includes.I get a similar one: C:\Program Files\AutoIt3\Include\IE.au3 (324) : ==> The requested action with this object has failed.: Local $o_ShellWindows = $o_Shell.Windows () Local $o_ShellWindows = $o_Shell.Windows ()^ ERROR ->17:57:44 AutoIT3.exe ended.rc:1 Odd... never got that error before. Link to comment Share on other sites More sharing options...
Nahuel Posted November 19, 2007 Share Posted November 19, 2007 This forum keeps splitting up Javascript into java script. You got to delete the space in the script. Link to comment Share on other sites More sharing options...
Paulie Posted November 19, 2007 Share Posted November 19, 2007 (edited) This forum keeps splitting up Javascript into java script. You got to delete the space in the script.I did that, still getting error.Could the problem be that I'm not using explorer as my shell?I'm using BBLean.It'd be weird if that was causing the problem though, it hasn't affected anything else.... Edited November 19, 2007 by Paulie Link to comment Share on other sites More sharing options...
Recommended Posts