Stadium Server R App

Hi. Today I tried using the Stadium Server but the Python script window didn't load, I clicked to restart the window but it opens and closes immediately.

The code in R is the following:


Thanks in advance.

Hi! The code in R tells me you have successfully installed all the required libraries.

About the python window, you should:
- Create a text file with a .py extension (ie: empty.py).
- Right click on it, select open with python and tick always use that application to open this type of file.

It should fix your problem. Let me know if it doesn't.
 
Hi! The code in R tells me you have successfully installed all the required libraries.

About the python window, you should:
- Create a text file with a .py extension (ie: empty.py).
- Right click on it, select open with python and tick always use that application to open this type of file.

It should fix your problem. Let me know if it doesn't.

Thanks for the reply. I did that before and had the Stadium Server app open the Python window before, not sure why yesterday I couldn't. I'll try again when I get home and check again what you've said.

Edit: Tried doing what you said and it's still the same.
 
Last edited:
I finally got to appear the Python window, I had to update the program to 3.9.4. Now I attributed a stadium to a team, in the screen before going to kickoff the second Mario sound appeared bu the stadium didn't load. Then I tried with another team and I could only hear the first sound.

The code that appeared was:
Error in paste("The stadium textures for the stadium with the id:", stadium_id, :
object 'stadium_id' not found
In addition: Warning messages:
1: In max(score_home_cm) : no non-missing arguments to max; returning -Inf
2: In findLocals1(e, shadowed, cntxt, vars) :
closing unused connection 6 (D:/Program Files (x86)/Stadium Server R App/exported_files_DB/stadiums.txt)
3: In findLocals1(e, shadowed, cntxt, vars) :
closing unused connection 5 (D:/Program Files (x86)/Stadium Server R App/exported_files_DB/teams.txt)
4: In findLocals1(e, shadowed, cntxt, vars) :
closing unused connection 4 (D:/Program Files (x86)/Stadium Server R App/exported_files_DB/teamstadiumlinks.txt)
5: In findLocals1(e, shadowed, cntxt, vars) :
closing unused connection 3 (D:/Program Files (x86)/Stadium Server R App/exported_files_DB/stadiumassignments.txt)
6: In max(score_home_cm) : no non-missing arguments to max; returning -Inf
>
Maybe I should try with other stadiums. Where do you recommend getting them? Is it prefered to load them from a .zip file or from a folder?
 
I finally got to appear the Python window, I had to update the program to 3.9.4. Now I attributed a stadium to a team, in the screen before going to kickoff the second Mario sound appeared bu the stadium didn't load. Then I tried with another team and I could only hear the first sound.

The code that appeared was:

Maybe I should try with other stadiums. Where do you recommend getting them? Is it prefered to load them from a .zip file or from a folder?

I usually load my stadium from zip files as it saves me disk space. I got them all from soccergaming forum.
You need to be sure that there is no .rar inside the zip or the folder as the tool can't extract them.

Something you could try to see if the tool is correctly installed:
-Click on the SEARCH button (option section)
- type Barcelona in the team search.
- double click fc barcelona in the list
- click ok
- do you hear the long mario sound? do you get the camp nou in game or some random stadium? Do you get an error message from R?
 
Hola, soy nuevo en el foro, tengo problemas con la aplicación R del servidor del estadio ...
El caso es que he seguido los dos tutoriales en YouTube, uno de instalación y otro de uso de la aplicación ...
Siempre que entro al juego y elijo equipos, me aparece el mismo estadio ... ¿
alguna ayuda?
 
Hola, soy nuevo en el foro, tengo problemas con la aplicación R del servidor del estadio ...
El caso es que he seguido los dos tutoriales en YouTube, uno de instalación y otro de uso de la aplicación ...
Siempre que entro al juego y elijo equipos, me aparece el mismo estadio ... ¿
alguna ayuda?

Are you klicking the $ button at the kick off hub?
 
Me aparece esto:

R versión 3.6.3 (2020-02-29) - "Sosteniendo la manga de viento"
Copyright (C) 2020 La Fundación R para la Computación Estadística
Plataforma: x86_64-w64-mingw32 / x64 (64 bits)

R es un software libre y viene sin GARANTIA ALGUNA.
Usted puede redistribuirlo bajo ciertas circunstancias.
Escriba 'licencia ()' o 'licencia ()' para detalles de distribución.

R es un proyecto colaborativo con muchos contribuyentes.
Escriba 'contributors ()' para obtener más información y
'citation ()' para saber cómo citar R o paquetes de R en publicaciones.

Escriba 'demo ()' para demostraciones, 'help ()' para el sistema on-line de ayuda,
o 'help.start ()' para abrir el sistema de ayuda HTML con su navegador.
Escriba 'q ()' para salir de R.

[Espacio de trabajo previamente guardado restaurado]

> Stadium_Server ()
Cargando paquete requerido: sprof
Cargando paquete requerido: gWidgetstcltk
Cargando paquete requerido: gWidgets
Cargando paquete requerido: tcltk
Cargando paquete requerido: digest
Cargando paquete requerido: stringdist
Cargando paquete requerido: magia
Vinculación a ImageMagick 6.9.12.3
Funciones habilitadas: cairo, freetype, fftw, ghostscript, heic, lcms, pango, raw, rsvg, webp
Funciones deshabilitadas: fontconfig, x11
Cargando paquete requerido: tesseract
Cargando paquete requerido: gWidgets2RGtk2
Cargando paquete requerido: memoise
Cargando paquete requerido: RGtk2
Cargando el paquete requerido: gWidgets2

Adjuntando paquete: 'gWidgets2'

Los siguientes objetos están enmascarados del 'paquete: gWidgetstcltk':

.gbasicdialog, .gbutton, .gcalendar, .gcheckbox, .gcheckboxgroup,
.gconfirm, .gdf, .gdfnotebook, .gedit, .gexpandgroup, .gfile,
.gfilebrowse, .gframe, .ggraphics, .ggraphicsnotebook, .ggroup,
.ghtml, .gimage, .ginput, .glabel, .glayout, .gmenu, .gmessage,
.gnotebook, .gpanedgroup, .gradio, .gseparator, .gslider,
.gspinbutton, .gstatusbar, .gtable, .gtext, .gtoolbar, .gtree,
.gvarbrowser, .gwindow, add, addSpace, addSpring, delete, dispose,
habilitado, habilitado <-, foco, foco <-, fuente, fuente <-, insertar, isExtant,
tamaño, tamaño <-, svalue, svalue <-, etiqueta, etiqueta <-, visible, visible <-

Los siguientes objetos están enmascarados del 'paquete: gWidgets':

.addStockIcons, .gaction, .galert, .gbasicdialog, .gbutton,
.gcalendar, .gcheckbox, .gcheckboxgroup, .gconfirm, .gdf,
.gdfnotebook, .gedit, .getStockIcons, .gexpandgroup, .gfile,
.gfilebrowse, .gformlayout, .gframe, .ggraphics,
.ggraphicsnotebook, .ggroup, .ghtml, .gimage, .ginput, .glabel,
.glayout, .gmenu, .gmessage, .gnotebook, .gpanedgroup, .gradio,
.gseparator, .gslider, .gspinbutton, .gstatusbar, .gtable, .gtext,
.gtoolbar, .gtree, .gvarbrowser, .gwindow, .stockIconFromClass,
.stockIconFromObject, agregar, agregarDropSource, addDropTarget,
addHandler, addHandlerBlur, addHandlerChanged, addHandlerClicked,
addHandlerDestroy, addHandlerDoubleclick, addHandlerExpose,
addHandlerFocus, addHandlerIdle, addHandlerKeystroke,
addHandlerMouseMotion, addHandlerRightclick, addHandlerUnrealize,
addSpace, addSpring, addStockIcons, blockHandler, eliminar, disponer,
editable, editable <-, habilitado, habilitado <-, foco, foco <-, fuente,
font <-, gaction, galert, gbasicdialog, gbutton, gcalendar,
gcheckbox, gcheckboxgroup, gcombobox, gconfirm, gdf, gdfnotebook,
gdroplist, gedit, getStockIcons, getToolkitWidget, gexpandgroup,
gfile, gfilebrowse, gformlayout, gframe, ggraphics,
ggraphicsnotebook, ggroup, ghtml, gimage, ginput, glabel, glayout,
gmenu, gmessage, gnotebook, gpanedgroup, gradio, gseparator,
gslider, gspinbutton, gstatusbar, gtable, gtext, gtoolbar,
gtoolkit, gtree, guiToolkit, gvarbrowser, gwindow, insertar,
isExtant, rehacer, removeHandler, size, size <-, stockIconFromClass,
stockIconFromObject, svalue, svalue <-, etiqueta, etiqueta <-, información sobre herramientas <-,
unblockHandler, deshacer, visible, visible <-

Cargando paquete requerido: beepr
Error en if (nchar (stad_source_folder_path) == 0) {:
argumento tiene longitud cero
 
Me aparece esto:

R versión 3.6.3 (2020-02-29) - "Sosteniendo la manga de viento"
Copyright (C) 2020 La Fundación R para la Computación Estadística
Plataforma: x86_64-w64-mingw32 / x64 (64 bits)

R es un software libre y viene sin GARANTIA ALGUNA.
Usted puede redistribuirlo bajo ciertas circunstancias.
Escriba 'licencia ()' o 'licencia ()' para detalles de distribución.

R es un proyecto colaborativo con muchos contribuyentes.
Escriba 'contributors ()' para obtener más información y
'citation ()' para saber cómo citar R o paquetes de R en publicaciones.

Escriba 'demo ()' para demostraciones, 'help ()' para el sistema on-line de ayuda,
o 'help.start ()' para abrir el sistema de ayuda HTML con su navegador.
Escriba 'q ()' para salir de R.

[Espacio de trabajo previamente guardado restaurado]

> Stadium_Server ()
Cargando paquete requerido: sprof
Cargando paquete requerido: gWidgetstcltk
Cargando paquete requerido: gWidgets
Cargando paquete requerido: tcltk
Cargando paquete requerido: digest
Cargando paquete requerido: stringdist
Cargando paquete requerido: magia
Vinculación a ImageMagick 6.9.12.3
Funciones habilitadas: cairo, freetype, fftw, ghostscript, heic, lcms, pango, raw, rsvg, webp
Funciones deshabilitadas: fontconfig, x11
Cargando paquete requerido: tesseract
Cargando paquete requerido: gWidgets2RGtk2
Cargando paquete requerido: memoise
Cargando paquete requerido: RGtk2
Cargando el paquete requerido: gWidgets2

Adjuntando paquete: 'gWidgets2'

Los siguientes objetos están enmascarados del 'paquete: gWidgetstcltk':

.gbasicdialog, .gbutton, .gcalendar, .gcheckbox, .gcheckboxgroup,
.gconfirm, .gdf, .gdfnotebook, .gedit, .gexpandgroup, .gfile,
.gfilebrowse, .gframe, .ggraphics, .ggraphicsnotebook, .ggroup,
.ghtml, .gimage, .ginput, .glabel, .glayout, .gmenu, .gmessage,
.gnotebook, .gpanedgroup, .gradio, .gseparator, .gslider,
.gspinbutton, .gstatusbar, .gtable, .gtext, .gtoolbar, .gtree,
.gvarbrowser, .gwindow, add, addSpace, addSpring, delete, dispose,
habilitado, habilitado <-, foco, foco <-, fuente, fuente <-, insertar, isExtant,
tamaño, tamaño <-, svalue, svalue <-, etiqueta, etiqueta <-, visible, visible <-

Los siguientes objetos están enmascarados del 'paquete: gWidgets':

.addStockIcons, .gaction, .galert, .gbasicdialog, .gbutton,
.gcalendar, .gcheckbox, .gcheckboxgroup, .gconfirm, .gdf,
.gdfnotebook, .gedit, .getStockIcons, .gexpandgroup, .gfile,
.gfilebrowse, .gformlayout, .gframe, .ggraphics,
.ggraphicsnotebook, .ggroup, .ghtml, .gimage, .ginput, .glabel,
.glayout, .gmenu, .gmessage, .gnotebook, .gpanedgroup, .gradio,
.gseparator, .gslider, .gspinbutton, .gstatusbar, .gtable, .gtext,
.gtoolbar, .gtree, .gvarbrowser, .gwindow, .stockIconFromClass,
.stockIconFromObject, agregar, agregarDropSource, addDropTarget,
addHandler, addHandlerBlur, addHandlerChanged, addHandlerClicked,
addHandlerDestroy, addHandlerDoubleclick, addHandlerExpose,
addHandlerFocus, addHandlerIdle, addHandlerKeystroke,
addHandlerMouseMotion, addHandlerRightclick, addHandlerUnrealize,
addSpace, addSpring, addStockIcons, blockHandler, eliminar, disponer,
editable, editable <-, habilitado, habilitado <-, foco, foco <-, fuente,
font <-, gaction, galert, gbasicdialog, gbutton, gcalendar,
gcheckbox, gcheckboxgroup, gcombobox, gconfirm, gdf, gdfnotebook,
gdroplist, gedit, getStockIcons, getToolkitWidget, gexpandgroup,
gfile, gfilebrowse, gformlayout, gframe, ggraphics,
ggraphicsnotebook, ggroup, ghtml, gimage, ginput, glabel, glayout,
gmenu, gmessage, gnotebook, gpanedgroup, gradio, gseparator,
gslider, gspinbutton, gstatusbar, gtable, gtext, gtoolbar,
gtoolkit, gtree, guiToolkit, gvarbrowser, gwindow, insertar,
isExtant, rehacer, removeHandler, size, size <-, stockIconFromClass,
stockIconFromObject, svalue, svalue <-, etiqueta, etiqueta <-, información sobre herramientas <-,
unblockHandler, deshacer, visible, visible <-

Cargando paquete requerido: beepr
Error en if (nchar (stad_source_folder_path) == 0) {:
argumento tiene longitud cero
Se aparece que toda la parte de R fue installado correctamente.

Tiene que dar la direction la archivo con los estadios del juego. Puede hacer esto con Una de las options del server.
 
Se aparece que toda la parte de R fue installado correctamente.

Tiene que dar la direction la archivo con los estadios del juego. Puede hacer esto con Una de las options del server.
Muchas gracias por la información, volvía instalar fifa 16 con fip 4.0 de nuevo. Luego contesto si por fin logro hacerlo funcionar...
 
Nada, ahora me sale otro error.


R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R es un software libre y viene sin GARANTIA ALGUNA.
Usted puede redistribuirlo bajo ciertas circunstancias.
Escriba 'license()' o 'licence()' para detalles de distribucion.

R es un proyecto colaborativo con muchos contribuyentes.
Escriba 'contributors()' para obtener más información y
'citation()' para saber cómo citar R o paquetes de R en publicaciones.

Escriba 'demo()' para demostraciones, 'help()' para el sistema on-line de ayuda,
o 'help.start()' para abrir el sistema de ayuda HTML con su navegador.
Escriba 'q()' para salir de R.

> source(file.path(getwd(),"R things/Working_Function/install_py_lib.R"))
> #####################################################
> ### Welcome to the Stadium Server R app script!
>
> ### I)
> ### The first time you open this script, send the line just bellow to the R console by selecting this very line, then pressing control+r
> ### This line allows installing the python libraries needed by the application.
> ### Immdeiately after you executed it you can add a # symbol before this line to make it simple text and save the script (click save the script).
> ###
>
> source(file.path(getwd(),"R things/Working_Function/install_py_lib.R"))
>
>
> ### II)
> ### To start the Stadium Server application, click control+a (to select all the codes lines) then control+r (to execute the lines)
> ### Keep those lines as they are because they will be needed every time you load this script.
> ###
> ### The first time you run the code lines bellow, R libraries upon which the App depends will have to be installed.
> ### You will be asked:
> ### a)Would you like to use a personal library instead, click yes
> ### b)Would you like to create a personal library click yes
> ### c) Do you want to attempt to install this from sources, click yes
> ### d) A window will open saying Secure CRAN mirrors, select the first one 0.Cloud [https], then click OK
> ### The libraries will be downloaded and installed
> ### e) Also you will be asked to install RGtk2, select Install GTK+ and click OK
> ### It will take some time to install all the libraries, please be patient
> ### f) This is the final window popping up and asking: do you want to install from sources the package which needs compilation, click NO
> ###
> ### After libraries are installed, you will be asked to Browse toward your Fifa16 game folder and to select your game exe.
> ###
> ### Finally, the window that opened which is called Stadium Server is the app.
> ### Instructions about how to use the app are given in the help of the App and inside the Readme file
>
> Stadium_Server=function(){
+ source(file.path(getwd(),"R things/helper.R"))
+ }
>
> Stadium_Server()
Loading required package: sprof
Loading required package: gWidgetstcltk
Loading required package: gWidgets
Loading required package: tcltk
Loading required package: digest
Loading required package: stringdist
Loading required package: magick
Linking to ImageMagick 6.9.12.3
Enabled features: cairo, freetype, fftw, ghostscript, heic, lcms, pango, raw, rsvg, webp
Disabled features: fontconfig, x11
Loading required package: tesseract
Loading required package: gWidgets2RGtk2
Loading required package: memoise
Loading required package: RGtk2
Loading required package: gWidgets2

Attaching package: ‘gWidgets2’

The following objects are masked from ‘package:gWidgetstcltk’:

.gbasicdialog, .gbutton, .gcalendar, .gcheckbox, .gcheckboxgroup,
.gconfirm, .gdf, .gdfnotebook, .gedit, .gexpandgroup, .gfile,
.gfilebrowse, .gframe, .ggraphics, .ggraphicsnotebook, .ggroup,
.ghtml, .gimage, .ginput, .glabel, .glayout, .gmenu, .gmessage,
.gnotebook, .gpanedgroup, .gradio, .gseparator, .gslider,
.gspinbutton, .gstatusbar, .gtable, .gtext, .gtoolbar, .gtree,
.gvarbrowser, .gwindow, add, addSpace, addSpring, delete, dispose,
enabled, enabled<-, focus, focus<-, font, font<-, insert, isExtant,
size, size<-, svalue, svalue<-, tag, tag<-, visible, visible<-

The following objects are masked from ‘package:gWidgets’:

.addStockIcons, .gaction, .galert, .gbasicdialog, .gbutton,
.gcalendar, .gcheckbox, .gcheckboxgroup, .gconfirm, .gdf,
.gdfnotebook, .gedit, .getStockIcons, .gexpandgroup, .gfile,
.gfilebrowse, .gformlayout, .gframe, .ggraphics,
.ggraphicsnotebook, .ggroup, .ghtml, .gimage, .ginput, .glabel,
.glayout, .gmenu, .gmessage, .gnotebook, .gpanedgroup, .gradio,
.gseparator, .gslider, .gspinbutton, .gstatusbar, .gtable, .gtext,
.gtoolbar, .gtree, .gvarbrowser, .gwindow, .stockIconFromClass,
.stockIconFromObject, add, addDropSource, addDropTarget,
addHandler, addHandlerBlur, addHandlerChanged, addHandlerClicked,
addHandlerDestroy, addHandlerDoubleclick, addHandlerExpose,
addHandlerFocus, addHandlerIdle, addHandlerKeystroke,
addHandlerMouseMotion, addHandlerRightclick, addHandlerUnrealize,
addSpace, addSpring, addStockIcons, blockHandler, delete, dispose,
editable, editable<-, enabled, enabled<-, focus, focus<-, font,
font<-, gaction, galert, gbasicdialog, gbutton, gcalendar,
gcheckbox, gcheckboxgroup, gcombobox, gconfirm, gdf, gdfnotebook,
gdroplist, gedit, getStockIcons, getToolkitWidget, gexpandgroup,
gfile, gfilebrowse, gformlayout, gframe, ggraphics,
ggraphicsnotebook, ggroup, ghtml, gimage, ginput, glabel, glayout,
gmenu, gmessage, gnotebook, gpanedgroup, gradio, gseparator,
gslider, gspinbutton, gstatusbar, gtable, gtext, gtoolbar,
gtoolkit, gtree, guiToolkit, gvarbrowser, gwindow, insert,
isExtant, redo, removeHandler, size, size<-, stockIconFromClass,
stockIconFromObject, svalue, svalue<-, tag, tag<-, tooltip<-,
unblockHandler, undo, visible, visible<-

Loading required package: beepr
Error in if (nchar(game_folder_path) == 0) { :
valor ausente donde TRUE/FALSE es necesario
>
>
>
> ### III)
> ### To ease the use of the Stadium Server R app for the next time,
> ### once the Stadium Server App window has poped up (meaning you executed the code above properly),
> ### Do the following:
> ### 1) Click on the R Console on the left (wih the blue red text displayed)
> ### 2) Press control+s
> ### 3) Save a .RData file that you can call Stadium_Server_Fifa16.RData (you can call it like you want)
> ### inside the File Server folder (proposed by default)
> ### 4) Create a short cut of the generated .RData file where you want (ie: Desktop)
> ###
> ###
> ### The next time you want to use stadium server app simply double click on the short cut
> ### then type Stadium_Server() in the Rconsole, it will directly load the app.
> ### It is easier than changing working directory then open the script (like in the Readme file)
> ### You just need to remember the magick word: Stadium_Server()
 
Volví a instalar todo desde cero, ahora si me aparece el menú del servidor R.
El problema que tengo es que al presionar las teclas a y s a la vez, dentro del menú de fifa 16, no me sale la canción de Mario Bros y no se me carga el estadio...
Yo ya no sé que hacer...



R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R es un software libre y viene sin GARANTIA ALGUNA.
Usted puede redistribuirlo bajo ciertas circunstancias.
Escriba 'license()' o 'licence()' para detalles de distribucion.

R es un proyecto colaborativo con muchos contribuyentes.
Escriba 'contributors()' para obtener más información y
'citation()' para saber cómo citar R o paquetes de R en publicaciones.

Escriba 'demo()' para demostraciones, 'help()' para el sistema on-line de ayuda,
o 'help.start()' para abrir el sistema de ayuda HTML con su navegador.
Escriba 'q()' para salir de R.

> source(file.path(getwd(),"R things/Working_Function/install_py_lib.R"))
> #####################################################
> ### Welcome to the Stadium Server R app script!
>
> ### I)
> ### The first time you open this script, send the line just bellow to the R console by selecting this very line, then pressing control+r
> ### This line allows installing the python libraries needed by the application.
> ### Immdeiately after you executed it you can add a # symbol before this line to make it simple text and save the script (click save the script).
> ###
>
> source(file.path(getwd(),"R things/Working_Function/install_py_lib.R"))
>
>
> ### II)
> ### To start the Stadium Server application, click control+a (to select all the codes lines) then control+r (to execute the lines)
> ### Keep those lines as they are because they will be needed every time you load this script.
> ###
> ### The first time you run the code lines bellow, R libraries upon which the App depends will have to be installed.
> ### You will be asked:
> ### a)Would you like to use a personal library instead, click yes
> ### b)Would you like to create a personal library click yes
> ### c) Do you want to attempt to install this from sources, click yes
> ### d) A window will open saying Secure CRAN mirrors, select the first one 0.Cloud [https], then click OK
> ### The libraries will be downloaded and installed
> ### e) Also you will be asked to install RGtk2, select Install GTK+ and click OK
> ### It will take some time to install all the libraries, please be patient
> ### f) This is the final window popping up and asking: do you want to install from sources the package which needs compilation, click NO
> ###
> ### After libraries are installed, you will be asked to Browse toward your Fifa16 game folder and to select your game exe.
> ###
> ### Finally, the window that opened which is called Stadium Server is the app.
> ### Instructions about how to use the app are given in the help of the App and inside the Readme file
>
> Stadium_Server=function(){
+ source(file.path(getwd(),"R things/helper.R"))
+ }
>
> Stadium_Server()
Loading required package: sprof
Loading required package: gWidgetstcltk
Loading required package: gWidgets
Loading required package: tcltk
Loading required package: digest
Loading required package: stringdist
Loading required package: magick
Linking to ImageMagick 6.9.12.3
Enabled features: cairo, freetype, fftw, ghostscript, heic, lcms, pango, raw, rsvg, webp
Disabled features: fontconfig, x11
Loading required package: tesseract
Loading required package: gWidgets2RGtk2
Loading required package: memoise
Loading required package: RGtk2
Loading required package: gWidgets2

Attaching package: ‘gWidgets2’

The following objects are masked from ‘package:gWidgetstcltk’:

.gbasicdialog, .gbutton, .gcalendar, .gcheckbox, .gcheckboxgroup,
.gconfirm, .gdf, .gdfnotebook, .gedit, .gexpandgroup, .gfile,
.gfilebrowse, .gframe, .ggraphics, .ggraphicsnotebook, .ggroup,
.ghtml, .gimage, .ginput, .glabel, .glayout, .gmenu, .gmessage,
.gnotebook, .gpanedgroup, .gradio, .gseparator, .gslider,
.gspinbutton, .gstatusbar, .gtable, .gtext, .gtoolbar, .gtree,
.gvarbrowser, .gwindow, add, addSpace, addSpring, delete, dispose,
enabled, enabled<-, focus, focus<-, font, font<-, insert, isExtant,
size, size<-, svalue, svalue<-, tag, tag<-, visible, visible<-

The following objects are masked from ‘package:gWidgets’:

.addStockIcons, .gaction, .galert, .gbasicdialog, .gbutton,
.gcalendar, .gcheckbox, .gcheckboxgroup, .gconfirm, .gdf,
.gdfnotebook, .gedit, .getStockIcons, .gexpandgroup, .gfile,
.gfilebrowse, .gformlayout, .gframe, .ggraphics,
.ggraphicsnotebook, .ggroup, .ghtml, .gimage, .ginput, .glabel,
.glayout, .gmenu, .gmessage, .gnotebook, .gpanedgroup, .gradio,
.gseparator, .gslider, .gspinbutton, .gstatusbar, .gtable, .gtext,
.gtoolbar, .gtree, .gvarbrowser, .gwindow, .stockIconFromClass,
.stockIconFromObject, add, addDropSource, addDropTarget,
addHandler, addHandlerBlur, addHandlerChanged, addHandlerClicked,
addHandlerDestroy, addHandlerDoubleclick, addHandlerExpose,
addHandlerFocus, addHandlerIdle, addHandlerKeystroke,
addHandlerMouseMotion, addHandlerRightclick, addHandlerUnrealize,
addSpace, addSpring, addStockIcons, blockHandler, delete, dispose,
editable, editable<-, enabled, enabled<-, focus, focus<-, font,
font<-, gaction, galert, gbasicdialog, gbutton, gcalendar,
gcheckbox, gcheckboxgroup, gcombobox, gconfirm, gdf, gdfnotebook,
gdroplist, gedit, getStockIcons, getToolkitWidget, gexpandgroup,
gfile, gfilebrowse, gformlayout, gframe, ggraphics,
ggraphicsnotebook, ggroup, ghtml, gimage, ginput, glabel, glayout,
gmenu, gmessage, gnotebook, gpanedgroup, gradio, gseparator,
gslider, gspinbutton, gstatusbar, gtable, gtext, gtoolbar,
gtoolkit, gtree, guiToolkit, gvarbrowser, gwindow, insert,
isExtant, redo, removeHandler, size, size<-, stockIconFromClass,
stockIconFromObject, svalue, svalue<-, tag, tag<-, tooltip<-,
unblockHandler, undo, visible, visible<-

Loading required package: beepr
>
>
>
> ### III)
> ### To ease the use of the Stadium Server R app for the next time,
> ### once the Stadium Server App window has poped up (meaning you executed the code above properly),
> ### Do the following:
> ### 1) Click on the R Console on the left (wih the blue red text displayed)
> ### 2) Press control+s
> ### 3) Save a .RData file that you can call Stadium_Server_Fifa16.RData (you can call it like you want)
> ### inside the File Server folder (proposed by default)
> ### 4) Create a short cut of the generated .RData file where you want (ie: Desktop)
> ###
> ###
> ### The next time you want to use stadium server app simply double click on the short cut
> ### then type Stadium_Server() in the Rconsole, it will directly load the app.
> ### It is easier than changing working directory then open the script (like in the Readme file)
> ### You just need to remember the magick word: Stadium_Server()
 
Volví a instalar todo desde cero, ahora si me aparece el menú del servidor R.
El problema que tengo es que al presionar las teclas a y s a la vez, dentro del menú de fifa 16, no me sale la canción de Mario Bros y no se me carga el estadio...
Yo ya no sé que hacer...



R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R es un software libre y viene sin GARANTIA ALGUNA.
Usted puede redistribuirlo bajo ciertas circunstancias.
Escriba 'license()' o 'licence()' para detalles de distribucion.

R es un proyecto colaborativo con muchos contribuyentes.
Escriba 'contributors()' para obtener más información y
'citation()' para saber cómo citar R o paquetes de R en publicaciones.

Escriba 'demo()' para demostraciones, 'help()' para el sistema on-line de ayuda,
o 'help.start()' para abrir el sistema de ayuda HTML con su navegador.
Escriba 'q()' para salir de R.

> source(file.path(getwd(),"R things/Working_Function/install_py_lib.R"))
> #####################################################
> ### Welcome to the Stadium Server R app script!
>
> ### I)
> ### The first time you open this script, send the line just bellow to the R console by selecting this very line, then pressing control+r
> ### This line allows installing the python libraries needed by the application.
> ### Immdeiately after you executed it you can add a # symbol before this line to make it simple text and save the script (click save the script).
> ###
>
> source(file.path(getwd(),"R things/Working_Function/install_py_lib.R"))
>
>
> ### II)
> ### To start the Stadium Server application, click control+a (to select all the codes lines) then control+r (to execute the lines)
> ### Keep those lines as they are because they will be needed every time you load this script.
> ###
> ### The first time you run the code lines bellow, R libraries upon which the App depends will have to be installed.
> ### You will be asked:
> ### a)Would you like to use a personal library instead, click yes
> ### b)Would you like to create a personal library click yes
> ### c) Do you want to attempt to install this from sources, click yes
> ### d) A window will open saying Secure CRAN mirrors, select the first one 0.Cloud [https], then click OK
> ### The libraries will be downloaded and installed
> ### e) Also you will be asked to install RGtk2, select Install GTK+ and click OK
> ### It will take some time to install all the libraries, please be patient
> ### f) This is the final window popping up and asking: do you want to install from sources the package which needs compilation, click NO
> ###
> ### After libraries are installed, you will be asked to Browse toward your Fifa16 game folder and to select your game exe.
> ###
> ### Finally, the window that opened which is called Stadium Server is the app.
> ### Instructions about how to use the app are given in the help of the App and inside the Readme file
>
> Stadium_Server=function(){
+ source(file.path(getwd(),"R things/helper.R"))
+ }
>
> Stadium_Server()
Loading required package: sprof
Loading required package: gWidgetstcltk
Loading required package: gWidgets
Loading required package: tcltk
Loading required package: digest
Loading required package: stringdist
Loading required package: magick
Linking to ImageMagick 6.9.12.3
Enabled features: cairo, freetype, fftw, ghostscript, heic, lcms, pango, raw, rsvg, webp
Disabled features: fontconfig, x11
Loading required package: tesseract
Loading required package: gWidgets2RGtk2
Loading required package: memoise
Loading required package: RGtk2
Loading required package: gWidgets2

Attaching package: ‘gWidgets2’

The following objects are masked from ‘package:gWidgetstcltk’:

.gbasicdialog, .gbutton, .gcalendar, .gcheckbox, .gcheckboxgroup,
.gconfirm, .gdf, .gdfnotebook, .gedit, .gexpandgroup, .gfile,
.gfilebrowse, .gframe, .ggraphics, .ggraphicsnotebook, .ggroup,
.ghtml, .gimage, .ginput, .glabel, .glayout, .gmenu, .gmessage,
.gnotebook, .gpanedgroup, .gradio, .gseparator, .gslider,
.gspinbutton, .gstatusbar, .gtable, .gtext, .gtoolbar, .gtree,
.gvarbrowser, .gwindow, add, addSpace, addSpring, delete, dispose,
enabled, enabled<-, focus, focus<-, font, font<-, insert, isExtant,
size, size<-, svalue, svalue<-, tag, tag<-, visible, visible<-

The following objects are masked from ‘package:gWidgets’:

.addStockIcons, .gaction, .galert, .gbasicdialog, .gbutton,
.gcalendar, .gcheckbox, .gcheckboxgroup, .gconfirm, .gdf,
.gdfnotebook, .gedit, .getStockIcons, .gexpandgroup, .gfile,
.gfilebrowse, .gformlayout, .gframe, .ggraphics,
.ggraphicsnotebook, .ggroup, .ghtml, .gimage, .ginput, .glabel,
.glayout, .gmenu, .gmessage, .gnotebook, .gpanedgroup, .gradio,
.gseparator, .gslider, .gspinbutton, .gstatusbar, .gtable, .gtext,
.gtoolbar, .gtree, .gvarbrowser, .gwindow, .stockIconFromClass,
.stockIconFromObject, add, addDropSource, addDropTarget,
addHandler, addHandlerBlur, addHandlerChanged, addHandlerClicked,
addHandlerDestroy, addHandlerDoubleclick, addHandlerExpose,
addHandlerFocus, addHandlerIdle, addHandlerKeystroke,
addHandlerMouseMotion, addHandlerRightclick, addHandlerUnrealize,
addSpace, addSpring, addStockIcons, blockHandler, delete, dispose,
editable, editable<-, enabled, enabled<-, focus, focus<-, font,
font<-, gaction, galert, gbasicdialog, gbutton, gcalendar,
gcheckbox, gcheckboxgroup, gcombobox, gconfirm, gdf, gdfnotebook,
gdroplist, gedit, getStockIcons, getToolkitWidget, gexpandgroup,
gfile, gfilebrowse, gformlayout, gframe, ggraphics,
ggraphicsnotebook, ggroup, ghtml, gimage, ginput, glabel, glayout,
gmenu, gmessage, gnotebook, gpanedgroup, gradio, gseparator,
gslider, gspinbutton, gstatusbar, gtable, gtext, gtoolbar,
gtoolkit, gtree, guiToolkit, gvarbrowser, gwindow, insert,
isExtant, redo, removeHandler, size, size<-, stockIconFromClass,
stockIconFromObject, svalue, svalue<-, tag, tag<-, tooltip<-,
unblockHandler, undo, visible, visible<-

Loading required package: beepr
>
>
>
> ### III)
> ### To ease the use of the Stadium Server R app for the next time,
> ### once the Stadium Server App window has poped up (meaning you executed the code above properly),
> ### Do the following:
> ### 1) Click on the R Console on the left (wih the blue red text displayed)
> ### 2) Press control+s
> ### 3) Save a .RData file that you can call Stadium_Server_Fifa16.RData (you can call it like you want)
> ### inside the File Server folder (proposed by default)
> ### 4) Create a short cut of the generated .RData file where you want (ie: Desktop)
> ###
> ###
> ### The next time you want to use stadium server app simply double click on the short cut
> ### then type Stadium_Server() in the Rconsole, it will directly load the app.
> ### It is easier than changing working directory then open the script (like in the Readme file)
> ### You just need to remember the magick word: Stadium_Server()

No puedo ver ninguna error en tu mensage. Pero en las ultimas versiones hay que prensar solamente la tecla $.
He cambiado esto porque tenio problemas con el combo a y s.
 
Ya he podido cargarlo con éxito, o casi. lol.

Probé con la tecla que dijiste y ahora me va, muchísimas gracias por tu ayuda...el único problema es que va algo ralentizado y se laguea...
Bajo la configuración gráfica un poco?
 
Después de probar la aplicación r del servidor del estadio, veo cosas extrañas ...
La mayoría de jugadores de 14 y 15 años LOL
Entonces tengo problemas con los estadios ...
Puedo subirlos, pero no me los asignan con el equipo correspondiente.
Por ejemplo: tengo dos estadios, el lokomotiv y el zenit, si elijo jugar con el zenit aparece otro estadio y luego juego con el lokomotiv y le asigno el estadio zenit ...
El juego también me está frenando en el terreno de juego.
 
Hi. Today I tried using the Stadium Server but the Python script window didn't load, I clicked to restart the window but it opens and closes immediately.

The code in R is the following:


Thanks in advance.

I had the same problem using Python 3.8.5
Updated to Python 3.9.6 and problem solved. Working perfect now in Windows 10, using FIFA 16 Demo Extended with FIFA Infinty Patch 20/21

@papinho81
I think you should do a post with most frequent problems. The one with database names not matching is very common I guess
Btw, once again, thank you very much for such a great tool!


WRONG DATABASE NAMES FIX
1) OpenCreation Master 16
2) File / Select All
3) Find your database files and the main language youuse
4) Go to Stadiums
5) Check if Database name matches with Name (check all stadiums, one by one)
6) If one doesn't match, put the same name above and below
7) Save
8) Export again all tables with DB Master

