User talk:Daniel Letalis/Archive 1

 Welcome Welcome to this Wiki , This is an English wiki about the game Tibia. If you are new to a wiki in general, you could use some beginner help. To make correct edits we suggest you to also read our standards and policy. Leave a message on a talk page of an administrator if you have any questions. You should sign your messages on talkpages using 4 tildes ( ~ ). This will result in displaying your name and time you put it there below your message, so we know who needs help. Good luck with your edits and we hope you feel at home soon!

The TibiaWiki Staff.

Hey, just wanted to pass you a few MediaWiki links: String functions (#sub, #len etc) and Parser functions (#if, #switch etc) in case you needed help with them. I'm not sure what you're trying to do, but I think the new version of the template already does what you posted on Talk:Damage Modifiers for? Anyway, have fun testing and don't hesitate to ask if you need help. -- Sixorish 11:32, 24 January 2009 (UTC)

Witch/Loot Statistics
Hey, did you create the Witch/Loot Statistics yourself, or used some website? It created a link to Cooky, and I'm wondering if you used my script to generate the stats. It sounds like something my script would do...

Temahk 09:17, 9 August 2009 (UTC)

Yes I used your loot processor, usually when processing words like "cookies and cherries" in english you remove the "ies" and add "y" to the word, so I guess this you should add "cookie" as an exception.

Also would be nice if you share your code or create a private place where some people (like me) can contribute to improve it.

Thanks.

--Daniel Letalis 04:19, 11 August 2009 (UTC)

Transcripts
Your bug fix seems to have messed things up somewhat. Nevermind it wasn't your bug fix. I don't know whats happened, look at the pages (yours and ours) see if you can fathom why it all decided to melt down. Disregard that, your bug fix update unfixes it. '''Craggles Random::Chat::Contributions::Tibicam Profile ''' 22:47, March 5, 2010 (UTC)

I will do more tests and let you know because the way it is now, it displays incorrectly under certain circumstances.

--Daniel Letalis 23:17, March 5, 2010 (UTC)

Possible Bug in Loot Statistics Parser
Hey, can you take a look here? It looks very odd to me... ^^ Bennie (talk ~ fellows) ^^ 10:19, March 6, 2010 (UTC)

I saw that happening on another page but thought was an isolated incident because that page didn't had the "name" parameter in the template, I'm sure it has something to do with the WYSIWYG editor enabled. I will add __NOWYSIWYG__ tag to all statistics pages that don't have it and if this problem happens again I will figure it out on javascript level.

--Daniel Letalis 05:28, March 7, 2010 (UTC)

JavaScript / plural issues
Seems your JavaScript has a problem with the plural of Bunch of Ripe Rice, see Killer Caiman/Loot Statistics. Would you suggest redirects, or a hardcoded fix? -- Sixorish 09:11, March 9, 2010 (UTC)
 * Also: Tomato (your script drops s from tomatoes I guess) found here: Bandit/Loot Statistics. -- Sixorish 09:22, March 9, 2010 (UTC)
 * Thanks, I will manually fix the pages for now and add those to the list of exceptions and add them when the script is updated for the new namespace.--Daniel Letalis 18:11, March 9, 2010 (UTC)

Can you add another exception for Very Noble-looking Watch (see Loot:Crazed Beggar). The l must be uppercase (I think this is the only l behind a dash so I can almost imagine how to program this). ^^ Bennie (talk ~ fellows) ^^ 07:52, April 12, 2010 (UTC)

It is supposed to be already fixed with the ucwords function you implemented the other day, maybe you need to empty ur cache? it is working here

Average gold: 0

--Daniel Letalis 02:53, April 13, 2010 (UTC)

Ok, nvm. Those stats were added with the parser before that function ucwords was implemented. It should work now indeed :) ^^ Bennie (talk ~ fellows) ^^ 10:26, April 13, 2010 (UTC)

Your loot stuff
Had a peak at what you've been doing on your wiki. What have you been doing? Did you get any closer to producing chances of a creature dropping an item on an item's page based on loot data we've got? I see you've got the loot basic form but in a way that I cannot follow, wanna enlighten me on how you've done it? I'm really interested. Also the lootend class doesn't do anything right? '''Craggles Random::Chat::Contributions::Tibicam Profile '''

What I do is filter/crop html data, I use "lootend" to crop but probably I could use. I have one doubt I'm sure it is related to the wiki processor limits (that can be seen on page source code) I can't find info with google or mediawiki manual: Category: Pages containing omitted template arguments, what is that?

NewPP limit report Preprocessor node count: 11133/1000000 Post-expand include size: 325519/2097152 bytes Template argument size: 2094628/2097152 bytes

I will try to improve that later, the same method could be applied to the current tibia.wikia loot template without the Min-Max data but I think min-max data is important and I don't think that rarity would have to be calculated by total/kills but times/kills.

Later I will make more tests

--Daniel Letalis 22:41, May 22, 2010 (UTC)
 * " This category is populated automatically by the MediaWiki software. It lists articles that exceed the Template limits, due to having arguments to templates which are too large. These pages should be edited to reduce the number of expensive calls." this; seems like you've tried to do too much with the template, Template:Loot2/Short doesn't look too healthy for arguments and functions. Maybe decreasing the max number of drops from 40 to 20? I'd also decrease your number of fake items, however if the code is that intensive on the server it may not be the best method. I dunno, all I know is that wikia doesn't want lots of operations. Also that page says that if any of those numbers you've quoted are near their maximum then the page is reaching, or has reached, it's limit. '''Craggles Random::Chat::Contributions::Tibicam Profile

'''
 * "There is a limit of 500 to the expensive parser function count, i.e." and you've got 989 counts of explode and 180 if's '''Craggles Random::Chat::Contributions::Tibicam Profile

'''