Kiliang, try to finish all the tutorial before testing for errors… I know it’s bad programming practice but make an exclusion for now since arboba fixes those issues later on, at leasts that’s how it worked out for me. (in his website though)
&
Arboba it was the map, THANK YOU for bringing that up, I removed the map and the game cocked and was packaged with no errors. My guess is that I used something from the landscape tools that messed it up.
First thing i found was in your defined_modes array you had L_Survival listed as the game mode, instead of SM, so it was passing the wrong thing. the other mode was right (used the short name you made in the config file)…
I have looked a little but am baffled. I made a new map, named it test, added it to the defined maps array and selected that and it worked fine, went right into map, main menu did not come back up… so I am confused a bit.
For the video widget stuff, there was something strange with your widget switcher. I deleted it as I could not resize it. I added a new one and renamed it WidgetSwitcher_0 like your old one… then picked MM_S_Video from the User Created in the Palette and pulled it into the switcher. So that part works:
Looks like the problem is somewhere around this stuff… are you using persistant levels? I don’t know anything about them or if they work differently.
[2015.11.18-23.36.30:309][106]LogLoad: LoadMap: /Game/Levels/lad?listen?Game=SM
[2015.11.18-23.36.30:338][106]LogParticles: Destroying 0 GPU particle simulations for FXSystem 0x00000000643CE7A0
[2015.11.18-23.36.30:345][106]Cmd: MEM
[2015.11.18-23.36.30:369][106]LogMemory: Platform Memory Stats for Windows
[2015.11.18-23.36.30:369][106]LogMemory: Process Physical Memory: 1756.25 MB used, 1846.13 MB peak
[2015.11.18-23.36.30:369][106]LogMemory: Process Virtual Memory: 2441.25 MB used, 2721.53 MB peak
[2015.11.18-23.36.30:369][106]LogMemory: Physical Memory: 7192.00 MB used, 32729.06 MB total
[2015.11.18-23.36.30:369][106]LogMemory: Virtual Memory: 3094.48 MB used, 8388608.00 MB total
[2015.11.18-23.36.30:369][106]LogMemory:
[2015.11.18-23.36.30:369][106]Allocator Stats for TBB: (not implemented)
[2015.11.18-23.36.30:369][106]LogPlayLevel: Creating play world package: /Game/Levels/UEDPIE_0_lad
[2015.11.18-23.36.30:371][106]LogPlayLevel: PIE: StaticDuplicateObject took: (0.001706s)
[2015.11.18-23.36.30:372][106]LogAIModule: Creating AISystem for world LvL_Menu
[2015.11.18-23.36.30:372][106]LogPlayLevel: PIE: World Init took: (0.000579s)
[2015.11.18-23.36.30:372][106]LogPlayLevel: PIE: Created PIE world by copying editor world from /Game/Levels/LvL_Menu.LvL_Menu to /Game/Levels/UEDPIE_0_lad.LvL_Menu (0.002458s)
[2015.11.18-23.36.30:372][106]LogUObjectGlobals:Warning: Failed to find object 'Class None.SM'
[2015.11.18-23.36.30:372][106]LogWorld:Warning: Failed to load game mode 'SM' specified by URL options.
[2015.11.18-23.36.30:372][106]LogWorld: Game class is 'L_Base_Gamemode_C'
[2015.11.18-23.36.30:372][106]LogInit: WinSock: Socket queue 131072 / 131072
[2015.11.18-23.36.30:373][106]LogNet: GameNetDriver IpNetDriver_14 IpNetDriver listening on port 7777
[2015.11.18-23.36.30:374][106]LogWorld: Bringing World /Game/Levels/UEDPIE_0_lad.LvL_Menu up for play (max tick rate 0) at 2015.11.18-15.36.30
[2015.11.18-23.36.30:374][106]LogActor:Warning: GameSession /Game/Levels/UEDPIE_0_lad.LvL_Menu:PersistentLevel.GameSession_32 has natively added scene component(s), but none of them were set as the actor's RootComponent - picking one arbitrarily
[2015.11.18-23.36.30:374][106]LogActor:Warning: GameNetworkManager /Game/Levels/UEDPIE_0_lad.LvL_Menu:PersistentLevel.GameNetworkManager_36 has natively added scene component(s), but none of them were set as the actor's RootComponent - picking one arbitrarily
[2015.11.18-23.36.30:374][106]LogWorld: Bringing up level for play took: 0.000807
[2015.11.18-23.36.30:375][106]LogGameMode: Warning - PATHS NOT DEFINED or NO PLAYERSTART with positive rating
[2015.11.18-23.36.30:375][106]LogOnline:Warning: NULL: Can't start an online session (Game) in state InProgress
[2015.11.18-23.37.22:408] 48]LogBlueprintUserMessages: Early EndPlayMap Detection: Level '/Game/Levels/LvL_Menu.LvL_Menu:PersistentLevel' has LevelScriptBlueprint '/Game/Levels/LvL_Menu.LvL_Menu:PersistentLevel.LvL_Menu' with GeneratedClass '/Game/Levels/LvL_Menu.LvL_Menu_C' with ClassGeneratedBy '/Game/Levels/LvL_Menu.LvL_Menu:PersistentLevel.LvL_Menu'
FWIW, I have been messing with that live streaming stuff… dunno how it comes out… other than borning as hell, as I have it set to push to talk because my house can get noisy at random times… and often I forget to push when I am talking… LOL… But I just put up another blog entry and added to the wiki, and I did it on my second attempt at streaming… it is an easy little bit, so if you want to watch (and be put to sleep), or you can skip to the end and see me update it all on the blog and wiki to see what is involved…
arbopa what specifically did you do for the function “setGameOptions” inside the base_Gamemode?
I don’t have none of this variables Mode name, Map Name, nor Server name on the game state but they are on the game instance. Did you create all this variables inside the base game mode and forgot to mention that in the tutorial?
Also where are those Map name, max players and max score coming from?
Will look into that and make sure I figure that out.
Later in the tutorial I move a lot of stuff, that’s probably where all that comes from. I really need to update my document with all this so it goes in better order.
Yeah, I’m not sure at all why it does that. Seems a total mystery to me. Will try a bit again today and see if I see what is going on.
Was working on more stuff, and realized some of the timer stuff wasn’t replicating properly on client. After a lot of fiddling, I realized I had stuff in the Game Mode that I was referencing… well the game mode doesn’t exist on clients, so any cast to it would fail. So I am buried in redoing a lot of stuff. ARGH! I think when I am done I am just going to work on merging all the fixes and get it all flowing properly, rather than move forward… will delay the next steps, but I think it’s necessary to prevent problems people might run into. Sorry… should have thought it out a bit better.
I Hope your way past this now, but i have just restarted tut again(i learn quicker by repeating over… dunno why) and hit the same problem again this time i just persisted and kept going along and it seems once you finish the particular section of TUT the error clears itself!
I wish my logic included how to get this silly stuff to work with the Game Mode… man it is becoming a bigger mess the more I dig. Works fine, but try all possibilities, find a bug, go to fix it and the whole thing collapses. So much fun.
Posted a question about Game Mode’s and the Event OnPostLogin, that seems to be the bane of my trouble right now.
Yeah man this is really advanced BP. Notice not many people are replying because they just don’t know. I will ask a friend to take a look as well, but I will need to study this again. I had to reformat my PC. I’m done with Win 10.
eh, not so much advanced, as it’s important to know what fires off first, had loads of problems and it turns out it was because things didn’t fire in the order that made sense. That onpostlogin still boggles my mind but I handled it.
I hope never to start with win 10.
If win 7 just isn’t supported anymore I may well move to linux.
What i know about linux you could write on the back of a postage stamp but i’m with you there win 8 and win 10 are horrid i hat all the clutter that comes with the apps…and i love my windows button
Well, I am only 46 pages into the document. That’s the hosting menu. So not far. But this stuff is the time consuming stuff. Plus I find I am replacing pictures left and right and adding new little bits. Like I just finished adding in the needed stuff so when you select a mode, you can only select maps that support that mode. Which I said in the tutorial I’d get back to, but forgot about until I went through it. Am also building the new one in 4.10 to make sure that is all good as well.
If you have the desire to figure it out, here is a key part of the ‘only list maps that support the selected mode’ stuff… will be a while until I am caught up and have everything much smoother.