🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🔧 AI Nachrichten ChatGPT automatically logged out [Fix](12.09.2026 um 17:09 Uhr)
🪟 Windows TippsHow to remove a Drop-Down list in Excel(13.09.2026 um 01:50 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)
🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🔧 AI Nachrichten ChatGPT automatically logged out [Fix](12.09.2026 um 17:09 Uhr)
🪟 Windows TippsHow to remove a Drop-Down list in Excel(13.09.2026 um 01:50 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)

🔧 Programmierung 🕛 vor 1 Jahr 2 Min Lesezeit
0

Please help

↗ Quelle (dev.to)
🗣️ Stimme:

Hi guys!

I'm slowly losing my mind trying to solve a problem I encountered about three days ago. The problem is something like this: I'm making a multiplayer shooter, in my own (I mean, not the one that stands by default, but the one that you create yourself) The game instance contains a data structure with three variables, one of which is an integer.



This structure is permanently saved through the save game actor.



When two clients start the game (play standalone), they open a menu with a section on weapon customization, respectively, the Game instance contains an array of weapon classes (we'll call it the Weapon array), and in the UI, when choosing a weapon, we set the integer value from the structure to the Game instance and save the structure.



Let's say I have two child classes of weapons lying in the array - MK-18 and M4A4.



Next, one of the clients creates a session (there is a classic system with create session) and gets to the level. There, in the player, a weapon will spawn from an array identical to the array in the Game instance (and next are the modules for it, but that's not important right now), But then, when the client connects to the session (and he has already chosen another weapon for himself, for example, if the server player chose the MK-18, then the client player chose the M4A4) and essentially the same thing happens, the weapon spawns, the tricks begin.:

Basically, it looks like the weapon on the client looks like the one it should be, but on the server it is displayed as the weapon chosen by the player by the server (that is, let's say the server chose MK-18 and the client chose M4A4, then the client displays M4A4, and the server displays that the player has both MK-18 players)



I am aware that the game instanse is the same for both players when starting the editor, and perhaps that's the case, but when starting the standalone game, the problem has not gone away, can you tell me what the problem is and how it can be solved?



Thank you very much in advance!

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
The Gemini desktop app is now available for Windows
1 Quelle
ChatGPT automatically logged out [Fix]
1 Quelle
How to remove a Drop-Down list in Excel
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Please help

Thematisch verwandte Begriffe: Please, help · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...