Buy Brownie Points
Forumwarz is the first "Massively Single-Player" online RPG completely built around Internet culture.

You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.

You need to be logged in to post and to see the uncensored versions of these forums.

Log in or Learn about Forumwarz

Civil Discussion
Switch to Role-Playing Civil Discussion
Dom Streak Marker and Firefox 4, 5, 6, 7, 8...

Johnald The -
Robot

Avatar: 211354 2011-08-21 16:08:15 -0400
12

[Harem and Sushi Bar]

Level 69 Permanoob

JUST ANOTHER BRAINFREEZE REJECT

Log in to see images!

I SHOULD GET A PEEN FOR THIS OR SOMETHING IDK

bobdisgea

Avatar: 88331 2015-08-08 07:14:08 -0400
11

[A Beautiful Place -
Out in the Country
]

Level 34 Emo Kid

See avatar for why Duca is fat and single

aldo give him all the peens

bobdisgea

Avatar: 88331 2015-08-08 07:14:08 -0400
11

[A Beautiful Place -
Out in the Country
]

Level 34 Emo Kid

See avatar for why Duca is fat and single

Just reporting back that everything works and wondering why im happy i can play fwz again.

Johnald The -
Robot

Avatar: 211354 2011-08-21 16:08:15 -0400
12

[Harem and Sushi Bar]

Level 69 Permanoob

JUST ANOTHER BRAINFREEZE REJECT

Log in to see images!

OOOOOH I WONDER WHAT THIS SCRIPT DOES~

Hmm. I can’t click on “Install” to install anymore in Mozilla. Opens up the text of the script. Can you write a script to install scripts please?

sdgrbbum09

Avatar: 165234 2015-08-12 01:30:51 -0400
26

[A Beautiful Place -
Out in the Country
]

Level 69 Troll

I AM A BOVINE bum BAR

Bacchus Posted:

Hmm. I can’t click on “Install” to install anymore in Mozilla. Opens up the text of the script. Can you write a script to install scripts please?

Do you have Greasemonkey enabled? I think that was my problem.

aSh-gangSTA--
685

Avatar: 23493 2011-10-31 20:46:14 -0400
26

[And The Banned Pla-
yed On
]

Level 60 Emo Kid

The Delightfully Chaotic

Johnald The Robot Posted:

Log in to see images!

OOOOOH I WONDER WHAT THIS SCRIPT DOES~

alt that probably doesnt work because its probably out of date who cares i’m certainly not going to test it…

// ==UserScript==
// @name           VisitBot V2
// @namespace      derp
// @description    bot that runs visits for you.
// @include        */forums/battle/*
// ==/UserScript==

// DO NOT REDO THE TOOLBAR WITH THIS SCRIPT ACTIVE IT WILL PROBABLY GET SAD

// this is the wait time between threads.  it needs to be enough that the server doesnt get mad.
var wait = 1000; //milliseconds
/*
todo:
- check if attacks have enough secondary to be used
- use consumables
*/

var numthreads = getNumThreads();
var pwnedthreads = 0;
var moveHistory = new Array();

