Thursday, February 17, 2011

getting to the good stuff

After we chose what bug we would fix, we started looking through the code to find anything that related to the scan.  The bug was that when the player tried to scan an enemy, it would attack them and would not actually scan them.  We quickly fixed the problem concerning attacking the enemy when a scan is used.  There was actually an attack command under the scan enemy function.  We just got rid of this peice of code to fix that problem.  I believe that Jaime has found the solution to the other part of the bug.

Now that we have fixed the bug, we need to start thinking about what we can do to contribute to Fortune Hunter.  When I played the game, I thought that there was a serious need for improved graphics.  One of the characters was really pixelated and was see-through in parts of it.  Also, it does not react at all when it is attacked.  I would be interested in adding some sort of graphics element that made the game a little more interactive.  I think that this would be a feasible project for this semester.  We will see what the group decides.

Thursday, February 10, 2011

extermination

After attempting to build the project all weekend with no success and researching possible problems for hours, I got into the classroom and tried to show my teammates the problem, so I used the exact same terminal commands that I had been using all weekend....it worked on the first attempt!  In a way, it was frustrating, but I am really happy to have the project built.  Our project uses git, and it has a repository within the main repository called "fortune engine."  That was where my problem lay; I had to get the files from that repository by updating the git submodule using the terminal.  I kept getting the same error, which was something like "no socket available."  I researched what could cause this error, and the main consensus was that I had a firewall up that blocked the connection between my computer and the repository.  I'm not sure what it really was; it could have been as simple as my internet connection is too slow at home.

Whatever the issue was, I have the game running now.  To build the project, all you have to do is cd to the folder that contains the "MafhActivity" and run it by terminal using the "python MafhActivity.py" command.  Something that we thought was weird about the project was that we cannot see the whole game on our laptop screens, and the game cannot be resized.  We asked Jonathon (the Fortune Hunter guru) about this problem and he said that the game is made specifically for the XO laptops, and that is the resolution that they need.  He jokingly said that the only fix would be to get better computers... although I think that he was not joking.

Fortune Hunter only has two active bugs at the moment, so that made it easy for us to decide.  One of them was that once the player got into a certain dungeon, he couldn't move around in there.  We thought that this could be too difficult to find the source of the problem.  Instead, we chose the bug about the "scan" function.  Players have the ability to attack, perform magic, or scan an enemy.  The scan function should show the enemy's weakness and the number of hit points left.  However, when you scan now (which we have done now in the game) it instantly kills the enemy.  Not only does it attack when it should not, it doesn't even show the enemy's weakness or hit points left. 

We thought that this was a bug that we might be able to fix.  We have started looked at the source code that involves the scan function.  We found the def of scan in a python file.  It seems to be correct.  That means that the source of the problem is that the scan function is not actually called.  When the player hits the "scan" button, it must call attack or something.  That is our current theory, we shall know soon enough with further investigation.

Tuesday, February 8, 2011

Looking better

Things are starting to look better for four's company.  Originally, I was trying to build the fortune hunter project in netbeans, but after contacting one of the main developers, he said that he just runs the file mafhactivity.py, and that runs the game.  We tried this, but we got an error regarding one of the files called game engine.  When we looked in the game engine folder, there was nothing in it.  We asked John about this, and he said that this was an easy fix.  We just needed to do a git submodule update, and we would be able to run the game.  Everyone was able to run the game except for me!  I am going to ask my group for help updating the git submodule....   This should hopefully be a quick fix, and then we will be able to start looking for a bug that we would like to fix. 

I went to do the homework for the class today,  but for some reason the cs.cofc.edu was down, so I was not able to access that.  will blog about it after I can access the site again...

Tuesday, February 1, 2011

Rough Week

This has been a tough week for four's company.  Staci and I have been sick for the last few days, and Staci has had even more trouble with her computer.  Our team has not been able to meet and work on this deliverable together, so that has made things more difficult.  Four's Company have officially decided to work on Fortune Hunter, which is an educational RPG activity for Sugar OS.  We originally thought that this project was too complex for us to work on, but we will be able to manage will all of the support that Fortune Hunter offers.  We have all been trying to get the code and build our project on our own, and none of us have been able to complete this. We have all been able to get the code for the project.  I think that we have all done it in different ways.  Jaime used the terminal to get the code as well as Brittany, but she was able to do it in OSX. 

I was able to get the source from the GIT repository for our project.  It was fairly painless, once I signed into the repository, there was one button to get a ".tar" for the whole project.  I installed Netbeans with python plugin to try to build the project, but I have been unsuccessful.  Now that Staci and I are feeling better, We need to work on this together so that we can build our project.  We have now fallen a little behind, but I think that we will be able to catch up.