Cos-Arena
« Cos-Arena Manager #1 »

Welcome Guest. Please Login or Register.
Dec 27, 2009, 10:54pm




Cos-Arena :: Battle Information :: Cos-Arena Manager :: Cos-Arena Manager #1
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Cos-Arena Manager #1 (Read 454 times)
netrage
Chaos Mage
***
member is offline





Joined: Apr 2006
Gender: Male
Posts: 30
Karma: 2
 Cos-Arena Manager #1
« Thread Started on Aug 9, 2006, 10:41am »

Yes, the program now has an Official Name ( by official we mean that we finally have decided what to call the thing...) Cos-Arena Manager.
Here I will post the Python scripts for the program, along with any configuration files and other files that go along with it. Please note that for the time being it will require the user to have the most recent version of Python to run, at least until I get it to compile into a binary (it's harder than you would think).

The Cos-Arena Manager is also going to carry a Creative Commons License.

[image] Here!
« Last Edit: Aug 10, 2006, 10:06am by Saturn »Link to Post - Back to Top  IP: Logged
netrage
Chaos Mage
***
member is offline





Joined: Apr 2006
Gender: Male
Posts: 30
Karma: 2
 Re: Cos-Arena Manager
« Reply #1 on Aug 9, 2006, 3:47pm »

Here is my first Public Release of Cos-Arena Manager!!

http://www.personal.kent.edu/~ewalch/CosArenaManager/CosArena%201.2.py
Note: You might want to right-click and Save As. Saving it once the browser has opened the file may render it unusable :'(

Release Notes:

1st Stable public release of Cos-Arena Manager
Allows Attacks, Magic, Summons, Limitbreaks and Items
Magic types are Poision, Paralysis, Confusion
Items are Potion, Antidote, Resurrection
Magic, Summons and Limitbreaks can be used on a Team
All values except for HP are hard coded into the program

Things working on for next release:
Moving value to a config file
Show random number generation before command entry
External Flash swf show stats
Keep all player numbers the same
Implement a Defense Magic

Things working on for the near future:
Interactions with a MYSQL database
Link to Post - Back to Top  IP: Logged
netrage
Chaos Mage
***
member is offline





Joined: Apr 2006
Gender: Male
Posts: 30
Karma: 2
 Re: Cos-Arena Manager #1
« Reply #2 on Dec 7, 2006, 8:59am »

It looks like there might be a delay for the next version of the Cos-Arena Manager software, I am currently working on a version of it for Ohayocon incase we still make it in. The new version will be just for Cos-Arena: Summoners, but will be integrated into the Manager software sometime int the future.
Link to Post - Back to Top  IP: Logged
Saturn
Chaos Mage
***
member is offline

[avatar]

[yim] [aim]
[homepage]

Joined: Mar 2006
Gender: Female
Posts: 177
Karma: 14
 Re: Cos-Arena Manager #1
« Reply #3 on Dec 9, 2006, 11:58pm »

*lol* I didn't have on the site that we were in Ohayocon but oh well. I'm forming this site mostly just for our use since no one is here any more anyway and we'll probably be using it more.
Link to Post - Back to Top  IP: Logged

[image]
netrage
Chaos Mage
***
member is offline





Joined: Apr 2006
Gender: Male
Posts: 30
Karma: 2
 Re: Cos-Arena Manager #1
« Reply #4 on Mar 12, 2007, 8:01am »

Since Ohayocon I've been redoing the CosArena manager program a lot. Its been split into separate files and I've added functions to sync it with a database to keep track of players stats. I'm also working on adding a gui to it so that its easier to use. Right now it connects to a database, but it doesn't update anything really. I'm still finishing up some of the restructuring of the program, I need to change how the base stats are set and some stuff like that. I'm hoping to have all that done by the end of the week, work and class permitting.

I'm hoping to get some Gui stugg done by the end of next week and a full Gui in 3 weeks.
Link to Post - Back to Top  IP: Logged
netrage
Chaos Mage
***
member is offline





Joined: Apr 2006
Gender: Male
Posts: 30
Karma: 2
 Re: Cos-Arena Manager #1
« Reply #5 on Mar 19, 2007, 10:12am »

Goal Has been met!

CosArena Manager now updates user info in the database at the end of the match.

I also cleaned up quite a bit of the code, including an error where the who program would crash if you just entered one letter and no player for a command.

The next goal it to give it a GUI.
Link to Post - Back to Top  IP: Logged
netrage
Chaos Mage
***
member is offline





Joined: Apr 2006
Gender: Male
Posts: 30
Karma: 2
 Re: Cos-Arena Manager #1
« Reply #6 on Jun 4, 2007, 8:10am »

OK!

I've been working on a gui for for the past month or so and have it working. Right now it does everything the original game did but doesn't automatically create players in the database. I'm going to post the new version of the game asap, I just need to add an option to disable the database for testing purposes. I have opened up the mysql database on my laptop so anyone testing the game can connect to my computer, but I have a dynamic ip address, so I'll have to post my address everytime it changes.
Link to Post - Back to Top  IP: Logged
netrage
Chaos Mage
***
member is offline





Joined: Apr 2006
Gender: Male
Posts: 30
Karma: 2
 Re: Cos-Arena Manager #1
« Reply #7 on Jun 4, 2007, 11:31pm »

Yay! new version of the CosArena manager! i'm moving it up to somewhere around1.6, I'm not very good at keeping track of the version. I remembered to add the source files for the mysql
extentions, there is an egg file for python 2.5, but I would suggest using python 2.4 because I don't know if the setup.py file is the correct file.

http://www.cs.kent.edu/~ewalch/src1.6.rar

Install the mysql module, extract the files and run the init.py script.

it does database lookups by connecting to the mysql server on my laptop. It doesn't add players if they arn't in the db, just displays an error message. I will get all the settings and the changes sarah made to the game while I'm on vacation.

if you want to see scores, I would suggest opening the gamestats.swf file.

-netrage
« Last Edit: Jun 4, 2007, 11:33pm by netrage »Link to Post - Back to Top  IP: Logged
nostalgic
Green Chocobo
***
member is offline

[avatar]



Joined: Apr 2006
Gender: Male
Posts: 49
Location: Bowling Green, OH
Karma: 17
 Re: Cos-Arena Manager #1
« Reply #8 on Jun 19, 2007, 8:08pm »

The MySQL for Python page does have the setup file for Python 2.5 as a Windows executable. I used that to install the MySQL module.

I think opening gamestats.swf is a requirement more than a suggestion if you want to see the status display at all. :) Also, it took me a while to figure out how to open it. Thankfully Firefox has a Flash plugin, so I was able to open it in my browser.

