vampireWars

By blannie Last update Dec 1, 2009 — Installed 66,967 times.

Auto-Vote

in
Subscribe to Auto-Vote 23 posts, 16 voices



atilim User
FirefoxWindows

I am trying your script and it seems very useful.

I see you add vote for tasty but it doesnt work for me ...

I dont know maybe I cant make it work ... Anyway .... Voting Like fight with list will be good & Auto vote to all clan member will be nice. And If you can make that selectable it will be perfect :)

 
Swami User
FirefoxWindows

I agree with atilim, I cannot get judging to work as well. It selects and fills the text, but never seems to vote.

It would be great if it would go to every clan member and vote for them, as these are the people one probably wants to prioritize in voting... once those are all finished for the day, then maybe vote for random vamps?!

 
blannie Script's Author
FirefoxWindows

you have to set a # of votes next to the vote selection.

Was working on my version yesterday, but indeed we need to extend functionality on this further.

 
atilim User
FirefoxWindows

First Thanks for answer blannie.

I dont understand what you mean with "#" we have to write number of votes or we have to write an id. I try to write 1 i cant make it work. I write id number of a friend. I cant turn it on too :)

I dont want to give random votes or to just one person .... I have a list and I want to use it.

 
Swami User
FirefoxWindows

Okay, it seems that putting an id in doesn't work as it might be too large a number. I got it working once I put in 500 and it votes for the random people that VW chooses. I would like, at some point to have it judge my clan members first, but this is a good start towards my "Dream" script. Thanks, B!

 
atilim User
FirefoxWindows

well I put 500 to now. & I open Judge page manually. It is working now.

But I want to give votes to just to limited ones.

 
Max Utter User
SafariMacintosh

I can only get the judging to work if I go to the page manually or put judge.php as the reload page, but then it seems to get stuck there. Also, the gifting goes through the motions but isn't actually giving anything away even though it goes through the steps counts down. Fix?

Thank you!

Max

 
Mozbrad User
FirefoxWindows

Ah, I see how this function works now. You put an integer in equal to the number of times you want to judge 3 people right now. You then go to the Judgement page and it will automatically issue judgements to the three people on the page that number of times. Each time it judges it subtracts 1 from the number you entered, and keeps the remaining number in memory. Once it reaches zero, it stops judging and moves on in the script.

Example: You enter 3 in the value (JudgeCount). You then browse to the judgement page. The script will issue judgements to the three people on the page, then reduce the JudgeCount to 2 and reload the page. JudgeCount is still > 0, so it judges 3 more people, reduces the JudgeCount variable to 1, and reloads the page. JudgeCount is still > 0, so it judges 3 more people, reduces the JudgeCount variable to 0, and reloads the page. Now, since JudgeCount is 0, it's done judging and moves on to other things in the script.

 
Toby K User
FirefoxWindows

yes i wish you could have either a list you can judge or maybe just all you clan. would be nice to vote all your clan +2 and anyone else just the +1 and leave different comment for each one.

 
Markalon User
FirefoxWindows

How can I add Auto Vote into the script such that it will automatically go to the judgment page when all other actions are complete?

For example, the script will go to Auto Minion buys when not doing missions or combat, but in order to vote you have to manually go to the judgment page. Is there something I can add to the script in order to go to the judgment page when nothing else is currently going on?

 
Markalon User
FirefoxWindows

Okay, I tried adding some code to try and get the screen to switch to the judge.php screen to start the auto judge logic. I added the code in the doAutoPlay function just before the minion and autogift logic. Here is the code I tried:

    // Added to try and get autojudge to work.
	if(GM_getValue('autojudge', '') == "checked"){
		window.location = "http://apps.facebook.com/"+SCRIPT.name+"/judge.php";
		return;
	}

Well, the operation hasn't changed. The script still works exactly the same, and autojudge only works if I manually click on the judgment link to get the screen to the judge.php screen.

Any hints as to how to add code properly to automatically switch to the judgment screen when nothing else is going on? (Like missions, fighting, etc.)

 
$!r@ User
FirefoxWindows

not working for me

 
glorp User
FirefoxWindows

just put 99999999 in the number spot and click judge tab occasionally

 
Markalon User
FirefoxWindows

glorp, that wasn't the point of the post at all... I want it to move to the judgment tab automatically when it isn't busy doing anything else so I don't have to manually click the judgment tab.

