Index ⇒ Games Support ⇒ "First Person Shooter" genre search category is broken.  Topic is solved

Trouble playing a game? Game not running well? Ask help here.

Moderator: LW Moderator

"First Person Shooter" genre search category is broken.  Topic is solved

Postby BZPlasma » Sat Jun 09, 2018 9:20 pm

Hello,

Apologies if this is not in the correct forum topic, but I wanted to let you know that the genre search for First Person Shooter isn't working. It just displays "Games in the genre First Person Shooter: No games found for that genre" despite it showing "First Person Shooters: 2698" on the same page. It's the only category in the genre search that doesn't work. Every other genre search works fine.

I don't know how to attach pictures, so I've included an Imgur link showing proof of the broken FPS genre search.
https://imgur.com/a/XEx613s

Is there any chance you could fix the search?

Thanks
BZPlasma
Newbie
 
Posts: 6
Joined: Wed Mar 21, 2018 6:47 pm
Thanks: 3
Thanked: 1 time in 1 post

Re: "First Person Shooter" genre search category is broken.

Postby annoyment » Sat Jun 09, 2018 10:05 pm

HIDE: ON
You need to reply to this topic before you can view the hidden message
"Hellos, plz help with this, will help backward." -weakling
User avatar
annoyment
Super Member
 
Posts: 933
Joined: Tue Jul 14, 2015 9:30 pm
Location: Land of KEBAB REMOVERS
Thanks: 229
Thanked: 264 times in 231 posts

The following user would like to thank annoyment for this post
roioros

Re: "First Person Shooter" genre search category is broken.

Postby Molitor » Sat Jun 09, 2018 10:17 pm

It does work on my side: "No games found for that genre" is shown for a second or so, and then the actual list appears.
User avatar
Molitor
3DSL Moderator
 
Posts: 1090
Joined: Mon Feb 27, 2012 6:53 pm
Location: France
Thanks: 170
Thanked: 480 times in 355 posts

Re: "First Person Shooter" genre search category is broken.

Postby annoyment » Sat Jun 09, 2018 11:22 pm

