Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 12 13 14 15 16 … 18 Next »
Starfall critical error client side
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Starfall critical error client side
19-07-2015, 04:19 PM,
#6
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: Starfall critical error client side
(19-07-2015, 12:12 PM)Person8880 Wrote: The problem is you're assuming a net message has started when you start to write data to it. Returning in a wrapper net.start() will do nothing. You would have to throw an error to stop it getting to the first write method. This is the entire reason why it returns a boolean value to indicate whether you actually can start a net message, so you can stop before you write anything.

Sorry, but there's little way out of changing what you have to be correct. Tongue

Ok then I'll make a helper function that will take a function as parameter where i'll put my net code. The helper function will run the function parameter only when it's net.start returns true.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Starfall critical error client side - by Yuri6037 - 18-07-2015, 05:27 PM
RE: Starfall critical error client side - by LocInt - 18-07-2015, 06:00 PM
RE: Starfall critical error client side - by Person8880 - 18-07-2015, 06:37 PM
RE: Starfall critical error client side - by Yuri6037 - 19-07-2015, 06:51 AM
RE: Starfall critical error client side - by Person8880 - 19-07-2015, 12:12 PM
RE: Starfall critical error client side - by Yuri6037 - 19-07-2015, 04:19 PM
RE: Starfall critical error client side - by JC2106 - 01-08-2015, 11:08 AM
RE: Starfall critical error client side - by Yuri6037 - 01-08-2015, 03:03 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.