Page 9 of 12

Re: Plans to go open source

Posted: Wed Dec 30, 2020 4:52 am
by Dchaps
I chased my tail quite abit when it came to the login forms between using php 5.6 and 7.4, i ended up updating the login forms myself aswell and even tried downgrading

I had an issue where the apache access_log was showing an incorrect symlink for the wrong game inside startsession.php

I also had a problem with dnsmasq and systemd-resolve running concurrently, and on every system reboot /etc/resolv.conf would reset

but after a long battle she works on ubuntu server! :mrgreen:

Image

Re: Plans to go open source

Posted: Mon Jan 04, 2021 2:37 pm
by hobbes_182
Has anyone tried logging into their open source server with an actual PlayStation 2?

I can log in successfully on emu, but I am having no luck on console :-[

On emu I have the DNS1 setup to 192.0.2.1 and edited my .ini file to reflect the server's IP.

I have played a few maps and emu and everything runs smoothly.

Here is my server info incase someone wants to try connecting on console:

Code: Select all

DNS 1 - 192.0.2.1 IP - 172.15.200.176

Re: Plans to go open source

Posted: Tue Jan 05, 2021 10:53 am
by hill73n
Has anyone tried logging into their open source server with an actual PlayStation 2?

I can log in successfully on emu, but I am having no luck on console :-[

On emu I have the DNS1 setup to 192.0.2.1 and edited my .ini file to reflect the server's IP.

I have played a few maps and emu and everything runs smoothly.

Here is my server info incase someone wants to try connecting on console:

Code: Select all

DNS 1 - 192.0.2.1 IP - 172.15.200.176
Hey hobbes. Nice work!

Yes. Logging in via PS2 console on the private servers is possible. I've done it and so have several others. But there is a catch: the console players need to install the OutbreakServer image on a PC connected locally to their router and run just the DNS server part.

So the process is this:

PC setup

1. Import OutbreakServerGUI.ova into VirtualBox
https://drive.google.com/drive/folders/ ... yKYt-T3K94

2. Note down that Local Server's IP. You can find this quickly by hovering the cursor over the blue up/down arrows icon at the top right of the Server window. It will look something like 192.168.0.122

3. Execute in Terminal local-dns-config.sh and change the IPs in there to the Public IPv4 of the server you want to login to, then press Shift+X to exit and Y to save changes

4. Execute in Terminal the restart-dns-server.sh

PS2 Console setup

5. Run Outbreak File 1 or File 2 and go to NETWORK PLAY and select the NET CONNECTION (top) option.

6. Create a new NET CONNECTION setting and put that Local Server IP (from YOUR local server) that you got in step 2. above as the PRIMARY DNS. (You only need to do this once! If you do it for File 1 then just go to NET CONNECTION option again for File 1 or 2 and select that server's setting to login. For any future games just use PREV CONNECTION. But if you want to change to another server then go to NET CONNECTION option again and select the correct server setting for that server.)

Then you should be able to connect same as logging in to obsrv, except you will need to create a new account User ID and Password (use only a-z A-Z 0-9 as other characters are not supported). You will only need to do this once for each game using the right boxes. In future just login with you user ID and password in the left boxes.

Re: Plans to go open source

Posted: Tue Jan 05, 2021 2:32 pm
by hobbes_182
Thanks again hill73n!

Guiding me through the darkness as always.

OK I see, this totally makes sense. I'll try this tonight and report back 8)

------------------EDIT ---------------------

It worked baby!

It was weird though, I had a direct connection to my ISP router and I couldn't even connect to obsrv.

I connected to my netgear switch which goes to my ISP router and I could connect to my server and obsrv on the first try.

Oh well, at least we're online ^_^

Re: Plans to go open source

Posted: Wed Apr 07, 2021 12:37 pm
by norisawa
Hello to all,
I created a private server, ob file 1 works correctly instead ob file 2 gives me time out error

Re: Plans to go open source

Posted: Fri Apr 09, 2021 8:50 am
by hill73n
Hello to all,
I created a private server, ob file 1 works correctly instead ob file 2 gives me time out error
Hi. Well done :)

Make sure the File2 server is running in VirtualBox emulation too. But both File1 and File2 servers are stared by default when you boot the Raspberry Pi OutbreakServerGUI image.

Does it do it every time you try to connect on File2?

Re: Plans to go open source

Posted: Sat Apr 10, 2021 8:34 pm
by norisawa
Hello to all,
I created a private server, ob file 1 works correctly instead ob file 2 gives me time out error
Hi. Well done :)

Make sure the File2 server is running in VirtualBox emulation too. But both File1 and File2 servers are stared by default when you boot the Raspberry Pi OutbreakServerGUI image.

Does it do it every time you try to connect on File2?
Thanks for the reply, unfortunately I have tried several times and the server is also started of the file 2...

Re: Plans to go open source

Posted: Sat Apr 10, 2021 10:12 pm
by refan988
Hello to all,
I created a private server, ob file 1 works correctly instead ob file 2 gives me time out error
Hi. Well done :)

