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 … 10 11 12 13 14 … 18 Next »
globaltables doesn't keep data between sf instances...
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
globaltables doesn't keep data between sf instances...
04-11-2015, 09:47 AM,
#1
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
globaltables doesn't keep data between sf instances...
Hey Person,

I don't know if this is intended, but when you have a global table defined by one SF instance and then you try to read this value from another newly spawned SF instance, the vars set by the first SF instance are not kept inside the new SF instance.
That's a bit annoying, because well I plan on using those globaltables in the API I'm making for IntelliHUD. Indeed the api is intended to allow any seat entity to have special data like energy stats using my ZPM system to be renderable with the rest of the hud.
The problem is that if IntelliHUD is spawned after spawning chips using the IntelliHUD api, then data saved in globaltables before IntelliHUD spawn, are not kept inside the globals from IntelliHUD.

Note that those globals are server side only in how IntelliHUD manages things.

Is it intended to work this way, as it seams a bit weird for me ?
Can you fix it ?

Thanks by advance,
Yuri6037
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
globaltables doesn't keep data between sf instances... - by Yuri6037 - 04-11-2015, 09:47 AM
RE: globaltables doesn't keep data between sf instances... - by Person8880 - 04-11-2015, 06:36 PM
RE: globaltables doesn't keep data between sf instances... - by Yuri6037 - 05-11-2015, 11:43 AM
RE: globaltables doesn't keep data between sf instances... - by TheOneAndOnlyTee - 05-11-2015, 01:30 PM
RE: globaltables doesn't keep data between sf instances... - by Yuri6037 - 05-11-2015, 06:13 PM
RE: globaltables doesn't keep data between sf instances... - by Person8880 - 05-11-2015, 06:56 PM
RE: globaltables doesn't keep data between sf instances... - by TheOneAndOnlyTee - 06-11-2015, 02:58 AM
RE: globaltables doesn't keep data between sf instances... - by Yuri6037 - 06-11-2015, 08:15 AM
RE: globaltables doesn't keep data between sf instances... - by Yuri6037 - 06-11-2015, 01:00 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.