// get the number of threads in the forum
function getNumThreads() {
	return dogreat timesent.getElementById("thread_list").getElementsByTagName("a").length;
}
// move on to the next thread based off how many have been pwned.
function goToNextThread() {
	if (numthreads>pwnedthreads) {
		var func = dogreat timesent.getElementById("thread_list").getElementsByTagName("a")[numthreads-pwnedthreads-1].attributes.getNamedItem("onclick").value;
		func = func.substring(0, func.indexOf(";"));
		eval("unsafeWindow."+func);
	}
}
// gets the number of items in your toolbar
function getNumToolbarItems() {
	var items = dogreat timesent.getElementById("toolbar_items").getElementsByTagName("div");
	var count = 0;
	for (var i = 0; i<items.length; i++)
		if (items[i].attributes.getNamedItem("id").value.indexOf("toolbar_item")>-1)
			count++;
	return count;
}
// returns an array of the valid attacks: index = toolbar spot, value = true if available.
function getEnabledAttacks() {
	var attacks = new Array();
	var validAttacks = new Array();
	for (var i = 0; i < getNumToolbarItems(); i++){
		attacks[i] = dogreat timesent.getElementById("toolbar_item_"+i);
		if (attacks[i].attributes.getNamedItem("clbum").value == "item disabled")
			validAttacks[i]=false;
		else
			validAttacks[i]=true;
	}
	return validAttacks;
}
// returns an array of attack MINIMUM damage
function getAttackMinDmg() {
	var attacks = new Array();
	var minDmgs = new Array();
	var s = "";
	for (var i = 0; i < getNumToolbarItems(); i++){
		attacks[i] = dogreat timesent.getElementById("toolbar_item_"+i).getElementsByTagName("img")[1];
		s = attacks[i].attributes.getNamedItem("alt").value;
		if (s.indexOf("AFK") > -1) {
			minDmgs[i] = 0;
			continue;
		}
		if (s.indexOf("Attack -") > -1 || s.indexOf("Attack") < 0) {
			minDmgs[i] = NaN;
			continue;
		}
		for (var x = 0; x < s.length; x++)
			if (!isNaN(parseInt(s[x])))
				break;
		s= s.substr(x);
		minDmgs[i] = parseInt(s);
	}
	return minDmgs;
}
// get the number of turns before each attack is available
function getAttackNumTurns() {
	var attacks = new Array();
	var turns = new Array();
	for (var i = 0; i < getNumToolbarItems(); i++){
		attacks[i] = dogreat timesent.getElementById("toolbar_item_"+i).getElementsByTagName("a")[0];
		if (attacks[i].attributes.getNamedItem("turns"))
		{
			turns[i] = attacks[i].attributes.getNamedItem("turns").value;
		} else 
			turns[i] = NaN;
	}
	return turns;
}
// gets the best attack
// needs to account for line noise type things
function getBestAttack() {
	var attacks = getEnabledAttacks();
	var damages = getAttackMinDmg();
	var goodOnes = new Array();
	var x = 0;
	for (var i = 0; i< attacks.length; i++) {
		if (attacks[i] && !isNaN(damages[i])) {
			goodOnes[x]=new Array(2);
			goodOnes[x][0] = damages[i];
			goodOnes[x][1] = i;
			x++;
		}
	}
	//GM_log("goodones = " +goodOnes);
	var td = -1;
	var t = -1;
	for(var q = 0; q < goodOnes.length; q++) {
		if(goodOnes[q][0]>td) {
			td=goodOnes[q][0];
			t=goodOnes[q][1];
		}
	}
	if(t==9)
		t= 0;
	else if(t==-1) {} // do nothing
	else
		t=t+1;
	moveHistory.push(t);
	return t;
}
// boolean whether or not the thread needs another attack
function needsMoreAttack() {
	var pwnageElement = dogreat timesent.getElementById("enemy_property_bar_pwnage");
	var totalPwnage = parseInt(pwnageElement.attributes.getNamedItem("maximum_value").value);
	var currentPwnage = parseInt(pwnageElement.attributes.getNamedItem("current_value").value);
	var b = (currentPwnage < totalPwnage)
	return b;
}

// run when battle log appended with stuff.
function botTasticFunk(event) {
	var line = event.target.innerHTML;

	if (line.indexOf("entered")>-1)	{
		window.setTimeout(oneAttack, (wait))
		return;
	}
	if (((line.indexOf("lost") >- 1) || (line.indexOf("missed") >- 1)) && needsMoreAttack()){
		window.setTimeout(oneAttack, (wait));
		return;
	}
	if (line.indexOf("pwned")>-1) {
		pwnedthreads++;
		window.setTimeout(goToNextThread, wait);
		return;
	}
	if (pwnedthreads >= numthreads)
	{
		// move history numbers are toolbar location
		GM_log("Thread? Dead.  Move history: " + moveHistory);
		window.setTimeout(goAway, wait * 2);
		return;
	}
	//GM_log("nothing on this line: " + line);
}
function oneAttack() {
	var attack = getBestAttack();
	if (attack < 0) {
		// there's a bug in getBestAttack that if the toolbar hasn't gone active it breaks.
		// this will re-call it until the toolbar has gone active properly.
		window.setTimeout(oneAttack, (wait));
		return;
	}
	unsafeWindow.Toolbar.select_toolbar(attack);
}
function goAway() {window.location.href = "/bookmarks"}

if (window.location.href.indexOf("forumwarz")>-1) {
	dogreat timesent.getElementById('log_list').addEventListener("DOMNodeInserted",botTasticFunk, false);
	var visits_left = dogreat timesent.getElementById('visits_left').attributes.getNamedItem("style");
	if (!visits_left) {
		goToNextThread();
	}
}

TUBSWEETIE

Avatar: 3450 2011-07-31 00:45:06 -0400
28

[And The Banned Pla-
yed On
]

Level 37 Troll

MY MEMORY IS THAT OF A SMALL GRAPE

Log in to see images! TUBSWEETIE edited this message on 09/20/2011 1:49AM

TUBSWEETIE

Avatar: 3450 2011-07-31 00:45:06 -0400
28

[And The Banned Pla-
yed On
]

Level 37 Troll

MY MEMORY IS THAT OF A SMALL GRAPE

