Back to forum.wakfu.com

By continuing to browse this website, you consent to the use of cookies, which enable us to offer you customised content and to collect site-visit statistics.
Click on this link for more information on cookies, and to customise your cookie preferences. X

No flash

FajneCycki's profile
Statistics
Member Since : 2012-01-12
486 Posts (0.47 per day)
Most active in : General Discussion
posté Yesterday - 21:35:00 | #1

Quote (Fadedscourge @ 20 December 2014 18:59) *
I agree with this statement. The shades of blue are used wayyyyyyyyyy too much.

How about the Relic Hand's aura?
Here it is:

And the title is "The Eternal".


Thread : General Discussion  Preview message : #813131  Replies : 31  Views : 3955
posté December 16, 2014, 13:18:57 | #2

Quote
That said, I would need a bit more information before getting started. First of, you say that only ankama knows what the various pieces of data in the structures is - can I assume this is due to the fact that you extract it from the game data files as-is?

Also, if that is the case, could you make a short introduction to each available data type, even if you dont know it's constituting elements? (Ie, state that this is an item, this is a skill, this is a recipe etc, and give a few examples of each so that we can help decipher the structure together?)


The data is about the same as it is in game, just in a little bit more compact and human readable form. Each "values" array is an exact copy of an array in game. I decided to do so since parsing it all properly is quite much of a deal and I don't want to have corrupted/limited information there.


Quote
After parsing a couple of items I noticed that the elements of damage is not set correctly or missing data about which elemens they should be / default to. Further lookups on more exotic items show that the data served here is incomplete. Example: Dorky Boots (15002) While both wakfu-elements and wakfu encyclopedia both lists the damage as air, there is no indication of this in the data served here. While both wakfu-elements and encyclopedia both lists the first effect as the glass half full, it's quite hard to figure out from only the data sent here. (It appears as though the 1583 value of the first pair is the reference to a function/effect (elsewhere known as glass half full) and that it's two parameters are +1 and -1. the 50% chance of each case occuring appear to be stored in the function/effect definition elsewhere.)

