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"

Chat function crashing dedicated server?

Hey there, I'm working on a multiplayer (two player) TCG. Everything seems to be working so far, except when I added my chat functionality. My dedicated server seems to get overwhelmed and crashed when I submit multiple messages (regardless of length in between). The chat message is sent unreliably (as I use some multicast logic in the chat) to my clients Player State, at which point I call an unreliable Server event which calls an unreliable Multicast, which casts to local HUD's and adds a child component. I'm not really sure if anything in this logic could be messing up the server as when I play a card, I use (literally the exact same) logic but I play an animation on the other end instead (the logic is called from the same UMG blueprint the chat message is called from; yet this does not crash the game no matter how many times the logic is repeated). I'm a little new to networking, using source built engine to build the server ETC, I can't figure it out. I was getting a few errors regarding "MallocBinned2" but those went away after switching some functions from reliable to unreliable. I guess I'm asking should functions like this be called reliably? Could I have too many replicated variables? I feel like this is a memory allocation issue but again, I'm not seeing any errors on my end, the server simply closes. I have attached the most recent crash log as well as some screenshots of the chat logic, any further information required from me just let me know.

The screenshots are in order of being called, 1 = initial call on UMG, 2 = multicast from playerstate, 3 = add child on HUD UMG.

If you'll notice on line 175 & 176 of the attached log, you can see my two "message received" print strings, immediately following was another attempted message sent however the following line reads "LogSlate: Request Window 'Reign of Cards Reign of Cards' being destroyed"?

EDIT: I want to add, the crashing does not occur in the editor with a simulated dedicated server and two connected client, I can send unlimited messages and haves test upward of 100+ turn cycles, no hitches. So it seems to only occur when using a packaged development client and source built development server.

alt text alt text alt text link text

Product Version: UE 4.14
Tags:
1.png (206.1 kB)
2.png (266.1 kB)
3.png (202.7 kB)
crashlog.log (26.8 kB)
crashlog.log (26.8 kB)
more ▼

asked Mar 12 '17 at 05:45 AM in Blueprint Scripting

avatar image

CaliberBeats
6 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

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

Answers to this question