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 … 8 9 10 11 12 … 18 Next »
Release AEGIS Mainframe
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Release AEGIS Mainframe
25-08-2016, 08:32 AM,
#6
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: AEGIS Mainframe
Not that I have tested it but from the screenshot T posted i can see another serious flaw. You are using this to generate an ID:

AAID = math.random(1,9999)
AAID = math.random(1,9999)
First of all, the doubling is pointless. And second and most important this NOT a way to generate a unique id. The chance of a doubling is low but it is there. And when it happens 2 of those chips will be broken. My suggestion here would be to use the entities index as an ID so the will be no doubling for sure:

AAID = ents.self():index()

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


Messages In This Thread
AEGIS Mainframe - by 4N0NYM - 22-08-2016, 06:27 AM
RE: AEGIS Mainframe - by Rodney Mckay - 22-08-2016, 09:58 AM
RE: AEGIS Mainframe - by 4N0NYM - 22-08-2016, 04:29 PM
RE: AEGIS Mainframe - by TheOneAndOnlyTee - 25-08-2016, 03:29 AM
RE: AEGIS Mainframe - by Red The Blue Color - 25-08-2016, 04:34 AM
RE: AEGIS Mainframe - by SuperPlayer - 25-08-2016, 08:32 AM
RE: AEGIS Mainframe - by 4N0NYM - 25-08-2016, 10:30 AM
RE: AEGIS Mainframe - by Red The Blue Color - 25-08-2016, 03:34 PM
RE: AEGIS Mainframe - by The_Doctor - 27-08-2016, 09:22 AM
RE: AEGIS Mainframe - by TheOneAndOnlyTee - 25-08-2016, 11:42 AM
RE: AEGIS Mainframe - by 4N0NYM - 25-08-2016, 11:55 AM
RE: AEGIS Mainframe - by 4N0NYM - 31-08-2016, 05:59 PM
RE: AEGIS Mainframe - by The17thDoctor - 01-09-2016, 03:19 PM
RE: AEGIS Mainframe - by Forley - 30-10-2016, 12:19 PM
RE: AEGIS Mainframe - by 4N0NYM - 31-10-2016, 12:13 AM
RE: AEGIS Mainframe - by Forley - 31-10-2016, 09:50 AM
RE: AEGIS Mainframe - by 4N0NYM - 31-10-2016, 03:20 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.