Jump to content
  • 0
Sign in to follow this  
Igor Q.

DEV ANSWER Instruction Loop Limit

Question

Hi, as part of my game creation involving mages, I have multiple instructions which loop, calculating the movement of a spells such as a fireball and checking any nearby collision targets.

However when I try to host this in multiplayer the code "breaks", and the section of the code that runs collision detection completely turns off.

I would like to know if there is a calculation limit for instructions in terms of complexity or speed when hosting multiplayer games.

Thanks for your time

-Igor

Share this post


Link to post
Share on other sites

3 replies to this bug / suggestion

Recommended Posts

  • 0

Hi,

there are no limits appilcated when running game online but of course what is running for you in SP can be to much for MP. (everything you do through script is synchronized with all clients) (there is only limit for numbeer iteration of loops and for instruction "call stack" so games just do not freeze completely but this is same for SP/MP)

Maybe  just some visual scripting instruction does not work in MP as intended. (everything should work :) )

What does it mean that it is broken? Probably video of woking SP vs not working MP would be helpful. + screenshot of broken script in VS  (+ output_log_clean, output_log, userscript.js, output_log_script - not sure about the last one¨s name )

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×