Cant find "Online.h"

Trying to adapt the code from ShooterGame to my own project, ShooterGameSession includes Online.h and uses many things from it, but in the new project, it cant find Online.h, and if i add the directory it is placed manually to the include directories, it gives a big load of errors. what can i do

to include Online.h you need to add it to your

YourGame.Build.cs

:slight_smile:

public class VictoryGame : ModuleRules
{
	public VictoryGame(TargetInfo Target)
	{
        PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "OnlineSubsystem" });

I wrote a whole thread on adapting Shootergame code to your own project here:
http://forums.epicgames.com/threads/974712-Tutorials-Guide-Create-Multiplayer-Games-for-UE4

enjoy!

Rama

I dont have access to that forum
and that looks exactly what i need
Update, that thing in the .cs file was exactly what i needed, thank you. also, how do you get access to that forum?

Hey Guys. It seems some of us dont have access to that forum. Is it possible you can post it again in forums.unrealengine.com ?

Same here :frowning:
Kann you please transfer this thread ??

Shura, you do not have permission to access this page. This could be due to one of several reasons:

    Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
    If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.