01b.jpg
 
Last edited:
I had the same problem using Python 3.8.5
Updated to Python 3.9.6 and problem solved. Working perfect now in Windows 10, using FIFA 16 Demo Extended with FIFA Infinty Patch 20/21

@papinho81
I think you should do a post with most frequent problems. The one with database names not matching is very common I guess
Btw, once again, thank you very much for such a great tool!


WRONG DATABASE NAMES FIX
1) OpenCreation Master 16
2) File / Select All
3) Find your database files and the main language youuse
4) Go to Stadiums
5) Check if Database name matches with Name (check all stadiums, one by one)
6) If one doesn't match, put the same name above and below
7) Save
8) Export again all tables with DB Master

01b.jpg
is there any solution for fifa 16 demo to add scoreboard or aboard?
 
but it seems cgfs dont work on demo extended
how do you do it?:?

You can still replace the original scoreboard/adboard game files (replacing the files directly, not using any server tool). Check SoccerGaming FIFA 16 forums to get a tutorial step by step. Sorry but I haven't tried it by myself. I know they work because I dowloaded FIFA Infinity Patch 20/21 and it has adboards/scoreboards included that replace or are included in the original game files

The CG File Server doesn't work on Demo and it has some compatibility issues with other full game versions, that's why Papinho invented this Stadium Server that is compatible with every version
 
