Trying to Completely Duplicate the Working Shootergame code for open IP Multiplayer games
Updated Source Code Download Ready on Drop Box!
With Complete Source Code Replacement to match ShooterGame code much better (CTRL + F1 to run the HostGame code from shootergame) !
Dear Friends at Epic,
After having successfully played Shootergame as true multiplayer game with Alexander, and now also Adric, using open IP
I adjusted a lot of my internal code to match the Shootergame code better :)
Now I have a new updated download available!
I also fixed my config files to match Shootergame more closely.
My prior mistake:
I was not calling the shooter game online code for HostMatch at all before, I was just using "open ?listen" to start an online game.
I also modified the gameinfo PreLogin rules to always pass back a empty string error message to ensure other player gets accepted
Now I am calling the shootergame HostGame code as closely as I can, minus the actual GameType string value.
Alexander, or any one else who wants to try this:
When you get the chance,
Please download my complete game .rar and see if you can get an open IP game going with anyone else :)
You can msg me here or pm me if you want to meet up at some specific time, and I will re-post my IP
To be the Host
After you start game, press CTRL + F1 to become a listen host and run the Shootergame HostGame code :)
If it doesnt work I am really not sure what else to do code-wise, because I'm carefully copied over all the shootergame code and and this time I'm actually running it :)
When you press CTRL + F1 this code runs:
copied from shooter game along with all the other code related to this:
asked Mar 11 '14 at 02:15 AM in C++ Programming
ue4-archive ♦♦ STAFF
One Interesting Replication Issue I Cant Solve
When a projectile is initially spawned, it faces wrong direction, but on the next frame ( I know its one frame cause it was really hard to get this screen shot) the projectile corrects it orientation.
the odd thing, is that on the listen server (top left) the projectile shows up correctly. And this issue only occurs in multiplayer context. Single player is always correct.
so its some sort of initial replication issue, but I dont know how to fix it :)
When you get a chance to check out my game and can see this for yourself, please let me know what you think solution might be.
I spawn the projectile from Private/Character/VictoryDragonHumanCharacter.cpp Line 192
Projectile class is VictoryProjectile
"Could I put my game on drop box for another Rocket user and have them try to open my IP"
Multiplayer should be possible by sharing your project, creating a listen server and having another user connect to your IP. We just tested this with shootergame in Beta4 and it is as simple as giving both players the same project, then hosting and connecting. If you would like, we could test your project and see what results we get.
"Is there a way to get the Onlinesubsystem / Steam to work pre-shipping build?"
A developer will be able to help with this in your other thread: https://rocket.unrealengine.com/questions/6140/steam-c-how-do-i-access-the-instance-of-the-online.html
If there is anything else that I can assist you with, please let me know.
Follow this question
Once you sign in you will be able to subscribe for any updates here