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 … 14 15 16 17 18 Next »
Problems with an emitter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Problems with an emitter
21-04-2015, 05:52 PM,
#12
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Problems with an emitter
(21-04-2015, 02:42 PM)T-16 Wrote: same, I should've looked at your code and tried to help him get that working.
also one question, are DTVars better than tables for screens? (assuming i was only sending ~12 variables)
DTVars are the best choice for values you need to be always available to the client.

They do 3 things that make them the best choice in this case:
  1. Only get sent when the value is different to what's already set, no matter if you call the setter function with the same value or not.
  2. Network automatically to all clients, even those that join after you've set the value.
  3. Use the built in Source engine entity networking functionality which makes them network quicker and more reliably than net messages.

The times you shouldn't use them, is if you want to invoke an action on the client. Then you need to use a network message so you can run the action on the client when you get the network message.

(21-04-2015, 02:51 PM)Destinys Player Wrote: ...aaaaand the code you've given me doesn't work. Doesn't even show the render for a moment. In fact, it appears like it doesn't run on the server at all, i.e. there's no instances when I check it with the profiler, and I really have no idea why it doesn't work.
From what I see, DTVars simply don't work for me, they never return anything.

Sorry if I sound as a douchebag, but that's one way I can tell people that stuff doesn't work. And also I'm slightly angry due to some RL issues, so don't mind me if I do act like a douchebag for some time now...
The code I posted on its own definitely works, I made sure of that before posting.

Sounds like you might have lost the --@sharedscreen annotation at the top? Could you check that and post back.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Problems with an emitter - by Destiny's Player - 18-04-2015, 10:19 PM
RE: Problems with an emitter - by Person8880 - 19-04-2015, 11:28 AM
RE: Problems with an emitter - by Destiny's Player - 19-04-2015, 01:20 PM
RE: Problems with an emitter - by Person8880 - 19-04-2015, 01:51 PM
RE: Problems with an emitter - by Destiny's Player - 19-04-2015, 09:05 PM
RE: Problems with an emitter - by TheOneAndOnlyTee - 20-04-2015, 01:10 AM
RE: Problems with an emitter - by Person8880 - 20-04-2015, 07:33 PM
RE: Problems with an emitter - by Destiny's Player - 20-04-2015, 08:36 PM
RE: Problems with an emitter - by TheOneAndOnlyTee - 21-04-2015, 02:42 PM
RE: Problems with an emitter - by Destiny's Player - 21-04-2015, 02:51 PM
RE: Problems with an emitter - by LocInt - 21-04-2015, 05:32 PM
RE: Problems with an emitter - by Person8880 - 21-04-2015, 05:52 PM
RE: Problems with an emitter - by Destiny's Player - 21-04-2015, 06:23 PM
RE: Problems with an emitter - by Person8880 - 21-04-2015, 08:06 PM
RE: Problems with an emitter - by Destiny's Player - 21-04-2015, 08:22 PM
RE: Problems with an emitter - by Iajret - 21-04-2015, 09:41 PM
RE: Problems with an emitter - by LocInt - 22-04-2015, 05:18 AM
RE: Problems with an emitter - by Person8880 - 22-04-2015, 05:41 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.