Hi @papinho81 I tried to install the stadium server I got to this point: the dialog box comes out at the end of the installations but without anything .. giving me this error ... where am I wrong? thank you very much bye

### III)
> ### To ease the use of the Stadium Server R app for the next time,
> ### once the Stadium Server App window has poped up (meaning you executed the code above properly),
> ### Do the following:
> ### 1) Click on the R Console on the left (wih the blue red text displayed)
> ### 2) Press control+s
> ### 3) Save a .RData file that you can call Stadium_Server_Fifa16.RData (you can call it like you want)
> ### inside the File Server folder (proposed by default)
> ### 4) Create a short cut of the generated .RData file where you want (ie: Desktop)
> ###
> ###
> ### The next time you want to use stadium server app simply double click on the short cut
> ### then type Stadium_Server() in the Rconsole, it will directly load the app.
> ### It is easier than changing working directory then open the script (like in the Readme file)
> ### You just need to remember the magick word: Stadium_Server()
> Stadium Server()
Errore: unexpected symbol in "Stadium Server"
> Stadium_Server()
Loading required package: gWidgetstcltk
Installing package into ‘C:/Users/Roberto/R/win-library/3.6’
(as ‘lib’ is unspecified)
installing the source package ‘gWidgetstcltk’

provo con l'URL 'http://R-Forge.R-project.org/src/contrib/gWidgetstcltk_0.0-55.tar.gz'
Content type 'application/x-gzip' length 527384 bytes (515 KB)
downloaded 515 KB

