SilentScope001 Posted April 11, 2007 Share Posted April 11, 2007 First, good news: I found an MMORPG generator. I can now generate MMORPGs. Bad news: You need perl to use it. Good news: There is a script that generate perl scripts for you. So I used it. Uber-Bad News: MEGG Files and Permissions The following files are required in the following directories /cgi-bin/yg/*.pl Executable 755 All perl scripts should have their permissions set to be executable /cgi-bin/yg/login.log r/w(666) record of logins, can be an empty file but must exist /cgi-bin/yg/hall.log r/w(666) log of top players, can be an empty file but must exist ...Er...for anyone that knows Perl, how do I set all perl scripts to be executable? Please, if you can help me, thanks. Link to comment Share on other sites More sharing options...
Det. Bart Lasiter Posted April 11, 2007 Share Posted April 11, 2007 First, good news: I found an MMORPG generator. I can now generate MMORPGs. Bad news: You need perl to use it. Good news: There is a script that generate perl scripts for you. So I used it. Uber-Bad News: ...Er...for anyone that knows Perl, how do I set all perl scripts to be executable? Please, if you can help me, thanks. What OS are you using and what version of Perl are you using? Link to comment Share on other sites More sharing options...
tk102 Posted April 11, 2007 Share Posted April 11, 2007 What jmac said. I assume also that you will be running the MMORPG on some flavor of web server? If you haven't installed Perl yet, you'll need to do that before the perl scripts can be interpreted. With Apache, by default, first line of any script that starts #! (shbang) that is in your cgi-bin folder will be interpreted as Perl and Apache will use that to find the perl interpreter. So if you have Perl installed in c:\perl then the shbang line at top of the perl script should look like #!c:/Perl/bin/perl.exe If you're running Windows with Apache and would rather have Windows do the interpretation of .pl -> perl.exe handling, you'll need to associate the .pl file extension with perl.exe in Windows Explorer -> Folder Options -> File Types. And then you'll have to uncomment (remove the #) from the line in Apache's httpd.conf that begins: #ScriptInterpreterSource registry With IIS, you'll have to assign the .pl extension to be mapped to perl.exe -- with IIS 5 this is buried in the Home Directory tab -> Configuration button -> Application Mappings. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.