craqueguga
New member
Greetings friends,
I didn't wanted to ask for help before even contributing with the community but I can find no solution for this.
That's not a Flash problem per se because it also affects the Shockwave version.
After some basic configuration I decided to make my Hotel public, everything worked fine on localhost by the way. Then, after configuring the database 'settings' table changing values from its default 'localhost' to my domain it also made the web server work fine for the public, the problem is: I can't load the client just fine when outside localhost, and after further inspection, I saw the client keeps trying to load from localhost the following files: figuredata.xml, productdata.txt and furnidata.txt (also two .png images, but don't think they're a problem)
I'm using Quackster's Havana (v.1.3) for emulation, the www files are also the one recommended on the GitHub repo (havana_www_10_09_2024.7z).
I think that's all, here some screenshots. I blurred the domain because I can't secure the server if it's really public, because it's mostly a 'friends' server, but if someone need to check I can share privately, it's just a .sh domain.
1ST EDIT
Ok, now the title is kinda misleading. It's not trying to load from localhost anymore, I cleaned everything in the browser and now it does load figuredata.xml, productdata.txt and furnidata.txt properly from the public IP/domain. But still unable to access, inspecting the error in the Shockwave client gave me this:
http://[domain].sh/clientutils.php?key=error&error=socket_init&version=10.4.1&build=54&os=Windows,6,1,148,2,Service+Pack+1&host=127.0.0.1&port=12321&client_version=http://[domain].sh/dcr/v31/&mus_errorcode=-2147216214_ConnectToNetServer&error_id=00017107&client_process_list=9,12,23,25,24,30&client_errors=tainer+Class-Variable+not+found:+"userLoggedIn";00:00:00+-handleDisconnect-Login+Handler+Class-Connection+was+disconnected:+info;T=00:00:00+&server_errors=-&neterr_cast=0&neterr_res=0&client_uptime=0
Now it looks like something I can see further, since I don't think I can delete the thread I'm still open for help in this new context.
Sorry for the confusion by the way.
2ND AND FINAL EDIT
Ok, I solved all the problems. For the original Flash client problem I just needed to edit /flash/gamedata/external_variables but the Shockwave version was not working for a whole other reason (see below);
The second problem was with the whole configuration I made on my Debian VPS with Apache, solved it by properly re-configuring the reverse proxy for the ports 80, 12309, 12321 and 12322 now with Nginx instead, Apache is not to be used for things beyond port 80 and 443 I think. I also deactivated the firewall of the Windows 7 VM that I'm using to run Havana v1.3.
Writing it all for documenting, most of the errors made by newbies like me are just simple things after all.
I didn't wanted to ask for help before even contributing with the community but I can find no solution for this.
That's not a Flash problem per se because it also affects the Shockwave version.
After some basic configuration I decided to make my Hotel public, everything worked fine on localhost by the way. Then, after configuring the database 'settings' table changing values from its default 'localhost' to my domain it also made the web server work fine for the public, the problem is: I can't load the client just fine when outside localhost, and after further inspection, I saw the client keeps trying to load from localhost the following files: figuredata.xml, productdata.txt and furnidata.txt (also two .png images, but don't think they're a problem)
I'm using Quackster's Havana (v.1.3) for emulation, the www files are also the one recommended on the GitHub repo (havana_www_10_09_2024.7z).
I think that's all, here some screenshots. I blurred the domain because I can't secure the server if it's really public, because it's mostly a 'friends' server, but if someone need to check I can share privately, it's just a .sh domain.
1ST EDIT
Ok, now the title is kinda misleading. It's not trying to load from localhost anymore, I cleaned everything in the browser and now it does load figuredata.xml, productdata.txt and furnidata.txt properly from the public IP/domain. But still unable to access, inspecting the error in the Shockwave client gave me this:
http://[domain].sh/clientutils.php?key=error&error=socket_init&version=10.4.1&build=54&os=Windows,6,1,148,2,Service+Pack+1&host=127.0.0.1&port=12321&client_version=http://[domain].sh/dcr/v31/&mus_errorcode=-2147216214_ConnectToNetServer&error_id=00017107&client_process_list=9,12,23,25,24,30&client_errors=tainer+Class-Variable+not+found:+"userLoggedIn";00:00:00+-handleDisconnect-Login+Handler+Class-Connection+was+disconnected:+info;T=00:00:00+&server_errors=-&neterr_cast=0&neterr_res=0&client_uptime=0
Now it looks like something I can see further, since I don't think I can delete the thread I'm still open for help in this new context.
Sorry for the confusion by the way.
2ND AND FINAL EDIT
Ok, I solved all the problems. For the original Flash client problem I just needed to edit /flash/gamedata/external_variables but the Shockwave version was not working for a whole other reason (see below);
The second problem was with the whole configuration I made on my Debian VPS with Apache, solved it by properly re-configuring the reverse proxy for the ports 80, 12309, 12321 and 12322 now with Nginx instead, Apache is not to be used for things beyond port 80 and 443 I think. I also deactivated the firewall of the Windows 7 VM that I'm using to run Havana v1.3.
Writing it all for documenting, most of the errors made by newbies like me are just simple things after all.
Last edited: