User talk:The Rooster

From The Urban Dead Wiki
Jump to navigationJump to search
Home
Talk
Bots
Contribs
Sandpit
. . .
Use the '+' tab at the top in order to create a new talk section at the bottom, failure to comply WILL result in your message being moved and a snarky reply. That's right, snarky. You wouldn't want that, would you?
The archive can be found here.


Omnimap

Thanks very much, nice to be appreciated. All the clever stuff for the map was stolen borrowed from Sweirs and Karek, I just fiddled about with their code. I am planning to move it to mainspace, but I haven't been able to do one last thing - I'd like each suburb gif to act as a link to the appropriate suburb page, and I can't do it. The best I've been able to do is to get the name to come up as a tooltip. Any ideas? (More on the problem here).

Part of the reason for the new map was to drum up support for the scentmap, because at the moment poor old Sweirs is doing most of it himself, and more mappers would be very useful.

cheers, Garum 12:14, 13 June 2008 (BST)

I've now moved it to Omnimap and put category tags on. I still haven't got the suburbs linked. Garum 15:15, 13 June 2008 (BST)
I did take the SIMgrid suburb names and scaled it for my map, and it worked fine, but I thought in the end it obscured too much of the scent data. That's why I changed the suburb borders and un-bolded the mall names, so more scent data would be visible.
You're right, what I'd ideally like is that there would be no labels (the tooltip is fine) but that the suburbs link to their articles. Clicking on them at the moment takes you to the burb-border gifs. It might be possible to put a layer of transparent images over the scent data and burbs, but under the mall names, but I don't know how to make an image link to anything other than the image page. The page is also pretty large and calls an awful lot of templates. I'm concerned that I'll hit inclusion limits or something (I did in the first version, using the {{c|colour|text}}). Any ideas? Garum 16:35, 13 June 2008 (BST)
Oh well, thanks for trying. I've put a sidebar of suburb names on the page, which isn't ideal but at least makes a link to each burb available on the page. Garum 10:18, 14 June 2008 (BST)

New Map

So, after pulling all the map data last Thursday, isolating the NTs, and converting the spreadsheet data into 100 CSV snippets, I was over-wikified, and let the whole thing rest until now. Today, I converted the CSVs into wiki-table code, changed the formatting (actually, a pipe+space combo does take more data space then a single carriage return, but it amounts to less then 10 kilobytes, so unless the margin is that tight...), assembled the complete table, added all the roll-over code, etc... Still a mock-up (no live-links to NT statuses), but take a look here, and tell me what you think at this point. Also, a gridded version is here, although I don't really like how it looks. I'm trying to find a table class that will let me make all the grid-lines the same color, but no luck so far. --Morgan Blair 22:25, 18 June 2008 (BST)

