Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: No Recruit Limit  (Read 2457 times)

The Scout

  • Bay Watcher
  • ?????
    • View Profile
Re: No Recruit Limit
« Reply #15 on: February 03, 2010, 07:09:44 pm »

I guess I'll have to stick to kidnapping.  :-\
Logged
Whatever you do, don't agree to stop looking at pornography or getting help from Jesus.
"mind if I sig this"
 - Person who isn't actually going to put that in their sig

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: No Recruit Limit
« Reply #16 on: February 03, 2010, 07:16:59 pm »

I'd suggest just getting some juice for your Liberals, since the recruit caps are based on juice.

Actually, if you're willing to make the changes yourself, I sent this "crash course" for retrieving, editing, and compiling the source code for LCS to Cheddarius last night after he PMed me about it:

Okay, you're on Windows, so I suggest that you download two programs.

First, Microsoft Visual Studio C++ Express, which can be picked up here:

http://www.microsoft.com/express/Downloads/#%20

Second, Tortise SVN, which can be picked up here:

http://tortoisesvn.net/downloads

Once you have Tortise SVN, you'll have a new option on your right click menus when you're in Windows Explorer, listing SVN options. Create a new folder somewhere, called Liberal Crime Squad Source Code or something like that. Then, right click on it or in blank space in it and select "SVN check out" or something named similarly in the drop down menu.

A pop up will give you options. The key one is the one listing where the repository is located online. You want to give it this URL:

https://lcsgame.svn.sourceforge.net/svnroot/lcsgame/trunk

It will download a mess of files into the folder you just created. This is the source code and supporting developer files for Liberal Crime Squad.

Inside the /src subdirectory you can get a lot of .cpp and .h files, which can be edited with any text editor -- those are the C++ code files -- but that's a huge pain and you can't compile with any old text editor, so this is where Visual Studio comes in.

Instead of the /src subdirectory, enter the /workspaces subdirectory, where you will find a number of Visual Studio C++ project files. Double clicking the .prj or .sln (or similar extension, I'm going by memory -- they stand for project and solution) will open up Visual Studio and load in the project.

You will get two errors that don't matter, but once you click past those, you'll have a huge list of all the source code on the right side. You can browse through these files and edit in the middle. When you're ready to test, press the green arrow at the top of the screen and it will compile the newly changed program into a .exe and then run the program, so you can test your changes.

Some of your changes will inevitably cause the compilation to fail. Don't worry, that's normal, even for extremely experienced coders. You just need to look at the error at the bottom of the screen and determine what went wrong, then change the code to fix it and clarify what you meant. Visual Studio is probably the most used compiler in the world, so if you can't understand its error message, try googling it.

If there are hundreds and hundreds of errors, it's probably just a missing semicolon or one of those curly braces somewhere. Seriously.

I strongly recommend making changes in small batches and then testing them so you know they work before moving on. Coding lots of stuff and only then compiling is a huge headache when you have fifty errors to work through.

Good luck, and let me know how it goes!

Jonathan
Logged

Capital Fish

  • Bay Watcher
  • "Hi Mister Dog!"
    • View Profile
Re: No Recruit Limit
« Reply #17 on: February 03, 2010, 10:23:17 pm »

I'd suggest just getting some juice for your Liberals, since the recruit caps are based on juice.

Actually, if you're willing to make the changes yourself, I sent this "crash course" for retrieving, editing, and compiling the source code for LCS to Cheddarius last night after he PMed me about it:

Okay, you're on Windows, so I suggest that you download two programs.

First, Microsoft Visual Studio C++ Express, which can be picked up here:

http://www.microsoft.com/express/Downloads/#%20

Second, Tortise SVN, which can be picked up here:

http://tortoisesvn.net/downloads

Once you have Tortise SVN, you'll have a new option on your right click menus when you're in Windows Explorer, listing SVN options. Create a new folder somewhere, called Liberal Crime Squad Source Code or something like that. Then, right click on it or in blank space in it and select "SVN check out" or something named similarly in the drop down menu.

A pop up will give you options. The key one is the one listing where the repository is located online. You want to give it this URL:

https://lcsgame.svn.sourceforge.net/svnroot/lcsgame/trunk

It will download a mess of files into the folder you just created. This is the source code and supporting developer files for Liberal Crime Squad.

Inside the /src subdirectory you can get a lot of .cpp and .h files, which can be edited with any text editor -- those are the C++ code files -- but that's a huge pain and you can't compile with any old text editor, so this is where Visual Studio comes in.

Instead of the /src subdirectory, enter the /workspaces subdirectory, where you will find a number of Visual Studio C++ project files. Double clicking the .prj or .sln (or similar extension, I'm going by memory -- they stand for project and solution) will open up Visual Studio and load in the project.

You will get two errors that don't matter, but once you click past those, you'll have a huge list of all the source code on the right side. You can browse through these files and edit in the middle. When you're ready to test, press the green arrow at the top of the screen and it will compile the newly changed program into a .exe and then run the program, so you can test your changes.

Some of your changes will inevitably cause the compilation to fail. Don't worry, that's normal, even for extremely experienced coders. You just need to look at the error at the bottom of the screen and determine what went wrong, then change the code to fix it and clarify what you meant. Visual Studio is probably the most used compiler in the world, so if you can't understand its error message, try googling it.

If there are hundreds and hundreds of errors, it's probably just a missing semicolon or one of those curly braces somewhere. Seriously.

I strongly recommend making changes in small batches and then testing them so you know they work before moving on. Coding lots of stuff and only then compiling is a huge headache when you have fifty errors to work through.

Good luck, and let me know how it goes!

Jonathan

Thank you! I've been trying to figure this out on my own for ages (I'm rather thick when it comes to these things). Reading your post has officially made my month.
Logged
Find the errors in the above post and win a prize!
Pages: 1 [2]