Log in to see images! TUBSWEETIE edited this message on 09/20/2011 1:48AM

Ricket

MODERATOR
Avatar: 4300 2011-11-01 00:56:47 -0400
100

[The Scrotal Safety-
Commission
]

Level 69 Troll

Good poster, upvoted. Also loves juicy balls (no homo).

Johnald The Robot Posted:

Log in to see images!

OOOOOH I WONDER WHAT THIS SCRIPT DOES~

Make it not get stuck in an endless loop when you run out of douchebaggery/sexiness/whatever the **** the others are.

Ricket

MODERATOR
Avatar: 4300 2011-11-01 00:56:47 -0400
100

[The Scrotal Safety-
Commission
]

Level 69 Troll

Good poster, upvoted. Also loves juicy balls (no homo).

Ricket Posted:

Make it not get stuck in an endless loop when you run out of douchebaggery/sexiness/whatever the **** the others are.

tia

bobdisgea

Avatar: 88331 2015-08-08 07:14:08 -0400
11

[A Beautiful Place -
Out in the Country
]

Level 34 Emo Kid

See avatar for why Duca is fat and single

Joseph of Su-
burbia

Avatar: 182182 2014-09-14 14:41:25 -0400
77

[Brainfreeze]

Level 69 Hacker

Foumwarz.com, Dev-free since 2012!

bobdisgea Posted:

http://userscripts.org/scripts/show/41898

I’ve been using this instead of that.

Aldo_Anything

MODERATOR
Avatar: 32555 2014-07-18 11:39:53 -0400
98

[Brainfreeze]

Level 69 Troll

male reproductive organMEISTER

Joseph of Suburbia Posted:

I’ve been using this instead of that.

P nice. Never heard of before.

Aldo_Anything

MODERATOR
Avatar: 32555 2014-07-18 11:39:53 -0400
98

[Brainfreeze]

Level 69 Troll

male reproductive organMEISTER

Could those who use it test, if the forum Clubbed Penquin is working with the script?

bobdisgea

Avatar: 88331 2015-08-08 07:14:08 -0400
11

[A Beautiful Place -
Out in the Country
]

Level 34 Emo Kid

See avatar for why Duca is fat and single

Aldo_Anything Posted:

Could those who use it test, if the forum Clubbed Penquin is working with the script?

use what

Karl Koch

Avatar: 70525 Wed Mar 18 12:02:48 -0400 2009
55

Level 69 Hacker

“Trojan Horse Magnum”

mY m4n’s t4lk1n9 4b0u7 th3 Streak Marker 5cr1p7.

l00kin9 1ik3 7hi5:

addForum("Church of Saiyantology",                              95, "????1??", "34251");
addForum("Clubbed Penquin",                                    312, "????1??", "10524");
addForum("Coffee-Shop Authors' Guild",                         276, "????1??", "31524");

Johnald The -
Robot

Avatar: 211354 2011-08-21 16:08:15 -0400
12

[Harem and Sushi Bar]

Level 69 Permanoob

JUST ANOTHER BRAINFREEZE REJECT

Ricket Posted:

Make it not get stuck in an endless loop when you run out of douchebaggery/sexiness/whatever the **** the others are.

I WASN’T GOING TO DO THIS **** YOU

DONE

Johnald The -
Robot

Avatar: 211354 2011-08-21 16:08:15 -0400
12

[Harem and Sushi Bar]

Level 69 Permanoob

JUST ANOTHER BRAINFREEZE REJECT

In Spite Of Posted:

FORUM PWNING SCRIPT

THIS ONE WORKS PRETTY WELL OTHER THAN THE PART WHEN A FORUM HEALS ITSELF IT JUST STAYS THERE AND DOES NOTHING. ALSO A LITTLE LESS NAIIVE WITH THE ATTACKS

Johnald The -
Robot

Avatar: 211354 2011-08-21 16:08:15 -0400
12

[Harem and Sushi Bar]

Level 69 Permanoob

JUST ANOTHER BRAINFREEZE REJECT

TO ALL THOSE PEOPLE ****ING THAT THEY WANT THE GREASEMONKEY SCRIPTS WORKING IN CHROME OR SOMETHING MAKE SURE YOU HAVE TAMPERMONKEY INSTALLED BEFORE INSTALLING THE SCRIPT

https://chrome.google.com/webstore/detail/dhdgffkkebhmkfjojejmpbldmpobfkfo

NOT CHECKED ON ALL THE SCRIPTS BUT A LOT OF THEM SEEM TO WORK WITH THIS ONE

Internet Delay Chat
Have fun playing!
To chat with other players, you must Join Forumwarz or Log In now!