* installing *source* package 'gWidgetstcltk' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'gWidgetstcltk'
finding HTML links ... fatto
gWidgetstcltk-package html
gWidgetstcltk-undocumented html
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (gWidgetstcltk)

The downloaded source packages are in
‘C:\Users\Roberto\AppData\Local\Temp\RtmpSMCp2x\downloaded_packages’
Loading required package: gWidgetstcltk
Loading required package: tcltk
Loading required package: gWidgets2RGtk2
Installing package into ‘C:/Users/Roberto/R/win-library/3.6’
(as ‘lib’ is unspecified)
Loading required package: gWidgets2RGtk2
No toolkit packages are installed.
C:/Users/Roberto/R/win-library/3.6/gWidgets2/install/installing_toolkits.txt
Error in UseMethod(".gbasicdialog") :
no applicable method for '.gbasicdialog' applied to an object of class "NULL"
Inoltre: Warning messages:
1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘gWidgetstcltk’
2: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘gWidgets2RGtk2’
3: package ‘gWidgets2RGtk2’ is not available (for R version 3.6.3)
4: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘gWidgets2RGtk2’
> Stadium_Server()
Loading required package: gWidgets2RGtk2
Installing package into ‘C:/Users/Roberto/R/win-library/3.6’
(as ‘lib’ is unspecified)
Loading required package: gWidgets2RGtk2
No toolkit packages are installed.
C:/Users/Roberto/R/win-library/3.6/gWidgets2/install/installing_toolkits.txt
Error in UseMethod(".gbasicdialog") :
no applicable method for '.gbasicdialog' applied to an object of class "NULL"
Inoltre: Warning messages:
1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘gWidgets2RGtk2’
2: package ‘gWidgets2RGtk2’ is not available (for R version 3.6.3)
3: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘gWidgets2RGtk2’
>
 