Make sure the File2 server is running in VirtualBox emulation too. But both File1 and File2 servers are stared by default when you boot the Raspberry Pi OutbreakServerGUI image.

Does it do it every time you try to connect on File2?
Thanks for the reply, unfortunately I have tried several times and the server is also started of the file 2...
Did you change the server's IP address in the config file to match Virtualbox's network IP address? The IP address for the server should be the same as the one for file 1 server. Double-click on file2config.sh and make sure gs_ip is the same as the file1config.sh config file. Also if you are using your public IP address as the IP address, for file 2 you need to forward tcp ports 8200 and 8590 in addition to tcp port 443.

Re: Plans to go open source

Posted: Thu Apr 22, 2021 3:34 am
by killme
I aslo failed on connection, no port forward in my router, and our country blocked port 443 and some else. how to do? :'(

Re: Plans to go open source

Posted: Fri Apr 23, 2021 12:44 am
by refan988
I aslo failed on connection, no port forward in my router, and our country blocked port 443 and some else. how to do? :'(
The only thing you could do is run a vpn with other people that want to connect. I've tried it with both Hamachi and SoftEther and seemed to work fine.

Re: Plans to go open source

Posted: Fri Apr 23, 2021 4:45 am
by killme
I aslo failed on connection, no port forward in my router, and our country blocked port 443 and some else. how to do? :'(
The only thing you could do is run a vpn with other people that want to connect. I've tried it with both Hamachi and SoftEther and seemed to work fine.
any video for this? not sure what step did wrong.

Re: Plans to go open source

Posted: Sat Apr 24, 2021 9:14 am
by GrafDeGenerat
Резидент ивл гавно

Re: Plans to go open source

Posted: Sun Apr 25, 2021 2:00 pm
by refan988
I aslo failed on connection, no port forward in my router, and our country blocked port 443 and some else. how to do? :'(
The only thing you could do is run a vpn with other people that want to connect. I've tried it with both Hamachi and SoftEther and seemed to work fine.
any video for this? not sure what step did wrong.
Were you just trying to connect to the server locally?

Re: Plans to go open source

Posted: Mon Apr 26, 2021 8:35 am
by killme


The only thing you could do is run a vpn with other people that want to connect. I've tried it with both Hamachi and SoftEther and seemed to work fine.
any video for this? not sure what step did wrong.
Were you just trying to connect to the server locally?
yes.

Re: Plans to go open source

Posted: Mon Apr 26, 2021 8:17 pm
by hobbes_182

any video for this? not sure what step did wrong.
Were you just trying to connect to the server locally?
yes.
Hey killme!

So the issue is that everyone has a unique setup.

For example in my situation, I cannot connect to my server or OBSRV if I do a direct connection from my PlayStation 2 to my modem directly. But, if I connect to my router, which then goes to my modem I can connect to either server no problem. (strange)

On the PC, I do not have that problem. (again, strange)

So if you are trying to connect locally, then the first step would be to make sure the IPs are entered correctly for each Outbreak server. But, this is unique to your current setup. (for example, my IP would be different to yours, etc).

Port forwarding is definitely a must if you wish to share your server online. And this is also unique to your modem/ISP/country, etc.

You really have to do some digging and check your modem's settings. For example, on mine, all the information I found online said port forwarding could not be done. Hell, I almost bought another modem, but once I went into the modem's settings I was able to find the options to enable port forwarding. I think mine were listed as "DMZ/rules".

Once you find that, you have to forward ports for each Outbreak server, which points to the IP of your server (again, unique only to your setup).

Hopefully this helps. It's was a major pain in the ass to setup (for me), but the only way I discovered how to was digging through the settings.

Keep us posted on your progress.

Hope you get everything up and running!