- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
35 Posted Topics
Re: If a game isn't your goal, but just an interactive 3D model of a house, there are several software programs that do this for you so you can arrange furniture, plan for extensions, etc. Just do a search at [URL="http://download.cnet.com"]download.cnet.com[/URL] for 3D floor plan or 3D home design, and you'll … | |
Re: Hello [b]oamsath[/b]. Congratulations on your approaching graduation, and I really like your idea for a game programming language. If you can make it work, it would certainly be a welcome addition to the existing options out there. By your description (and I'll admit, my programming skills are limited to more … | |
Re: Instead of trying to jump right into programming a game after just reading through the introductory materials, try creating a piece of something you might find in a game. For example, you probably learned about how to create simple 2D shapes on the screen (circle, line, box, etc), why not … | |
Re: If you're in communication with the game developer, why wouldn't you just ask him/her how to make the changes you're trying to make? Unfortunately, there is no "industry standard" for how saved games are stored on the hard drive. The developer could be using any of a dozen common formats, … | |
Re: A game is an entire package. Presentation, graphics, playability, and [I]re[/I]-playability. I don't think anyone chooses a game for just one or two of those reasons. They all factor in a little, but I think the more successful games will have a solid gameplay first and foremost before adding the … | |
Re: I'm curious why you are daisy-chaining all these scripts together this way? One spawns another which spawns another. Is there a reason all of this can't be done in a single script using subroutines? Also, [b]d5e5[/b] is right on with testing your opens. Here's a simple example: [code] open(INPUT,">/users/$login/input") or … | |
Re: The answer to your question will be dependent on the capabilities of your volunteers. You will want to pick a platform that matches their strengths. For example, if your artist prefers working with 3DS Max, you'll probably want to find an engine that works best or natively with .3ds models. … | |
Re: From your example data set, it looks to me like the only data that's 'vertical' are the column names. If those are static (they never change), why don't you just count the fields in each line? Using your sample data above, for example: [CODE] #!/usr/bin/perl -w $datafile = shift @ARGV; … | |
Re: If you're already familiar with C++ and you're just starting game programming, you might want to try the Dark GDK from the Game Creators [URL="http://www.thegamecreators.com/?m=view_product&id=2128"]http://www.thegamecreators.com/?m=view_product&id=2128[/URL]. It dramatically simplifies the game development process for lone wolf developers, and will give you a great introduction to the world of game development. | |
Re: [url=http://www.ogre3d.org/]Ogre3d[/url] [url=http://irrlicht.sourceforge.net/]Irrlicht Engine[/url] [url=http://www.panda3d.org/]Panda 3d[/url] ... [url=http://lmgtfy.com/?q=free+open+source+game+engine+c%2B%2B]I'm sure there are more[/url] | |
Re: How is this script being called? Is it a CGI script, or is it being called in some kind of GUI? As I understand it, you can't just print an image to the command line as it's not a graphical interpreter, so you must be calling this in some other … | |
Re: If you're in *NIX you can do this same thing with one line: [code] $ perl -ni.bak -e 'print unless $_ !~ /^HPL_/;' datafile [/code] This will create a backup of your data file (called "datafile.bak") and will modify the original by stripping out all lines that do not begin … | |
Re: I'm gonna suggest [url=http://www.thegamecreators.com/?m=view_product&id=2128]Dark GDK[/url] if you're new to game programming. It's really good for solo developers to have total control over the game design, look, and feel without bogging you down with so many details that good quality games these days require. Seriously, unless you are [i]intimately[/i] familiar with … | |
Re: Here's an example that will take all the files from the directories specified and move them to a new directory: [code] #!/usr/bin/perl -w use File::Copy; @dirs_of_interest = ('/home/user/data1', '/home/user/data2', '/home/user/data3'); $new_location = '/home/user/data4'; foreach $dir (@dirs_of_interest) { opendir DIRH, $dir or die "Couldn't open $dir: $!\n"; foreach $file (sort readdir … | |
Re: There used to be a tool called perlcc that was included with each Perl version to compile scripts into executable binaries, but it never really worked very well, and it was excluded from Perl as of version 5.10. I don't know of any reliable way to create compiled binaries of … | |
Re: I think the only book you'll ever need for Perl is [b][u]Programming Perl[/u][/b] by Larry Wall, Tom Christansen and Jon Orwant. I've read dozens of Perl books, and all the information in every one of them can be found in Programming Perl [i]somewhere[/i]. | |
Re: Do you have a specific question on how to do this, or are you just asking someone to write the script for you? | |
Re: Instead of trying to figure out how to get a Linux system to connect to a phone with Perl, why not think of simply getting the phone to run the Perl script on the Linux system when you send an MMS or email from the phone? For example, if you … | |
Re: You would need something to handle the data from your form. Your form should have an "action" attribute specified which defines where to send the data. I don't think you can send it back to the JavaScript form, because JavaScript has to be executed by the browser. Therefore, you'll need … | |
Re: I would need some more information on your input file. Is the data file always only 4 lines long, or can there be more lines? If there are more lines, are they always grouped together in sets of 4? Are those lines always in the same order (ESS, SESS, SEFSS, … | |
Re: I'm not sure I understand what you're asking. Perl can be used to send lots of different signals to just about any device that can receive them. If you're asking if Perl runs on any mobile devices, it absolutely does. iOS, Android, and webOS are all starting from a Linux … | |
Re: Hmm...actually, something here strikes me as odd. [code] print $arr[$0]; [/code] $0 is a special variable in Perl equal to the name of the source file for the program running. I just created the script below, named the file "2", and ran it: [code] #!/usr/bin/perl -w @arr = ('a','b','c','d'); print … | |
Will the instructions you provided earlier work on the XP version of the "XP Antispyware 2010" malware, [B]crunchie[/B]? I'm helping a family member who got hit with basically the same malware. I followed your instructions and after the two scans and got the following MBAM and and OTL logs: [B]MBAM[/B] … | |
Re: You could do this with the no-script chain-saw approach: [code] perl -pi.bak -e 's/host\-ip 5\\\.3\\\.220\\\.101/host\-ip 5\.3\.220\.102;' c:\ips-test\*.txt [/code] :D | |
Re: Actually, I think [B]zortec[/B]'s post was exactly what you asked for. It is a PERL script that rolls craps. It actually does 1000 iterations of craps and then gives you the statistics of how you did. You didn't specify you were looking for an [I]interactive[/I] version of craps. :) You … | |
My company is retiring an online document warehousing application that stored lots of text data. The application stored the data in a folder hierarchy that looked just like a Windows folder tree. I'm trying to replicate that hierarchy on a UNIX file system, but the tools provided with the application … | |
I've recently been elevated in my team to a lead position, and one thing I have identified as a problem is that we don't have any existing curriculum or program for teaching programming to those members on our team without programming experience. There seems to be a barrier to people's … | |
Re: It sounds like you're new to the database world, but you may benefit from a data modeling tool to help you conceptualize how the database will operate, and to identify things that could use some normalization. I know some who use Visio for some rudimentary schema design, but [url=http://www.toadsoft.com/toaddm/toad_data_modeler.htm]Toad Data … | |
I'm having a devil of a time trying to insert a Windows UNC share into my MySQL database. The DBI quote function doesn't seem to be behaving as I would expect. Here's a little example: [code=perl] #!/usr/bin/perl -w use DBI; my $unc = '\\somebox.somehost.com\someshare'; my $dsn = "DBI:mysql:cmdb;localhost"; my $dbh … | |
I have a set of information about customer environments (as a contractor providing services), and I need to create something to keep track of each customer's environment configuration. The data being gathered is very heirarchical in nature. For example: customer: bob's tv repair --environment: unix print ----printers ------printer1 --------attrib1 --------attrib2 … | |
Re: For different versions of UNIX, usually nothing. You will have to make sure that any modules you use in your script on one system are present in the next system for them to work. Modules will also be your biggest problem working between the Windows and UNIX platforms. Some modules … | |
Re: To capture the exit code, just test the value of $?. This is an alias for the $CHILD_ERROR special variable, and this variable will contain the exit code for the last system() call or backticks call. | |
I have a site that I created some time ago that has been operating just fine until today. It seems that today, variables I am passing as post (in the URI) don't seem to be acknowledged by my script. Here is a sample URL: [url]http://www.somehost.com/edit_post.php?id=14[/url] I used to be able … | |
I humbly request assistance from the Internet Nasty gurus on a pesky little malware/adware thing that I stupidly introduced to my system by doing something I KNOW I shouldn't have done (but did anyway). Symptoms: 1. Norton AV keeps coming up with: [IMG]http://www.m00k.net/images/threat.jpg[/IMG] and [IMG]http://www.m00k.net/images/threat_note.jpg[/IMG] 2. I keep getting IE … | |
Hi all. New to the site, and it looks grand. I ran across it searching for suggestions on clearing out the AntiSpyLab parasite/hijacker for a family member. Looks like I'm in the right place. It also seems like the first step is to post a HijackThis log. Here goes: Logfile … |
The End.