Page 1 of 5 1 2 3 4

Search: Type: Posts; User: Lexic Search took 0.09 seconds.

  • I don't see why that would make file.Exists...

    I don't see why that would make file.Exists return false on the the folder name.
  • It definitely exists, because I'm running lua...

    It definitely exists, because I'm running lua from it and searching in it with file.Find.
    This looks like a bug to me, so I've filed a report.
  • Replies
    2,308
    Views
    63,644

    Why does SetPos (and SetAngles) not work on...

    Why does SetPos (and SetAngles) not work on vehicles? I ran

    lua_run Entity(1):GetEyeTrace().Entity:SetPos(Vector(0,0,0))
    on a Jeep and it went to the origin, but as soon as I walked into where it...
  • Replies
    625
    Views
    37,123

    See above. Phones are fiddly.

    See above. Phones are fiddly.
  • Replies
    625
    Views
    37,123

    Well, the code was never used after it was...

    Well, the code was never used after it was written, so the bug wasn't tracked down until now. :v:
    The value does change though. cdata is GROUP_CIVILIAN before that line and 0 after it.
  • Replies
    625
    Views
    37,123

    Variable reuse. I wrote this code 3 years ago so...

    Variable reuse. I wrote this code 3 years ago so I'm not going to defend it, but what it's doing is constructing a string key and then looking up the global variable with that name. EG...
  • Files in it exist. ] lua_run_cl a,b =...

    Files in it exist.


    ] lua_run_cl a,b = file.Find("applejack/*", "LUA") PrintTable(a)PrintTable(b) print(file.Exists("applejack/gamemode", "LUA"), file.IsDir("applejack/gamemode", "LUA"),...
  • Why doesn't my gamemode folder exist on the client?

    ] lua_run a,b = file.Find("applejack*", "LUA") print(b[1], file.Exists("applejack", "LUA"))
    > a,b = file.Find("applejack*", "LUA") print(b[1], file.Exists("applejack", "LUA"))...
    applejack true

    ...
  • Replies
    625
    Views
    37,123

    http://i.imgur.com/lsROKXy.png It's the little...

    http://i.imgur.com/lsROKXy.png
    It's the little things in life that make you die inside.
  • Why did you try to hide that your twitter handle...

    Why did you try to hide that your twitter handle is @MarkyHawthorn? Twitter isn't secret you know.
  • Just a FYI, the article is a butched version of...

    Just a FYI, the article is a butched version of Israeli scientists make genetic code breakthrough on "Israel Hayom"


    Which is also kinda sensationalist and referencing Reconstructing the DNA...
  • Replies
    625
    Views
    37,123

    Oh good. I was worried, because we've all heard...

    Oh good. I was worried, because we've all heard about all those servers taken down with the embedded-sql-in-your-steam-id exploit that's been going around lately.
  • Replies
    625
    Views
    37,123

    Client "Lexi" joined from IP 192.168.137.1 with...

    Client "Lexi" joined from IP 192.168.137.1 with SteamID "STEAM_0:1:16678762";DROP TABLE players--"
  • Replies
    625
    Views
    37,123

    I very much doubt that a crc32 per player is...

    I very much doubt that a crc32 per player is going to remotely be a bottleneck when you're talking to a database.
    It seems pointless to invent your own system instead of using a standardised...
  • Replies
    625
    Views
    37,123

    SELECT `SteamID` FROM `players` WHERE `UniqueID`...

    SELECT `SteamID` FROM `players` WHERE `UniqueID` = 1592073762;
    ???
    You might as well ask how you convert an INT AUTO INCREMENT column back to the player's name.
  • Replies
    625
    Views
    37,123

    Use UniqueID. It's a CRC32 of the SteamID so you...

    Use UniqueID. It's a CRC32 of the SteamID so you can store it in a DB and Lua easily.
  • Replies
    625
    Views
    37,123

    Bored? No copy of gmod? Why not spend half an...

    Bored? No copy of gmod? Why not spend half an hour normalising your whitespace?
    http://i.imgur.com/NXuxbXp.png
    (I think I might need to book myself into a RSI clinic :c)
  • My old GP had 10 appointments each day that could...

    My old GP had 10 appointments each day that could only be booked on that day - for urgent appointments and so forth. Presumably they have a similar system.
  • Replies
    1,074
    Views
    63,528

    It's a Firefox exclusive last I checked, which is...

    It's a Firefox exclusive last I checked, which is one of the reasons I can't use Chrome. FF also scrolls your tabs if you open too many so you can always read the title.
  • How about jpegs? They've got loads of complicated...

    How about jpegs? They've got loads of complicated stuff involving cosines and predictive drawing.
  • are zip files programs?

    are zip files programs?
  • It doesn't describe how it's interpreted, it...

    It doesn't describe how it's interpreted, it annotates it. What those annotations mean or do depends entirely on the parser that reads it and the CSS rules active at the time. For example, <em> is...
  • HTML is no more of a programming language than...

    HTML is no more of a programming language than JSON, YAML or XML are (unless you're using a dodgy version of Ruby). It's a method of framing data so that a parser (your browser) can understand it....
  • Can't help you there, I've never heard of either....

    Can't help you there, I've never heard of either. I used CraftyJS in the past and it didn't have any major defects.
    Using a library for 2D html games is useful if you just want to get a game done...
  • Speaking as someone who has made raw JS+Canvas...

    Speaking as someone who has made raw JS+Canvas games don't do it unless you're a masochist who knows exactly what they're doing.
    Having a library do all the bollocks for you so you can focus on...
  • Replies
    1,074
    Views
    63,528

    Perf it, see what's taking so long. What're you...

    Perf it, see what's taking so long. What're you doing to the data? You might be able to parallelize it, but then again maybe you can't. Some things are inherently slow. Are you routinely going to...
  • Replies
    625
    Views
    37,123

    You don't want to do something because it's too...

    You don't want to do something because it's too easy?
  • http://www.twilio.com/

    http://www.twilio.com/
  • Who the fuck asked for the start button back?...

    Who the fuck asked for the start button back? It's completely useless if you don't have the classic menu.
  • Thanks, I went for a 105.

    Thanks, I went for a 105.
  • Replies
    801
    Views
    61,304

    IIRC there's a 4x displacement in the sort of...

    IIRC there's a 4x displacement in the sort of overhang bit inside the entrance that's been compressed into a single point. I don't know why that crashes when you go near it (after all, you don't even...
  • Hi. TYPE_LARGE is, iirc, the string "large"....

    Hi. TYPE_LARGE is, iirc, the string "large". (Bonus points if you can guess what TYPE_SMALL is!) I've no idea where it was defined, other than before sh_config.lua was called. Try shared.lua.
  • I'm looking for a cheap usable phone for going on...

    I'm looking for a cheap usable phone for going on holiday/to parties with. I've found the Alcatel One Touch S'Pop for £50 (and it looks like a fairly nice phone tbh) but I'm wondering if anyone knows...
  • Replies
    4,018
    Views
    207,718

    I dunno, there's a lot to be said for being able...

    I dunno, there's a lot to be said for being able to see exactly what was going on on a certain day. You can go back and see exactly why something was set to something else if you have a ton of...
  • Replies
    4,018
    Views
    207,718

    Confusing history you say? Try 5 people...

    Confusing history you say? Try 5 people uncoordinatedly committing to 3 feature branches.
    http://i.imgur.com/WIHEaab.pnghttp://i.imgur.com/2DS3ZSO.pnghttp://i.imgur.com/bI4E97X.png
  • Replies
    1,339
    Views
    87,512

    Apart from the bit that says "All rights...

    Apart from the bit that says "All rights reserved"?


    Please don't leak people's stuff, it's rude and as software developers we should really be supporting each other.
  • Replies
    801
    Views
    61,304

    Best resource for Derma I've found so far...

    Best resource for Derma I've found so far
  • Replies
    1,419
    Views
    94,543

    I'm pretty sure the main feature is being really...

    I'm pretty sure the main feature is being really easy to use. I'm quite happy to pay if it turns out to be better than Sublime Text, but I really hope they open source it. Nothing has hurt ST3 quite...
  • Replies
    1,419
    Views
    94,543

    It kind of terrifies me that it's webkit based.

    It kind of terrifies me that it's webkit based.
  • Replies
    1,419
    Views
    94,543

    TIL the git-gui program produces some wonderfully...

    TIL the git-gui program produces some wonderfully incomprehensible commit graphs.
    http://i.imgur.com/WIHEaab.pnghttp://i.imgur.com/2DS3ZSO.pnghttp://i.imgur.com/bI4E97X.png
  • Replies
    1,419
    Views
    94,543

    I'm saying your opinion that the language is...

    I'm saying your opinion that the language is hilariously bad because it looks different is childish.
    It's not even that different.
  • Replies
    1,419
    Views
    94,543

    http://i.imgur.com/IEAYdJg.jpg 26th February...

    http://i.imgur.com/IEAYdJg.jpg

    26th February 2014

    C isn't the be all and end all of syntaxes people
  • Replies
    1,419
    Views
    94,543

    ?? That's how tabs work normally?...

    ?? That's how tabs work normally?
    http://i.imgur.com/NJpNPgK.png
  • Replies
    1,419
    Views
    94,543

    Next up on WAYWO 2014: How wide is your tabstop?...

    Next up on WAYWO 2014: How wide is your tabstop? (That's the number of spaces each indent is worth!)
  • Replies
    1,419
    Views
    94,543

    http://i.imgur.com/lm7Rvn0.png Recursive...

    http://i.imgur.com/lm7Rvn0.png
    Recursive symlinks are awesome
  • Replies
    11
    Views
    862

    Because Mr Tennison is clinically insane?

    Because Mr Tennison is clinically insane?
  • Replies
    28
    Views
    809

    Have you made the screen turn red when you got...

    Have you made the screen turn red when you got shot?
    Also you probably need to make a bigger version of HUD_PRINTCENTER - the kill streak messages need to be huge.
  • Replies
    1,419
    Views
    94,543

    That's what you get when functions are first...

    That's what you get when functions are first class objects. Get used to 'em, they're actually really useful.
  • Replies
    1,419
    Views
    94,543

    Why is everything racist to you?

    Why is everything racist to you?
  • Replies
    1,419
    Views
    94,543

    http://i.imgur.com/S9aG3bD.png Oh. Well, points...

    http://i.imgur.com/S9aG3bD.png
    Oh. Well, points 1 and 2 still apply.

    In other news, you can actually play WebM videos in IE>=9 (and indeed everything that uses the Windows video playing routines)...
  • Results 1 to 50 of 250
    Page 1 of 5 1 2 3 4