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 »
KeyUse Issue
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
KeyUse Issue
24-04-2015, 11:51 AM,
#1
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
KeyUse Issue
I didn't do any changes to my code and suddnely today when i do v:keyUse(), it seems to spam my console full of errors. I have IsValid(v) before

Code:
if(v:keyUse()) then

Also T-16 is having same issue.

Code:
SF:starfall/ENCOM_mainframe.txt:1875: attempt to call method 'keyUse' (a nil value) Oh noes! An error: SF:starfall/ENCOM_mainframe.txt:1875: attempt to call method 'keyUse' (a nil value)

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
24-04-2015, 05:37 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: KeyUse Issue
Should be:
if v:keyDown( input.IN_USE ) then
Find
Reply
24-04-2015, 05:51 PM,
#3
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: KeyUse Issue
(24-04-2015, 05:37 PM)Person8880 Wrote: Should be:
if v:keyDown( input.IN_USE ) then

Since when????

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
24-04-2015, 05:53 PM,
#4
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: KeyUse Issue
Since forever. Those keyBlah functions were stupid additions that conflicted with keyDown(), hence their removal.
Find
Reply
24-04-2015, 05:58 PM,
#5
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: KeyUse Issue
(24-04-2015, 05:53 PM)Person8880 Wrote: Since forever. Those keyBlah functions were stupid additions that conflicted with keyDown(), hence their removal.

Sad((((((((

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
24-04-2015, 06:05 PM,
#6
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: KeyUse Issue
They're like doing this:
function Equals1( Value ) return Value == 1 end
function Equals2( Value ) return Value == 2 end
function Equals3( Value ) return Value == 3 end
-- ...and so on
They had to be removed rather than deprecated otherwise people would still use them (see loadLibrary and the amount of people still using it even now).
Find
Reply
24-04-2015, 06:59 PM,
#7
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: KeyUse Issue
(24-04-2015, 06:05 PM)Person8880 Wrote: They're like doing this:
function Equals1( Value ) return Value == 1 end
function Equals2( Value ) return Value == 2 end
function Equals3( Value ) return Value == 3 end
-- ...and so on
They had to be removed rather than deprecated otherwise people would still use them (see loadLibrary and the amount of people still using it even now).

True I agree. You should definetly remove all those deprecated functions instead of keeping them to force people make changes.

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
« Next Oldest | Next Newest »


  • 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.