Type: Posts; User: PaellaPablo
Search took 0.02 seconds.
LUA file begins being analyzed for errors:
Found error -> Stop loading file
Sequentially starts analyzing file again -> Found the next error.
Creating a large amount of DPanels is fine, so I highly doubt that would be your problem.
Heck, I have upwards of 200 panels in a DPanelList and there's no lag/crashing whatsoever.
Just wondering what causes a network variable to be sent to clients.
Is it that it is sent when changed, or does the client check every certain interval for it, or is it retrieved when using...
How will you accommodate for people with bad resolutions (less than the panel size)?
Just curious, always something I wondered when making my various pointshops.
Knowing garrysmod, it would be more like "Super Crash Bro's"
Why can't you just have:
function DoThing( ent )
local ply = ent
function RunDoThing( um )
Still messing around with cam.3D2D, made this little thingamajig appear on the ground where someone dies.
Not sure why the triangle didn't want to draw when I had a...
I'd say sting.Left would be better when checking for chat commands.
Also, they way I like to check for commands is like this:
hook.Add("PlayerSay", "checkcommands", function( ply, said )
Forgot about that.
Anyway, more playing with 3d2d:
Made this show up on PlayerInitialSpawn
Yeah, was just fiddling :P
Keep getting this problem though, where the render seems to ignore depth and draw everything else through it. Not really the right section to ask for help, but might...
I tried shiny and debugwhite, didn't work for those.
I played around with cam.Start3D2D, ended up with this:
Tried using render.DrawBox today.
Set the colour, but not matter what I did it always resulted in:
render.SetMaterial( HUD.MATS.WHITE )
What F4 menu?
Not everyone runs pointshop, if that's what you're talking about.
My god, I just rendered a box.
Cheers, marking as solved.
Would it just be better to do it in PostDrawOpaqueRenderables?
I got bored, so I decided to learn cam.3D2D
Yeah, I saw that on the wiki too, but it didn't seem to relate, as nothing was drawing within HUDPaint.
Currently I'm using PostDrawOpaqueRenderables and its working
So I have this:
hook.Add("HUDPaint", "drawsomthings", function()
cam.Start3D2D( LocalPlayer():GetEyeTrace().HitPos + Vector(0,0,40), Angle( 0,0,0 ), 1)
Pretty basic, written in an hour or so.
Since this seemed to be all the rave in the WAYWO thread a few weeks ago, I thought I would come late to the party with a public version of it.
I wanted to be cool like everyone else in this thread, so here's a simple jukebox I made.
Yes, it is playing Adolf Hitler's speech.
And yes, it can be broadcasted to...
Welp, even at the risk of looking like an utter moron, it's magically started working after 2 days of no http.Fetch.
Didn't verify, didn't do anything.
Fuck logic, marking as solved.
I'm honestly not sure.
It would seem that it's been occurring a lot since it though.
Yet another shameless bump, so I can actually get stuff working :S
Cheers, marking thread as solved now.
Hopefully it will help others out in the future.
My server's http.Fetch appears to always be running the orError callback not long after init.
The first fetch to run works (which gathers my jukebox data), but after that all callbacks don't.
Thanks, this worked a charm.
Quick question though, why is it necessary to disable the scissorrect after?
Just wondering if there's a way to fix this:
I was considering overlaying a panel, but noticed that is goes of of all Gui >.<
Really depends how you are drawing the initial texture.
Firstly, put this in the script where the round ends, and replace winning team with the team number.
hook.Call("DeathrunRoundEnd", nil, winningteam)
Second, put this in a serverside script...
I learn fastest when out of my depth and have to readjust.
Not like I can't just go learn about stacks and other things like that.
As for module creation, that's like saying I shouldn't be...
Mmm, well, I'll probably go look at what other people have done and try and learn from it.
Might make a thread if I find anything beneficial to beginners then.
I've come to the realization that being able to create modules would be a very powerful asset to my coding.
Problem is, I have no idea where to start.
Would anyone be able to point me in the...
Is sound.PlayURL broken in some situations, or whats going on?
Stupid thread, maybe, but I'm calling the same function JUKEBOX.PlayURL(index), using 2 different methods ( client function from...
Is it possible to overwrite the command without a module?
I started making a prettier version of it, currently running off the command 'newstatus'.
So if theres 2 messages, one after the other, which are the same size, it would do the first one slowly, then the next one slowly?
It's a fact that australian's have shit internet.
That is to say, ~40KB/s UP is pretty average.
My question is what happens if the client is to upload a large net message, that is larger...
Bump, because surely there's a way to fix this.
EDIT: A lot of servers don't seem to be experiencing this.
I honestly have no idea what section this should be in, so I chose this one.
SRCDS, for whatever reason, is just hanging on 'Initializing Steam libraries for secure Internet server' now.
I'm wondering if there's a method in the NPC class to make it not do anything, and completely ignore players.
I currently have:
local npc = ents.Create("npc_citizen")
I believe your RunConsoleCommand should be
as RunConsoleCommand uses inputs as the Command, then the table of arguments.
The equivalent console...
I've been scouting around looking for a method to retrieve a weapon's clip maximum.
Have not had any luck.
I have tried (and failed) using:
try running ServerLog without self:
Not sure if that will fix it, but worth a shot.
When calling GM:OnPlayerHitGround( ply ) the function clientside appears to run 4 times.
My example is very simple ( for demonstration purposes ):
I believe you also need target:Kick() in there.
Last time I used ply:Ban, it didn't actually kick them from the server.
Jellyman's concept proven to be very effective.