# something wrong with client side logic?

**URL:** <https://forums.unrealengine.com/t/something-wrong-with-client-side-logic/87171>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [March 9, 2017, 4:19am UTC](https://forums.unrealengine.com/t/something-wrong-with-client-side-logic/87171 "2017-03-09T04:19:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vindomire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vindomire](https://forums.unrealengine.com/u/Vindomire)\
**Post date:** [March 9, 2017, 4:19am UTC](https://forums.unrealengine.com/t/something-wrong-with-client-side-logic/87171/1 "2017-03-09T04:19:32Z")

</div>

I cant get anything to execute client side except on begin play. I created a completely new Blueprint based on actor even to see if it was an ark base class messing me up but it wont work. If i do a print string on the object on begin play and put it in the level i get :  
Server: Hello  
Client: Hello

If i run off begin play to a has authority to call an event then from that event call a multicast event to print the string i only get:  
Server: Hello

If i create an on rep variable and in the on rep function i put a print string then after begin play i check for auth and then set that variable on the server i only get:  
Server: Hello

If i run from begin play to auth node and only run on client to a run on server event then to a multicast event it wont even print string on the server

No matter what i do i cant get the print string on the client which means i cant set variables to replicate to client. The actor is set replicated as well…

 ![30f6cfeefe794046884c7c8634920503.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/5/e5c3ef1a77ef61bcf3d4982a48fb1b72c168da19.png)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/3/70301333646c1c3845e2b1b7a7ec0bab3c42372d.jpeg "Replication issues") ](https://www.youtube.com/watch?v=M3y4HA2V8nE)

---

<div class="post-metadata">

**Author:** ![JasonFJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JasonFJ](https://forums.unrealengine.com/u/JasonFJ)\
**Post date:** [March 9, 2017, 11:56am UTC](https://forums.unrealengine.com/t/something-wrong-with-client-side-logic/87171/2 "2017-03-09T11:56:28Z")

</div>

I’d suggest you go and look at how the devs have done existing blueprint scripts on the back of various item and dino blueprints… there is a key piece of programming logic that you aren’t understanding that is specific to Unreal Editor. The only way I really learned anything was learning from dev examples.

For example, to print a message to a client’s screen… you need to call the client/server message function with a shooter controller reference. If you look at my previous posts, you’ll see a post regarding XP loss… Woeful Macabre and I were discussing this and there is a blueprint example of how to print a message to a client screen.

---

<div class="post-metadata">

**Author:** ![Vindomire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vindomire](https://forums.unrealengine.com/u/Vindomire)\
**Post date:** [March 9, 2017, 3:18pm UTC](https://forums.unrealengine.com/t/something-wrong-with-client-side-logic/87171/4 "2017-03-09T15:18:36Z")

</div>

I will look at it again, i have a multiplayer game working fine in UE4.15.0. Maybe im doing things differently there. What im trying to do here used to work, i had missiles that fired fine. Then one update they stopped firing on the client and just hanging in the air. I will have to dive into this a bit more.

---

<div class="post-metadata">

**Author:** ![Huston850](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huston850](https://forums.unrealengine.com/u/Huston850)\
**Post date:** [March 9, 2017, 9:31pm UTC](https://forums.unrealengine.com/t/something-wrong-with-client-side-logic/87171/5 "2017-03-09T21:31:51Z")

</div>

> [@Vindomire;678405](#):
>
> I will look at it again, i have a multiplayer game working fine in UE4.15.0. Maybe im doing things differently there. What im trying to do here used to work, i had missiles that fired fine. Then one update they stopped firing on the client and just hanging in the air. I will have to dive into this a bit more.

What are the chances that the variable named something like “client handles firing” is new this patch? Or perhaps test some of the logic in this thread:

> **[New Item Graph Not Working Poperly](https://forums.unrealengine.com/showthread.php?138628-New-Item-Graph-Not-Working-Poperly)**
>
> Hello i am trying to make a new bow with 4 projectiles that you can switch with a keystroke , its working in the devkit but not on multiplayer, its show the message and change color and projectiles the first time but when i try the 2nd time it only...

---

<div class="post-metadata">

**Author:** ![Vindomire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vindomire](https://forums.unrealengine.com/u/Vindomire)\
**Post date:** [March 10, 2017, 12:46am UTC](https://forums.unrealengine.com/t/something-wrong-with-client-side-logic/87171/6 "2017-03-10T00:46:21Z")

</div>

i fixed my issue a completely different way, ther is enough different between new versions of ue4 and this version that i think that i expect things to work the same way and got frustrated. All good now, thanks.

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:34pm UTC](https://forums.unrealengine.com/t/something-wrong-with-client-side-logic/87171/7 "2022-03-09T21:34:15Z")

</div>