Anyway, I got it working so it now moves to judgment automatically. It interferes with gifting though so I have to turn off autojudge when I want to gift, or gift manually since gifting doesn't seem to work for me anyway.

 
glorp User
FirefoxWindows

It sure is nice that everybody else here knows how to write their own code and I can't get an update that works. Guess I better go find that Javascript for Dummies book.

 
Jeffj803 User
FirefoxWindows
Here is a script I have been running that does judge clan members only but the only problem is that it judges them tempting...havent figured out how to judge them tasty. Any ideas?
javascript:(function(){%20var%20b%20=%20document.getElementById('app25287267406_content_border');%20mydiv%20=%20document.createElement('div');%20mydiv.setAttribute('id','linkbox');%20b.insertBefore(mydiv,b.firstChild);%20var%20iterator%20=%20document.evaluate('//div',document,null,XPathResult.UNORDERED_NODE_ITERATOR_TYPE,null);%20var%20thisNode%20=%20iterator.iterateNext();%20var%20id_array;%20link_array%20=%20new%20Array();%20count_array%20=%20new%20Array();%20voteVersion%20=%20'Hemp%20Traders%20Clan%20Voting%20v.1.0
';while%20(thisNode)%20{%20if%20(thisNode.getAttribute('exclude_ids'))%20{%20var%20id_array%20=%20thisNode.getAttribute('exclude_ids').split(',');%20var%20judge_url%20=%20'http://apps.facebook.com/vampiresgame/judge.php?judge_clan=1&cids=';%20var%20link%20=%20'';%20var%20j%20=%2010;%20for%20(var%20i=0;%20i%20<%20id_array.length;%20i++)%20{%20if%20((i%j)%20==%200)%20{%20if%20(i!=0)%20{%20link_array.push(judge_url+link);%20count_array.push(i);%20}%20link%20=%20id_array[i];%20}%20else%20{%20link%20+=%20','+id_array[i];%20}%20}%20link_array.push(judge_url+link);%20count_array.push(i);%20}%20thisNode%20=%20iterator.iterateNext();%20}%20mydiv.style.color%20=%20'#ff0000';%20mydiv.style.borderStyle%20=%20'solid';%20mydiv.style.borderWidth%20=%20'1';%20mydiv.style.borderColor%20=%20'#ccc';%20mydiv.style.padding%20=%20'10';%20mydiv.innerHTML%20=%20voteVersion+'Total%20Clan%20Voted%20For:%200<br%20/>';%20jw%20=%20window.open('','judge_window','width=700,height=450');%20current_count%20=%200;%20theVoteTimer%20=%20window.setInterval(%22if((current_count%20<%20link_array.length)%20&&%20(typeof%20jw.location%20!=%20undefined)){jw.location.href%20=%20link_array[current_count];mydiv.innerHTML=voteVersion+'Total%20Clan%20Voted%20For:%20'+count_array[current_count]+'<br%20/>';current_count++;}else{window.clearInterval(theVoteTimer);mydiv.innerHTML+='Voting%20Complete<br />';}%22,%207000);%20})();
Just create a shortcut and paste that code in as the address.
 
carlsbad User
FirefoxWindows

@ Jeffj803 Not bad for clan voting, however, it does not post anything to their wall to let them know of the vote ....... Don't expect any in return LMAO

 
Johnny2k User
FirefoxWindows

Markalon, would you mind sharing your code where you got the auto-judge working on its own (idle time)?

 
kakoura User
FirefoxWindows

best way to vote and get in return is to use imacros for ff

 
Jeffj803 User
FirefoxWindows

Yeah, I found that above script elsewhere and it just uses the default settings. While it doesnt post to the others wall it does still allow you to accumulate "Cross Running Water" so it does have that as a benefit. I simply posted it to see if anyone might know how to get it to post comments and also vote tasty or give someone an idea on how to get autovote to work.

 
Dragonn Scriptwright
FirefoxMacintosh

Is there a fix posted on this? I tried making the judge my refresh page, but it 'sticks' there and doesn't move on to combat or missions...

 
zysfryar User
FirefoxWindows

One thing I've done.. is create a bookmark with "
And from time to time. I just have that clicked.

 
Tank Concrete User
FirefoxWindows

The script that was posted above is from http://www.whirledworldstudios.com/vampires/

It only votes +1 and it doesn't provide a comment, as someone else mentioned. Just thought I'd share the source of the script.

Perhaps Blannie or someone else can figure out how to make the auto-vote feature of the auto player script vote only for clan members. At least provide an option to do so.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel