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 … 6 7 8 9 10 … 18 Next »
Sensor wirelink delay?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Sensor wirelink delay?
13-12-2017, 06:41 PM,
#5
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Sensor wirelink delay?
Ok thanks for the help with the sensor part.
For the profiler part: The example red posted works but when using the following code it get the error [SF - ERROR] SFConfusedamaritan/Samaritan.txt:670: Attempted to pop too many profiler states.
Code:
if Samaritan.Values.Tactical.WeaponCode ~= "0|0|0|0" then Samaritan.Operations.UpdateTargetPos() if not Profiling then print("Profiling now") profiler.push("TargetStuff") Profiling = true end end if Samaritan.Values.Tactical.WeaponCode == "0|0|0|0" and Profiling then profiler.pop() Profiling = false print("Not profiling anymore") end
This code is a function which is called every 0.2 seconds. It is always printing starting profiling but when ending it the error happens.
And i tested just letting the profiler run for a few seconds, it still happens

[Image: banner_sgmgnlsa1.png]
Stargate Modding Group
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Sensor wirelink delay? - by SuperPlayer - 13-12-2017, 12:05 AM
RE: Sensor wirelink delay? - by Red The Blue Color - 13-12-2017, 05:53 AM
RE: Sensor wirelink delay? - by Person8880 - 13-12-2017, 10:45 AM
RE: Sensor wirelink delay? - by Kosmos - 13-12-2017, 05:17 PM
RE: Sensor wirelink delay? - by SuperPlayer - 13-12-2017, 06:41 PM
RE: Sensor wirelink delay? - by Person8880 - 13-12-2017, 06:51 PM
RE: Sensor wirelink delay? - by SuperPlayer - 13-12-2017, 07:58 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.