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)

Admin
Here you go, congratulations :) ^^ Bennie (talk ~ fellows) ^^ 11:09, May 26, 2010 (UTC)

Congratulations! :) Beejay 11:36, May 26, 2010 (UTC)

Thanks a lot guys, I will not disappoint you and this wiki :) --Daniel Letalis 02:54, May 27, 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

'''
 * It just wasn't best pleased with your 40 instances of loot dropped (not likely to happen in the wiki anyway) '''Craggles Random::Chat::Contributions::Tibicam Profile

''' 23:29, May 22, 2010 (UTC)

"explode" and "if" are not expensive, only "ifexists" or something like that and others that are not functions, I think it has something to do with the many explodes anyway, I believe every time is used, it is sum to "Template argument size", I already tried other ways but "Post-expand include size" was too big, now "Template argument size" may be too big, I will keep doing tests when I finish my hunt. --Daniel Letalis 00:50, May 23, 2010 (UTC)

Examples with Loot and Loot2 templates: w:c:dantest:User:Daniel_Letalis/test

I made improvements over resources use, only limitation that come to my mind for now is that we can't sort items in case they are not sorted in the Loot Statistics page but the loot parser always sort them so I think this is not a problem.

I tested rareness with text instead of % and it seems to use almost the same resources, so I guess this template is complete for now.

If we use %s over 100(total amount/kills) for rarity we could get accurate values but text Rareness would be impossible to define.

--Daniel Letalis 06:50, May 23, 2010 (UTC)
 * I think if for the short stats that if we're using amounts of gold (such as 1-139 say) the percentage should be based on times rather than total. I know I said total / kills, but looking at the stats it'd make more sense to the user if the percentage were less than 100 for gold and was based on the likelihood of the monster dropping at least 1. I see you've already done that for loot2, nevermind then. Good job. Don't mean to pester you but will you update the loot parser to handle amounts and times and such? Thanks so much '''Craggles Random::Chat::Contributions::Tibicam Profile

''' 20:52, May 23, 2010 (UTC)

I'm updating the parser but will take a little bit more time than expected, I made too many changes to the "Loot1" parser since I had both parsers ready and I want all those changes and fixes included in the new "Loot2" parser.

--Daniel Letalis 02:53, May 24, 2010 (UTC)

w:c:dantest:User:Daniel_Letalis/Test

I think template may need some adjustments it makes more logic to me say 2-100 gp than 0-100 gp what do you think? Items with same Rareness are sorted by the % instead of alphabet, that could be changed on the parser sorting but I think it is ok they are sorted by %. The data from "New template" was created with some logs I had and the new parser, the data marked as "Current" it's current data of tibia.wikia

Parser is ready too, I want to keep testing it just to check it doesn't have any strange error/bug. And you can test it also if you have any log.

w:c:dantest:Loot Statistics

--Daniel Letalis 10:18, May 24, 2010 (UTC)
 * I agree with the 2-100 gp thing, our percentages are based on the chance of any gold dropping now, so the absolute minimum is not 0. All the templates look really good. Looks like the loot will integrate seamlessly, be a great day when we don't have to maintain huge loot lists for commonly hunted creatures. Hate to pester, but did you have any more ideas on how to make item pages have loot percentage drops from creatures? Minor note - your tibia ml links include Loot Statistics: in the url. '''Craggles Random::Chat::Contributions::Tibicam Profile

