337 Results
[QUOTE=Darkwater124;38600508]What else (on a PHP webserver)?[/QUOTE]
If you're, for some peculiar reason, restricted to a PHP webserver then whatever.
There are free Python and Ruby hosts if that's the issue.
[QUOTE=find me;38596397]Does anyone know how you send a rcon command to a server through php/html?[/QUOTE]
[URL]https://developer.valvesoftware.com/wiki/RCON[/URL]
[editline]lolno[/editline]
P.S. Please don't use PHP unless you really, really have to.
[QUOTE=Xervion;37292659]I know that, but where does the actual file go?[/QUOTE]
Either shove it into the lua/ folder in garrysmod/garrysmod and then run it or shove it into the lua/autorun/client folder in the same root folder and it will auto-run.
[QUOTE=samuel2213;36533779][IMG]http://cloud-2.steampowered.com/ugc/577834314289377848/786D84111D9FD5A0994403D09C37B69B02E15D08/[/IMG]
I know there still are some nodraw parts. See if you can recognize the layout[/QUOTE]
So I guess the jail gamemode has truly become an in...
[QUOTE=Banshee FrieNd;36509994]Should maybe disable the Normal map on those materials, or maybe "mat_bump 0" and show the results. That could fix the reflections.
and run buildcubemaps twice to get the double reflection.[/QUOTE]
I have no idea how to disable the Normal map, ...
[QUOTE=TurtleeyFP;36509889]How'd you get those reflections? What engine version/game is that in?[/QUOTE]
Too many hours constantly adjusting cubemaps that I still couldn't get to form those amazing reflections in the photograph. Half Life 2: Episode 2, Source 2009.
Haven't mapped in ages, barely mapped even then. Had a sudden urge, so I just tried to reproduce an image in Hammer. Jesus this was exhausting.
My imitation:
[IMG]http://i48.tinypic.com/34y70v9.png[/IMG]
The actual thing:
[URL]http://upload.wikimedia.org/wikipedia/commons/5/...
[QUOTE=Map in a box;36011400]But photoshop has a spot healing tool that would probably pick up the lines so you'd just draw over hte letters.[/QUOTE]
Dude, that's waaay too much work. Right click >> Colour Range. Also, not everyone buys (pirates) Photoshop or has a sophistic...
[QUOTE=Ac!dL3ak;36011061]you didn't even post the code, how were we supposed to know you had written a program[/QUOTE]
I think he just expected people to realise that no one would actually sit there and delete every small line in an image editor instead of just writing a s...
[QUOTE=Mr. Smartass;35884048]Being attracted to 16 year olds isn't pedophilia, it's human nature.
At any rate, the proper term for it is Ephebophilia.[/QUOTE]
It's arguably human nature to rape, depending on the psychologist you're reading.
[editline]9th May 2012[/editl...
[QUOTE=NorseTech;35883991]I don't think it would be possible to get a hard-on to something I'm not remotely interested in
And I've tried jackin off without having some fresh thoughts, it's almost impossible.
[editline]8th May 2012[/editline]
How enlightening[/QUO...
[QUOTE=NorseTech;35883957]How?[/QUOTE]
NorseTech: complete fucking idiot or pridefully ignorant jackass? You decide.
[QUOTE=icantread49;35883306]Made a new video for Phyzicle:
What do you guys think?[/QUOTE]
As opposed to searching for recent keywords (which could be hectic with many thousands of people using the app), you could do a specialised friends list of keywords. Just a sugges...
[QUOTE=Bluefire;35882782]Vim is one of the ones I can kind of use, but also can't at the same time. I'm terrible with memorization when commands are only a single letter. Especially when commands are also case sensitive on that same letter.
Although if I was forced to use a...
[QUOTE=Lankist;35881818][URL]https://usjf.net/2012/01/senate-bill-authorizes-feds-to-revoke-citizenship-of-americans/[/URL]
It's a problem because currently many efforts are in place to grant the power to revoke the citizenship of born citizens under the auspices of homeland ...
[QUOTE=Lankist;35881761]Which is a horrible idea in practice.[/QUOTE]
Meh, whether or not this practise is good or bad isn't really my place to say. Let philosophers take care of that. There are benefits to certain rights being limited to citizens, and there are some downs...
[QUOTE=Xenocidebot;35881721]Oh kiddyfiddling Christ, are we back to this bullshit?
There isn't any such thing as "citizen's rights".[/QUOTE]
That's inherently incorrect, as evidenced by the story in this OP. Now, certain rights are applied to everyone, but most certainly no...
[QUOTE=DEMONSKUL;35881598][img]http://u.cubeupload.com/Skelosk/1272089026971.jpg[/img]
[editline]9th May 2012[/editline]
Do I win?[/QUOTE]
That is the most fabulous pose in the Nazi party.
[QUOTE=Beechey;35853582]Yep, but that is the way democracy works sometimes. Sucks in you are in the minority, I guess.[/QUOTE]
That's the way first-past-the-post works. Instant run-off for the win.
[QUOTE=shill le 2nd;35881268]GVim master race[/QUOTE]
I was lost in shell vim land, but then I was found. All of a sudden, slate was the sexiest piece of syntax highlighting scheme to ever touch these ignorant eyes.
[QUOTE=Lankist;35881466]The boat thing was a joke dude.[/QUOTE]
Well shit. Here I was truly interested. I've never heard of a lawyer on a ship before. Mite b cool.
[QUOTE=thisispain;35881409]yeah uh you still haven't proven why immigrants shouldn't have rights just because they are unskilled labour and thus "unwanted" by your standards.
children don't have skills and they don't do labour either, does that mean they don't have rights? wh...
[QUOTE=Zillamaster55;35881397]I'm sorry, but what does [I]any[/I] of this have to do with Illegals no longer having the right to purchase a firearm?[/QUOTE]
Then again, insisting that discussion cannot progress into other topics isn't really very fun, is it? This was rathe...
[QUOTE=Ven Kaeo;35881340]No. My point is we shouldn't allow unskilled labour into the country.
Anyway I'm done with this shit. The debate has gotten so far off track from the original article of "illegal immigrants can't own guns" and Lankist is just some bored kid trol...
[QUOTE=Lankist;35881267]No I'm not
dude nobody here understands what my job is. thats why i stop answering that dumb question.
I say "lawyer" and everyone immediately assumes I'm Atticus Finch or something.[/QUOTE]
Is it like this?
[url]http://en.wikipedia.org/wiki/...
[QUOTE=Lankist;35881222]Skills are not recognized by the immigration authorities without degrees to back them up, pal.[/QUOTE]
Do you have something to back that up? I always thought the "usefulness" thing in immigration services was more a silent value than one actually w...
[QUOTE=thisispain;35881196]nope, that is not the viewpoint of the government.
nothing in the constitution nor the bill of rights says that you are worthless if you don't have skill or education, and seeing we're talking about rights, that renders your tepid argument completel...
[QUOTE=Thy Reaper;35881158]They aren't worthless. Anyone can learn new skills. Therefore, anyone should be allowed in.[/QUOTE]
Please define "anyone". (Columbian drug lord?)
[QUOTE=Lankist;35881096]I don't. I'm not the one who said "the law states that US citizens come first."
(it doesn't)[/QUOTE]
I haven't said that either, but you made a very simple request: provide the appropriate legislation that defined illegal immigration, and I've done t...
[QUOTE=Lankist;35880986]Now find me the part upon which this was 'paraphrased':
(if you don't want to, that's fine. You took up the banner for Faze, who refused to do so.)[/QUOTE]
If you are so incompetent that you are unable to reason that I am obviously reading of...
[QUOTE=Lankist;35880846]Title 8, Chapter 12, Subchapter II, Part VIII details penalty provisions, not definitions.[/QUOTE]
Yes, and this defines the illegal behaviour:
[quote]
Any alien who (1) enters or attempts to enter the United States
at any time or place other ...
[QUOTE=James*;35880819]But you get automatic citizenship[/QUOTE]
Yeah, people seem to forget this. We are one of the few nations that possess BRC, so naturally, we [I]do[/I] have a lean toward "birthrights".
[QUOTE=cornndog;35880786]Why.
What gives someone born in America born more rights than someone born somewhere else.
Why should someone be given a free ride into America just because they happened to be born here.
Legally immigrating is a very long and hard process that is n...
[QUOTE=Lankist;35880774]None of those laws establish that illegal immigration is illegal in the first place.
You said the law says they don't belong here.
What I see is "immigrants must have a rudimentary understanding of English" and "harboring an illegal immigrant is a...
[QUOTE=faze;35880703]How does the IRS not pick up on that?
I can't argue with you anymore. You seem to be trolling.[/QUOTE]
Assuming this is correct: [url]https://docs.google.com/viewer?url=http%3A%2F%2Fwww.ourfiscalsecurity.org%2Fstorage%2Finfographic_FRI_D5.pdf[/url]
...
[QUOTE=faze;35880607]I'd love to find out how somebody with no social security number can do that.[/QUOTE]
According to some research I had to do for a debate meet, Illegal immigrants usually use fake SS numbers to report pay and the like. This is actually a good thing, mi...
The ruling, if it hasn't been posted:
[url]https://docs.google.com/viewer?url=http%3A%2F%2Fcourtlistener.com%2Fpdf%2F2012%2F05%2F07%2Funited_states_v._huitron-guizar.pdf[/url]
[QUOTE=Thy Reaper;35880522]"The People" usually refers to anyone, not citizens, so the 2nd amendment makes no specification about who can have weapons. Why aren't non-citizens covered?[/QUOTE]
Because the militia pre-text of the amendment is in the defense of this country, n...
[QUOTE=GunFox;35880305]Free schooling for illegal immigrants? That is rather rare.
Both driver's licenses and school applications require documentation proving your history.[/QUOTE]
Even then, according to Plyler v. Doe, they'd have to be schooled. I love the Supreme Court...
This really has nothing to do with a person being illegal or deserving a weapon or not, the second amendment simply does not cover a non-citizen of the United States.
A point was brought up that was dumbed-down, but it's perfectly correct. Illegal immigrants, as human bein...
Put the SteamID in quotes. It's a string.
[QUOTE=JLea;35869068]I'm trying to get the angle between 2 lines.
So usually I'd go result = secondAngle - firstAngle;
However if the second angle is negative, and the first is positive, I get the wrong answer.
Eg. -3-5 = -8. In my program it should be 2.
[URL]http:/...
[QUOTE=Axton;35869030]This helped me also. How would you add multiple Steam Id's? Thanks again.[/QUOTE]
[lua]
hook.Add("PlayerSpawn", "donator_health_stuff", function(ply)
local donators = { <steamID_1>, <steamID_2>, <etc> }
if table.HasValue(donators, ply:SteamID()) ...
Update's on the SVN: [URL]http://facepunch.com/threads/695636?p=35760254&viewfull=1#post35760254[/URL]
[QUOTE=thejjokerr;35760254]There already has been an update for it, the revision was made on the 18th according to the google code. Just get it of the svn.[/QUOTE]
[QUOTE=Mrkrabz;35868801]I still don't understand from that how you would store this {steamid = "STEAM_0:1:16970247", team = 9, vip = 3} in each one of the txt files. Isn't what you posted doing pretty much the same as mine?[/QUOTE]
Not the same at all. Full article on GLON: ...
[lua]
hook.Add("PlayerSpawn", "donator_health_stuff", function(ply)
if ply:SteamID() == <steamID> then
ply:SetMaxHealth(200)
ply:SetHealth(200)
end
end)
[/lua]
Your donatorHealth function takes a ply argument that you never provide.
[editline]fuckingeditor[/editline]
Ah, misread. Thought he just needed the function to print things out in colour to the chat.
[QUOTE=Lord of Ears;35839564]vandalism is the idiot's way of criticism
what better form of criticism from an idiot than brash material damage?
ergo, [B]you're an idiot[/B][/QUOTE]
Hahahaha. You're a funny one. Look at you! You actually just agreed to the point that I was...
[QUOTE=Lord of Ears;35839488]the berlin wall wasn't a monument[/QUOTE]
I can't describe how badly you've missed the point.
[QUOTE=Lord of Ears;35839488]"i disagree with george washington, better go cover the washington monument in shit"[/QUOTE]
This doesn't change the fact ...
[QUOTE=Roll_Program;35838816]The tearing down of the wall wasn't vandalism, it was going to be removed anyway.
It was also in the best interests of the entire population.[/QUOTE]
[IMG]http://www.pictureworldbd.com/images/berlin wall/Berlin_wall (8).jpg[/IMG]
[IMG]http://4.b...
[QUOTE=Roll_Program;35837498]It could be any statue of anyone, and pissing on it and spray-painting it is vandalism, not criticism.[/QUOTE]
The fact that there is even some sort of definite line being drawn between "vandalism" and "criticism" is really disturbing. How many m...
[QUOTE=Noxic;35830320]If you mean that I should replace worldspawn's skyname keyvalue, that's not quite what I was hoping for, but I guess it's better than nothing. What I was hoping to do was to be able to change what the sky looks like in real-time.[/QUOTE]
Ah, right, so...
Looking through Foszor's code would inevitably give you the answer you're looking for.
Wouldn't this more so belong in the 3D Modelling request section?
[QUOTE=SB2DevTeam;35808164]In the end does it really matter what people use?
Devs should just use what they prefer, it being git, svn, mercurial. It's pointless to try and get everyone to change just because (some) people prefer something else.[/QUOTE]
You're correct, but i...
Yeah, if MsgC() doesn't automatically print newlines and works on the same sort of stacking that regular Msg works with this should work (pretty similar to your way):
[lua]
function is_color(colorarr)
--Small thing to check for a color table
local flag = false
if type(colo...
[QUOTE=synthiackup;35803803]mouseover
[vid]http://synthiac.net/videos/tri.webm[/vid][/QUOTE]
Gaaaah, demos *cream*
Isn't a single character 1 byte? If it is: code's just a bit misleading, because you're sending 32 bytes of information, not 32 bits. Ends up being 256 bits. Either way, that's a nice script you've got there.
[SUB]A practise several people have rated me dumb for defending :([...
cols = Color(255, 255, 255, 255)PrintTable(cols)
returns:
[code]
a = 255
b = 255
g = 255
r = 255
[/code]
if it's any help.
[QUOTE=darkrei9n;35801436]Why would it need to be rendered in orthographic? Its rendering fine, just the grid is not a perfect square like it should be.[/QUOTE]
I believe Lord Ned said that because Orthographic projection might provide a more accurate depiction of a simple 2...
Just wondering if this has anything to do with it:
Unpack the table into separate variables and then put those variables into MsgC with proper concatenation. If concatenation isn't the issue, I'd look at the syntax definition for MsgC:
[code]MsgC( color, str, ... )[/code]
and ...
[QUOTE=Jcw87;35801957]Even the smallest amount of waste is bad. What happens when a server installs 20 addons that each waste a little network bandwidth? That small waste adds up, especially when the server has a lot of players on it. If you can make it more bandwidth efficien...
[QUOTE=Jcw87;35797899]You should check out this [URL="http://hginit.com/00.html"]SVN user's guide to Mercurial[/URL]. Mercurial is a version control system that is conceptually similar to git, and all the same points apply.[/QUOTE]
You're sort of correct if you're just plain...
EDIT: Yeah, I was obviously wrong.
[QUOTE=Banana Lord.;35793589]you can look at commit history/file changes in SVN too (depending on where you get it from)
and SVN has branches, how is that different from GIT branches[/QUOTE]
My point on branches had to do with git's branching bring a piece of the core o...
[QUOTE=Remscar;35775189]I don't see the use of GIT. It seems exactly like SVN however except you have a local repository aswell, which seems stupid and pointless. Why does each developer need their own repository, they should just use the same and commit/update from it.[/QUOTE...
[url]http://luabin.com/luasearch/index.php?keywords=Player.InVehicle[/url]
Should we all move away from Subversion
I find that the Garry's Mod development community is being fundamentally hindered by the prevalent support of the Subversion SCM protocol. This is a community full of people who want to contribute, but cannot do so as easily as another system (say git) due to the centralised a...
[QUOTE=Banana Lord.;35764322]My last statement to this extremely dumb argument, but I never said it had no impact. Once again the impact is wasted bandwidth, processing time, and bad practices.[/QUOTE]
I suppose it's extremely dumb, because it's impossible for there to be a...
[QUOTE=Icedshot;35762558]I would say that C++ is pretty much the industry standard for writing commercial non 2d games in. Sure, you get a few in other languages, but C++ dominates, mostly due to the speed of the language and the available libraries out there for it.
If you w...
[QUOTE=Hentie;35761495][img]http://upload.wikimedia.org/wikipedia/commons/9/97/Centripetal_force.PNG[/img]
r u happy[/QUOTE]
Yes :3
Here's a simpler one if you like:
[lua]
local water_start_time = 0
local water_drown_time = 40 --Time till drown
hook.Add("Think", "water_drown_think", function()
if LocalPlayer():Alive() and LocalPlayer():WaterLevel() >= 2 then
if water_start_time == 0 then
w...
[QUOTE=Banana Lord.;35760967]the point isn't that it doesn't impact users, it's bad practice and still a waste of bandwidth.[/QUOTE]
Yeah. Like I said, I'm agreeing to this. However, as you admit it has no impact, it is still valid to use. It may not be a [I]proper[/I], [I...
[QUOTE=Hentie;35761154]I forgot to mention that the website I stole the from called centrifugal force "nonexistant force".
The image doesn't address that, but I never said anything about simulating centrifugal force.[/QUOTE]
I'm not saying you did. I'm commenting on the in...
[QUOTE=LemONPLaNE;35759726]I'm more worked up about the fact that the guy holding the rope isn't the center of the circle.[/QUOTE]
Haha, that was actually the first thing that entered my mind when I saw the image. I was worried about the misinformation, though. Faulty phys...
[QUOTE=Killklli;35759818]Well I do seem to be noobish enough on lua to not know how to install it :P (im used to CSS eventscripts) But I tried putting the lua file in lua/autorun/server and it wont work?[/QUOTE]
The use of the 'LocalPlayer' function is an indicator that th...
[QUOTE=joyenusi;35759847]I had actually tried that but I had a few errors that were blocking one file from being read.
Thanks a lot anyway.[/QUOTE]
Are you doing this in GLua (Garry's Mod version of Lua) or vanilla Lua?
If you're doing this in vanilla Lua, you'll hav...
[QUOTE=Banana Lord.;35758524]the actual harm is that you think it's okay to use bad practices and you're wasting bandwidth.[/QUOTE]
It's not [I]me[/I]. Oh! Heavens no. I'm just putting forth that if such a practise doesn't cripple or harm the systems and clients it interacts...
Heil Ritchie, destroy the Stroustrup doomsday machines, write it in C.
[QUOTE=SiPlus;35758319]Simulate it with slightly tilted towards the opposite of the prop velocity vector?[/QUOTE]
You can simulate whatever you want. I'm commenting on the inaccuracy of that image which is supposed to be describing the forces present in that situation. Centrif...
[QUOTE=Hentie;35753552]you need to simulate the centripetal force (normal) and path of inertia (perpendicular of the normal):
[IMG]http://images.wikia.com/schools/images/a/a8/A4centfc.jpg[/IMG][/QUOTE]
I must point out for the sake of accuracy that "centrifugal force" [B][U]...
[lua]include("items_var_file.lua")[/lua]Goes into the file that needs to use the variables. The keyword 'local' prevents variables from transferring across files in this manner.
I think this answers your question well: [url]http://stackoverflow.com/a/7780340[/url]
[quote]
Lua has no concept of a Unicode value. Lua has no concept of Unicode at all. All Lua strings are 8-bit sequences of "characters", and all Lua string functions will treat them as ...
[QUOTE=Banana Lord.;35755004]it's wasteful and inefficient to send more than you need to[/QUOTE]
Oh, alright, so this is more of a pragmatic programming thing than an actual harm.
I would say no, if only because it would mean that function is utterly redundant.
[QUOTE=Stillnex;35751164]Any idea why [B][URL="http://wiki.garrysmod.com/?title=Weapon.GetPrimaryAmmoType"]Weapon.GetPrimaryAmmoType [IMG]http://wiki.garrysmod.com/favicon.ico[/IMG][/URL][/B]
returns a number rather than a string?
I kind of need a way to find the weapon ammo t...
[QUOTE=Banana Lord.;35747542]if you are using NWVars with more than 256 bytes of data you're really doing something wrong/shouldn't be using NWVars[/QUOTE]
[QUOTE=DarKSunrise;35748555]In most situations it's a lot more effective to just use plain user messages instead. Lar...
[QUOTE=DarKSunrise;35745881]You shouldn't be sending more than 256 bytes of data for a single networked variable in either case.[/QUOTE]
Why not, exactly? How many dial-up Garry's Mod players are there?
The Lua 'program' is necessary to compile/interpret and execute Lua on your computer. Notepad++ is just a text editor (and I would suggest Sublime 2 while on the subject [but it's all just personal preference]). Windows download: [URL]http://code.google.com/p/luaforwindows/[/U...
[QUOTE=PvM_marcus;35719612]I have done all that, but it doesnt work, it doesnt write into my database.[/QUOTE]
Then post your code. No one can help you if you don't give any information besides "I have a problem".
[QUOTE=Fixed;35719594]Lol my bad, I thought 500 was walking speed. Though I got another question:
timer.Create( "PlusStamina", 1, 0, function() if running == false || stamina < maxstamina then stamina = stamina + CFGstaminaReg endend)
I want it to s...
Do you mean the cut edge? Usually that's simply indicative of a poorly-designed sprite.
What do you mean "setup"? Do you mean "how do I get the module and install it" or "how to I use MySQLOO"? Both of these things were found within seconds using Google.
MySQL tutorial using MySQLOO:
[URL]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexb25c.html?ti...
Sigh. Found within 15 seconds using Google.
[url]http://facepunch.com/threads/1172596?p=35285795&viewfull=1#post35285795[/url]
This site has a search function. Google is also really good at searching things. Also, example code. You wouldn't have needed to spend a ridiculous 3 days searching if you'd actually used the search functionality of this site or Google is all I'm saying.
[B]Argument retrieval...
Your stamina code isn't setting the run speed anywhere except when it ends. IIRC, the regular run speed is 500, so it wouldn't make a difference. Have you tried setting the value to something extremely low or extremely high to test it? Did you make sure that your condition is ...
It could just be how Garry's Mod is rendering the image. I believe that sv_loadingurl was meant for HTML pages. There are numerous, free webpage hosting sites.
If you still believe that it is just the image hosting, here are a number of image upload services:
[URL]http://tiny...
I believe you'd have to create a sort of include file in lua/autorun/server with some of these: [URL]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5809.html?title=Resource.AddFile[/URL]
Only models have to be included, materials are automatically handled.
[edi...
[QUOTE=S W;35134394]That will add the command to the server/client so then the specific side will recognize it. I'm just wondering, are all commands that are ran on the client sent to the server? And if so how do I prevent them from being sent to the server to prevent unnece...