User:Alicia Jennings
Militant Order of Barhah | |
The MOB is coming... |
Greasemonkey script
This simple script forces the weapon input-combo to default to some user-specified value.
It's still just a test though, but it seems to work fine.
If you have any thoughts about it - that's what the discussion page is for.
// ==UserScript== // @name Selected Weapon Hack // @namespace Zombie-HQ // @description Forces the 'with weapon' combo box to default to something else than punch // @include http://*urbandead.com/map.cgi* // ==/UserScript== // // To install this script you need the Greasemonkey extension installed on your Firefox browser. // You must copy the script to a text-editor and save it as "SelectedWeaponHack.user.js". // Then drag the saved file onto Firefox and from the Tools Menu select Install User Script. // At this point you should be golden and your weapon of choice should be waiting for you. // If it isn't, tough luck. // // To set your default weapons, just change the value of 'defaultSurvivorWeapon' and 'defaultZombieWeapon' variables down below // // Survivor weapons I've found so far: // punch bat axe pistol shotgun flare // // Zombie weapons: // maul teeth // // If your weapon of choice isn't in the list above - you just have to do some source hunting. (function() { //our weapons of choice var defaultSurvivorWeapon = 'axe' var defaultZombieWeapon = 'teeth' //returns an array of all elements with the name "weapon" (There should only be one) var x=document.getElementsByName("weapon") //Get the desired input guy weapons= x[0] if(weapons.options[0].value == 'punch') //We are a survivor { for(i=0; i<weapons.length; i++) //Loop through all the possible weapons { if(weapons.options[i].value == defaultSurvivorWeapon) //If it equals our weapon of choice { weapons.options[i].selected = true; //We select it. } }//Easy as cake } else if (weapons.options[0].value )//We are a zombie { for(i=0; i<weapons.length; i++) //Loop through all the possible body parts { if(weapons.options[i].value == defaultZombieWeapon) //If it equals our body part of choice { weapons.options[i].selected = true; //We select it. } }//Easy as pie } })();
Mall tour survivor stats
Current target: Mitchem Mall
NW/SW | NE/SE | Total | Sig |
---|---|---|---|
11 | 21 | 94 | --Alicia Jennings 14:26, 14 Jan 2006 (GMT) |
28 | 34 | ||
4 | 19 | 75 | --Alicia Jennings 15:53, 14 Jan 2006 (GMT) |
22 | 30 |
Wray Heights status
The suburb of Wray Heights. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|