User talk:Aichon: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(Archiving)
(→‎In-game zombie names: Seeing that I thought November/December was hectic is now laughable in light of how much worse the subsequent months got. I was just telling someone a few days ago that things fell off a cliff in December and we're only just now recovering.)
 
(284 intermediate revisions by 29 users not shown)
Line 1: Line 1:
{{User:Aichon/talk header}} <!-- EVERYTHING GOES AFTER THIS. READ THE GUIDELINES AT THE TOP OF THE PAGE BEFORE POSTING. -->
{{User:Aichon/talk header}}<!-- EVERYTHING GOES SOMEWHERE AFTER THIS. READ THE GUIDELINES AT THE TOP OF THE PAGE BEFORE POSTING. -->


== New Idea ==
== API help ==
Hi,
Bob Moncrief sent me your way. I'm looking at building a bot to prowl the Danger Reports and mark them as "unknown" after several months. I was thinking of using the API to pull page data and parse it to determine when it was last signed. It would also do the same for the MPMs every 5 days and mark them as 'old' or 'unknown' as needed. Bob didn't want to just give me the link to the API, and I don't blame him, but to talk with you about this. {{unsigned|Reimannsum|19:37, 5 January 2019 (UTC)}}
:Sorry, but bots were never my area. From what I know, there isn’t a link to give you. Once you actually build a bot, a ‘crat can assign it bot permissions, but otherwise there’s not much more to it than Googling around to see how to actually build it. If [[User:Revenant|Revenant]] is around, he can probably point you in the direction of folks who have experience making bots. {{User:Aichon/Signature}} 23:41, 5 January 2019 (UTC)


For the past half hour or so, I've been brainstorming about linking the danger reports to the status of suburbs on the [[suburb|suburb map]], but for the life of me, I can't figure it out.


The basic idea I had was to assign each status a certain value, which would be processed and result in a conclusion, for instance:
==Thanks==
I only just realised you added the suburb mini-map to my user subpage about redoing the Main Page. Thanks so much for that! {{User:DanceDanceRevolution/sig5}} 00:01, 6 January 2020 (UTC)
:Hah, yeah, I had to look up what you were talking about since I couldn't remember the details. Apparently I had some time to kill that day.
:Hopefully it proves helpful in the future. I eventually lost steam on my attempt at redoing the main page when I realized that the ideas we had weren't technically possible (no way to modify the CSS across all themes so that we could make drop-down menus work for everyone), but I'd love to see you get a redesign off the ground and put into place, since it needs an update and you've already had some good ideas for how to improve it. {{User:Aichon/Signature}} 21:28, 7 January 2020 (UTC)


Rot Revive = +5
Safe = +3
Under attack = 0
Under Siege = -1
Ruined = -3
Pinata = -4
Unknown = -5


If the sum of all values is above X, the suburb is considered Safe, if it's between Y and X, it's considered Moderately Dangerous, etc.
== Your template coding still manages to troll years later ==
[[Soldiers of Confusedmen|This is comedy gold.]] --'''<span style="font-family:monospace; background-color:#222222">[[User:Spiderzed|<span style="color:Lime"> Spiderzed</span>]][[User talk:Spiderzed|<span style="color:Lime">▋</span>]]</span>''' 22:27, 28 February 2021 (UTC)
:Hah! I haven’t played the game in years, but this made my day. I know there are a few other hidden gems scattered about, but I had forgotten about this one. Glad to see it paying dividends years later. {{User:Aichon/Signature}} 00:30, 1 March 2021 (UTC)
::Someone played the long *con* here... --'''<span style="font-family:monospace; background-color:#222222">[[User:Spiderzed|<span style="color:Lime"> Spiderzed</span>]][[User talk:Spiderzed|<span style="color:Lime">▋</span>]]</span>''' 22:46, 4 March 2021 (UTC)


Would such a thing be possible? :)
Aichon you are beautiful. {{User:DanceDanceRevolution/sig5}} 11:53, 9 March 2021 (UTC)
:Just having a little fun. ;) {{User:Aichon/Signature}} 13:39, 9 March 2021 (UTC)


