433 Results
The fuck is a search engine and why would it ever be useful for anything
TheJjokerR General Discussion Reply
https://m.youtube.com/watch?feature=youtu.be&v=ZfK9o_mPmBk I am certain these moving pictures are the cutest you have seen so far
TheJjokerR Fast Threads Reply
I might be reading your post wrong, but in your first sentence are you seriously explaining a programmer that is working on S&Box what can't be done in S&Box?
TheJjokerR Sandbox Game General Reply
help how do I unclick this from my eyes
TheJjokerR General Discussion Reply
Shape of water 8/10 Great to watch with the opposite sex, it's got stuff for the both of ya.
TheJjokerR Film, Television and Music Reply
Aight I'd be fine to have a go with that, I've got figuratively 0% experience with both of 'em, so I'd need your experience in best-practices for code architecture. You got something we can chat through? I'll add you as a collaborator and we'll throw out the current stuff and ...
TheJjokerR General Discussion Reply
What's your preference? Nothing is set in stone and I'd be fine to move over to something else Also yeah I found that RiotJS because I got pretty sick and tired of all the bloated shit out there.
TheJjokerR General Discussion Reply
Shameless call for help to web developers to contribute to a newpunch community project: Web Dev Questions That Don't Need Their Own Thread v5
TheJjokerR General Discussion Reply
I was typing out a whole message to ask you guys for opinions on how to clean up my mess of a prototype and set-up an architecture which makes sense rather than 'just works'. Though I thought it'd be easier to recruit you guys in and hopefully make this a community effort into...
TheJjokerR Programming Reply
No you don't: Edit all your posts to 'snip' Change your email to something useless (an email adres you never use or even a temporary email adres: https://www.guerrillamail.com/) Logout Now make a new account with your desired details and you are good to go. (You will have to u...
TheJjokerR {{Meta}} Reply
Agreed Good point actually. I like the fact that it's loose and we're all having fun with eachother without degrading ourselves to oify-levels (mostly) which are pure shit and random spam
TheJjokerR General Discussion Reply
You really think the game is going to cost 800 pounds? Seems a bit steep but sure I'll go for it
TheJjokerR Sandbox Game General Reply
I feel like this is the part of Facepunch prison where the guards aren't looking and I can finally feel free. Once the guards come back I'll start behaving again. Or when people start posting serious threads.
TheJjokerR Sensationalist Headlines Reply
I'm going to buy 100 copies and think that in a few years I'll be rich when I sell them.
TheJjokerR Sandbox Game General Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
I just gave like 30 fucking coins away here: Win 25 coins holy shit Including to you and the guy who agrees with you. So stfu or I'll take em back the first chance I get
TheJjokerR Fast Threads Reply
Everybody wins a coin!
TheJjokerR Fast Threads Reply
Yo
TheJjokerR Fast Threads Reply
Beautiful number, here have a coin
TheJjokerR Fast Threads Reply
I gave you a diamond, I want 5 coins at least!
TheJjokerR Fast Threads Reply
https://www.youtube.com/watch?v=wBqM2ytqHY4
TheJjokerR Videos and That Kind Of Crap Reply
Good job on using this many words to say nothing.
TheJjokerR General Discussion Reply
What movie is this from?
TheJjokerR Videos and That Kind Of Crap Reply
Forgot to ask this, I wanna know as well because AFAIK having only the post number is useless.
TheJjokerR Fast Threads Reply
Good job, enjoy your coins
TheJjokerR Fast Threads Reply
I have hidden in one of my posts a number, if you find that number and post it here you win the 10 coin bounty. To make this easier for you I have the postid: 4131627 Good luck
TheJjokerR Fast Threads Reply
Win 10 coins really easily - find post 4131627
TheJjokerR Fast Threads Thread
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
thread.BanAll().Except(Myself)
TheJjokerR General Discussion Reply
This is true in most cases: When two conflicting declarations are applied to the same element, the declaration with a greater specificity will be applied. So there's mostly no reason to user ever because you can always be more specific, here's an example that shows the basics:...
TheJjokerR {{Meta}} Reply
Can you test the "ban everyone who replied to this obvious spambot"-tool please?
TheJjokerR General Discussion Reply
It's probably the imgur.com embed but I'm not sure
TheJjokerR General Discussion Reply
Yes the basics is that you send the coins to an account I don't really use(the bank), that accounts' session is stored on my server meaning the server can check if the coins were added to the account. Coins on the account, means coins in the system. Which means you can use the...
TheJjokerR General Discussion Reply
give me coins and I'll keep working on this method for you guys to get more coins (instead of waiting for Garry to make it): https://i.imgur.com/CHVCOgi.gifv
TheJjokerR General Discussion Reply
if (defaultValue != nil -- Check immediately if defaultValue is anything but nil and currentValue != nil -- Check immediately if currentValue is anything but nil and (defaultValue != currentValue -- Check immediately if defaultValue is different from currentValue ...
TheJjokerR Lua Developer Discussion Reply
My co-worker started coding around his late 20's diving into the deep, as he progressed he got more excited about it, snowballing resulting in him learning a whole lot. He now teaches programming and tbh is the best teacher I've ever witnessed in person.
TheJjokerR Fast Threads Reply
So as I understand it right now there's only the following ways to send coins: Send 1 coin by rating (1 per post max) Send 10 coins by rating (1 per post max) Create a thread with a bounty with variable amount of coins Is there any other ways I could send coins to someone? I'd...
TheJjokerR {{Meta}} Reply
Ways to transfer coins?
TheJjokerR {{Meta}} Thread
Have a good look at the AcceptInput hook and compare it to the Initialize hook in the same script. The part where you start the function has a vital (albeit tiny) difference causing this error.
TheJjokerR Lua Developer Discussion Reply
I think he meant "why are you making a script chat really fast?" Maybe just make the addon send a net message with the information you want to send to the server.
TheJjokerR Lua Developer Discussion Reply
As per @rtm516 's request and because it was a good idea, here's something I made a few years back: I made this handy function to cut out parts of a texture and draw them on your screen (like for cutting out parts of a spritesheet) surface.DrawPartialTexturedRect( x, y, w, h...
TheJjokerR Lua Developer Discussion Reply
This makes a lot of sense now that you've said it, thanks! Clicking out of it is what I instinctively tried to do (don't know what software I got that from) and I think it should be added if more people feel like it makes sense.
TheJjokerR {{Meta}} Reply
If you mean this, then this: I made this handy function to cut out parts of a texture and draw them on your screen (a really long time ago, no idea if it still works but it should): surface.DrawPartialTexturedRect( x, y, w, h, partx, party, partw, parth, texw, texh ) Function...
TheJjokerR Lua Developer Discussion Reply
I think I'm going to refuse talking to that guy through you, because like I said: if he was so sure about his case he'd come prove us all wrong and become a legend. Edit: On this forum, with his own account. Edit: Also the fact he sends you a screenshot of performance on 2 d...
TheJjokerR Lua Developer Discussion Reply
Depends on the situation, although rather than just removing the loops you should rethink about the way you are coding it because that is what is causing lag. (e.g: 'if you loop through every player and then loop through their inventory and then loop through the item keys and ...
TheJjokerR Lua Developer Discussion Reply
What's your code now?
TheJjokerR Lua Developer Discussion Reply
"only yourself is in your way" Yeah but myself is convincing as fuck
TheJjokerR Videos and That Kind Of Crap Reply
Maybe just do what the quote does: when a piece of code is really long it's collapsed?
TheJjokerR {{Meta}} Reply
So when I'm in a code block, I want to get out more easily when I'm at the end of my code. Right now I have to type another line of random text in the code, select it and then press the clear format button. Maybe holding a key like ALT/CTRL/SHIFT + enter should get you out. O...
TheJjokerR {{Meta}} Reply
Code blocks aren't working very well
TheJjokerR {{Meta}} Thread
This is correct This is incorrect At the moment the sound will be emitted from Entity(1) on the server. This means that for all players is checked if they won or have lost, of course there are both winning and losing players so the sounds will both play. Like la_grib said yo...
TheJjokerR Lua Developer Discussion Reply
I'd start developing in an order similar to this: Brainstorm about the product: what kind of stuff do you want in it and how is it going to work Filter out the stuff from the brainstorm: what are the most important things you want in the first version of your software Design t...
TheJjokerR Lua Developer Discussion Reply
Can you write down for me the exact steps you take when testing this? Then we can look at what's happening and start to think about why it would return nil. Start with: I start up the server and join it The loading screen shows ... ... ... ... ... ... ... ... ... All the way...
TheJjokerR Lua Developer Discussion Reply
I googled 'CreateSound cuts out gmod' Which turned up with several results including this one: CSoundPatch cuts out too early and stops sound
TheJjokerR Lua Developer Discussion Reply
Nope. Are you reading my post correctly? If you don't understand parts of the post just let me know and I'll try to clarify them, because if you read on from what you quoted the last thing I say is: Go and see if it's nil, if it is go find out why! Try to think if you actuall...
TheJjokerR Lua Developer Discussion Reply
I'm a teacher so I can't really just give up when someone doesn't understand something :p
TheJjokerR Developing Reply
I'm not sure what the problem is there, but if you called InvalidateParent after setting dock to Fill it should give correct values. Can we see the relevant parts of your code? Also if you have a look at the http://wiki.garrysmod.com/page/PANEL/Paint hook you can see when it ...
TheJjokerR Developing Reply
I can see the stuff above is confusing you (slightly because JasonMan is wrong about the pattern) Empty your mind, let's start all the way over: This is your code now: draw.SimpleText(ply:getDarkRPVar( "job" )..(" :"),"BarText",30,ScrH() -58,Color(198,198,198,255),TEXT_ALIGN...
TheJjokerR Developing Reply
Instead of giving you a straight answer have a look at this, I copied your code and just put some comments in it to help you figure out yourself what's wrong (and give you something to help yourself in the future): aPrice[k].Paint = function() -- You know it fails...
TheJjokerR Developing Reply
Thing is that if they fix these cheats it'll only be a while until new cheats are available. Making cheats and anti-cheats is a constant cat and mouse game and it slows down production of game enhancing features. At least it did for me as the only coder for a gamemode working...
TheJjokerR Developing Reply
If he hasn't come on here by now to discuss this in person I'm doubtful he is very sure of his findings in the first place. Though this is an assumption and I might be very wrong. I'd be interested to see his tests but like everyone else in this thread has said the performance...
TheJjokerR Developing Reply
I ain't got much to show atm since I'm still laying the foundations, but I'm working with this nifty lil' project on GitHub to compile C# to (G)Lua. It's pretty cool. Basically I now have this set-up: https://files.facepunch.com/forum/upload/158/85a6b2ff-61ba-46e5-9900-ba40...
TheJjokerR Developing Reply
[QUOTE=Slatey;52870623]I'm trying to put this together so that when a player dies, it chooses a random sound file to play out of the 4 listed, but it's not working. [CODE]local deathlist = { "dead1.wav", "dead2.wav", "dead3.wav", "dead4.wav" } hook.A...
TheJjokerR Developing Reply
When using SetModelScale on a SENT I can not trace a line to it on the CLIENT when it on the has a solid of SOLID_VPHYSICS. Only when it's SOLID_BBOX does it work. I have called SetModelScale both on the client and server, yet the trace still isn't landing. It just goes str...
TheJjokerR Developing Reply
If I keep developing for long enough and live a healthy life I'll eventually become a senior developer.
TheJjokerR Programming Reply
[QUOTE=escept;52650520]Nvm got it. I was looking for :GetAttacker(). I'm getting an error [CODE]attempt to index global 'render' (a nil value)[/CODE][/QUOTE] You are calling a client-side function from the render library server-side.
TheJjokerR Developing Reply
Take everything in the server ENT:Init outof that method and replace self with the appropriate entity
TheJjokerR Developing Reply
If x equals y and x equals z it is impossible for y not to equal z right? The first two comparisons are enough. Drop the third.
TheJjokerR Developing Reply
I reviewed some C# code yesterday where the programmer used some weird variation on hungarian notation. It made me sick in my mouth a bit. It was like this but in C#: [lua]function SomeFunction(a_firstArgument, a_secondArgument) local i_localVariable = "I cried"; ...
TheJjokerR Developing Reply
Coding is repetitive. Being a programmer is an interesting job though, depending on the level you're working at. [editline]7th June 2017[/editline] [QUOTE=Not64;52324394]but i'm slowly starting to realize that it is much more than that. I'm starting to come to terms with the...
TheJjokerR Programming Reply
[QUOTE=bosnian_cyco;52298636][code] function ENT:Initialize() self:SetModel("models/kali/weapons/tow/m220 tow launcher.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) local phys = self:GetPhysicsObject() ...
TheJjokerR Developing Reply
Loading screens are a web page. So you can use any server sided web language to do that. Easiest for beginners is probably PHP imo
TheJjokerR Programming Reply
You could rip the atm model from rp_evocity_v2d.
TheJjokerR Modelling Reply
[QUOTE=MeepDarknessM;52261248]select(2, string.find( "idk some string", "some st" ))[/QUOTE] Haha how could I forget about select. Kudos to you!
TheJjokerR Developing Reply
Not that I can recall, no... Simply name the first value _ so other coders know it's a throwaway variable. [editline]22nd May 2017[/editline] Actually thinking about it you could do [lua]print(({string.find( "idk some string", "some st" )})[2] + 1) [/lua] But that...
TheJjokerR Developing Reply
I'd put the active trade panel in a property of the localplayer and route all net messages through that panel so practically all business logic is in the panel.
TheJjokerR Developing Reply
Make markers for cool positions maybe with illustrations
TheJjokerR Developing Reply
Does anyone have an idea on how to have the map's sky_camera ignore 3d2d elements? I'm testing on rp_c18_v1 and the skybox/sky_camera is underneath the map. Causing all my 3d2d's to appear in the sky as well. I can remove the sky_camera but then I'm left without a skybox wh...
TheJjokerR Developing Reply
[QUOTE=NeatNit;52190612]I think you should just use a serverside model instead of clientside. Some weird-ass shit happens clientside when PVS is in play. If you REALLY want to keep it clientside (don't!), you can define ENT:UpdateTransmitState and return TRANSMIT_ALWAYS. ...
TheJjokerR Developing Reply
[QUOTE=NeatNit;52190048]Code? My guess is: you're doing something clientside when it should be serverside. Does the same thing also happen if you noclip out of bounds and back in?[/QUOTE] Yes the same thing happens. Will post code later [editline]5th May 2017[/editli...
TheJjokerR Developing Reply
Working on a "money printer" for my half-life gamemode: [img]http://i.imgur.com/eOGzn5I.gif[/img] Running into some issues with the clientside props though: [url]https://facepunch.com/showthread.php?t=1548067&p=52189823&viewfull=1#post52189823[/url]
TheJjokerR Developing Reply
This is what my clientsideprops (attached to the suit recharger) look like in the beginning: [t]http://i.imgur.com/EEq0x7D.png[/t] But when I alt-tab they all go to their parent's origin (0,0,0): [t]http://i.imgur.com/0YNgzDl.png[/t] Can anyone think of a nice way to p...
TheJjokerR Developing Reply
[QUOTE=Promptitude;52189033][lua] local c_Model = ents.CreateClientProp() c_Model:SetPos( ply:GetPos() ) c_Model:SetModel( "models/props_borealis/bluebarrel001.mdl" ) c_Model:SetParent( ply ) c_Model:Spawn()[/lua] Having never used it before, have you tried it like this?...
TheJjokerR Developing Reply
Why can't I spawn a clientside model? [lua]local test = ents.CreateClientProp(Model("models/props_borealis/bluebarrel001.mdl")); test:Spawn() test:SetPos(LocalPlayer():GetPos() + Vector(0,0,15)); [/lua] Won't work for me and gives this in console: [code]C_PhysPropClien...
TheJjokerR Developing Reply
Yay I'm back into gmod dev. I can tell by the way nothing that makes sense to me works. [lua]AddCSLuaFile("cl_init.lua"); AddCSLuaFile("shared.lua"); include("shared.lua"); ENT.Model = Model("models/props_junk/trashcluster01a.mdl"); function ENT:Initialize() sel...
TheJjokerR Developing Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
Used a goto to get out of a 3levels deep nested loop when I could have structured my code more cleanly to begin with.
TheJjokerR Programming Reply
Would be interested in that and the after party by xamarin and Microsoft but it's a bit too far and expensive. I doubt my employer would pay that much for me traveling there to visit it.
TheJjokerR Programming Reply
Give me more details on what kinda map you are making in what style and I'll tell you what to Google for. [editline]11th April 2017[/editline] For jump maps I'd say get: Long jumps Corner jumps Moving platforms
TheJjokerR Level Design Reply
Pay an idea guy to join your team. There's millions waiting for that opportunity. Or look up reference pictures on Google in the style you want the map in.
TheJjokerR Level Design Reply
[QUOTE=VeXan;52073368]That seems incredibly ridiculous from a security point of view.[/QUOTE] The server will always have the right value IIRC. Thus being secure. The client will just be fooled into thinking otherwise. Basically it's like using cheat engine to change th...
TheJjokerR Developing Reply
[QUOTE=bilbasio;52073245]It's strange that I can't access the table from the clientside then if I load items both on the client and server side. EDIT: Actually after thinking about it I just think that what I'm trying to is impossible, I need to send the item table to the c...
TheJjokerR Developing Reply
-automerge fail- :snip:
TheJjokerR Developing Reply
[QUOTE=VeXan;52072876]So it's probably been asked before, but why are NWInts/NWBools etc. so bad according to FP?[/QUOTE] IIRC they're synced a lot and cause for a lot of network communications. However this could have already been fixed in updates since the 5 years I've b...
TheJjokerR Developing Reply
[QUOTE=bilbasio;52072825]Also a bonus one : Should all verification be done on the server side or is it safer to verify things both on clientside and serverside? Example: I have a function that sends a request for a ban on a player to the server from an admin. Should I verify ...
TheJjokerR Developing Reply
[QUOTE=bilbasio;52072793]1. When handling events like a player using an object or doing any actions, what is the major difference between using a custom function like GM:PlayerUseItem(ply, objectid) and Player:UseItem(id)? Is there an advantage to using more object oriented co...
TheJjokerR Developing Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.