this messagge can you say something?
package ‘gWidgets2RGtk2’ is not available (for R version 3.6.3)
3: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘gWidgets2RGtk2’
 
@papinho81
I passed this step all ok ... but now I can't assign the stadiums or rather they are assigned to me but in the game, even after hearing the sound another stadium appears to me .. type the san paolo di raven .. .then another thing or rather two: sometimes the team I am looking for does not appear in the team search ... I tried to open and close the window a few times but nothing (e.g. the genoa ...) I use the FIP 4.1 ...
PS: compared to where the stadiums are located, in my case fifa 16 / my mods / Stadium / Italy etc. etc. where should the file stad_source_files.zip be placed?
thanks maybe you take the steps for granted that I do not do

Edit:
Besides, now when I write in the Stadium_Server () command the window to add the stadiums does not open, it gives me this error:
Loading required package: beepr
Error in if (nchar (stad_source_folder_path) == 0) {:
 
Last edited:
Anyway now I reinstall everything from the beginning and then when I am at the point I ask you ... in the meantime when you can you can answer my questions? Thank you bye
 
@papinho81e
I passed this step all ok ... but now I can't assign the stadiums or rather they are assigned to me but in the game, even after hearing the sound another stadium appears to me .. type the san paolo di raven .. .then another thing or rather two: sometimes the team I am looking for does not appear in the team search ... I tried to open and close the window a few times but nothing (e.g. the genoa ...) I use the FIP 4.1 ...
PS: compared to where the stadiums are located, in my case fifa 16 / my mods / Stadium / Italy etc. etc. where should the file stad_source_files.zip be placed?
thanks maybe you take the steps for granted that I do not do

Edit:
Besides, now when I write in the Stadium_Server () command the window to add the stadiums does not open, it gives me this error:
Loading required package: beepr
Error in if (nchar (stad_source_folder_path) == 0) {:

What stadium did you see instead of the one you wanted? A rather small custom made ring or the default EA stadium?

You can place the stad_source_files.zip wherever you want except inside the C:\Users\Name\Documents
There is a button in the tool that allows you providing the location/path of the folder (CHANGE button).

The error "Error in if (nchar (stad_source_folder_path) == 0) {:" could be be because the file that store the stad_source_files.zip path for the tool might have a "NA" instead of nothing or a path. Go to "Stadium Server R App\R things\Working_Function" folder, open the file stad_source_location_default.R and remove the NA if it says NA instead of a path.
 
@papinho81 i did it all to the letter ... oh i made some progress -:)))) ... basically i make a friendly check the luigi ferraris stadium at sampdoria ... before playing with the command i hear the two confirmation sounds .. .is everything ok? no because when the game starts I don't see Marassi but the same stupid stadium I saw yesterday ... where am I wrong? maybe I don't take passes that you take for granted? thank you very much

