[QUOTE=The Inzuki;25369830][url]http://ip5.wikispaces.com/Rennolds%2C+Brandon[/url]
Game I worked on in my Programming class.
Other people on the site are other students in my class.
It REALLY sucks when you're the only one who can code better than everyone else in the class :saddowns:
And should I try Valgrind? I guess I sort of want to continue Left 4 Dead 1.5
If that page doesn't work: [url]http://ip5.wikispaces.com/file/view/Circle.swf[/url]
Arrow keys to move (with 2 player, the light green circle uses WASD), collect the yellow coins and avoid the red dicks :v:[/QUOTE]
Ok I like your game so I'm going to make an SFML clone of it that uses the mouse for control :v:
35 minutes in, been recording my screen at 2fps and will edit it to 30fps for a timelapse and upload to youtube. I reckon it will end up about 2 minutes long (2 hours of total development).
Also it doesn't suck to be better than everyone, it kicks ass.
[QUOTE=Jallen;25376638]
Also it doesn't suck to be better than everyone, it kicks ass.[/QUOTE]
Except when you're trying to get stuff done and you're constantly being interrupted by "hey xtrap, can you come give me a hand with this?"
:smithicide:
[QUOTE=X'Trapolis;25376671]Except when you're trying to get stuff done and you're constantly being interrupted by "hey xtrap, can you come give me a hand with this?"
:smithicide:[/QUOTE]
Which is when you tell them to do...
for(;;) double zing* = new double;
edit: omg fu rank i c ur disagree
I need some ideas guys.
I am working on my Unix C shell and I need to make some built in processes ([url=http://www.facepunch.com/showthread.php?1000894-What-Are-You-Working-On-V13&p=25362380&viewfull=1#post25362380]see my other post[/url]) which change the shells settings.
Now as my built in processes are functions but act exactly like external processes, they are separate forked processes, so I can't directly change any of the shell settings in the child process. But I need to be able to, to set cwd, prompt string etc.
I figure there are 3 main ways I can do it, unnamed pipes, named pipes and shared memory. I'm leaning towards the named pipe solution, so that the function can just open the named pipe called shellsetings or something and write to it, and after each command is processed i'll check the shellsettings pipe in the main function and update appropriately. I guess I could use shared memory too, which might be a more direct and understandable way of changing the shell settings, but I'll have to look into it.
So any input on which way I should do it, or any more ideas?
[QUOTE=The Inzuki;25369830][url]http://ip5.wikispaces.com/Rennolds%2C+Brandon[/url]
Game I worked on in my Programming class.
Other people on the site are other students in my class.
It REALLY sucks when you're the only one who can code better than everyone else in the class :saddowns:
And should I try Valgrind? I guess I sort of want to continue Left 4 Dead 1.5
If that page doesn't work: [url]http://ip5.wikispaces.com/file/view/Circle.swf[/url]
Arrow keys to move (with 2 player, the light green circle uses WASD), collect the yellow coins and avoid the red dicks :v:[/QUOTE]
Oh, hey inzuki. I forgot to say I ran Left 4 Dead 1.5 through memory validator and it [b]was[/b] to do with the text rendering as I tried to explain before :P
[QUOTE=iNova;25377343]Oh, hey inzuki. I forgot to say I ran Left 4 Dead 1.5 through memory validator and it [b]was[/b] to do with the text rendering as I tried to explain before :P[/QUOTE]
Did he release Left 4 Dead 1.5?
[QUOTE=Richy19;25377502]Did he release Left 4 Dead 1.5?[/QUOTE]
Nope, I have the source code though.
[QUOTE=iNova;25378267]Nope, I have the source code though.[/QUOTE]
Lucky :P
BTW izuki are you going to retake the L4D 1.5 project then?
[QUOTE=X'Trapolis;25376423]Looks interesting, but what exactly is it? It just looks like an untyped hashtable.[/QUOTE]
For now that's all it is, I'm really trying to expand it to a much bigger idea. Maybe Cloud sharing through servers/clients, allowing saves to also be saved to a server along side local saves. I'm also trying to pair it with a plugin system I'm working on that is also tied to a scripting language I'm working on.
But right now I'm working on it step by step, which is why I get so excited when I add something, since it moves me closer and closer to my final goal.
Game I made in 2 hours, 59 minutes:
[media]http://www.youtube.com/watch?v=cDjmhIVjKps[/media]
And a timelapse of me making it:
[media]http://www.youtube.com/watch?v=rTBdgCDV99s[/media]
Finished my site page for it:
[url]http://jallenbah.co.uk/pickerupper.php[/url]
Pretty slow day in WAYWO today so here's another shell screenshot:
[img]http://oi55.tinypic.com/kmhxe.jpg[/img]
The prompt changing itself is simple but it's the behind the scenes event messaging system which tells the parent process to change it's prompt.
So yeah, I decided to go with named pipes.
[QUOTE=r4nk_;25376970]I need some ideas guys.
I am working on my Unix C shell and I need to make some built in processes ([url=http://www.facepunch.com/showthread.php?1000894-What-Are-You-Working-On-V13&p=25362380&viewfull=1#post25362380]see my other post[/url]) which change the shells settings.
Now as my built in processes are functions but act exactly like external processes, they are separate forked processes, so I can't directly change any of the shell settings in the child process. But I need to be able to, to set cwd, prompt string etc.
I figure there are 3 main ways I can do it, unnamed pipes, named pipes and shared memory. I'm leaning towards the named pipe solution, so that the function can just open the named pipe called shellsetings or something and write to it, and after each command is processed i'll check the shellsettings pipe in the main function and update appropriately. I guess I could use shared memory too, which might be a more direct and understandable way of changing the shell settings, but I'll have to look into it.
So any input on which way I should do it, or any more ideas?[/QUOTE]
A fourth option would be to use Unix sockets (man unix).
Also, when you fork a process aren't all the environment variables copied automatically? Why do you need to change them?
[QUOTE=r4nk_;25376970]I need some ideas guys.
I am working on my Unix C shell and I need to make some built in processes ([url=http://www.facepunch.com/showthread.php?1000894-What-Are-You-Working-On-V13&p=25362380&viewfull=1#post25362380]see my other post[/url]) which change the shells settings.
Now as my built in processes are functions but act exactly like external processes, they are separate forked processes, so I can't directly change any of the shell settings in the child process. But I need to be able to, to set cwd, prompt string etc.
I figure there are 3 main ways I can do it, unnamed pipes, named pipes and shared memory. I'm leaning towards the named pipe solution, so that the function can just open the named pipe called shellsetings or something and write to it, and after each command is processed i'll check the shellsettings pipe in the main function and update appropriately. I guess I could use shared memory too, which might be a more direct and understandable way of changing the shell settings, but I'll have to look into it.
So any input on which way I should do it, or any more ideas?[/QUOTE]
5th option: If you don't mind locking out *BSD, you could modify the settings by modifying your process via /proc :v:
Thanks ROBO_DONUT I didn't know about unix sockets
[QUOTE=Chandler;25380156]5th option: If you don't mind locking out *BSD, you could modify the settings by modifying your process via /proc :v:[/QUOTE]
Can you explain this a bit more?
I've already made it with pipes but I'm still interested in other IPC methods.
And where is the usual place to store a named pipe? Right now I have it in the cwd but that doesn't work well with the cd command :v:. Can I just put it in /tmp ?
I'm making some Classroom Management software just for fun. Our current software is crap so I'm taking the usual approach of "Well, if you can do better..."
[IMG]http://i51.tinypic.com/5ceoll.png[/IMG]
- Screen capture works, but its fixed at 1024x768 at the moment
- The slider at the bottom controls the thumbnail size
- Clients are picked up by UDP so there's no configuration, you just run the teacher bit
- Blocking screens works but doesn't lock out the keyboard yet
- Blocking Internet works, but only for IE. I might have to write a pass-through proxy to add support for all browsers.
- Demo will show either your or a student screen to the class.
- Send File is self-explanatory.
- The 'student' bit currently rapes the CPU (~12% constantly) because of the shit way I'm capturing the screen.
whats it made in?
[QUOTE=CarlBooth;25380348]I'm making some Classroom Management software just for fun. Our current software is crap so I'm taking the usual approach of "Well, if you can do better..."
- Screen capture works, but its fixed at 1024x768 at the moment
- The slider at the bottom controls the thumbnail size
- Clients are picked up by UDP so there's no configuration, you just run the teacher bit
- Blocking screens works but doesn't lock out the keyboard yet
- Blocking Internet works, but only for IE. I might have to write a pass-through proxy to add support for all browsers.
- Demo will show either your or a student screen to the class.
- Send File is self-explanatory.
- The 'student' bit currently rapes the CPU (~12% constantly) because of the shit way I'm capturing the screen.[/QUOTE]
Great work!
[QUOTE=r4nk_;25380226]Can I just put it in /tmp ?[/QUOTE]
I think /tmp would work fine.
There's also /var/run, but it's not writable by users which would probably cause problems for a shell.
[QUOTE=Richy19;25380412]whats it made in?[/QUOTE]
C# / .NET
[QUOTE=leontodd;25380417]Great work![/QUOTE]
Thanks!
Holy shit that's awesome CarlBooth
Why is it limited to 1024x768?
Woah, @CarlBooth - Awesome, how did you do it?
[QUOTE=Richy19;25380412]whats it made in?[/QUOTE]
Where did the bad spelling rating go?
[QUOTE=gparent;25380537]Why is it limited to 1024x768?[/QUOTE]
Hardcoded constant to require less time and work for a proof of concept I'd say.
[QUOTE=DevBug;25372779]*cough* "FlashDevelop is a free and open source (MIT license) source code editor." *cough*[/QUOTE]
*hack* "Compile AS3 projects to SWF via Adobe Flex SDK" *hack*
[QUOTE=CarlBooth;25380348]I'm making some Classroom Management software just for fun. Our current software is crap so I'm taking the usual approach of "Well, if you can do better..."
[/QUOTE]
Rated artistic for the great cock drawing.
I'm bored. I just compiled my game and it's engine from C++ in to LLVM JIT bitcode so it can now run on any machine without me needing to recompile.
[QUOTE=gparent;25380537]Why is it limited to 1024x768?[/QUOTE]
It was easier to type 1024 than Screen.PrimaryScreen.WorkingArea.Width
[QUOTE=eXeC64;25381562]Rated artistic for the great cock drawing.[/QUOTE]
Done with a touchpad too -- no mouse
Just a little college project I've started
[IMG]http://imgur.com/QpmKS.png[/IMG]
And the in-game level editor:
[IMG]http://imgur.com/a40RS.png[/IMG]
CarlBooth, store the width and height in a static variable and then just use that, you can set it to Screen.PrimaryScreen.WorkingArea.Width on startup, also to speed it up only capture every 10 scounds and sleep it the rest of the time, also there is no need to use winforms of a console for the client, just modify the main routine and delete the code that is there, it is then a console app that does not pop up.
Also Chris what library is that.
[QUOTE=Vbits;25382303]also there is no need to use winforms of a console for the client, just modify the main routine and delete the code that is there, it is then a console app that does not pop up.[/QUOTE]
I don't understand what you mean. Where did I use winforms for a console?
Sorry, you need to Log In to post a reply to this thread.