vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - gXboxLive - Xbox Live Leaderboard (https://vborg.vbsupport.ru/showthread.php?t=139958)

Ross L 07-22-2010 06:23 PM

If MS have blocked the API from being used, would using this http://www.duncanmackenzie.net/blog/...gamertag-data/ API work?

Ronin Storm 07-23-2010 08:38 AM

Quote:

Originally Posted by Ross L (Post 2073021)
If MS have blocked the API from being used, would using this http://www.duncanmackenzie.net/blog/...gamertag-data/ API work?

I think you may misunderstand. gXboxLive works functionally. Microsoft have blocked all requests that identify themselves as being from gXboxLive. By making the change I suggest you effectively anonymise the request. This won't stop them from automatically banning your host/domain if you make requests too frequently (default frequency is every minute, which is far too frequent anyhow, and probably why gXboxLive was banned in the first place).

The technique described above will work as well, but there's no need to reimplement. Just need to make the request anonymous (or possibly make the request use a new gXboxLive version?) and massively reduced the request frequency (I suggest once per day and being patient).

Big Barry 07-23-2010 04:42 PM

Quote:

Originally Posted by Ronin Storm (Post 2072650)

Now, it is possible to remove all the query parameters in that string above and it starts to work again. However, I strongly suspect (with no actual evidence) that Microsoft has banned all requests with that query string involved and their Community Developer terms of service explicitly state that they reserve the right to ban any site or application they consider to be abusing their system.

As a result, I strongly suggest that, if you fancy your hand at hacking out the query string, that you also ensure the gXboxLive scheduled task runs no more than once per day. Abuse may lead to banning and I didn't see any right of appeal.

YMMV but good luck.

Any ideas on how to do this? Sorry I don't know PHP yet.

Thanks.

Ross L 07-23-2010 09:01 PM

Quote:

Originally Posted by Ronin Storm (Post 2073268)
The technique described above will work as well, but there's no need to reimplement. Just need to make the request anonymous (or possibly make the request use a new gXboxLive version?) and massively reduced the request frequency (I suggest once per day and being patient).

Would you mind sharing your fix? I tried a few things with my very, very limited knowledge of php (which is how to use a php plugin in VB and that's it :D) and a few hours research online and everything I tried failed.

Thanks in advance.

Cheers,

Ross

Ronin Storm 07-24-2010 09:01 AM

I note in Gryphon's product details that he requests that fixes are sent to him for them to be updated by him, which makes sense as this prevents his code base diverging without his knowledge.

I've dropped him an email with full details of my fix and I'll give him a few days to respond. If he doesn't get back to me at all by, say, end of next week then I'll post my fixes in this thread as "find this, change that" instructions. There's only one code change and one Admin CP change to make anyhow.

Big Barry 07-24-2010 01:02 PM

Thanks, appreciate that. Hopefully it gets authorized as a fix shortly.

Thanks very much :D

BlueNinjaGo 07-26-2010 05:24 PM

I'll be waiting for the fix. I appreciate everyone's help.

Ross L 07-26-2010 05:34 PM

In miner.gxboxlive.php (line 93)

Find:

PHP Code:

$card_string fetch_file_via_socket($fetch_url "?bot=gXboxLive_" $gxblprod['version'] . "&ref=" $vbulletin->options['bburl'] . "/gxboxlive.php"); 

Replace with:

PHP Code:

$card_string fetch_file_via_socket($fetch_url); 

That works for me and it's updating fine now :D

NakedCrook 07-30-2010 03:25 AM

Fantastic...I can verify the above fix works

toonysnn 07-31-2010 10:11 AM

Hi Gryphon. Great mod you've developed here! I'm having a issue on one of my newest boards, and not quite sure why I'm getting an error 330 (according to gchrome) when trying to visit the page. (it may have to do with a modification I did, it may not..)

The modification I did was to pull stats by username, not by a profile field. This only effected the SQL in the scheduled task.

I currently have gzip compression to 0 on my board, the explained error is:
Quote:

Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.
Any ideas?


All times are GMT. The time now is 11:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01955 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete