riohost.blogg.se

Free gmod key code
Free gmod key code












free gmod key code
  1. #Free gmod key code mod#
  2. #Free gmod key code mods#
  3. #Free gmod key code code#

#Free gmod key code mods#

The bugs in other mods are not caused by "divran just decided to change In either case, judging by all the references to this issue, you've already fixed it. If you have any more than that, you probably have bigger issues to worry about and you should really do some refactoring.

#Free gmod key code code#

(side note: Luckily, lua does allow the opposite, string.char(10) and string.char(13) both return \n.)īut do you realize how much of code we need to replace to fix this small change?Įven if your code is messy as all hell, 10-15 lines tops? Done in 30 seconds, max. This means that if you want to do comparisons, and you run this: te("\n") = 13, this will return false. Another reason is the fact that te("\n") in lua returns 10, not 13, as I already mentioned earlier (even in windows). One of which is the fact that 13 is an old obsolete relic which should be phased out. There are, however, several reasons to switch to 10. It's unfortunate that they can't get rid of it painlessly. This is also the only reason windows still uses it. There are no reasons to keep using 13, apart from backwards compatibility. See It might be that python uses 13 in windows, and runs on linux, but if that's the case then that just means it's the same as C#/C/C++. Python is a scripting language, and according to, it uses 10, not 13.

free gmod key code

It'll be 13 on windows and 10 on mac or linux. Pretty sure C#/C/C++ is operating system dependent. But in any case we talks about ansii, why we even need to use Wire_Keyboard_Remap in first place? Ansii is standard and it have both \r or \n key codes.Īnd due to compatibility best choice is \n\r as it should work on all systems if talk about text files, but again we are talking about input and now look into this:Īll those things is valid for windows, for linux it probably 10 not sure, but yes in most cases used constant what do this job automatically (13 or 10). Also like i said if we need detect this code even if autorun before entities loaded and table "Wire_Keyboard_Remap" initialized then it even harder to make compatibilty with new/old wiremod, as placing "10" instead of "13" is also not very good idea like it was. But do you realize how much of code we need to replace to fix this small change? Its everywhere as we never thought that someone would change this mechanism in gmod/wiremod. And yes its "carriage return" what might be relic. Key code 13 is an "\r" if talk about ansii. The server name and the content of the page can be easily edited with basic knowledge of HTML.Why you think that \n is enter key? Its new line character != enter. set the url of the loading screen in your server.cfg like that sv_loadingurl "".you don't have a webserver with PHP support? look here or here!.

free gmod key code

  • replace the XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX in index.php on line 24 with your personal api key.
  • put the music artists on line 12-14 in index.php.
  • They must be named 1.ogg, 2.ogg and 3.ogg!
  • rules.php for showing rules after server join for the motd (ULX has to be installed).
  • Random music with autoplay in background.
  • Basic template built with bootstrap (responsive).
  • #Free gmod key code mod#

    Add a loading screen for your garrys mod server! v2 is nearly done!














    Free gmod key code