• What are you working on? V3
    2,001 replies, posted
[QUOTE=SteveUK;17724901][url]http://ssq.muffinz.eu/123.456.789.0:27015[/url] Plain text error message? It should be on an image.[/QUOTE] It requires first time to server be online in chance to add server, once server is added it will display normal 'server offline message' [img]http://ssq.muffinz.eu/img/88.222.145.234-27015.png[/img]
I tried hosting a project on Google Code and I have to choose an open-source license. Thing is, I don't really want my project to be open-source but Google Code really looks like the best project hosting site out there. Is there a license that allows people to see source code on a "see-how-it's-done" basis and doesn't allow them to just copy, rename and sell?
[QUOTE=Semas-LTU;17724970]It requires first time to server be online in chance to add server, once server is added it will display normal 'server offline message'[/QUOTE] But it should be a image which says something like "Invalid server specified", and not just plain text.
Doesn't Google projects give a SVN link for them to checkout a read only version of the code.
[QUOTE=Swedman;17725178]But it should be a image which says something like "Invalid server specified", and not just plain text.[/QUOTE] [img]http://ssq.muffinz.eu/45.842.154.84:27015[/img] Better? (i'm lazy so didn't add any style)
Wondering how to do animations with directx, specifically skinning. Is this all done in a vertex shader or something (i'm guessing you store weights or something per vertex and transform them according to bone matrix?)?
Yay PHP GD library and Last.FM [img]http://jakemadethis.com/php/lastfm-listening.php[/img] [img]http://i33.tinypic.com/2igewk8.png[/img] (This is a screenshot if the above doesn't work)
[QUOTE=Vampired;17725449]Yay PHP GD library and Last.FM (some images) (This is a screenshot if the above doesn't work)[/QUOTE] Quite nice, i will have to create something for JpaFm (one of my country internet radio servers)
[QUOTE=Xeon06;17725090]I tried hosting a project on Google Code and I have to choose an open-source license. Thing is, I don't really want my project to be open-source but Google Code really looks like the best project hosting site out there. Is there a license that allows people to see source code on a "see-how-it's-done" basis and doesn't allow them to just copy, rename and sell?[/QUOTE] No, Google Code hosting is open source only. [editline]12:33PM[/editline] I moved my issue tracking to [url=http://www.fogcreek.com/FogBugz/]FogBugz[/url]. They give you an email that people can send bugs to and it puts it into an issue. Then it emails them back a special link they can use to track the issue they submitted. You can also let users post issues anonymously, but there doesn't seem to be any way to ban users or otherwise control who can submit issues. The issue DB is always private though. It's free for up to two users.
[QUOTE=Stickmoose;17725347]Wondering how to do animations with directx, specifically skinning. Is this all done in a vertex shader or something (i'm guessing you store weights or something per vertex and transform them according to bone matrix?)?[/QUOTE] Nowadays it's usually done in a vertex shader, but you can do it in software if you want. You got it right.. for each vertex you store the bone it's attached to, and how attached to it (as fractions). Then in the vertex shader your vertex position is finalpos = vertex.pos * bonematrix[ vertex.bonenum[0] ] * vertex.fraction[0]; finalpos += vertex.pos * bonematrix[ vertex.bonenum[1] ] * vertex.fraction[1]; finalpos += vertex.pos * bonematrix[ vertex.bonenum[2] ] * vertex.fraction[2]; (fraction should add up to 1)
[QUOTE=garry;17725982]Nowadays it's usually done in a vertex shader, but you can do it in software if you want. You got it right.. for each vertex you store the bone it's attached to, and how attached to it (as fractions). Then in the vertex shader your vertex position is finalpos = vertex.pos * bonematrix[ vertex.bonenum[0] ] * vertex.fraction[0]; finalpos += vertex.pos * bonematrix[ vertex.bonenum[1] ] * vertex.fraction[1]; finalpos += vertex.pos * bonematrix[ vertex.bonenum[2] ] * vertex.fraction[2]; (fraction should add up to 1)[/QUOTE] Awesome, thanks for that. I'll see what I can cook up tonight
Getting there with PHP GD, custom fonts et al. [img]http://scottsserver.gotdns.com/secret/wow/image.php?s=eu&r=Dalaran&n=Ensidia[/img]
[QUOTE=Druchii;17728904]Getting there with PHP GD, custom fonts et al. [img]http://scottsserver.gotdns.com/secret/wow/image.php?s=eu&r=Dalaran&n=Ensidia[/img][/QUOTE] Noice. Wonder when I'll find the time to finish mine. Getting quite lazy.
[QUOTE=Marlamin;17728935]Noice. Wonder when I'll find the time to finish mine. Getting quite lazy.[/QUOTE] The ironic thing is... That guy is a Tauren Druid :P (Ignore the bad text in the middle, i'm just testing) Need to make some artwork of 300x100 for each Race. I already have human and night elf. Anyone feel like contributing? :P
[QUOTE=Druchii;17728972]The ironic thing is... That guy is a Tauren Druid :P (Ignore the bad text in the middle, i'm just testing) Need to make some artwork of 300x100 for each Race. I already have human and night elf. Anyone feel like contributing? :P[/QUOTE] Yeah I thought about doing artworks like that. Was thinking of the racial crest and some screenshot of the starting area. Also, having some problems with GD. It somehow disregards the text color I defined and just uses some random color from the background file. If I left [url]http://www.marlamin.nl/sig/bg.png[/url] empty it would just have a white color, and when I added the black text to the picture the text suddenly became black like it should. Anyone know what's wrong?
[QUOTE=Semas-LTU;17724970]It requires first time to server be online in chance to add server, once server is added it will display normal 'server offline message' [img]http://ssq.muffinz.eu/img/88.222.145.234-27015.png[/img][/QUOTE] What he is saying, is the image looks like shit. He should add a custom image for the non-added server. Also you mispelled [b]W[/b]rong.
Just add /[bg url] to the link for custom background.
[QUOTE=Blynx6;17729397]What he is saying, is the image looks like shit. He should add a custom image for the non-added server. Also you mispelled [b]W[/b]rong.[/QUOTE] No, what he was saying is that there is no image if the server wasn't added yet.
[QUOTE=Robber;17730034]No, what he was saying is that there is no image if the server wasn't added yet.[/QUOTE] What the hell is this then? [img]http://ssq.muffinz.eu/45.842.154.84:27015[/img]
[QUOTE=Blynx6;17730197]What the hell is this then? [img]http://ssq.muffinz.eu/45.842.154.84:27015[/img][/QUOTE] rong Testing out jQuery and jQuery UI, it's awesome.
More terrain stuff [img]http://www.cubeupload.com/files/95c00screenshot.png[/img] [media]http://www.youtube.com/watch?v=Y87IyE2d-IA[/media] All the shading and shadows is done on the CPU so it kind of runs like shit, but I'm just doing it for the looks.
[QUOTE=ZomBuster;17730554]More terrain stuff[/QUOTE] Those are some nice looking "muntains"
[QUOTE=ZomBuster;17730554]More terrain stuff All the shading and shadows is done on the CPU so it kind of runs like shit, but I'm just doing it for the looks.[/QUOTE] Lookin good
[QUOTE=a2h;17723068]JavaScript.[/QUOTE] ..more specifically? Are you using a jQuery plug-in or anything?
[QUOTE=bl4h;17732257]..more specifically? Are you using a jQuery plug-in or anything?[/QUOTE] No. Though I might rewrite it as one.
With these PHP image generator things, how do you make it so you can do this: [code]<img src="fetchimages.php" />[/code] and it loads the image. I can't figure it out.
[QUOTE=Blynx6;17733053]With these PHP image generator things, how do you make it so you can do this: [code]<img src="fetchimages.php" />[/code] and it loads the image. I can't figure it out.[/QUOTE] Did you use the header() function in fetchimages.php? Such as: [code]header('Content-Type: image/gif');[/code]
[QUOTE=bl4h;17733082]Did you use the header() function in fetchimages.php? Such as: [code]header('Content-Type: image/gif');[/code][/QUOTE] That would be why, no. [b]Edit:[/b] I added that and it still isn't working..I changed it to image/png. Should I be printing the image in php? [php]echo "<a href='$link'><img src=\"newimg.png\" /></a>";[/php]
I'm working on some stuff to make my app be able to auto update itself. On the server: [php] <?php $curver = "6.0.0.1"; if(isset($_GET['getexe'])){ // We'll be outputting an EXE header('Content-type: application/exe'); // Set its name and make a download window popup header('Content-Disposition: attachment; filename="app_' . str_replace(".","-",$curver) . '.exe"'); // Where to get it from readfile('http://todo/path_to/new_application.exe'); die(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <? if($_GET['version'] == $curver){ echo "<title>true</title>"; }else{ echo "<title>false</title>"; }?> </head> <body style="font-family:Arial, Helvetica, sans-serif;"> <?php echo "Current Version: " . $curver . "<br> You are running: " . $_GET['version'] . "<br>"; if($_GET['version'] == $curver){ echo "You are up-to-date!"; }else{ echo "You are running an outdated version;<br> Click the button below to update. (Requires internet)"; } ?><br /><br />Created by Cas97 </body> </html> [/php] On the app ([i]Yes, it's Visual Basic.Net[/i]) [code] Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted Me.Text = "Done checking" If (My.Computer.Network.IsAvailable) Then '(hide loading label code here) If (Me.WebBrowser1.DocumentTitle.ToString = "true") Then Me.Button1.Text = "Continue" ElseIf (Me.WebBrowser1.DocumentTitle.ToString = "false") Then Me.Button1.Text = "Update" 'stuff Else MsgBox("Error") End If Else Me.WebBrowser2.DocumentText = "<style>body{font-family: Arial;}</style><center>Error: No internet connection</center>" Me.Button1.Text = "Continue" End If End Sub [/code] Edit: Wait it gives error because I'm not checking it right
Currently working on a little networked game for my friends and I to mess around with. We have a D&D group that gathers every thursday. However, we're often unable to play test recent revisions to our characters (levels, new characters, etc), without all getting together. So to solve this, I'm writing a program in C++ and utilizing SFML to simulate an encounter over a network. It's coming along. Nothing to show for progress yet though.
Sorry, you need to Log In to post a reply to this thread.