Index: rayvfw.h
===================================================================
--- rayvfw.h	(revision 665)
+++ rayvfw.h	(revision 666)
@@ -3,7 +3,8 @@
     Raydium - CQFD Corp.
     http://raydium.org/
     vfw extra definitions
-    License: GPL - GNU General Public License, see "gpl.txt" file.
+    Released under both BSD license and Lesser GPL library license.
+    See "license.txt" file.
 */
 
 typedef struct tagCapDriverCaps {
;
 raydium_register_variable_unregister_last();
+raydium_register_variable_unregister_last();
+return ok;
 }
 
 
@@ -721,11 +726,12 @@
 char l[RAYDIUM_GUI_DATASIZE];
 char lasttrack[RAYDIUM_MAX_NAME_LEN];
 int ilt;
+signed char net;
 
 raydium_parser_db_get("Generic-PlayerName",raydium_network_name_local,NULL);
 raydium_parser_db_get("ManiaDrive-LastInternetTrack",lasttrack,"");
 
-get_tracklist(l);
+net=get_tracklist(l);
 ilt=raydium_gui_list_id(lasttrack,l);
 if(ilt<0) ilt=0;
 
@@ -751,6 +757,19 @@
 
 raydium_gui_label_create("lblURL1",handle,50,40,"Live scores :",0,0,0);
 raydium_gui_label_create("lblURL2",handle,50,30,"http://maniadrive.raydium.org/",0.7,0,0);
+
+if(!net)
+    {
+    char *msg1="WARNING: Internet connection failed !";
+    char *msg2="Now in offline mode. (set your proxy ?)";
+    handle=raydium_gui_window_create("error",15,45,70,20);
+    raydium_gui_widget_sizes(0,0,18);
+    raydium_gui_label_create("lblError1",handle,50,80,msg1,0,0,0);
+    raydium_gui_label_create("lblError2",handle,50,60,msg2,0,0,0);
+    raydium_gui_widget_sizes(15,5,18);
+    raydium_gui_button_create("btnErrorOk",handle,35,15,"OK",btnErrorOkClick);
+    }
+
 gui_start();
 }