[img_thumb]http://i.imgur.com/0kMQF.png[/img_thumb]
[img_thumb]http://i.imgur.com/Lc5GB.png[/img_thumb]
Bombs!
Powerups!
Fonts that aren't arial!
Highscores!
More duckies!
It's hilariously addicting
[QUOTE=Downsider;39161677]i'd never want to be given a thinkgeek product because it means that the person who gave it to me thinks im a loser :([/QUOTE]
You mean you know people that don't?
Is it just me or does anyone else feel great love for prefix/postfix incrementers in c++, they are so useful.
[vid]http://dl.dropbox.com/u/57612233/rec.webm[/vid]
Starting some sort of 2D arena game thing.
[editline]9th January 2013[/editline]
choppy because of recording
[QUOTE=Brandy92;39162841]Just wrote my first number guessing game.
Baby steps! :v:[/QUOTE]
I wrote one a long time ago in Javascript, and it is actually the code that I think looked the best :v:
[QUOTE=laylay;39154637]I need to start porting my games server to Linux but I know absolutely fuck all about Linux. Should be fun.[/QUOTE]
What language is your server coded in?
[QUOTE=Sartek;39165576]What language is your server coded in?[/QUOTE]
Pretty sure it's C++
You might not even need to write a single piece of code then.You probably just have to make a few minor changes.
What libaries are you using?
[QUOTE=ief014;39161045][img]http://i.imgur.com/09fek.jpg[/img]
[url="http://www.thinkgeek.com/product/27f9/"]I love thinkgeek[/url][/QUOTE]
beer.h is just a picture of beer. The real beer is in -lbeer.
[vid]https://dl.dropbox.com/u/6185833/FFVideo/2013_1_10-(8_33_21)-FFMedia.webm[/vid]
So, I've been working on a game in Unity. Kind of thinking Guns of Icarus + FTL + Captain Forever.
[QUOTE=Kybalt;39166544][video]
So, I've been working on a game in Unity. Kind of thinking Guns of Icarus + FTL + Captain Forever.[/QUOTE]
looks nice, but what is exactly happening when you fall in the water??
[B]edit:[/B]
I'm derping arround with functional programming and theorem provers
[thumb]http://i.imgur.com/8Sn0l.png[/thumb]
I have no clue what i'm doing.
[vid]https://dl.dropbox.com/s/3705nvndul29den/hanoi_vid.webm[/vid]
Towers of Hanoi solver
[QUOTE=bobiniki;39167113][vid]https://dl-web.dropbox.com/get/Links/hanoi_vid.webm?w=90048d8a[/vid]
Towers of Hanoi solver[/QUOTE]
403
are those mini mandelbrot sets in those towers?
Moving from Java to C++, managed to create a Win32 window and attach OpenGL. Woo!
[QUOTE][IMG]https://dl.dropbox.com/u/85825490/fuckyeahcpluyspuss.PNG[/IMG][/QUOTE]
Which do you guys think sounds better: parsable or parseable?
[QUOTE=supersnail11;39175599]Which do you guys think sounds better: parsable or parseable?[/QUOTE]
They sound the same so your question is silly.
[QUOTE=supersnail11;39175599]Which do you guys think sounds better: parsable or parseable?[/QUOTE]
Parsable is preferred in formal language [url]http://en.wiktionary.org/wiki/parsable[/url]
The FRC season has started, which means I'm back to C++. Today I wrote code for our test bench so we can control 4 motors with a gamepad.
[QUOTE=ZenX2;39176762]The FRC season has started, which means I'm back to C++. Today I wrote code for our test bench so we can control 4 motors with a gamepad.[/QUOTE]Lucky. A mentor on our team won't let us use anything but Labview. It's seriously the worst language (if you can call it one) that I have ever used.
That sucks. You could try convincing any other mentors that C++ (or Java) is a better choice for the team. The annoying mentor might listen to them more than you.
Successful optimizations make me feel all tingly inside. [img]http://i.somethingawful.com/forumsystem/emoticons/emot-h.png[/img]
[QUOTE=ZenX2;39176957]That sucks. You could try convincing any other mentors that C++ (or Java) is a better choice for the team. The annoying mentor might listen to them more than you.[/QUOTE]
Much higher chance with Java.
[QUOTE=Brandy92;39177302]Much higher chance with Java.[/QUOTE]
Sadly this is true.
Added ironsights, muzzleflashes and smoothed view on stepups.
Need to do bullet tracers now.
Writing a parser generator in lua, this is an example of the parser:
[lua]
_ = define "equation"
+ token"number"
- token"variable"
- token"string"
_ = define "set"
+ token"variable"
+ token"op_set"
+ rule"equation"
+ token"semicolon"
_ = define "entry" + rule"set"
[/lua]
The reason why the parser syntax looks like this is because it's in Lua.
Okay so, honestly, I don't know what the hell kind of vocabulary to use since I suck with computer words so I'm throwing words around, but I basically looked at Yacc and that's kind of what I'm going for.
It basically defines rules for the parser and what the parser expects.
Here it is in action:
[lua]
test_code = [=[
test = "112 hi there! what's up!";
]=]
-- generate tokens
local tokens = tokenizer( test_code )
-- analyze the code
print( analyze( tokens ) )
[/lua]
The tokenizer function goes through the string and makes a list of tokens.
The analyze function goes through the tokens and sees if it matches the rules.
If it doesn't match the rules, it will spit out an error string.
It if does, it will spit out a neat table that you can iterate through and... make things.
I don't know, I'm sleepy. I don't even know what I'm doing. My eyes hurt. Why do I get motivations to do things only at night?
[B]@Hentie[/B], Nice work! Wow, that looks a bit like my parser in C#, i'm using Regular Expressions to define rules for tokens, and tokens get added like this:
[IMG]http://puu.sh/1MsFr[/IMG]
new TokenDefinition(string RegExPattern, string TokenName)
Also this code prints all tokens and contents of the token
[IMG]http://puu.sh/1MsFG[/IMG]
Why program a program to program when you can program a program to love?
So I finally decided to test my Asm code and do something other then add 2 numbers so I wrote some UI code.
[code]
var Writer = new AsmWriter(IntPtr.Zero);
Writer.Push(Register32.ECX);
Writer.Push(Register32.ESI);
Writer.Push(0x94);
Writer.Mov(Register32.ECX, (IntPtr)0x007B3D90);
Writer.Call((IntPtr)0x004026F2);
Writer.Mov(Register32.ESI, Register32.EAX);
Writer.Mov(Register32.ECX, Register32.ESI);
Writer.Call((IntPtr)0x0048C721);
Writer.Push(0);
Writer.Push(1);
Writer.Push("UI/UIWindow.img/BetaEdition/BetaEdition", StringType.Wide);
Writer.Mov(Register32.ECX, Register32.ESI);
Writer.Call((IntPtr)0x0048C814);
Writer.Pop(Register32.ECX);
Writer.Pop(Register32.ESI);
Writer.Retn();
[/code]
And when I run it. "Attempted to read or write protected memory" Ouch thats one hell of a slap to the face. So I spend a few hours working over the asm code and what generates the hex. I tried one last thing before I gave up. While the Assembly call was breakpointed I navigated to the code in CheatEngine's Memory view and saw this.
[code]
0F2C0000 - push ecx
0F2C0001 - push esi
0F2C0002 - push 00000094
0F2C0007 - mov ecx,Test.exe+3B3D90
0F2C000C - call 0F6C2703
0F2C0011 - mov esi,eax
0F2C0013 - mov ecx,esi
0F2C0015 - call 0F74C73B
0F2C001A - push 00
0F2C001C - push 01
0F2C001E - push 00A5E7C8 : [""UI/UIWindow.img/BetaEdition/BetaEdition""]
0F2C0023 - mov ecx,esi
0F2C0025 - call 0F74C83E
0F2C002A - pop ecx
0F2C002B - pop esi
0F2C002C - ret
[/code]
What the fuck. it seems somehow virtualalloc or the copy butchered my call addresses. I patched them up and just like magic it worked.
(Notice the Beta Version tag in the Top Left)
[t]http://i.imgur.com/3mNxh.png[/t]
I guess the next step is figuring out why the calls got butchered.
Trying out the Facepunch API along with python.
[IMG]http://ist2-1.filesor.com/pimpandhost.com/1/_/_/_/1/1/k/a/3/1ka3A/babbyfirstpython.png[/IMG]
Making baby steps :)
Sorry, you need to Log In to post a reply to this thread.