Tis nice, I've got a working NT mock up at User:The Rooster/Sandbox2 although when I informed Swiers he found it to be less than perfect in his browser, and I haven't been able to fix the problem with the suburb danger report table that refuses to be the size I told it to be, works for me but not him apparently. So nothing's been implemented. Your table version is probably the better bet unless I can work out what's going on. Anyway, the live links work for the most part, I had a bot run all the templates to include the code to allow your to define the template you want to use. The template I use is stored in User:The Rooster/Sandbox. However, a problem I have noticed is that the user line doesn't get parsed so you still get stuff like [[User:Dude|Dude]] in the tooltip. An error I can live with at any rate, but attempts to include a user line that utilises a templated signature causes the entire thing to collaspe in on itself. It preserves the styling and only the tooltip is lost (which is better than crashing at any rate) but I can't think of any way to fix the problem other than changing the report to have 3 and 5 tilde signatures so the user name and timestamp are seperate and that's not a good option. Oh, how did you get those gridlines, they're pretty neat even if you can't change the colour.
Your table doesn't appear in correct proportions to me. From the code I see that you're uisng 6x6 on each cell (from what I can tell, you've defined a diagonal line of cells like this so the others naturally follow suit) but it doesn't seem to work out. The top line of cells in a suburb looks 6x6, but all the others look more like 6x5. There's definatly a size difference at any rate. Maybe defining the suburb dimensions as well might help? I don't know. I'll screen it if you need my monitors POV. -- User:The Rooster RoosterDragon User talk:The Rooster 22:55, 18 June 2008 (BST)
I used "border="1"" to give the tables borders for each cell (seems to work independently of "style="border:2px, etc.""), and then used the "border-collapse" attribute and zero cellspacing to keep them from expanding the size of the table.
I share your frustrations with tables not being the size you tell them to be. There's something wonky in the wikicode, that doesn't handle things correctly. For example, if you make a 10x10 grid, and tell each row and each column to be 10%, and even adjust the size of the total table to account for the dimensions of borders and such, will all the cells be the exact same size? No, they most certainly will not be. In my browser, setting the size of the cells themselves in pixel dimension made it all measure out correctly, but if it's not on your end... Take a screenshot of it, and email it to me (morgan_blair@mac.com), if you will... --Morgan Blair 23:30, 18 June 2008 (BST)
If you want to see what it looks like with the grid-lines all one color, look here, but it's a bit hard on the eyes... You can experiment with different grid colors by calling the page and specifying a color, like "{{User:Morgan Blair/Sandbox5|gray}}", but nothing really looks any better. Having the gridlines in the suburb's danger-level border color seems to work the best, although I prefer the non-grid version, overall.
Anyway, I'll be taking a break on the project, for today... --Morgan Blair 00:33, 19 June 2008 (BST)

I won't bother with an e-mail, my initial thoughts were correct. Adding an overall table width and height causes the boxes to appear correctly.

{|cellspacing="0" cellpadding="0" style="{{User:DangerReport/Dakerstown}}; width:75px; height:75px"
|-
|
{|title="Dakerstown" border="1px" cellpadding="0" style="border:hidden {{{1|black}}}; border-collapse: collapse; border-spacing:0px; background-color:transparent; width:71px; height:71px"

I found the above code to correct the display for Dakerstown (On the gridded version), and two quick find & replace's should allow that code to be added. I'm thinking maybe the cell borders threw off either the wiki, or html, or my browser in some fashion since they get applied outside the thing they are applied to. If the above code doesn't somehow muck up your view, then all is good. Different numbers might be needed for the gridless one, I haven't checked. -- User:The Rooster RoosterDragon User talk:The Rooster 18:56, 19 June 2008 (BST)

Note.

No. Its alright. Its a now abandoned attempt to see if i can transfer danger reports into a map size diagram for the suburb. Thanks though. --RosslessnessWant a Location Image? 22:21, 19 June 2008 (BST)

StatusMap Legend

Well, I personally think the tall one looks better. At least the previous version of the NT Status Map (which has been deleted by now) used it. I prefer keeping the format the same so it won't confuse people who used to read/edit the article. Your change to the updating system is a big one, and I think we should keep some similaities between the old and new version. That's why I put the link to Necrotech Information Center back in the templates, to keep the links at the same place so people who get used to it can check it out.

I understand why you think seperating the table is a good idea. Still, the result doesn't look very pretty if you put two separate tables side by side. Both tables were squeezed together and their proportions were distorted. At least that's what happened on my wide-screen laptop monitor, and it should be worse on desktop ones. The tall table wasn't that tall until more detailed descriptions were put into the Building Danger Level Colors section.

I've increased the table width to reduce the height. What do you think? Better? Worse? -- Kittithaj 22:04, 27 June 2008 (BST)

The separation line is fine by me. I also increase the box width to match that of the map as you like. Ironically, I also found the way to split two tables and arrange it neatly (by removing all "width=220px" line and letting the browser draws the table by itself) by the time you were done with your version. It probably looks worse on smaller screen, though, with all the columns squeezed together. -- Kittithaj 23:30, 27 June 2008 (BST)
Suburb Danger Level Colors
Safe

Break-ins rare, no zombie groups.

Dangerous

Zombies inside many resource buildings; OR hostile mobs of 50+

Moderate

Active zombies and break-ins, but no 50+ hostile hordes

Very Dangerous

Most buildings wide open or zombie-infested; OR hostile zombie mobs of 150+

Ghost Town

At least 2/3rds of the suburb's buildings either Empty of Survivors or Ransacked/Ruined AND having no zombie mobs of over 10 and no total zombies over 60

Building Danger Level Colors
Safe

Less than 15 zombies outside.

In Zombie Hands

More zombies than survivors inside or all blocks ruined or ransacked.

Under Attack

15-50 zombies outside.

Rebuilding

Survivors recently recaptured the building.

Under Siege

More than 50 zombies outside.

Rot Revive (NT's Only)

NecroTech buildings that revive zombies with Brain Rot.

Ransacked

Less than 10 zombies inside, and any blocks ruined or ransacked.

Unknown

The building's status is unknown.

I also see your tables stretching problem in my laptop monitor. The reason why I prefer letting web browser taking care of things to using fixed width is the difference in people's monitor sizes. When I resized my monitor to 1024x768, the fixed-width, split tables stretched up the page, while the tall one we are currently using fitted in well. So, I think it's better to leave it at that. -- Kittithaj 17:27, 29 June 2008 (BST)

NT Status Map NT-Metatac-Transparent.png

Hi Rooster. Would it be possible to edit the background image to the NT Status Map so that it's lighter, maybe #efefef? I use the map a lot and the new version's grid is cool but just a bit dyslexic for me. If we could fade it back a bit it might read easier on the eye. --Zeug 05:43, 28 June 2008 (BST)

I had a similar problem as I originally didn't have any opacity, the lines do tend to burn eyes out. Can I just confirm you are seeing transparent lines rather than solid black ones. The lines are already toned down to 25% opacity (#BFBFBF on a white background). If that is what you're seeing and it's still cuasing problems then it could go down a few more notches. Maybe not the equivalent of #EFEFEF as that's 6% opacity and that's a touch low. Prehaps 15% (which shows #D9D9D9 when on a white background) If however you are seeing solid black lines then you probably need to update your browser. -- User:The Rooster RoosterDragon User talk:The Rooster 10:49, 28 June 2008 (BST)
No solid black lines, and #EFEFEF might be nicely visible but any which way you like really. As it is the grid does distract from reading the burb names and is kind of heavy graphically speaking.--Zeug 20:10, 28 June 2008 (BST)
Revised to 10% opacity. A bit light for my tastes, but preferable than having some people lose their eyesight. Is this passable? -- User:The Rooster RoosterDragon User talk:The Rooster 20:22, 28 June 2008 (BST)
Looks lovely to these undead eyes! Cheers. --Zeug 06:42, 30 June 2008 (BST)

http://sim.urbandead.info

The above site has finally gone "live". There's a few tweaks I still need to make, but it is fully functional in terms of accepting / displaying submissions.

This leaves the question, what to do with the wiki versions? My inclination is to either get rid of them (I already moved the images over to the website) and offer links to the website, or to figure out some way to pull images from the website to use on the wiki. The website will handle all the tasks your bot currently does (IE, expiring images) as chronjobs, but maybe you could get the bot to grab http:///sim.urbandead.info/images/SIM_core_image.png and stick in on the wiki as updates to a specific image? It would be very easy to re-build the current wiki maps around that image; its just a 100x100 px image that has all the scent colors in the proper places to serve as a scent map of Malton. (In fact, the initial image on the site was created by taking a screenshot of SIM and doing a bit of image editing to create that.) All I'd have to do is scale it up for display purposes. SIM Core Map.png Swiers 19:08, 29 June 2008 (BST)

Now that is pretty awesome. Kinda wish my characters weren't so newbie-ish and could actually submit some updates. Ah well.
As far as updating the wiki goes, it does sound pretty simple to update the current map system. The various maps using the system can suffer for a few days anyway. If you can scale the image up to something large (Say 990px x 990px) I should be able to do a bit of research on how to nick the image off the server in some fashion. The wiki can deal with resizing downwards as needed. -- User:The Rooster RoosterDragon User talk:The Rooster 21:44, 29 June 2008 (BST)

EMRP

i've already got a script that parses out the info in the format that i've used in EM archives. i don't really care about the toopic anymore, but i've made that page with IW links because people tend to panic "ohmygod, we lost reports" and i kind of might have them. feel free to put them up on processing for your bot or whatever else you think is usefull --~~~~ [talk] 12:29, 5 July 2008 (BST)

Thanks

I was fooling around with something to do a similar job in a scripting language. So, What's the scope of this bot? Does it add Reports to The External Military page? (The one I don't always have time to process the reports for) Or just Swiers Map?
19:40, 5 July 2008 (BST)

To clarify the above, I mean parse the reports, into a wiki friendly format. I mean, Does the bot add reports to the actual External Military page? We used to add some reports there. And Swier's EMRM/EMRP? An idea I've been toying with, Is having a body or zombie in some forgotten Ghost town suburb, with a radio, and a cron job, Some script, PHP, And one of your bots (Or something like that) Pulling the reports, And sticking the on the wiki.) 20:12, 8 July 2008 (BST)

Safe House - Dark issue

Edit collision so I will rephrase and post here... A similar report Wrong Attack Percentages below. The information is not visible enough, I did a search before posting the report, and it seems I'm not alone finding it confusing (and a very bad idea in general), top attack of zeds will be 25%, zeds only have hand to hand skills but will lose to a living human with a shotgun in the Dark, somehow it doesn't seem fair or even realistic... Are there any actions were I can add my support, asking for the alteration of this Dark effect? --Panic2k8 17:19, 8 July 2008 (BST)

The effect of dark is intended, so it's not a bug that the percentages are halved. The similar report below just hasn't been moved yet. Tangling grasp improves the percentages if you use that during your attack. If you're after changes to the dark effect, your best bet is to go to Talk:Suggestions and detail the changes you want to make. The suggestions process is complicated and full of red tape but a handful of good suggestions have been implemented. You can suggest something simple like more informative text in dark buildings or maybe something more significant like changes to how the effect works. Alternatively, just avoid buildings that suffer from the dark effect. Only a few building types are affected and they're all unimportant to survivors, all the important ones (Malls, NTs, PDs, Hospitals etc) will still contain survivors and your attack won't be affected. -- User:The Rooster RoosterDragon User talk:The Rooster 19:28, 8 July 2008 (BST)

Promotion

I've nominated you for promotion to sysop. :P Just coz I'm nice like that. If you want to accept the nomination, head for the Promotions page and say so. If you don't want to accept it, then head for the promotions page and say that as well. :P Enjoy. -- Cheese 20:19, 9 July 2008 (BST)

I must say I would've enjoyed some notice before nomination. I was thinking I might apply some time in the future, but what the heck, nought to lose! -- User:The Rooster RoosterDragon User talk:The Rooster 20:02, 10 July 2008 (BST)

Um. maybe I'm dumb. but what's a Bot?

Eactly what the headline says, what's a bot? —The preceding unsigned comment was added by Firetwig (talkcontribs) 19:16, 10 July 2008 (BST).

It's an automated program that performs actions specified by its coding. They edit pages on the wiki. Basically I create them to do certain things that I can't be bothered to do myself because they're repetitive. -- User:The Rooster RoosterDragon User talk:The Rooster 20:02, 10 July 2008 (BST)

Thoughts?

on this draft? The Great Suburb Group Massacre --RosslessnessWant a Location Image? 21:47, 11 July 2008 (BST)

Suburb/History

Hi, I was wondering if it would be possible for you to write a bot to do the Suburb/History task, for the sake of consistency in the records.--Karekmaps?! 06:12, 14 July 2008 (BST)

Special:Disambiguations

Your bot did some great work on the disambiguated locations blocks. That was taking forever by hand/was too boring to do very often. What other sort of pages in that list can be done by bots, and which ones will need to be done manually? (i.e. What can I do to help that can't be done by a bot?) --PdeqTalk* 00:17, 15 July 2008 (BST)

Most everything. The bot can only work if it 'knows' where the link should actually point by extracting the suburb it needs from something on the page. That limits it to locations blocks, some EMR records, maybe a few suburb pages where building links crop up in the news on occasion. Though I've not planned it to tackle anything beyond the location blocks for now, and it hasn't finished those yet, I've not run it in a while. -- User:The Rooster RoosterDragon User talk:The Rooster 17:34, 15 July 2008 (BST)

IRC

You should join us (Me, Revenant, Interloper (Grim), And occasionally Karek).

There's also #beerhah with some others (Wan, Animesucks, Etc)

nice little rooster...

  • squeak* Regarding the little black rooster in your sig, just redirect the imagepage to your userpage and it'll work as a link in itself. Just watch our rat -> *squeal* -- - Tinyrat.gifTRF 15:05, 18 July 2008 (BST)

Promotions

I regret to inform you your promotions bid has been unsuccessful. --The Grimch U! E! 20:36, 23 July 2008 (BST)

Adding Suburb pages to Mobile Phone Mast bot?

Hi Rooster,

I was looking into ways to add the current status of a suburb's Phone Mast to that suburb's information box. I started work on a template to provide a nice text description of the current status after the mast listing, but then ran up against the difficulty of extracting the current status from your list of masts by just having the suburb name, without availability of the parser functions.

What I'm wondering is if you might be willing to add functionality to your bot to update the suburb pages in the same way your Necrotech building bot does. The result could either be a human-friendly text status (my original idea) eg:

Phone Mast: Smith Towers [55, 16] Unpowered

My existing templates of Template:MalTelMastStatusText_active, Template:MalTelMastStatusText_inactive etc. could help with that.

However, coloring it in the same way you do the Necrotech buildings might work too.

For suburbs where the building name isn't linked, perhaps it could be added. All of this would just use the existing mast_coordinates line in the infobox.

What do you think? :) --Zhani 19:18, 29 August 2008 (BST)

External Military Report Bot working?

Is the external military report bot being ran? If so it could make it a lot easier for me to update the reports page, but it says that it hasen't been ran in over a month. Kevyn Wu 06:45, 2 September 2008 (BST)

Ackland Mall in the MIC

From what I can tell, someone tried to combine a phone mast template with the MallStatus template (because Ackland has Havercroft's phone mast). Whatever they tried didn't work, but I don't know enough about templates to fix it. Can you provide assistance? The page in question is here. --Pedentic 21:51, 29 October 2008 (UTC)

Ninja Mode?

Still alive in your box? If you're done with Urbandead and the bots, I wouldn't mind running them.. 22:15, 27 December 2008 (UTC)