'''

The "Loot Statistics:" on tibiaml link should be because I don't have namespace "Loot Statistics" on dantest, also one of the "Short" templates needs removed 2 ":"s because of the same reason.

I don't understand what you mean with "item pages have loot percentage drops from creatures". --Daniel Letalis 21:17, May 24, 2010 (UTC) -- First I want to note that we had a similar discussion before, but having this discussion again only indicates there is a real need for a new loot template with more information. So I agree we should give a shot to that, so let's start making a Template:Loot2 to test what's possible and play around to see what we really want.

''I always imagined that if we had a lot of loot statistics on the item page it would show the creatures it's dropped by with percentages and ordered. For example on Fire Sword it would say:

Dropped by: Hellfire Fighter (4.15%), Hero (1.21%), Dragon Lord (0.22%).''

I'm not sure if that's possible to do automatically and even if it is, when there are not enough stats for a certain creature it would give a wrong idea. ^^ Bennie (talk ~ fellows) ^^ 07:29, May 21, 2010 (UTC) - Bennie described it much better than I can. '''Craggles Random::Chat::Contributions::Tibicam Profile '''

I read that on Bennie talk just forgot, one way should be that we only maintain the list of monsters and the % are generated by a template. About the few kills, I think we can use just omit the % if the kills aren't enough. I will make tests probably later but it seems very difficult to achieve or maybe impossible, my last attempt to make numbers sort with templates didn't work.

--Daniel Letalis 21:50, May 24, 2010 (UTC)

w:c:dantest:User:Daniel_Letalis/Test2

I tested with gold coins, the resource use may be a little bit high and I don't have more ideas to optimize the templates. The sorting has to be done with JS. --Daniel Letalis 10:44, May 25, 2010 (UTC)
 * The main contenders for high resource use are meat ham and gold, we'll just leave those be. We'll just have to add a manual input variable that overrides the automated loot system. We'll need to do it on both creature and item pages as there will be exceptional pages that need to be handled with care. '''Craggles Random::Chat::Contributions::Tibicam Profile

