[QUOTE=ZeekyHBomb;25589053]I write some utility classes for games I never actually make or get past an alpha-prototype :eng99:[/QUOTE]
I write awesome stuff but then never finish it.
That aside, I just got the flag parser working. Behold teh debug messages: (Also don't ask why I use "fuck" as a test flag everywhere, it's like when I tested my file send functionality by sending a file containing "HUEG PENIS")
[code]$../bin/alchemist -v --verbose -fuck --fuck=me
Entering...
This looks like a flag!
Finally, added 'v' without args.
This looks like a flag!
Long flag!
Found 'verbose'! (--verbose)
'verbose' added without args!
This looks like a flag!
Flag with arguments detached or single flag
'f' added! (uck)This looks like a flag!
Long flag!
Found 'fuck'! (--fuck=me)
'fuck' added! (me)
[/code]
[editline]23rd October 2010[/editline]
Command-line parsing is srs bsns.
Also, should I feel bad for taking this long to implement something that I have only a minimal need for in the project?
Alchemist is a makefile generator, where the hell am I gonna need an extensive command line parser :v:
[b]New crafting system[/b] :buddy:
[media]http://www.youtube.com/watch?v=SfcSWFsVgG0[/media]
--
Me and Geel are working on a multiplayer system aswell. :3: You won't actually be playing with other players in the game, but your stats (leaderboard, etc) will be collected (if you play in multiplayer mode, that is) and shown on a site.
In MP your game is also saved serverside to your account, and it will have its own item list (will try to make it big :v:)
[QUOTE=Dj-J3;25589710][b]New crafting system[/b]
Me and [highlight][b]Geel[/b][/highlight] are working on a multiplayer system aswell ... [highlight][b]serverside[/b][/highlight] to your [highlight][b]account[/b][/highlight][/QUOTE]
[QUOTE=ddrl46;25589930][/QUOTE]
Not with files this time :v:
Using mysql.
[QUOTE=Dj-J3;25590109]Not with files this time :v:
Using mysql.[/QUOTE]
probably storing the mysql login detail in a txt file
My sister made a really shitty version of minesweepers with hardcoded 4x4 buttons and a not working indication how many mines are around a field and no victory or loose conditions. When I criticized it she said it only took her an hour and she hasn't been using Java for a long time yet. So I bet that I could make a much better version in C# (I don't have much experience with it) in under an hour.
It only took me 42.5 minutes:
[img_thumb]http://anyhub.net/file/1minesweeper.png[/img_thumb]
She refuses to pay though :argh:
[QUOTE=Robber;25590655]My sister made a really shitty version of minesweepers with hardcoded 4x4 buttons and a not working indication how many mines are around a field and no victory or loose conditions. When I criticized it she said it only took her an hour and she hasn't been using Java for a long time yet. So I bet that I could make a much better version in C# (I don't have much experience with it) in under an hour.
It only took me 42.5 minutes:
[img_thumb]http://anyhub.net/file/minesweeper.png[/img_thumb]
She refuses to pay though :argh:[/QUOTE]
At first I thought the picture was pathfinding or something. :v:
[QUOTE=Robber;25590655]My sister made a really shitty version of minesweepers with hardcoded 4x4 buttons and a not working indication how many mines are around a field and no victory or loose conditions. When I criticized it she said it only took her an hour and she hasn't been using Java for a long time yet. So I bet that I could make a much better version in C# (I don't have much experience with it) in under an hour.
It only took me 42.5 minutes:
-image snip-
She refuses to pay though :argh:[/QUOTE]
Way to be an asshole to a newbie programmer :v:
[QUOTE=jA_cOp;25590711]Way to be an asshole to a newbie programmer :v:[/QUOTE]
She agreed to the bet (at first) :saddowns:
And she isn't a newbie anymore. She started programming over a year ago and is best in her class.
[img]http://gyazo.com/ff359518cc478ea40e28799c3436f178.png[/img]
Taken out HU and TH. Put in bars. Yay. Can't figure out how to make it round to the nearest 10, though... ceil and floor only do decimals, right?
Divide by ten, round it, multiply by ten again
[QUOTE=iNova;25590468]probably storing the mysql login detail in a txt file[/QUOTE]
Passwords are stored in the MySQL table encrypted, and in order to update stats you need to go through an arduous process.
[QUOTE=geel9;25591911]Passwords are stored in the MySQL table encrypted, and in order to update stats you need to go through an arduous process.[/QUOTE]
So you're storing your MYSQL login details in a table in the database?
[QUOTE=Xeon06;25592014]So you're storing your MYSQL login details in a table in the database?[/QUOTE]
No, I'm storing user login details in the database.
[QUOTE=geel9;25591911]Passwords are stored in the MySQL table encrypted, and in order to update stats you need to go through an arduous process.[/QUOTE]
you dont get it
[QUOTE=geel9;25591911]Passwords are stored in the MySQL table encrypted, and in order to update stats you need to go through an arduous process.[/QUOTE]
Who the hell encrypts passwords? It's much easier to just hash them.
[QUOTE=jA_cOp;25590711]Way to be an asshole to a newbie programmer :v:[/QUOTE]
That's what brothers are for!
I just found out that MinGW has been throughly fucked up.
I'm a huge anti-MS-bandwagoner, and yet with this crap I almost feel like suggesting people to use MSVC rather than MinGW. Blah. Why'd they have to scrap their perfectly good installer and replace it with a half-manual installation system?
[QUOTE=Overv;25588721]I make icons and menus for programs or games I'll never actually make :v:.[/QUOTE]
I'm guilty of this too. :v:
[QUOTE=esalaka;25592521]Who the hell encrypts passwords? It's much easier to just hash them.[/QUOTE]
That's what I meant.
Tried to get into flash/flex/AS3/whatever today but didn't really work, now trying to force myself to work on not tetris.
Not working either.
:frown:
[QUOTE=Chris220;25591886]Divide by ten, round it, multiply by ten again[/QUOTE]
[img]http://gyazo.com/06c8aa266cf1bcc294b831a169437e10.png[/img]
Thanks. It works now. :3:
Glad to be of assistance
[QUOTE=BlkDucky;25591855][img_thumb]http://gyazo.com/ff359518cc478ea40e28799c3436f178.png[/img_thumb]
Taken out HU and TH. Put in bars. Yay. Can't figure out how to make it round to the nearest 10, though... ceil and floor only do decimals, right?[/QUOTE]
Useless tangent reply: in Oracle, you can do ROUND(num, -1) to round to the nearest 10.
[QUOTE=esalaka;25592720]I just found out that MinGW has been throughly fucked up.
I'm a huge anti-MS-bandwagoner, and yet with this crap I almost feel like suggesting people to use MSVC rather than MinGW. Blah. Why'd they have to scrap their perfectly good installer and replace it with a half-manual installation system?[/QUOTE]
This is what made me switch to MSVC. It is too much of a hassle to get working now. Though clang works pretty well with the MSVC runtime, as long as you aren't writing C++ (There's an issue caused by the use of the move operator and a typedef, which clang isn't able to comprehend. It's only two errors though, so I guess that's good :D)
[QUOTE=Maurice;25593237]Tried to get into flash/flex/AS3/whatever today but didn't really work, now trying to force myself to work on not tetris.
Not working either.
:frown:[/QUOTE]
I could help you with AS3 if you like.
I've been toying around with this idea of making a open lobby protocol for multiplayer games (lists available servers, optionally let's users chat, etc.), and possibly hosting a free lobby server. A lot of games could really use that, but only few people put up an entire server for a single game, having a open specification and a single server could solve that problem.
Basically, I came here to ask if you guys it would be a worthwhile project? :v:
After finally fixing the memory leak (not really fixed but oh well) and the CPU usage, but turns out I desperately NEED text to display numbers, but if I use text, it causes the memory leak.
So I really can't make games :frown:
Since SDL is horrible with text, does anyone know a good 2D library that can also display text?
Or even a library that's meant for text? :v:
[QUOTE=noctune9;25595647]I've been toying around with this idea of making a open lobby protocol for multiplayer games (lists available servers, optionally let's users chat, etc.), and possibly hosting a free lobby server. A lot of games could really use that, but only few people put up an entire server for a single game, having a open specification and a single server could solve that problem.
Basically, I came here to ask if you guys it would be a worthwhile project? :v:[/QUOTE]
This would be interesting if it could be used for open games that have no central servers.
[editline]24th October 2010[/editline]
Also, how about a P2P approach? :3:
[img]http://gyazo.com/d5661ad0183c9434215c0574f5c7476f.png[/img]
Making progress with TextCraft online! You can register, and all user data is stored in an SQL database, passwords are hashed, you need to go through a five-step process to save your game(Not very server intensive) so that it's near impossible to cheat. Logging in works, everything works except for the actual in-game functions. DJ is working on it now, saving and loading coming soon. The next step will be downloading items and recipes from the server but that shouldn't be hard.
Sorry, you need to Log In to post a reply to this thread.