Then it may be browser-dependent (regarding javascript implementation update, or just any standard-related update in general :huh: ) - the issue still persists on my side, via Desktop Firefox latest, Desktop IE 11, Desktop Edge latest, & Android Chrome 65.Aprilmaybe :lol: sorry for the news :(
"Hellos, plz help with this, will help backward." -weakling
User avatar
annoyment
Super Member
 
Posts: 933
Joined: Tue Jul 14, 2015 9:30 pm
Location: Land of KEBAB REMOVERS
Thanks: 229
Thanked: 264 times in 231 posts

Re: "First Person Shooter" genre search category is broken.

Postby BZPlasma » Sun Jun 10, 2018 5:10 am

The problem is that EVERY SINGLE other genre search shows results perfectly. I tested every single genre category. It is literally ONLY the "First Person Shooter" category that displays no games found for that genre. I tested it with IE, Firefox and Google Chrome. Still the same.

Here's a picture with proof. I tested 8 categories and ONLY First Person Shooter has no games found
https://imgur.com/a/Rt4NcHt

I know it's definitely not browser specific because all the browsers work the same and only the FPS category is broken.

PS: I don't know if it matters, but when I hover over the FPS genre, I get "javascript:getgenre('0'). All the others have numbers 1 and up.

Edit: I tested Adventure Legends and only the "Adventure" genre search category "javascript:getgenre('0') has no games found. I now believe that the 0 = NULL is indeed the problem. Every other genre search with 1 and up work perfectly.
BZPlasma
Newbie
 
Posts: 6
Joined: Wed Mar 21, 2018 6:47 pm
Thanks: 3
Thanked: 1 time in 1 post

Re: "First Person Shooter" genre search category is broken.

Postby hfric » Sun Jun 10, 2018 2:47 pm

and there is also this slight bug that sometimes will irritate you ... when you click the genre (in the A-Z index) it will show the titles but, click like 5 pixels down and ... you get no games found
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Image
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
User avatar
hfric
3DSL Moderator
 
Posts: 4412
Joined: Sun Jan 09, 2005 2:51 am
Thanks: 95
Thanked: 381 times in 324 posts

Re: "First Person Shooter" genre search category is broken.

Postby Scaryfun » Mon Jun 11, 2018 9:11 am

Yes the html code looks for code '0' and for unkown reason can't find it for first-person shooters or adventure games lists. Maybe the only cure would be using a different number code.
Here is the code, games[i][4] through games[i][9] at end is it checking the six different genre fields in database -

function getgenre(genre)
{
var writing=navigation();
var gamesfound=false;
var noGenre=false;
for (i=0;i<games.length;i++)
{
if (gamesfound==false && ShowInterface==true)
{
switch (genre)
{
case '0':
writing+='<p><font size=\"6\">Games in the genre '+'First Person Shooter'+':</font></p>';
break;
case '1':
writing+='<p><font size=\"6\">Games in the genre '+'Third Person Shooter'+':</font></p>';
break;
}
}
gamesfound=true;
if (games[i][4]==genre)
{
writing+=listgame(i,"true","false");
noGenre=true;
} else if (games[i][5]==genre)
{
writing+=listgame(i,"true","false");
noGenre=true;
} else if (games[i][6]==genre)
{
writing+=listgame(i,"true","false");
noGenre=true;
} else if (games[i][7]==genre)
{
writing+=listgame(i,"true","false");
noGenre=true;
} else if (games[i][8]==genre)
{
writing+=listgame(i,"true","false");
noGenre=true;
} else if (games[i][9]==genre)
{
writing+=listgame(i,"true","false");
noGenre=true;
}
}
if (noGenre==false)
{
writing+='<p><font size=\"6\">No games found for that genre</font></p>';
}
Image
User avatar
Scaryfun
3DSL Admin
 
Posts: 9547
Joined: Wed Jun 02, 2004 9:27 pm
Location: Toronto, Canada.
Thanks: 2305
Thanked: 984 times in 861 posts

Re: "First Person Shooter" genre search category is broken.

Postby BZPlasma » Wed Jun 13, 2018 12:19 am

Is it possible for someone at Legendsworld.net to fix the search for First Person Shooter and Adventure genre by changing the 0 to another number that's not being used? It would be great if those 2 broken genre searches actually worked. That's pretty much the reason I created this topic in the first place.
BZPlasma
Newbie
 
Posts: 6
Joined: Wed Mar 21, 2018 6:47 pm
Thanks: 3
Thanked: 1 time in 1 post

Re: "First Person Shooter" genre search category is broken.

Postby Scaryfun » Wed Jun 13, 2018 8:53 am

Success! :D
Our webmaster found in database code that blanked out the '0' genre when adding data for those FPS or Adventure games to database. Now those zero genres are put in database just like all other genres so the index lists now work correctly. Yay...much thanks to him.
Image
User avatar
Scaryfun
3DSL Admin
 
Posts: 9547
Joined: Wed Jun 02, 2004 9:27 pm
Location: Toronto, Canada.
Thanks: 2305
Thanked: 984 times in 861 posts

The following user would like to thank Scaryfun for this post
BZPlasma

Re: "First Person Shooter" genre search category is broken.

Postby BZPlasma » Wed Jun 13, 2018 7:16 pm

Scaryfun wrote:Success! :D
Our webmaster found in database code that blanked out the '0' genre when adding data for those FPS or Adventure games to database. Now those zero genres are put in database just like all other genres so the index lists now work correctly. Yay...much thanks to him.


Awesome! Great work. I can confirm that the "Adventure" and "First Person Shooter" genre searches work perfectly. Be sure to thank your webmaster for me. :up: :thanks:
BZPlasma
Newbie
 
Posts: 6
Joined: Wed Mar 21, 2018 6:47 pm
Thanks: 3
Thanked: 1 time in 1 post


Return to Games Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron