x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Closed] 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

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:23 AM in C++ Programming

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1986 9113

(comments are locked)
10|2000 characters needed characters left

The question has been closed Jun 30 '14 at 09:53 PM by Tim C for the following reason:

Closed for archival purposes. If you need any additional help with this issue, please post a new question.


2 answers: sort voted first

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

 YourGame.Build.cs


:)

 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

more ▼

answered Mar 11 '14 at 02:23 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1986 9113

avatar image Ad3ViLl Jun 20 '14 at 08:26 PM

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 ?

avatar image Shura Jun 27 '14 at 12:19 PM

Same here :( 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.
(comments are locked)
10|2000 characters needed characters left

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?

more ▼

answered Mar 11 '14 at 02:23 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1986 9113

(comments are locked)
10|2000 characters needed characters left

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question