{{User:Peralta/Signature}} 17:29, 17 May 2016 (UTC)
:You'd need a way to calibrate for proportion of buildings v open blocks, which can vary quite a lot from [[Ridleybank|suburb]] to [[Gatcombeton|suburb]], and would miss e.g. large groups of zombies that happen to be standing in open blocks, a situation I've recently encountered in [[East Becktown]]. And "unknown" statuses aren't indicative of zombie/survivor levels in-game, just that an area is underrepresented on the wiki. I've tried to make a system to "diagnose" suburbs this way based on EMR ([[Malton Danger Updaters/Tools#External Military|see here, point 8]]). {{User:Bob Moncrief/Sig}} 18:05, 17 May 2016 (UTC)


:Ignoring Bob's (entirely valid and worthy of consideration) points for the moment and simply answering your question, if we had one of the math extensions installed on the wiki, yup, it'd be basically just one line of code. But I'm afraid we don't, so were it anyone else asking me, I'd just say, "nope, not possible", but because it's you and I know you're willing to go to excruciating lengths to make cool things happen...yes, I think it actually ''is'' possible, but it'd be mighty tedious.
== The years fly by...==
:Just thinking off the top of my head (i.e. never done this before) doing that sort of math would mean crafting a sorta-recursive algorithm by creating a template for each of the possible values in the total range, so for your example, you'd need 1000 templates to cover every possible value from -500 to +500. Each of those templates would be hand-coded to understand which other values are reachable from it (e.g. Template208 would know it could jump to templates  213, 211, 208 (itself), 207, 205, 204, and 203, depending on what value it was given). A short example of how it would work would be something like:
Good to see you pop back in every now and then. Had a peek at your backloggery - just added you on Steam. Hope you're well! {{User:DanceDanceRevolution/sig5}} 01:27, 24 February 2023 (UTC)
:#You include Template0 and give it values A, B, and C as parameters to add together.
:I was actually reminded to poke in because I just switched to using some note taking software (Obsidian) that can operate a bit like a personal wiki. And I’m doing great! Life’s been crazy, but in good ways. Another kid, a different (better) job, and parents retiring five minutes away have meant a lot of changes.
:#Template0 tells TemplateA to add parameters B and C
:Accepted on Steam, though I’m only marginally more active on Steam than here, so it’s nothing personal if it takes me a few months to notice a chat message. I actually still check Backloggery on a daily basis, even though I rarely engage with anyone socially.
:#TemplateA tells TemplateA+B to add parameter C
:You been holding down the fort? Took a quick glance around and it seemed like there aren’t any projects that could use quick advice. Even the drama has been fairly low recently from what I’ve seen. And what’re you up to these days off-wiki anyway? {{User:Aichon/Signature}} 02:23, 24 February 2023 (UTC)
:#TemplateA+B tells TemplateA+B+C to add nothing
::Very low, very dormant. Just the same ol' wiki ticking along nowadays. Obviously it's a shame, but in some ways it's welcome. Parents retiring near you sounds like a great change, especially when kids are involved. What's new since we last chatted? Hmm. I got a mortgage and a ring, so that's new. No kids though. {{User:DanceDanceRevolution/sig5}} 09:19, 8 March 2023 (UTC)
:#TemplateA+B+C provides back A+B+C as the final answer
:::Oh, ''just'' that? ;P Congratulations and well done! And no rush on the kids. We also enjoyed having a few years before the kids arrived, which gave us time to do some projects and traveling that would've been 10x harder with the kids. We love them and wouldn't change a thing, but renovating the kitchen or taking a transatlantic flight would be a non-starter for us these days. How's home ownership so far? Hopefully you've been able to enjoy the newfound freedom that comes from home ownership without having to deal with the headaches that can arise. {{User:Aichon/Signature}} 19:44, 22 March 2023 (UTC)
:#TemplateDangerLevel takes that final number and converts it into a status
HELLO SIR LONG TIME NICE TO SEE YOU. --{{User:A Helpful Little Gnome/Sig}} 14:37, 24 February 2023 (UTC)
:So, just to provide some dry-coded pseudo-code (i.e. this is some rough logic that is not guaranteed to work or be anywhere close to correct) for how something like this ''might'' work for calculating the total of the first three blocks in a suburb (let's say our example blocks have values +3, 0, and -5):
:SALUTATIONS IT HAS BEEN TOO LONG I RECIPROCATE YOUR SENTIMENT. {{User:Aichon/Signature}} 21:30, 24 February 2023 (UTC)
:#You'd start things off by giving Template0 your individual block values and then passing the result into TemplateDangerLevel: <code><nowiki>{{TemplateDangerLevel|{{Template0|Block1Value|Block2Value|Block3Value|...|Block100Value}}}}</nowiki></code>
:#TemplateDangerLevel would have something like: <code><nowiki>{{switch|{{{1}}}|case: -500=very dangerous|case: -499=very dangerous| ... |case: 499=safe|case: 500=safe}}</nowiki></code>
:#Template0 would be like: <code><nowiki>{{if|{{{1|}}}|{{Template{{switch|{{{1}}}|case: 5=5|case: 3=3|case: 0=0|case: -1=-1|case: -3=-3|case: -4=-4|case: -5=-5}}|{{{2}}}|{{{3}}}| ... |{{{100}}}}}|0}}</nowiki></code>
:#Because Block1 had a value of 3, the above code would concatenate "Template" with "3" to then use Template3, which looks like: <code><nowiki>{{if|{{{1|}}}|{{Template{{switch|{{{1}}}|case: 5=8|case: 3=6|case: 0=3|case: -1=2|case: -3=0|case: -4=-1|case: -5=-2}}|{{{2}}}|{{{3}}}| ... |{{{100}}}}}|3}}</nowiki></code>
:#Because Block2 was 0, Template3 would call itself again, which would result in Template-2 being used (because 3 - 5 = -2): <code><nowiki>{{if|{{{1|}}}|{{Template{{switch|{{{1}}}|case: 5=3|case: 3=1|case: 0=-2|case: -1=-3|case: -3=-5|case: -4=-6|case: -5=-7}}|{{{2}}}|{{{3}}}| ... |{{{100}}}}}|-2}}</nowiki></code>
:#Because all of the parameters passed into Template-2 were empty, it would fail on the "if" statement and simply provide back "-2", which would be the final answer, which would then go into TemplateDangerLevel.
:So, yes, it should be possible, but it'd be a real hassle, the wiki may break from it (I wouldn't know without testing it), and if someone decided to change the system later, it'd involve redoing all of those templates by hand. Not fun. But possible! {{User:Aichon/Signature}} 18:28, 17 May 2016 (UTC)


:: OK, I'll look through the entire idea tomorrow morning (pretty late here), but to comment on the last part: who is still going to change the system at this point? I mean, there are barely enough people active to keep the current system alive, one of the reasons the DC was designed 4 (!) years ago.
::The whole point is to automate as much as possible. {{User:Peralta/Signature}} 19:59, 17 May 2016 (UTC)
:::Surely this would be easier with no ghost town criteria? --[[User:Rosslessness|Rosslessness]]<sup>[[Minor Mission List|Want to complete a dangerous mission?]]</sup>  19:30, 19 May 2016 (UTC)


==    ==
penus {{User:Misanthropy/Sig}} 01:04, 9 September 2023 (UTC)
:About twenty years back a grandparent told me a story about how they were talking with their very young granddaughter. The city of Miami came up at some point in one of their conversations. The granddaughter interrupted her grandfather. “Grandad”, she said, “It’s not your Ami, it’s my Ami.” Kids are selfish, yo.
:Anyway, your misspelling reminded me of that story for some reason. {{User:Aichon/Signature}} 02:03, 9 September 2023 (UTC)
::i'm kids. {{User:Misanthropy/Sig}} 01:26, 10 September 2023 (UTC)


== Howdy ==
 
If its not too personal, how are the SOC doing? Where are you cruising about these days?--[[User:Rosslessness|Rosslessness]]<sup>[[Minor Mission List|Want to complete a dangerous mission?]]</sup>  19:31, 19 May 2016 (UTC)
==In-game zombie names==
:We're doing about as well as can be expected, I think, given the state of the game. We're still on the stats page, so that should give you a rough idea of how our numbers are doing. Probably about half of our members hang out around our Darvall Heights home, working in that area full-time, while the other half go on whatever mission we're up to. Right now, we're in the southwest of Malton doing some work outside of our usual area, though we're probably at the point where we're going to head out soon, since we fully repaired the area, reset all of the repair costs, and are mostly just barricade strafing behind the handful of zombies doing stuff in the area (with the notable exception of one building). {{User:Aichon/Signature}} 19:36, 19 May 2016 (UTC)
Hello Aichon! There's a script of yours I would really like to use that I just can't seem to get working. I have had another player test too with the same problem. It's UD Same Character Highlighter. Sometimes with your scripts it's just a matter of changing the old references to http to https, but that didn't save me this time. Would be very handy to get Same Character Highlighter working for my group as we're zombies and it's a nightmare tracking who said what in-game as it just says "a zombie said". A full zombie name displayer would be even better, but I don't think there's a script for that? Thanks! {{unsigned|Ragno|10:59, 16 November 2023 (UTC)}}
:Sorry for the super-slow response. It's been...a hectic few weeks. It's been a bit since I've been active in-game. Is Dumbwit or some other service that captures a snapshot of the game still around? If so, can you link me to a recent one that shows something like what you're talking about where a group of zombies is talking back and forth? Testing UD Same Character Highlighter was always tough because those messages disappear if you refresh the page, so I used to have a handful of iWits or Dumbwits around to help with testing it.
:No promises on a timely fix for this (i.e. it may never happen, so don't get your hopes up too much), but if time allows in the next few weeks I'll see what I can figure out. {{User:Aichon/Signature}} 16:39, 1 December 2023 (UTC)
::No worries on response time, thanks very much for giving it a look. Here's a couple of ispy links that you can try it on.
:: https://ispy.dxavier.net/1459863366.html https://ispy.dxavier.net/1641562398.html  {{unsigned|Ragno|22:15, 06 December 2023 (UTC)}}
:::Good news - Avarice77 fixed it for me. Thanks! https://greasyfork.org/en/scripts/497161-ud-underline-related-profile-links {{unsigned|Ragno|14:56, 17 June 2024 (UTC)}}
::::Awesome. Yeah, I've had a reminder poking me about this every week for the last few months, but it had been so long that I forgot what my reminder was even about. >_< I'm very glad you were able to get it sorted out. I'll update that entry with a link to his code. Thanks! {{User:Aichon/Signature}}

Latest revision as of 15:50, 17 June 2024

Aichon:Talk
Aichon
ˈīˌkän :Talk

Announcement: I'm no longer active. My talk page is still your best bet to get in touch. Aichon 04:39, 15 December 2018 (UTC)

Please be aware of the following guidelines before posting here.

  • New conversations should be started at the bottom using a level two header (e.g. ==Header==). Or with the +
  • I like to keep conversations wherever they start, but if a conversation ends up here, I will keep it here.
  • I will format comments for stylistic reasons, delete comments for whatever reason, and generally do anything else within reason.

Thanks. Aichon

NOTICE

Archives: 2018 | 2017 | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | To do

API help

Bob Moncrief sent me your way. I'm looking at building a bot to prowl the Danger Reports and mark them as "unknown" after several months. I was thinking of using the API to pull page data and parse it to determine when it was last signed. It would also do the same for the MPMs every 5 days and mark them as 'old' or 'unknown' as needed. Bob didn't want to just give me the link to the API, and I don't blame him, but to talk with you about this. —The preceding unsigned comment was added by Reimannsum (talkcontribs) 19:37, 5 January 2019 (UTC).

Sorry, but bots were never my area. From what I know, there isn’t a link to give you. Once you actually build a bot, a ‘crat can assign it bot permissions, but otherwise there’s not much more to it than Googling around to see how to actually build it. If Revenant is around, he can probably point you in the direction of folks who have experience making bots. Aichon 23:41, 5 January 2019 (UTC)


Thanks

I only just realised you added the suburb mini-map to my user subpage about redoing the Main Page. Thanks so much for that! DANCEDANCEREVOLUTION 00:01, 6 January 2020 (UTC)

Hah, yeah, I had to look up what you were talking about since I couldn't remember the details. Apparently I had some time to kill that day.
Hopefully it proves helpful in the future. I eventually lost steam on my attempt at redoing the main page when I realized that the ideas we had weren't technically possible (no way to modify the CSS across all themes so that we could make drop-down menus work for everyone), but I'd love to see you get a redesign off the ground and put into place, since it needs an update and you've already had some good ideas for how to improve it. Aichon 21:28, 7 January 2020 (UTC)


Your template coding still manages to troll years later

This is comedy gold. -- Spiderzed 22:27, 28 February 2021 (UTC)

Hah! I haven’t played the game in years, but this made my day. I know there are a few other hidden gems scattered about, but I had forgotten about this one. Glad to see it paying dividends years later. Aichon 00:30, 1 March 2021 (UTC)
Someone played the long *con* here... -- Spiderzed 22:46, 4 March 2021 (UTC)

Aichon you are beautiful. DANCEDANCEREVOLUTION 11:53, 9 March 2021 (UTC)

Just having a little fun. ;) Aichon 13:39, 9 March 2021 (UTC)


The years fly by...

Good to see you pop back in every now and then. Had a peek at your backloggery - just added you on Steam. Hope you're well! DANCEDANCEREVOLUTION 01:27, 24 February 2023 (UTC)

I was actually reminded to poke in because I just switched to using some note taking software (Obsidian) that can operate a bit like a personal wiki. And I’m doing great! Life’s been crazy, but in good ways. Another kid, a different (better) job, and parents retiring five minutes away have meant a lot of changes.
Accepted on Steam, though I’m only marginally more active on Steam than here, so it’s nothing personal if it takes me a few months to notice a chat message. I actually still check Backloggery on a daily basis, even though I rarely engage with anyone socially.
You been holding down the fort? Took a quick glance around and it seemed like there aren’t any projects that could use quick advice. Even the drama has been fairly low recently from what I’ve seen. And what’re you up to these days off-wiki anyway? Aichon 02:23, 24 February 2023 (UTC)
Very low, very dormant. Just the same ol' wiki ticking along nowadays. Obviously it's a shame, but in some ways it's welcome. Parents retiring near you sounds like a great change, especially when kids are involved. What's new since we last chatted? Hmm. I got a mortgage and a ring, so that's new. No kids though. DANCEDANCEREVOLUTION 09:19, 8 March 2023 (UTC)
Oh, just that? ;P Congratulations and well done! And no rush on the kids. We also enjoyed having a few years before the kids arrived, which gave us time to do some projects and traveling that would've been 10x harder with the kids. We love them and wouldn't change a thing, but renovating the kitchen or taking a transatlantic flight would be a non-starter for us these days. How's home ownership so far? Hopefully you've been able to enjoy the newfound freedom that comes from home ownership without having to deal with the headaches that can arise. Aichon 19:44, 22 March 2023 (UTC)

HELLO SIR LONG TIME NICE TO SEE YOU. --  AHLGTG THE END IS NIGH! 14:37, 24 February 2023 (UTC)

SALUTATIONS IT HAS BEEN TOO LONG I RECIPROCATE YOUR SENTIMENT. Aichon 21:30, 24 February 2023 (UTC)


penus For hate's sake I spit my last breath at thee 01:04, 9 September 2023 (UTC)

About twenty years back a grandparent told me a story about how they were talking with their very young granddaughter. The city of Miami came up at some point in one of their conversations. The granddaughter interrupted her grandfather. “Grandad”, she said, “It’s not your Ami, it’s my Ami.” Kids are selfish, yo.
Anyway, your misspelling reminded me of that story for some reason. Aichon 02:03, 9 September 2023 (UTC)
i'm kids. For hate's sake I spit my last breath at thee 01:26, 10 September 2023 (UTC)


In-game zombie names

Hello Aichon! There's a script of yours I would really like to use that I just can't seem to get working. I have had another player test too with the same problem. It's UD Same Character Highlighter. Sometimes with your scripts it's just a matter of changing the old references to http to https, but that didn't save me this time. Would be very handy to get Same Character Highlighter working for my group as we're zombies and it's a nightmare tracking who said what in-game as it just says "a zombie said". A full zombie name displayer would be even better, but I don't think there's a script for that? Thanks! —The preceding unsigned comment was added by Ragno (talkcontribs) 10:59, 16 November 2023 (UTC).

Sorry for the super-slow response. It's been...a hectic few weeks. It's been a bit since I've been active in-game. Is Dumbwit or some other service that captures a snapshot of the game still around? If so, can you link me to a recent one that shows something like what you're talking about where a group of zombies is talking back and forth? Testing UD Same Character Highlighter was always tough because those messages disappear if you refresh the page, so I used to have a handful of iWits or Dumbwits around to help with testing it.
No promises on a timely fix for this (i.e. it may never happen, so don't get your hopes up too much), but if time allows in the next few weeks I'll see what I can figure out. Aichon 16:39, 1 December 2023 (UTC)
No worries on response time, thanks very much for giving it a look. Here's a couple of ispy links that you can try it on.
https://ispy.dxavier.net/1459863366.html https://ispy.dxavier.net/1641562398.html —The preceding unsigned comment was added by Ragno (talkcontribs) 22:15, 06 December 2023 (UTC).
Good news - Avarice77 fixed it for me. Thanks! https://greasyfork.org/en/scripts/497161-ud-underline-related-profile-links —The preceding unsigned comment was added by Ragno (talkcontribs) 14:56, 17 June 2024 (UTC).
Awesome. Yeah, I've had a reminder poking me about this every week for the last few months, but it had been so long that I forgot what my reminder was even about. >_< I'm very glad you were able to get it sorted out. I'll update that entry with a link to his code. Thanks! Aichon