Difference between revisions of "Importing Data from VR Games"
(→Obtain the Query URL) |
(→Parameterise VRTool) |
||
Line 34: | Line 34: | ||
====Using Firefox==== | ====Using Firefox==== | ||
− | ===Parameterise VRTool=== | + | ===Step 2: Parameterise VRTool=== |
#In VRTool select the [[File:TabBoats.gif|sub]] '''Boats''' tab. Open the '''Boat Data''' control. | #In VRTool select the [[File:TabBoats.gif|sub]] '''Boats''' tab. Open the '''Boat Data''' control. | ||
#In the '''GetUser''' field at the top, paste the URL address that you have copied previously. | #In the '''GetUser''' field at the top, paste the URL address that you have copied previously. | ||
#Click tick. VRTool will query the game server. If it's successful the fields on the control will populate with your boat data. | #Click tick. VRTool will query the game server. If it's successful the fields on the control will populate with your boat data. | ||
#Check "Auto update in". This makes VRTool requery the server every 10 minutes. | #Check "Auto update in". This makes VRTool requery the server every 10 minutes. |
Revision as of 05:12, 25 November 2014
This page is adapted from the instructions provided by Didier, who is the skipper of "Le Grand DIC" in VR games.
There are two main steps to establishing a link between VRTool and the Virtual Regatta game server:
1. Obtain the URL that the game console sends to the VR game server to query the boat positions.
2. Configure VRTool to use this URL.
This method requires VRTool version 2.06 or later.
Contents
Step 1: Obtain the Query URL
This is the trickiest part of the process, especially if you are not a little bit "geek". The process depends on which web browser you are using. Some browsers are continually upgraded - the version to which the following instructions apply is shown for each browser.
Using Google Chrome
Current for version 39.0.2171.65.
In your web browser:
- If your Virtual Regatta game console is already open then close it.
- In your browser go to the Virtual Regatta page where you can see the button which starts the game. Don't click on it yet.
- In the top right corner of the browser click the menu button and select Tools --> More tools --> Developer tools. A window called Developer Tools opens in a separate window.
In the Developer Tools window:
- On the menu bar click Network.
- On the toolbar click on to clear any current traces.
- On the toolbar check that the Record Network Log button is red. If it's not then click on it to turn it on.
In the Virtual Regatta window:
In the Developer Tools window:
- The calls made by the game console to the game server are displayed.
- On the toolbar click on the Filter tool. In the filter box type "Service" (without the quotes).
- Scroll down and look for the record that starts with "ServiceCaller.php?service=GetUser&id_user=....". This is the call that the game console used to retrieve your boat information from the game server.
- Right-click on the record and select Copy link address.
- Now go to Step 2 - Parameterise VRTool.
Using Internet Explorer
Using Firefox
Step 2: Parameterise VRTool
- In VRTool select the Boats tab. Open the Boat Data control.
- In the GetUser field at the top, paste the URL address that you have copied previously.
- Click tick. VRTool will query the game server. If it's successful the fields on the control will populate with your boat data.
- Check "Auto update in". This makes VRTool requery the server every 10 minutes.