The problem with elements appears because effects right now are differentiated by names, not indices like in game. I can either:
- add numerical indices to effects structure
- append some information for each effect with this problem (e.g. replacing "+ [#1]% Damage" with " + [#1]% Damage [X]", X representing an element, etc...
It's not much of a deal, rather a matter of decision.
I think I'll do the first, so it can be parsed with a nice switch {case}.

Concerning the effect of applying a state - information about effects of states is a whole different story, but I might provide it in a separate database in future. On the other hand, text representation of states, spells, monsters for formatting can be added without much effort. It will be enough to write e.g. "Glass Half Empee (Lvl. 1)" for now. (state level is the second pair of values array).

I'm aware of several inconsistences in the API, they are generally caused by lack of time.

I started writing a documentation, in meantime you can try contacting me on Skype (jacex18jek).


This post has been edited by FajneCycki - December 16, 2014, 13:21:21.
Thread : General Discussion  Preview message : #810098  Replies : 23  Views : 885
posté December 14, 2014, 04:42:26 | #3

Quote (BrainInAJar @ 14 December 2014 03:35) *
oh god. can you tell me the id for 3 random elements, and the secondary damages?
1068 - Damage to x random element\s
1050 - area damage
1051 - single-target damage
1052 - Close Combat Damage
1053 - distance damage
1055 - berserker damage


This post has been edited by FajneCycki - December 14, 2014, 04:42:40.
Thread : General Discussion  Preview message : #808877  Replies : 18  Views : 662
posté December 14, 2014, 01:11:16 | #4
If you use Google Chrome you can achieve this with a small hack.
While in Wakfu-Elements set builder's item search press F12, paste this in console
document.querySelectorAll("option[value='20']")[0].value = 191; and press Enter. This way you swap the HP stats (id 20) with WP stat(id 191). By choosing HP from the list and pressing Search you will get a list of items with WP!


This post has been edited by FajneCycki - December 14, 2014, 01:21:56.
Thread : General Discussion  Preview message : #808810  Replies : 18  Views : 662
posté December 12, 2014, 21:15:40 | #5
An update!
Bump 


Thread : General Discussion  Preview message : #808223  Replies : 126  Views : 6086
posté December 11, 2014, 00:37:23 | #6

Quote (Flaming-June @ 11 December 2014 00:20) *
Eh, my edit was in response to a reply you made to Nox16, not this reply, but it basically serves the same purpose. This is the second time though that something was added while I was typing my reply. x3
At first it was a part of something I intended to do, but I was too busy to continue. In meantime I thought it could be useful to someone, so I extend it to an API. I won't make it an item applet, maybe someone will. I'm sure there are some people wanting to mess with it.


This post has been edited by FajneCycki - December 11, 2014, 00:42:22.
Thread : General Discussion  Preview message : #807183  Replies : 23  Views : 885
posté December 11, 2014, 00:06:53 | #7

Quote (Flaming-June @ 11 December 2014 00:00) *
I'm a little confused as well as to the purpose of this. You mentioned in your opening post that, " Since Ankama doesn't provide any services of this kind," but the Wakfu Encyclopedia and Wakfu Elements both have fairly robust search engines for looking up gear and various items in Wakfu. What exactly are you aspiring to build that this site and Elements doesn't already achieve? Or do you just wish to make a database and item search engine of your own that will compete with the ones that already exist? Maybe if you clarified this it would put things in a clearer perspective for us.
It already is a database and search engine, but it's just a back-end. I leave creating the front-end (like a website!) for people who aspire to do so.


Thread : General Discussion  Preview message : #807173  Replies : 23  Views : 885
posté December 10, 2014, 23:58:17 | #8

Quote (Nox16 @ 10 December 2014 23:44) *
Wait so this is just like to look up items. ... like the encyclopedia or elements. I don't see the point.
Yup, thing is - it can be used by people in fanpages, wikis, set builders etc. without crawling other websites nor attempting to read the data manually.


Thread : General Discussion  Preview message : #807171  Replies : 23  Views : 885
posté December 10, 2014, 22:58:12 | #9

Quote (TommyTrouble @ 10 December 2014 21:49) *
It's a little unclear what the post is about. Not everyone is familiar with that programming language, and "Web item API" sounds to me like some sort of poorly translated shopping site.

If it was named something like "Web application for searching Wakfu Items" or just something more descriptive, I'd have posted my interest and thanks before this. But as it stands now, I haven't clicked on any of the links, because I'm not actually sure what this is all about.
I expected most people to stop at "for web developers", so it's fine that it's unclear for you :p I'll edit it to make it more explicit.


Quote (kikimeow @ 10 December 2014 21:53) *
I have not farmed api is so long not sure I need them...that would be the answer from a non-web developer.

This is nice, because most self pronounced web devs do not have a dedicated SQL server to play with so this cuts down on the need for that.

Oh an BTW, do you have a listing of how to decrypt the effects array? It's just a bunch of integers and no idea what each means.
These arrays originally contain float numbers (some of them are rounded up for convenience), raw data used to format the given effect text.
Going by the example:
"lvl": 1,...,"values": [ 4, 0, 1, 0, 0, 0 ], "text": "+[#1] HP"
Generally the values array has an even amount of elements. Every 2 values correspond one "[#NUMBER]" to be replaced in the text. The first value in each pair is the 'static' one, which is always there, while the latter depends on level. So, in the example we need to replace the "[#1]". Indexing starts from 1 there. We need to take the first pair of numbers and put our outcome in the text. The formula used to achieve the wanted value is simple: values[(NUMBER - 1)*2] + values[(NUMBER - 1)*2+1] * lvl.
So we end up with:
4 + 0 * 1 = 4 (HP)

A good example of this is Angora Bow Meow's effect table:
[{"values":[0,1.1999999999999999556,1,0,0,0],"text":"+[#1] HP"},{"values":[0,0.9000000000000000222],"text":"+[#1] Initiative"}]
for 50 lvl:
0 + 1.2 * 50 = 60 (HP)
0 + 0.9 * 50 = 45 (Initiative)

This is the most common case. As you might notice the length for HP values array is 6, therefore some other data is stored there as well. I haven't studied it thoroughly, only Ankama knows what exactly is stored there.


Quote (jonei011 @ 10 December 2014 10:24) *
Wow very cool. I am surprized nobody expressed interest in this, overshadowed by the patch perhaps? But more people should be supporting development like this. I'd love to know how you got the item data!
I considered releasing software used to extract data open-source, but I think that'd be irresponsible on my side, since it could be used maliciously :X Therefore here we are!


This post has been edited by FajneCycki - December 10, 2014, 23:48:04.
Thread : General Discussion  Preview message : #807149  Replies : 23  Views : 885
posté December 09, 2014, 13:46:42 | #10
Web item API for developers Since Ankama doesn't provide any services of this kind I thought it might be useful to introduce one. I created a pure JSON API for web developers through which you can obtain information about items from a remote database. At the moment there are only 3 types of queries, but I might add more in future. Queries are simple HTTP GET requests, so the communication can be done entirely in the browser via Javascript.

First type of query is looking for a specific item ID at the address
http://178.62.196.79/item/[0-9]+
An example Ajax implementation in Javascript can be seen here.
Other 2 queries are:
Text search
http://178.62.196.79/item/search/.+
Select all items of a type:
http://178.62.196.79/item/type/[A-z]+
They return listings, example usage here.
Here's an example JSON answer.
I'll explain them in detail soon.
Have fun messing with it!


This post has been edited by FajneCycki - December 10, 2014, 23:05:40.
Thread : General Discussion  Preview message : #806520  Replies : 23  Views : 885
posté December 03, 2014, 19:51:25 | #11
It seems that there's already been 2 updates! To make it easier to view the new equipment I generate a nice HTML table to browse through. You can see the newest equipment coming with this update under this address. 


Thread : General Discussion  Preview message : #804374  Replies : 126  Views : 6086
posté November 22, 2014, 15:44:24 | #12

Quote (TommyTrouble @ 22 November 2014 08:47) *
Do the Xelorium weapons heal, as do the Shushu weapons?
Effects of weapons are mentioned (e.g. On use: -126.06 HP [chromatic]) and no, none of the weapons there heals upon use.

I'd recommend taking the information from Beta with a pinch of salt, if something's suspiciously weak or strong then it's most likely not final. Concerning Plastron Flétri and Pensées, not only that stats of both these items are strange, they're exactly the same! It might hint that Ankama simply copy-pastes some items first to assign stats later.
Having that in mind you should make use of the information found in this thread within reason.


Thread : General Discussion  Preview message : #799778  Replies : 126  Views : 6086
posté November 21, 2014, 19:44:39 | #13
Xelorium Equipment Xelorium update equipment can be found here. 


This post has been edited by FajneCycki - December 03, 2014, 21:11:46.
Thread : General Discussion  Preview message : #799471  Replies : 126  Views : 6086
posté November 21, 2014, 14:15:03 | #14
Well, that's strange. You could try downloading the up-to-date version from here, it has a somewhat different compression.


Thread : New Bugs  Preview message : #799275  Replies : 4  Views : 287
posté November 21, 2014, 09:48:21 | #15
It works fine, unpack as follows
tar -zxvf wakfu-beta-amd64-tar.gz or
tar -zxvf wakfu-beta-x86-tar.gz


Thread : New Bugs  Preview message : #799212  Replies : 4  Views : 287
posté November 05, 2014, 20:04:33 | #16

Quote (MiniMikeh @ 05 November 2014 19:58) *
If voyagers are 18 then what happened to 17? o.o
17th class is Incarnates (the order is simply chronological according to the time they were developed).


Thread : General Discussion  Preview message : #793303  Replies : 40  Views : 3145
posté November 05, 2014, 19:14:40 | #17

Quote (Eddiedude @ 05 November 2014 19:05) *
I'm assuming that it is not the encyclopedia you can get to on the main page, so where is the encyclopedia you mentioned? Now I'm really curious :3
I meant the links to class pages in the official encyclopedia, they contain class ID's - that is 14 for Masqueraider and 16 for Foggernaut. (by that I just wanted to show that Ouginaks are indeed the class number 15)


This post has been edited by FajneCycki - November 05, 2014, 19:16:27.
Thread : General Discussion  Preview message : #793297  Replies : 40  Views : 3145
posté November 05, 2014, 11:12:13 | #18
Apparently I need to explain a couple of things. I'm fairly confident about Ouginaks, because i stumbled upon them while posting the Beta updates. An instance of a class signed as "OUGINAK" has existed in game for around a year now, it has it's own ID reserved (number 15). While viewing the encyclopedia you can see that it's the free slot between Masqueraider and Foggernaut. Ankama has put their development on hold in 2013, but they continued numbering classes with Ouginaks included. Now, a couple of things suggesting that the development went further came up recently (like the character creation and choice backgrounds). I don't think we will see them soon, but these are good signs. And again, the class to be released in December are Dimensional Voygares (they are a separate class instance with in-game and encyclopedia ID number 18).


Thread : General Discussion  Preview message : #793204  Replies : 40  Views : 3145
posté November 04, 2014, 19:27:35 | #19

Quote (MiniMikeh @ 04 November 2014 19:23) *
Didn't realize dogs could make portals

We may get ouginaks someday but considering where we are right now in wakfus development it's gonna be voyagers.

Dofus is getting them in december and wakfu will do the same in the coming months after
I'm not saying that the leaked class was Ouginaks, neither that they are going to be released first. My point's simply that there's some progress concerning them.


Thread : General Discussion  Preview message : #793067  Replies : 40  Views : 3145
posté November 04, 2014, 19:16:21 | #20

Quote (BrainInAJar @ 04 November 2014 17:09) *
eliotropes leaked, then its bellaphones, now ouginaks?

why wouldnt we just consider that they are playing with us now that we're watching for it.
Ouginaks have been in development for more than a year (their sprites were ready by October 2013 according to Ryf). But only recently you could see a couple of things related to them added in Beta. Voygares are a completely different story and a brand new class not related to Ouginaks.


Thread : General Discussion  Preview message : #793065  Replies : 40  Views : 3145