User talk:Mortal/GM

From The Urban Dead Wiki
Jump to navigationJump to search

Script discussion + suggestions go here! For suggestions it might also be faster to email me. Personal attacks, death threats, and minor hazards should go at my main talk page instead. lɐʇɹoW-t-script 01:15, 28 December 2007 (UTC)

Colouring the timestamp (suggestion)

Very nice script, one suggestion though. Colorize the date/description text "yesterday 06:31:29 here:" being the same color as the message makes it difficult to determine where the message begins and when it happened.--Karekmaps?! 14:41, 29 December 2007 (UTC)

Thanks for your suggestion - I'll implement that as soon as I get home. lɐʇɹoW-t-script 17:06, 29 December 2007 (UTC)
It's live! (as v0.11) lɐʇɹoW-t-script 21:00, 29 December 2007 (UTC)

Incompatibility with UDwidget's Iwitness functions (bug)

Just noticed two little problems. The script blocks profile links, changing them into raw text instead of links, and it seems that it doesn't work well with UDWidget's IWitness portion, stops you from using it get get submit IWitness screenshots.--Karekmaps?! 15:20, 30 December 2007 (UTC)

Hi again, I made some additions to the way the bottom-left box is parsed - if UDwidget is flexible enough, it should work with the latest version (v0.12). lɐʇɹoW-t-script 16:35, 30 December 2007 (UTC)

A Zombie

Yet another little error. A Zombie links are no longer links, they just output the raw text, stops UDWidget and makes it impossible to find out who the zombie performing the action is.--Karekmaps?! 10:58, 3 January 2008 (UTC)

Alright, I'm gonna test the currently experimental version 0.14. Feel free to test it, though I can't confirm that the changes I made actually work. lɐʇɹoW-t-script 00:57, 4 January 2008 (UTC)

Pistol clips.

Any chance of displaying the rounds in all your pistols, like i dunno - Pistol x4(6)(6)(4)(0)--RosslessnessWant a Location Image? 20:12, 16 January 2008 (UTC)

Yeah, I've been thinking about that. I'll implement it sometime soon. lɐʇɹoW-t-script 20:14, 16 January 2008 (UTC)
Thanks. My only other gripe was that it took me two weeks to adjust to the black background. But im ok now.--RosslessnessWant a Location Image? 20:17, 16 January 2008 (UTC)
Search the script for 'stylesheet'. With basic CSS skills you can change and add things there. lɐʇɹoW-t-script 20:18, 16 January 2008 (UTC)
Cheers.--RosslessnessWant a Location Image? 07:26, 17 January 2008 (UTC)

Scent Death map idea

I have a little script up called ScentMapNumbers that modifies the new scent death map to show the color code values. I wrote this with the intent of eventually translating these into numbers of zombies and bodies, but it seems there is "noise" in the system, so at best I'll be able to give an approximation. Anyhow, it would also be really nice to show the name of the location as well as / instead of this information. That's a fair bit beyond my ability to program, but I'm guessing your internal map system would be a fair starting point; any chance of getting such a thing as a stand-alone script? (I say stand alone because I probably wouldn't want to run the full script you have, It's got stuff I don't want, plus I have my own which would potentially conflict.) SIM Core Map.png Swiers 18:01, 26 January 2008 (UTC)

For my map functionality, you're going to need (quoting v0.14 line numbers):
  • Some of the helper functions
  • 16-94 (exportfunc, isset, arytojs, vartojs, exportvar)
  • 95-102 (xpath)
  • 243-257 (trimchars, trim)
  • 340-421 (array_usort, rand_domid, is_scalar_type, is_scalar, array_search, in_array, the console object)
  • The map+suburb data 547-3493
  • The tile retrieval functions 3495-3533 (gettile, geturb, geturbfreq, gettileposbyoff, gettilebyname)
  • The code to parse the document 3535-3669
Then, you'll have the user's position in the variables curx and cury, the curtile array in curtile_ary (name in [0], type in [1]). All of these, however, will only be valid, if asleep is false - that is, if the user has more than 0 AP.
You can then add the Scent Death map offsets to curx and cury and retrieve the tile data with gettile. You'll have to split these by '|' - the name of the tile will then be in [0] and the type in [1].
Hope this helps. lɐʇɹoW-t-script 21:24, 26 January 2008 (UTC)
Yeah, that ought to be enough that, given the motivation, I could manage. Thanks! SIM Core Map.png Swiers 21:48, 26 January 2008 (UTC)

Inventory Sorting(Stacking)

How do you tune multiple radios? I have four and theres a 4x radio(button). I havent clicked on it cause I dont want to waste the AP or know what will happen.--Memoman 22:43, 1 February 2008 (UTC)

With similar inventory merging scripts you have to turn it off, otherwise you will only be able to tune 1 of the radios, which ever one would be higher in your inventory.--Karekmaps?! 05:53, 2 February 2008 (UTC)
So theres no way to exclude radios from being merged in the script? If it could be, wouldnt that be useful?--Memoman 06:22, 2 February 2008 (UTC)
Just... Click the 4x already. It's exactly for things like that. lɐʇɹoW-t-script 11:01, 2 February 2008 (UTC)

Different text displays

How come there is two different ways the previous happenings text is displayed? And what criteria is used to pick which gets displayed?

Comparison pic
If you see the "UD-native" version (the first one in the pic) it's because something went wrong in the script with event parsing. If everything went well, you will see the second one with absolute (as opposed to relative) time stamps. lɐʇɹoW-t-script 13:22, 10 February 2008 (UTC)

Informing of updates

Have you updated it since the last edit done to the page, Dec. 29? I wondering if your updating it without noting the change here. If so, it would be helpful to know when its been updated. --Memoman 20:57, 15 February 2008 (UTC)

No, I haven't. I don't want to and don't have time to develop the script these days (mainly the former). lɐʇɹoW-t-script 20:59, 15 February 2008 (UTC)

Mad Props

My compliments on your script. I like it better than the fancy toolbar, and it makes life SO easier! Thank you.