Community Project | Cardinal Menu System Instructions, Help, and Discussion
-
好了 我自己解决了 谢谢。。。
-
@like3727 said in Community Project | Cardinal Menu System Instructions, Help, and Discussion:
Updatesession failed to update continuously in lan... Is this right? Or BUG?
The menu uses Advanced Sessions Plugin - https://forums.unrealengine.com/showthread.php?69901-Advanced-Sessions-Plugin
I'm looking into the problem. 我是汉语初学者。 不好意思
Edit: Hang on, there might be a deeper issue here. My mistake, sorry. I'll post how to get player counts to work. I just tested it in LAN. I need to test Steam as well. For LAN, you can use "Get Max Players" and "Get Current Players" inside "WidgetBlueprint'/Game/Cardinal/MainMenu/Blueprints/UI/PlayGamePanels/ServerList.ServerList'" Functions "BuildInternetListenSearchResults" and "BuildLANSearchResults." I think there are still bugs with this feature in Dedicated Server builds.
Edit2: Steam doesn't update playercounts correctly using this method. Session Update and Session Extra Settings method may work though. I'll try that in a bit.
-
Thank you very much. I've already solved the problem. As you said, I'll update session in the game.
-
@Thaddeus-Delude Hello, buddy, do you have a QQ or a WeiXin? Add a regular connection!
-
This post is deleted! -
The project has been released for Unreal Engine 4.16 today. Major changes for this release includes making the Escape Key always open InGameMenu despite binds, the project now updates the number of players currently in session, and fixes the default binds not working when first compiling the project.
Also, Victory Plugin and GamepadUMGPlugin still use a TargetInfo argument instead of the new ReadOnlyTargetRules argument and as a result they throw errors. Rama will likely fix this issue soon. LoadingScreen plugin had compile issues in 4.16 and a version a few commits earlier was used instead. The project was updated to use ReadOnlyTargetRules arguments.
Please post if you find any bugs.
-
@Thaddeus why ping is 9999?help me
-
@Thaddeus why steam ping is 9999???head big....
-
@like3727 said in Community Project | Cardinal Menu System Instructions, Help, and Discussion:
@Thaddeus why ping is 9999?help me
Ping isn't implemented in online session. This is on the engine side of things. It may be implemented in the future by Epic. You can program your own solution or another way around it is to fetch the server's external IP, put the IP in the session info, and use PingPlugin at https://github.com/DescendentStudios/PingPlugin.
-
Hi, I'm on Unreal 4.16.1 with the most recent version of the menu system. I followed the directions to import this into an existing project, but have many unknown reference errors. One for example is in the MainMenu widget BP: "Menu Button Line", "Get All Buttons", "Un Select All" are all unknown variables/functions. I could start over and try again in case I made a mistake, but maybe you could easily tell what I have missed. Where are these functions defined? Thanks for any help.
-
Okay, I understand a bit better now. I guess the "Menu Button Line" does not exist because the RadioButtonLine BP contains errors. All of the construct functions in the widgets have their class undefined. I'm not sure how this happened, but everything is all messed up now. I will try to reimport the files.
-
Alf said in Community Project | Cardinal Menu System Instructions, Help, and Discussion:
Hi, I'm on Unreal 4.16.1 with the most recent version of the menu system. I followed the directions to import this into an existing project, but have many unknown reference errors. One for example is in the MainMenu widget BP: "Menu Button Line", "Get All Buttons", "Un Select All" are all unknown variables/functions. I could start over and try again in case I made a mistake, but maybe you could easily tell what I have missed. Where are these functions defined? Thanks for any help.
I've had these problems a few times in this project and in others and I'm not sure exactly what caused them. Sometimes going into the BP file and pressing compile fixes the issues. Sometimes I have to reimport things. Other times it's because of different engine versions. You said you used 4.16, so I don't think that would be the issue. You can try compiling the BPs. Sometimes it's easier to re-create the variables or drop the nodes again. It kind of depends on how many were not found. If I find an answer, I will post it here.
-
Alf said in Community Project | Cardinal Menu System Instructions, Help, and Discussion:
u Button Line" does not exist because the RadioButtonLine BP contains errors. All of the construct functions in the widgets have their class undefined. I'm not sure how this hap
Can you open RadioButtonLine BP and fix the errors? It may just need a re-compile. It's located at WidgetBlueprint'/Game/Cardinal/MainMenu/Blueprints/UI/Elements/RadioButtonsLine.RadioButtonsLine'. I've had weird issues with importing and exporting. If you have to re-arrange directory structures, I move things in the starting project first before importing them to minimize weird issues. You can try packaging CardinalMenu before importing first. Maybe that will help.
-
Thanks, I believe my problem was from not retaining the directory structure. I used the migrate function to transfer the folders from the example project, and all is working fine now.
-
Alf said in Community Project | Cardinal Menu System Instructions, Help, and Discussion:
Thanks, I believe my problem was from not retaining the directory structure. I used the migrate function to transfer the folders from the example project, and all is working fine now.
Good to hear it worked. Thanks for reporting back.
-
KRushin said in Community Project | Cardinal Menu System Instructions, Help, and Discussion:
Great work! I have been playing around it and works quite well! Out of curiosity, have you gotten this to work for a dedicated server? While i have gotten dedicated servers working in other scenarios ( Null OSS) can't seem to get one to work with Steam.
Thanks! I haven't gotten it to work. I tried for a bit. It's quite complicated to get steam online sessions to work with dedicated servers. For the project I'm working on, I fetch the server's external IP then I use VaRest plugin to write the IP to a simple database (CouchDB) with a time stamp. Then I have clients fetch the list of servers on the database and filter out ones that are more than X minutes old. I have live servers write their current times every few minutes. This way there is a basic list of live servers the clients can fetch. They connect using the open "ip" console command. It makes the server list lightning fast. CouchDB is pretty cool but difficult to use. There are other similar database systems out there. I've seen some people use MySQL. I think that's resource overkill personally. Especially if you run a resource limited VPS. JASON and a simple database work well.
I'll release this method once the project is done. I'm hoping, in the mean time, better support for Steam dedicated servers will come out. I don't want to re-invent the wheel. I've tried that in the past only to have the feature come out a bit after I finished it.
-
Hi, I downloaded your project files, but when I need to rebuild I get error: "CardinalMenu could not be compiled. Try rebuilding from source manually". I tried on every version of your project, on 3 different pc and no luck, please can you help me? I use Microsoft Visual Studio 2015 Enterprise
-
Stefan said in Community Project | Cardinal Menu System Instructions, Help, and Discussion:
Hi, I downloaded your project files, but when I need to rebuild I get error: "CardinalMenu could not be compiled. Try rebuilding from source manually". I tried on every version of your project, on 3 different pc and no luck, please can you help me? I use Microsoft Visual Studio 2015 Enterprise
Do you have this problem on all UE4 projects with source code? I've had this problem for many various reasons in the past. You can try this.
Right click on CardinalMenu.uproject and select Generate Visual Studio project files. It should have created CardinalMenu.sln in the same directory.
Open CardinalMenu.sln
In Solution Explorer (typically on the right) open Games -> CardinalMenu
Right click on CardinalMenu in Solution Explorer and click rebuild.
A log should appear on the bottom and show you errors.
Paste this log here and I'll look at it.Other Possible Solutions
A common problem I get is Visual Studio logs my credentials out for some reason. I have to open Visual Studio and on the top right there's a drop down arrow and it says "An error has occurred and we can no longer retrieve user information for... " I then have to log in. This might be in Community Edition only though. I haven't used the enterprise version of VS 2015. Only older versions.Another problem is the C++ compile add ons might not be included with your install of VS2015. Is this the first project you've used for UE4? Usually this happens when someone first starts messing around with Unreal 4 or they are using a new computer. Here's the solution.
"Visual Studio 2015 (VS2015) doesn't install C++ tooling support by default. When installing VS2015, choose Custom installation and then choose the C++ components that you'll need for your workflow. If you've already installed Visual Studio 2015, choose File > New > Project > C++ to install C++." -
Hi, everyone! Thank you for the excellent work here! I'm learning a lot!
I've integrated the Cardinal menu into my project and I'm having one issue with key bindings. My game has seven action inputs and two of them do not work after remapping for PC. Only three inputs work on an XBOX controller. The working XBOX actions are different than the working PC actions.
I have the defaults setup, actions are in alphabetical order, and I see the Input's swap under project settings.
Any ideas?
-
This post is deleted!