EDIT:the nice thing is that now with any team I always have this damn stadiumScreenshot (12).pngScreenshot (13).png
 
Last edited:
Loading required package: beepr
Error in paste("The stadium textures for the stadium with the id:", stadium_id, :
oggetto "stadium_id" non trovato
Inoltre: Warning messages:
1: In for (i in seq_len(n)) { :
closing unused connection 3 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/teams.txt)
2: In .Internal(.addCondHands(name, list(handler), parentenv, environment(), :
closing unused connection 3 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/teamstadiumlinks.txt)
3: In max(score_home_cm) : no non-missing arguments to max; returning -Inf
4: In for (a in as.list(elist)) if (!missing(a) && mayCallBrowser(a, :
closing unused connection 6 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/stadiums.txt)
5: In for (a in as.list(elist)) if (!missing(a) && mayCallBrowser(a, :
closing unused connection 5 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/teams.txt)
6: In for (a in as.list(elist)) if (!missing(a) && mayCallBrowser(a, :
closing unused connection 4 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/teamstadiumlinks.txt)
7: In for (a in as.list(elist)) if (!missing(a) && mayCallBrowser(a, :
closing unused connection 3 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/stadiumassignments.txt)
8: In unzip(external_path, exdir = decomp_folder_path) :
errore 1 durante l'estrazione dall'archivio zip
Error in File_loader_external() : Stadium textures are missing!
Inoltre: There were 22 warnings (use warnings() to see them)
Error in if (nzchar(default)) args <- c(args, initialdir = dirname(default), :
l'argomento ha lunghezza zero
Inoltre: Warning messages:
1: closing unused connection 6 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/stadiums.txt)
2: closing unused connection 5 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/teams.txt)
3: closing unused connection 4 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/teamstadiumlinks.txt)
4: closing unused connection 3 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/stadiumassignments.txt)
5: In for (i in seq_len(n)) { :
closing unused connection 3 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/teams.txt)
6: In for (what in notDone) installClassMethod(get(what, envir = thisClass@refMethods), :
closing unused connection 3 (C:/Program Files (x86)/Origin Games/Stadium Server R App/exported_files_DB/teamstadiumlinks.txt)
Error in if (nzchar(default)) args <- c(args, initialdir = dirname(default), :
l'argomento ha lunghezza zero
Error in if (length(nchar(stadium_dir_default$value)) == 0 | is.na(stadium_dir_default$value)) { :
l'argomento ha lunghezza zero
Error in if (length(nchar(stadium_dir_default$value)) == 0 | is.na(stadium_dir_default$value)) { :
l'argomento ha lunghezza zeroScreenshot (14).png
 
Back
Top Bottom