'''

Both templates are designed to only show % if the amount of kills on statistics is over some number we have to decide yet.

For the items template, I would say it defaults to show % with template and if the parameter droppedbynoauto is specified it just displays the "normal" data. That way we only would require a small change on Template:Infobox Item and add the parameter to items like ham, gold coin and meat.

For the monsters template I think we wouldn't have to change most monster pages, just a small modification on Template:Infobox Creature and pass the loot parameter there to the alt parameter in Loot2/Short. We may need a parameter to omit template data too, maybe lootnoauto. Because even when having a lot of loot information, some items may be missing like moon backpack in Wisp.

Assuming we don't have enough kills for Monk, how should be displayed the "Dropped By" in Lamp

A: Orc Berserker (0.35%), Monk (?)

B: Orc Berserker (0.35%), Monk

C: Orc Berserker (0.35%), Monk (?%)

As all the new data will come from the new parser I want to test it a little bit more, after adding the new parser we will still have time to implement the templates because they won't be used until we have a lot of loot statistics data.

--Daniel Letalis 13:31, May 25, 2010 (UTC)
 * I'd say B as the ? mark may make the user think they need to add some data somehow, and if they don't understand how the auto loot system works they could either break a page or get annoyed. Either case is bad for us. Is it safe to start moving some of your templates over?  Craggles  ಠ_ಠ  Talk ∙ Contribs

They can be moved but:
 * Some instances of {{:Loot_Statistics: need to be changed to {{Loot_Statistics:
 * I will remove the (?) from DroppedBy and the javascript may need changes(not sure)
 * About Loot2 template, I think we didn't finished discussing what columns will be used for it and I used different columns than you, changing/improving columns would require modifications on all templates but it's easy, just change of some fixed numbers.

I will come back later maybe around 10 hours. --Daniel Letalis 13:54, May 25, 2010 (UTC)

I was thinking, wouldn't be better to implement all together with the summer update? Loot will probably change so I think we better leave statistics that people is uploading now in the "Loot" template and use Loot2 for the new version, what do you think? --Daniel Letalis 06:56, May 29, 2010 (UTC)
 * Solid idea, no objections.  Craggles  ಠ_ಠ  Talk ∙ Contribs
 * Has the dropped statistics stuff been implmented yet? The pages where the droppedby template is transcluded show no sign of it. Furthermore I can't see why those pages that involve the template have been chosen.  Craggles  ಠ_ಠ  Talk ∙ <font color="#6e86ff">Contribs  12:56, August 6, 2010 (UTC)

About what Craggles said above, I think it would be a good idea to implement this into the creature pages to show the %s or rareness of how often an item can be dropped. I've seen this sort of thing on TibiaML and I think it's a very good idea, only a little note to explain why items may not appear on a page should suffice, atleast it means the pages are more up to date with the current loot and do not contain loot which has been removed and it saves time adjusting creature pages, like when the new creature products were added. I think it would look better for the pages as well. Also, seeing as people have varied opinions about their definitions of Rareness, this change would clear up that problem also. Beejay 10:37, August 27, 2010 (UTC)

Maps
Hey Dani,

I thought about it, and well, I'm not sure how could I help either, but I can if you need any help with anything.

The question about hosting the map here, is: how practical, how big will it be and if wiki is willing to host it. If it's practical and wiki is willing to post it here, then it has to be implemented and all links to all references on the map will need to be changed (my guess is that this will need to happen anyway with the new one from tibianews). Again, we can work together on interface, design and discuss details, if you are doing all the programming, I could help with all the rest, like, relinking all things.

Let me know your ideas,

Lysie 20:50, June 15, 2010 (UTC)

Images could be used in gif format directly from wiki like this: or.

Tibia has 15 floors so loading all images would be too much load, loading them by floor when they are needed like Outfiter does with outfits seems better to me.

The maps that are not ground floor would be gotten from players map, for the beginning we could use my map files that have a lot of areas explored, then users can improve images or upload .map files so me or other person with map viewer improves the images.

So far this is what I have thought:
 * The map would be dragable and zoomable, all with javascript
 * The interface would have:
 * Buttons to change floor and zoom
 * Button to get template to insert current map view on wiki with the minimap template
 * Button to get link to the direct map link page (from current map view)
 * Another page that is used for direct map links, map get processed similar to template but in javascript to be able to use coordinates in the link: i.e. tibia.wikia.com/wiki/Wikimap?x=125.2&y=120.7&z=7

This will require html and javascript in the same way loot parser and outfiter are implemented (probably messy) but I think it will work.

I'm really bad with interfaces so if you want to start designing something with css/images u can do it. I think a map viewable area of 512x384 pixels would be good but any size is ok as long as it is practical and fits on wikia.

I have a small piece of code that works on all browsers for drag and drop elements in valid (x)html documents, I also got a function that keeps map centered on zoom on swishmax, probably it's easy to adapt it to javascript.

I guess what is left now it's start working on it, you can try to do something in regular html/js if you have time and want to. I will work on this in some days anyway.

We need to test a lot the system before implement it but I hope it is good for everyone in the future. --Daniel Letalis 05:45, June 16, 2010 (UTC)

Hey Dani, Ok, so we're gonna work it. I will be a bit busy for the next few days, but will have a loot at it as much as my time allows me to. Any questions I will stopping by. Cheers, Lysie 20:20, June 16, 2010 (UTC)

Heya Dani, sorry for taking so long to get back to you. Had a lot going on with university and work. Anyway, I'm looking into the map, but is there anywhere I can see the code for the outfiter to see how exactly you guys did it? Cheers

Lysie 12:42, June 24, 2010 (UTC)

No problem I've been absent too.

Before uploading to wiki I make tests locally with MOWES or simply html files, sometimes heavy modification is required to adapt it to wiki (like outfiter) but depends on how it is programmed.

Loot parser:
 * Files: Loot_Statistics, Loot_Statistics/Lootparserloot, MediaWiki:Common.js(some lines)
 * Works like this: MediaWiki:Common.js checks if the page name is Loot Statistics, if it is, it makes an ajax call that loads Loot_Statistics/Lootparserloot then run it, Loot_Statistics has some  s with ids that are used by the code.

Outfiter works in similar way but it loads the images from base64 encoded images stored on wiki pages because regular images are not stored on the same domain and cross domain ajax calls are blocked on most browsers. Files for outfiter: Outfiter, Outfiter/Code, MediaWiki:Common.js(some lines), Outfiter/Archdemon, Outfiter/Assassin, Outfiter/Barbarian, etc.

I think outfiter is very badly written, maybe loot parser too but loot parser is easier to read as far as I remember.

--Daniel Letalis 00:54, June 25, 2010 (UTC)

Sorry Dani, haven't seen that you had replied up until now. Will be having a better look at them tomorrow. As you said the lootparser is much easier to read. At least it's all in one file. I'll have a look tomorrow during the day and let's hope we can start pulling that together. I'll try and come up with the look and the buttons and see if I can do any coding, so we can discuss what can I do (cause I'm not all that great in programming -> begginer!!!) Have a good weekend,

Lysie 20:56, July 3, 2010 (UTC)

I started to work on the js version, just to make some tests and see the limitations we will have. For now what I've seen is that we will make 4 different things for maps, 1 is the template to show maps with marks on the pages and it's already done but maybe can be improved w:c:dantest:Template:Minimap, second would be the template that generates the links that make popup maps as Bennie suggested(this one is very easy so np in doing it later when needed to test), the other 2 are very similar to each other, the main map page, similar to tibianews (that can also recive coordinates by link i.e. tibia.wikia.com/wiki/Wikimap?x=125.2&y=120.7&z=7) and the popup map that Bennie suggested and will appear on some pages like when clicking "here" on NPC pages.

I've been thinking about coordinate values for x and y, I think I was using decimals on them but maybe the best is to do it like this: x=125.200 that would mean x = (125*256)+200, the 125 would be the quadrant as shown here w:c:dantest:Template:Minimap and the 200 would be how many pixels inside that quadrant. I think is best to use 125.200 instead of big numbers (32200) so templates are more readable for users.

I will be working on the popup thing and the popup template but without map(map will use similar code to the main map page), then I will fix the template to use coordinates by pixels instead of decimals.

You can keep doing an interface and let me know your progress or if you have doubts with main map page. Don't think you have to do all the code for the main map page, just start it and do what you think you can do, even pieces of code for some specific functions would be ok. I say this because I know programming stuff like this is complicated sometimes and u said you are a beginner. --Daniel Letalis 22:23, July 3, 2010 (UTC)

I've been working on this and now I have a draggable, cross browser compatible, zoomable, floor changeable, popup map that can have marks that can link to wiki articles. I will finish some details and work on the part that generate the template code. I hope I can implement it on tibiawiki next week. --Daniel Letalis 12:59, July 9, 2010 (UTC)

Dani,

Where are the images for outfiter stored? I could use some of them, this way we don't have to upload them all over again and it can pull all from the same place. Working on HTML/CSS, but need to know about that to be able to continue. Cheers, Lysie 17:36, July 14, 2010 (UTC)

About images for outfiter: Outfiter/Archdemon, Outfiter/Assassin, Outfiter/Barbarian, etc., they are base64 encoded so you probably need to create a php script that decodes them and transform the to file or use the javascript function that decodes them on Outfiter/Code, also those images are in no color format+mask, you still need to apply the mask and multiply filter to add color to them, dunno why you would want to use them but if I find your project interesting I may help. --Daniel Letalis 22:34, July 14, 2010 (UTC)

I use Tibia Map Viewer and it seems you did/do. In the Ice Islands TMV displays the color white (from snow in game) as transparent. I have looked over the various files and am not certain where it analyzes the colors and consequently blanks out white. So i was wondering if you had come across it, perhaps in designing Mapper. --DM ><((°> Contribs <°))>< talk to me 04:44, July 21, 2010 (UTC)

I made a small change to TMV and then recompiled it so it displays correctly that color

Changed 2 times, 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0,           //D4 TO 0,0,0,0, 0,0,0,0, 0,0,0,0, 255,255,255,0,           //D4

in Mapper.cpp TMV 3.2 source code (zip file here: http://sourceforge.net/projects/tmviewer/files/)

I can upload the files or the executable in case you need them, just let me know. --Daniel Letalis 05:01, July 21, 2010 (UTC)

Loot Parser upgrade
Hey Daniel,

I expect the summer update within a week, maybe already tomorrow. Do you have the new version of the loot parser already done? If so, could you update the lootparser asap after the summer update. I think there are already people uploading loot stats from test server, this should be avoided (because the loot rates are still altered on the TS daily). ^^ Bennie (talk ~ fellows) ^^ 06:19, June 24, 2010 (UTC)

I've been so busy lately but the new parser is ready, I was thinking about "merging" both parsers so depending on the version the player chooses the correct template is used. I will have time this weekend so I will work on that. I don't think update is tomorrow because usually they announce some days earlier but I will check site now and then and work on it if needed. --Daniel Letalis 00:54, June 25, 2010 (UTC)

Outfiter
Nice work with the outfiter, but i wonder if the Nightmare Knights outfit will never be there? Sez The Withe 12:11, June 28, 2010 (UTC)

Well, no one ever noticed and told me about it, I will add it in some minutes, it's easier with outfits that are in the 8.57 file -- Daniel Letalis 20:39, June 28, 2010 (UTC)

Wrath of the Emperor Quest
Hey Daniel, I'd love to upload some pictures about the sqms that should be walked on the mission 1 of this quest.

But when i tried i received this message, You cannot upload images on this wiki.

Dake2ms 20:04, July 1, 2010 (UTC)Daniel too!

I think 3 days have to pass before you can upload images, if you want, you can upload them to tinypic and let me know the links here I will upload them and add them to the article. Thanks. --Daniel Letalis 20:41, July 1, 2010 (UTC)

Possible loot statistics issue
When you have time, would you please take a look at User_talk:Beejay. It appears as though User:Pow Plastique may be having some problems with uploading loot statistics. Thank you! :) Beejay 12:02, July 5, 2010 (UTC)

Hey, I think I figure it out, I think my problem is I was uploading the information too fast, yesterday I had no problems at all, I have uploaded like 10 statistics in a row without any problems doing something like that, press upload, wait it finish, count 3 mississippi and do it again @@ maybe I'm crazy but it works like a charm... Anyway, my machine info is: Win XP SP 3 up to date, Firefox 3.6.6, Flash Player version 10.1.53.64, firewall and antivirus kaspersky 2010 up to date, network firewall is iptables running on a backtrack bt 4 final, basic config just some sites blocked that I don't want my family have access (porn sites, gambling etc...) my rig is Q6600 @ 3ghz, 1x4gb ddr2 1066, 3x500gb hdd.... Well I think that is it, any more complex information you want let me know or any log of any program, I'm gonna hunt in some hours and I will upload more statistics, I'm gonna test if my theory that I was doing it too fast is right... (anyway, it is the first time I'm answering something here, not sure if I'm doing it right ;D) Pow Plastique 21:38, July 6, 2010 (UTC)

Separation line, signature and great detail on response, I guess u did good.

I made the tests on the same software configuration as you but with no software firewall and my Internet is not very responsive, had no problems, so probably wait a bit would be enough and the problem can be either firewall restriction or wikia bug/restriction.

Let me know if you find problems again. --Daniel Letalis 23:54, July 6, 2010 (UTC)

About the mapper...
Hey ya, I see that you delevoped a mapper, so I'm thinking about update some pages and change the old tibiacity map link (that isn't working anymore) for this new one... So, I'm asking if it's good to use this new map already or?

Btw, pretty nice job you did with it! ;D Att, Pow Plastique 13:41, July 22, 2010 (UTC)

I never saw tibiacity map, I'm currently processing a list of tibianews map links so I come out with something that include all links on tibiawiki and translate them so we can copy and paste and would be something like this (ignore search button, users would open the link in a new window, replace red text for green text):

Edit Carlin

Of course the edits would have to be checked according to the context but having the coordinates translated saves a lot of work.

I will work on that generated list as soon as I have time, if you really meant tibiacity map, please give me an example link so I can create a list of changes with those links too.

--Daniel Letalis 14:48, July 22, 2010 (UTC)

Automap files
Hello! I'm a great explorer and i have some maps more explored, maybe you can use it too. &raquo; Sez ~ Talk &laquo; 13:36, July 31, 2010 (UTC)

You can just upload them to megaupload, rapidshare, etc, give me the link and I can merge them, or let me know if u want the mapper viewer in source code or executable form. --Daniel Letalis 05:39, August 1, 2010 (UTC)

Ok, i uploaded to rapid~, the link: http://rapidshare.com/files/410387552/Automap.rar

I dont know if its allowed to paste such links here, if isnt allowed please delete :P

I have all main continent, darama, full explorer on the normal floor, i walked for all the borders using diagonal walking (you explore a bit more). Also i have all forbidden islands on all floors, all beregar (all the tunnel), all kazordoon tunnels (i think so), the ice islands, svagrond, the maps of undergroond OF are more updated. I hope it can help you

One last thing: Amazing job with the mapper! Very thanks! &raquo; Sez ~ Talk &laquo; 15:17, August 1, 2010 (UTC)

I updated the main floor only for now, I had to manually fix the map because it has some trash bytes (I've had the same problem with my own maps on the past but dunno the reason, probably old tibia client bug). I will modify map viewer code so this trash is not shown and then upload the rest of the floors. Thanks for sharing your maps :) --Daniel Letalis 02:54, August 5, 2010 (UTC)

I have a lot of thorough maps of lower level places, but i would rather wait for Sez' to be updated first then see what is needed. No need to rush on my part since i am busy myself, i just want you to know they are available when you are ready with his, etc. --DM ><((°> Contribs <°))>< talk to me 04:24, August 5, 2010 (UTC)

I will ask Cip for a complete map :) ^^ Bennie (talk ~ fellows) ^^ 06:26, August 5, 2010 (UTC)

I don't think they publish maps of all levels, maybe only main floor, like the old one that is linked on your talk page but updated. --Daniel Letalis 07:22, August 5, 2010 (UTC)

Yeah, here you go: http://download.cipsoft.com/fansites/map/overviewmap07.bmp ^^ Bennie (talk ~ fellows) ^^ 14:41, August 10, 2010 (UTC)

is it posible to get the mapviewer sourcer and .exe? i use to add images to a lot of pages, but with the buildin minimap of tibia that is a pain... --Glotzer 17:28, August 27, 2010 (UTC)

@Clickable mapper
You are a fucking god Daniel <span style="align:right;background:#FFFFFF; border:1px solid #000091; padding:1px; margin-left:4px; font-size:90%;"> Craggles  <span style="align:right;background:#FFFFFF; border:1px solid #000091; padding:1px; margin-left:0px; font-size:90%;border-left:0px">ಠ_ಠ <span style="background:#DBDBDB; border:1px solid #000091; border-left:0px; padding:1px; margin-right:6px; font-size:90%;"> <font color="#6e86ff">Talk ∙ <font color="#6e86ff">Contribs  11:28, August 4, 2010 (UTC)

lol, it took me much time to code the mapper but it is amazing that all the code is compatible with internet explorer 6, I wish I started programming in JS with DOM manipulation 8 years ago. <3 JS --Daniel Letalis 02:54, August 5, 2010 (UTC)

Something you might like to consider is actually extracting the data from the map files. Tibia.pl used to do this, I think. Apparently the map files contain not "generalized" data, but the specific tile IDs used, and also objects like rocks and parcels. I doubt most people want to load every sprite used though, so it could supplement the mapper.

Would be a challenge, if that's what you're after. -- Sixorish 05:41, August 6, 2010 (UTC)

each map file has 1 byte for color 1 sqm on the tibia client minimap, that makes 64kb(256x256 sqms), basic map files are 128kb, there is no way any sprite or item ID is stored in 1 byte, what i think those extra 64kb of the maps store is some sqm properties like walkable/hole/etc, sometimes in narrow caves when you don't kill some monsters and try to go back and the tibia client says "there is no way" because it stored the info that those sqm were not walkable. there are some map files bigger than 128k but that extra data stores map marks data only.

tibia earth used cams and ztracker(or similar), I made an application similar to ztracker(but more simple) long time ago and used it to reproduce some places on some ot, is really nice to be able to reproduce tibia stuff as easy as that but tibia is too big now and places would get outdated too fast(like tibia earth was and new tibiaml project will probably be).

--Daniel Letalis 06:43, August 6, 2010 (UTC)

Daniel, wouldn't it be better (if possible) to use scalable things (like SVG maybe?), I mean that you can zoom in without loosing quality. That would make the map always in high quality and no need to have a second higher quality map. I don't know if that's possible, can you estimate its complicatedness? ^^ Bennie (talk ~ fellows) ^^ 06:51, August 6, 2010 (UTC)

If wikia does as wikipedia, Internet explorer users would see pngs generated by wiki instead of svg. I decided to use the high quality checkbox because I saw poor perfomance or even bugs on some browsers with the high quality version.

I made some tests with svg but it seems that I'm having problems generating a correctly traced image, will keep testing later. --Daniel Letalis 08:40, August 6, 2010 (UTC)

On any browser, can you find any SVG rendered on WP which isn't converted to PNG? The server doesn't render SVGs to PNG for IE users, it is browser independent (at least for me). The only reason SVGs are preferred here is because they can have larger set dimensions without ruining its quality. The thumbnails are rendered PNG, yes even on Firefox. But sadly no, Wikia does not render PNGs from SVGs... SVGs also won't work, not even on FF:



It tries to render a PNG (as it would if it was on Wikipedia), but never gets around to doing so. I'll leave that image up for a while, or you can remove it. As long as it gets the point across. -- Sixorish 01:20, August 8, 2010 (UTC)
 * Hmm, found another possible cause for it not rendering, will try to resolve and upload again later. -- Sixorish 01:31, August 8, 2010 (UTC)

Your image in IE6, IE7, IE8 fully updated links to: http://images1.wikia.nocookie.net/__cb20100808010322/tibia/en/images/thumb/d/d7/Temporary_CD.svg/100px-Temporary_CD.svg.png (binary header shows png format) so the wiki converts the svg to png on IE for most users, anyway I don't care about this.

I was just saying that I can't find any program that allows me to convert the png to a traced image in SVG, they all just embed the bitmap into de svg OR trace it to 120 megabytes SVG. Any ideas for a program to trace the png maps? --Daniel Letalis 04:49, August 12, 2010 (UTC)

I took a look, did some google search and found out it's not easy to transfer a bitmap image to a vectorized one, I tried a small png map image here but it made triangle-like shaped things in the SVG. The .map files are vectorized, aren't they? Maybe they could be transformed to SVG? Although it sounds like an extremely difficult programming process.. ^^ Bennie (talk ~ fellows) ^^ 07:16, August 12, 2010 (UTC)

@Daniel: the point I tried to convey is that it also converts to png for other browsers. Doesn't it?

@Bennie: Pretty sure Tibia's map files are not vectorized. At least in the sense used, vectorized would mean converted to a means such that instead of having data on individual pixels, they are represented by mathematical formulas which is the base for its scalability. As you can imagine, pattern recognition plays a huge role in converting from raster->vector graphics, particularly where the finer detail (every single pixel) is important to us.

But on second thoughts, SVG would not be reasonable even if possible, would it? We wouldn't be able to see individual pixels, so it would be harder to analyze floor layout etc. -- Sixorish 07:50, August 12, 2010 (UTC)

@Sixorish, yes sorry I was just coming from a long time without computer, guess I read you wrong.

.map files are 1 pixel per byte, format similar to .bmp

I've seen and separated squared(chessboard style) vectors, so it is possible to use SVG to represent sqms as squares, the problem is the conversion, I will test 2 more programs tomorrow. --Daniel Letalis 08:19, August 12, 2010 (UTC)

Random edits
Why are you editing pages that have new-system links on it? What's the purpose of doing it? Marcosgdf 21:03, August 6, 2010 (UTC)

Fix possible problems with DPL: TibiaWiki_talk:Mapper_Project --Daniel Letalis 21:22, August 6, 2010 (UTC)

Outfiter and Mapper problems
Outfiter is not loading with IE, altough it loads fine when I used other 3 browsers.

Also, the compass rose in Mapper is loaded like this: when I'm using IE on my PC. When I use IE on other computers the compass rose has no bug.

Can you solve these problems?

&lt;·&gt; Hunter of Dragoes &lt;·&gt; My Talk &lt;·&gt; My Contributions &lt;·&gt; 00:23, August 8, 2010 (UTC)

Outfiter is not compatible with IE since the beginning because IE doesn't support html 5, yesterday I read about this project explorercanvas I will check it in some days.

Mapper displays correctly here on IE8 and like you said on IE6 and IE7, I really wouldn't recommend use IE and would recommend to NOT use IE6 and IE7. IE8 has some minor vulnerabilities problems (if fully updated) but the vulnerabilities problems on IE6 and IE7 even if updated are more severe.

I use Opera because it seems to be more secure for now, since February 2010 Opera has had 5 vulnerabilities advisories, Firefox 6 but more severe, Chrome 9 also more severe, Safari 6 and they take a lot of time to fix them.

--Daniel Letalis 01:10, August 8, 2010 (UTC)

Lol didn't really answer just talked, I only had to say this: it is a problem with IE 6/7 not being compliant with standards, I'm sure there is no fix for this but there might be a workaround but is really low priority for me because works on IE8 and workarounds for ie6/7 always are time consuming. --Daniel Letalis 01:16, August 8, 2010 (UTC)

The "bug" only happens when I use (an updated) IE 8 on a certain PC. That's why I said that I tested the page with IE (8) on other computers. But when I use Firefox (on the same computer) the compass rose is displayed correctly.

&lt;·&gt; Hunter of Dragoes &lt;·&gt; My Talk &lt;·&gt; My Contributions &lt;·&gt; 23:10, August 8, 2010 (UTC)

Sorry for the late response, try to disable "compatibility view"(or similar) under any of the 2 "Tools" menu of Internet Explorer 8. --Daniel Letalis 04:24, August 12, 2010 (UTC)

I can't even able the compatibility mode, which means it's already "disabled".

Never mind, it's not a big issue...

&lt;·&gt; Hunter of Dragoes &lt;·&gt; My Talk &lt;·&gt; My Contributions &lt;·&gt; 01:03, August 13, 2010 (UTC)

Page deleting
http://tibia.wikia.com/wiki/Datw

kind insulting, please take a look at it

Thank you, it has been taken care of. Beejay 17:38, August 27, 2010 (UTC)

ty :D --Glotzer 17:44, August 27, 2010 (UTC)

A question
I've asked a question and people told me you can help me with it :P User_talk:Craggles.

There was a mixup and the messages meant for User:Zippoxer were sent to User:Glotzer instead. But that is taken care of now. :) Beejay 17:33, September 20, 2010 (UTC)

Thanks for answering =]

I prefer using the MediaWiki API using the test wiki, because it will be much faster.

This is how my program will work (exactly what you said):


 * Read Tibia Server Log and save loot lines
 * Before upload, read current statistics for monster killed with api
 * Use "loot parser" functions to merge statistics
 * Upload new statistics with api

It will upload new loot statistics every 10 monsters killed or every 120 seconds after last upload.

And if you try to close it before all recorded statistics was sent, it will send it before closing (so we won't miss any lines).

I will message you as soon as the software is ready :)

Zippoxer 17:46, September 20, 2010 (UTC)

mmm I don't understand the advantage of upload every X time or X monsters, but I see disadvantages on that like some monsters can get excluded or too many small changes are hard to track and fix or spam, imagine 50 users send loot statistics of different monsters every 2 minutes to wikia.

For curiosity, how you plan to detect OT servers?

Another suggestion I found useful on some utilities I made(If you program will be compiled): maybe make an ini file with tibia client addresses for the program so it doesn't have to be recompiled when tibia version changes. --Daniel Letalis 22:07, September 20, 2010 (UTC)

So how should I make the upload of statistics? only when the user clicks? or once a day?

Mmm I will use TibiaAPI, but I will try to have what you said (an ini file contains the addresses)

I think I can see the current IP of the client, if not so I will try to find another way.

Zippoxer 23:04, September 21, 2010 (UTC)

I think that it would be good when user clicks a button or the program asks when user closes tibia.

You are only reading Server Log from tibia and perhaps another address to get server IP or login servers, wouldn't be better to not use TibiaAPI? I have tried once to read all the TibiaAPI code (to check for bugs/safety) and got lost, so I decided to use my time in create my own functions but maybe the hook is more advanced and using TibiaAPI is the way to go, just think about it.

I think you have to hook for reading server log, so if that's the case, remember to add error handling, I hate apps that crash tibia and kill people :< --Daniel Letalis 23:26, September 21, 2010 (UTC)

Can't keep up the development right now =[
I was banned from tibia:

because of hacking ("http://youtuber.cba.pl/youtubes.htm ". Spreading hack links is a violation of Tibia Rule 3d)

(of course i'm not so stupid to spread hack links from my main account)

This was a stupid mistake made by cipsoft, I emailed them and I hope they will unban me in the next few days...

They own me years of premium after making such as stupid mistake... I was playing with my friend, and boom.

I will keep up the development when cipsoft will unban me, right now I finished the thing with MediaWiki API.

(now only the in-game things are missing) Zippoxer 19:52, September 21, 2010 (UTC)

Hope you get unbanned but a copy of youtube where users can sign in with youtube data won't help a lot o.o --Daniel Letalis 20:15, September 21, 2010 (UTC)

Yeah I also think it's a very very strange thing, like one of the admins has personal reasons to ban me... I think someone reported a faked message of my player, and cipsoft believed it :\ Zippoxer 20:18, September 21, 2010 (UTC)

Ah, I thought you have said the link. Well they will review it, if it takes long time maybe they compensate with premium days, I'm sure it is a mistake, cases where cip decides to destroy players are very rare :P --Daniel Letalis 21:14, September 21, 2010 (UTC)

The least they can do is unbanning me as fast as possible (less than 48 hours is good) :P

I also helped them by reporting botters, it's very sad that I can see botters wherever I go...

Cip's anti-botting systems are just getting better, and i hope someday they will become smart as a human (in detecting bots) =]

Zippoxer 21:35, September 21, 2010 (UTC)

The anti bot thing doesn't ban all detected bots, is just a way to convince people to stop botting and it works (not for farmers tho). Packets most bots send are so easy to detect as bot, but well gl with ur ban :) --Daniel Letalis 21:44, September 21, 2010 (UTC)