Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Changing $smwgQMaxSize?

Jump to: navigation, search

Is it possible to increase the value of $smwgQMaxSize? Even after some optimization, the default value of 12 makes it currently hard to search for certain things using the Equipment query — the default size for every query is 4, the most expensive filter Armor (without specifying slot or weight) bumps the size up to 10, which makes it impossible to further filter by stats (+2 to 3), skill bonuses/alterations (+3 to 5) or all skill bonuses (+3 to 7). Setting $smwgQMaxSize to 17 should probably be enough since there shouldn't be a reason to specify the search much further and unlike Armor, the other category filters only have a size of 2.

14:56, 13 March 2016

I will ask the site owner and keep you posted.

15:37, 13 March 2016

All right, thanks!

15:43, 13 March 2016

The site owner had finals this week. She said she would try to change it this weekend. How do we know if the size has been updated, without her confirmation? Do we just run a query?

18:20, 18 March 2016

Pretty much.

{{#ask:
{{#arraymap:1,2,3,4,5,6,7,8,9,10,11,12|,|@@@|[[@@@]]|}}
|format = debug}}

If you preview that, it will explicitly tell you the size of the query. You can just try appending more numbers and if you get an error and the query size doesn't increase anymore, you've reached the current maximum size.

14:24, 19 March 2016

The size has been updated to 17.

06:56, 22 March 2016

Once again, thanks a bunch!

13:11, 22 March 2016