The status display sometimes shows the wrong player as being current. When I started a game, on two occasions player 4 was shown as the beginning player, and on a third player 2 was shown as the beginning player. The manager correctly started with player 1.

The manager did not follow the proper turn sequence. It appears that the current sequence is 1-4-3-6-5-2.

It is possible to pass one's turn. In the screen from which you choose a player to attack, you can click Next without picking a player.

You can attack players that are already knocked out. Group attacks continue to affect those who are knocked out.

There's no "game over" point. All three members of one team had been defeated but the game kept going. This enabled me to have one player resurrect himself. :)

Reducing players to under 0 HP did not mark them as dead in the status display. This happened upon casting a summons against a team all low on HP.

There are no limits on summoning multiple times within the same cycle. I could have two players on the same team cast two consecutive summons.

I could use a potion on a player having 0 HP. While this increased to player's HP to 50 and changed the status to Dead in the status display, in the Python window the HP of the next player on the same team was reported, even though it wasn't changed.

All of the above should be taken with a grain of salt. I am using Python 2.5, so maybe there's some weirdness due to that. I also may not have the right version of Flash, maybe I'm not supposed to run the status display in Firefox, etc. However, the above is what I found with some playing around. Granted, part of it was trying to do things against the rules to make sure the system prevents them from happening.
Link to Post - Back to Top  IP: Logged
netrage
Chaos Mage
***
member is offline





Joined: Apr 2006
Gender: Male
Posts: 30
Karma: 2
 Re: Cos-Arena Manager #1
« Reply #9 on Jun 19, 2007, 11:03pm »

I'm glad they finally made an executable install for the mysql for python 2.5.
you should have been able to just double click the .swf file for the gamestats, it will work regardless. I did forget about the gameover state, It will be an easy thing to add. The funny player start is something that I fixed after I posted your version, It randomly chooses the first player which is why is seemed to act funny, but there was some bug with it switching up the current player when it wrote to the flash file. Anyhow.... its fixed. There is a bug where the player order is kind of funny, but I'm not too worried about it, the flash file and the game match. ^_^;
I never thought about the skipping a players turn, I should fix that. I also want to add a back button.
I forgot about the one summons per round thing, so I'll have to add that. I know the group attacks still affect the "dead" people, it doesn't really affect the game though, ressurection simply sets the hp to 100.
I think I know why it didn't set the dead state in the flash file, but I think I fixed that by accident.
The potion on the dead player - I didn't bother putting a restriction on it because they would still be dead no matter how much HP you give them.
Python 2.5 is fine for running the game, the only reason I suggested 2.4 was because there wasn't an executable for the mysql class for 2.5 for a while.
I will probably post another version in a day or so, right now I created another problem where dead people don't give up their turn, they keep on fighting. I think they are just really into the game.....
Link to Post - Back to Top  IP: Logged
   [Search This Thread][Send Topic To Friend] [Print]

Google
Webcosarena.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!