Re: [Audyssey] jim kitchen's nfl football

2011-04-23 Thread Thomas Ward
Hi Hayden, Absolutely. There are three huge advantages of classes over data structures which is Privatization, inheritance, and polymorphism. Those are the technical terms for them, and I'll quickly explain them below. With data structures, a struct, everything inside that struct is public. I.E.

Re: [Audyssey] jim kitchen's nfl football

2011-04-23 Thread Thomas Ward
Hi Jim, Hmmm...I'm pretty sure VB 6 does have object serialization. However, as how too do it I honestly don't remember. Its been too many years to remember VB 6 clearly. I do know that VB .Net definitely does because I've used serialization many times in both C@# .Net and VB .Net applications.

Re: [Audyssey] jim kitchen's nfl football

2011-04-22 Thread Thomas Ward
Hi Jim, Right. I see your point. Well, one of the reasons I use classes is that it simplifies that reading and writing game files quite a lot. I don't know how much you know about object oriented programming/design but a class is a fansy name for a collection of related variables. For instance, a

Re: [Audyssey] jim kitchen's nfl football

2011-04-22 Thread Jim Kitchen
Hi Thomas, I definitely see how a Class and being able to just write the class to a file and it automatically writes all of the information (variables) in that class would come in handy and be easy to use. I do not know if VB6 would do that. TGIF and BFN Jim I like Visual Basic 6.0

Re: [Audyssey] jim kitchen's nfl football

2011-04-22 Thread Hayden Presley
: Friday, April 22, 2011 1:17 AM To: Gamers Discussion list Subject: Re: [Audyssey] jim kitchen's nfl football Hi Jim, Right. I see your point. Well, one of the reasons I use classes is that it simplifies that reading and writing game files quite a lot. I don't know how much you know about object

Re: [Audyssey] jim kitchen's nfl football

2011-04-21 Thread Jim Kitchen
Hi Thomas, As I do not create classes or anything like that, a simple text file is the easiest way to write and retrieve data, it is just Open homer.cfg For Output As #1 Print #1, nv(1) Close #1 Open homer.cfg For Input As #1 Input #1, nv(1) Close #1 or like Open homerrec.txt For Output

Re: [Audyssey] jim kitchen's nfl football

2011-04-20 Thread jason
Yes that's true I had that happen to me numerous times. On 4/19/2011 7:25 AM, Jim Kitchen wrote: Hi Jason, You know though, if it is like third down and over a dozen yards I would highly recommend the short pass defense. They may get a few yards with a run, but almost never enough for a

Re: [Audyssey] jim kitchen's nfl football

2011-04-20 Thread jason
Ok Jim no problem yeah I known what you mean I am not a developer but there is time to learn I amjust a tester and a user of software. On 4/19/2011 7:25 AM, Jim Kitchen wrote: Hi Jason, No, sorry, but the team names are hard coded into my game. So there is no text file or anything like that

Re: [Audyssey] jim kitchen's nfl football

2011-04-20 Thread Hayden Presley
] On Behalf Of jason Sent: Wednesday, April 20, 2011 1:30 AM To: Gamers Discussion list Subject: Re: [Audyssey] jim kitchen's nfl football Yes that's true I had that happen to me numerous times. On 4/19/2011 7:25 AM, Jim Kitchen wrote: Hi Jason, You know though, if it is like third down and over

Re: [Audyssey] jim kitchen's nfl football

2011-04-20 Thread Jim Kitchen
Hi Thomas, Yep, but people do like to customize the games. So in my games like golf and monopoly I wrote separate programs for people to use to create the text slash data files so that they were not just editing a simple text file. And then if you make those files binary rather than simple

Re: [Audyssey] jim kitchen's nfl football

2011-04-20 Thread Jim Kitchen
Hi Thomas, Yes, it is not easy being a Cleveland sports fan. The Browns have never even made it to the Super Bowl, the Indians have been to the World Series twice in my life and lost both times, and don't even get me started on the Cavs and L. James. grin It's probably a good thing that no

Re: [Audyssey] jim kitchen's nfl football

2011-04-20 Thread Jim Kitchen
Hi Hayden, Yes, pretty much. There is a tiny tiny bit of A I written into the computer team's defense, but only a tiny tiny bit. It is also pretty much the same for the offence, that is if you out guess the computer's defense, you do well. If not you don't. BFN - Original Message

Re: [Audyssey] jim kitchen's nfl football

2011-04-20 Thread Thomas Ward
Hi Jim, Yeah, I know. The easiest way to save and read data is to serialize it. Unfortunately, as you pointed out, if you use a binary file like that the end user can't edit it, but its the easiest way to save and retrieve data from a programming perspective. Unfortunately, if you use a text file

Re: [Audyssey] jim kitchen's nfl football

2011-04-19 Thread Jim Kitchen
Hi Kevin, Cool, I'm glad that helped and that you've got my football game running again. Thanks for letting me know. BFN Jim If it's fixed, don't break it! j...@kitchensinc.net http://www.kitchensinc.net (440) 286-6920 Chardon Ohio USA --- Gamers mailing list __ Gamers@audyssey.org If

Re: [Audyssey] jim kitchen's nfl football

2011-04-19 Thread Jim Kitchen
Hi Thomas, Yeah, the differences in rules, schedule and playoff brackets etc is probably why mainstream football video games are either NFL or college, but never both in the same game and switchable. They are just too different. BFN Jim To every rule there's an exception vice versa.

Re: [Audyssey] jim kitchen's nfl football

2011-04-19 Thread Jim Kitchen
Hi Thomas, I did not know how to detect or trap the alt f4 key combination until recently, so only maybe one of my games has the VB6 Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) So none of my games are going to do all of the cleaning memory etc if one uses the alt f4

Re: [Audyssey] jim kitchen's nfl football

2011-04-19 Thread Jim Kitchen
Hi Thomas, Yeah, I had a dos football game named Field General. It also had so many different play options that even though I sort of knew what most of them basically were, it was still just too much. But I do know that my football game does not quite have enough different play options. I

Re: [Audyssey] jim kitchen's nfl football

2011-04-19 Thread Jim Kitchen
Hi Jason, No, sorry, but the team names are hard coded into my game. So there is no text file or anything like that that you can change to change the names of the teams in the game. I could do that if I ever do release a new version of the game. However you would not believe how much more

Re: [Audyssey] jim kitchen's nfl football

2011-04-19 Thread Jim Kitchen
Hi Jason, You know though, if it is like third down and over a dozen yards I would highly recommend the short pass defense. They may get a few yards with a run, but almost never enough for a first down in that situation. And yeah, the blitz can work great, but like if they run a screen pass

Re: [Audyssey] jim kitchen's nfl football

2011-04-19 Thread Thomas Ward
Hi Jim, That makes sense. I have sometimes pulled off a first down by a short pass offense or a long pass offense so it makes complete sense that is exactly what the aposing team would do if they are on a third down and 12 yards to go. Those are long odds, but they can be b beaten with a

Re: [Audyssey] jim kitchen's nfl football

2011-04-19 Thread Thomas Ward
Hi Jim, I know the feeling, and exactly were you are coming from on that issue. I don't think user's quite get that adding editable text files adds loads of tech support time and energy to a product just because somewhere somehow someone will goof when editing them, and we get the blame for it

Re: [Audyssey] jim kitchen's nfl football

2011-04-19 Thread Thomas Ward
Hi Jim, I've had a couple of perfect seasons. However, like you I win more than I lose, but most of the time I lose at least one or two games per season. Now, if the real Cleveland Browns played as well as the virtual Browns do we'd be in the Super Bowl just about every year for the AFC

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread Jim Kitchen
Hi Jason, Yeah, sorry, I do not know the CFL football rules. And I have no idea how the college playoffs are figured. So since my game uses NFL rules playoff structure etc I just used the NFL team names. And I recorded the sounds for the game right off of a football video game as my Nephew

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread Jim Kitchen
Hi Hayden, Yeah my NFL game needs an entire playbook of plays, but there is no way that I am going to do that. I play the defense mostly by how many yards the offence needs. Like goal line if they only need a couple of yards. But if it is third down and they need more than a dozen yards

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread Jim Kitchen
Hi Thomas, Yeah, I might be able to do it better now, but I delete the dat files once you start the game so that one can not just quit the game if they are losing. I think that I could now trap the alt f4 and send it to as if one pressed the escape key and thus you would need to return to

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread Thomas Ward
Hi Jim, I don't know the CFL rules either. From what Jason described it sounds like they are pretty different. Even something simple as three plays to make a first down instead of the usual 4 in American football could drastically change the way the game was written. You'd have to write the game

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread Thomas Ward
Hi Jim, that wouldn't be such a bad idea. I think given the fact that alt+f4 is such a common keyboard command some of us use it without thinking about using escape or something else first. So having alt+f4 forfit the game the same as the escape key would be a nice safety net to avoid bugs like

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread Thomas Ward
Hi Jim, Smile. Yeah, there are a lot of plays missing. That's for sure. I remember back in the 1980's I had this old football game for the Apple II-E, and it would litterally give you a list of something like 23 plays for the offense alone. While that might give you probably every play you can

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread jason
Ok Thomas sounds good please let us know when the football game is created ossum I think that is the best sport around. On 4/17/2011 11:19 PM, Thomas Ward wrote: Hi Jason, Well, one of the games I eventually want to create as part of my open source cross-platform initiative is a football

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread jason
Oh ok Jim sounds good, is there a way however for now to just change the team names if you want? On 4/18/2011 6:03 AM, Jim Kitchen wrote: Hi Jason, Yeah, sorry, I do not know the CFL football rules. And I have no idea how the college playoffs are figured. So since my game uses NFL rules

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread jason
Same here I usually use goal line or end run at times at times I do use the blitz defense as well most of the time ist's zone known as galine orend run you all know what I mean. On 4/18/2011 6:03 AM, Jim Kitchen wrote: Hi Hayden, Yeah my NFL game needs an entire playbook of plays, but there

Re: [Audyssey] jim kitchen's nfl football

2011-04-18 Thread kevin lyon
Thanks. Got it running now. :) -Original Message- From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On Behalf Of Jim Kitchen Sent: 17 April 2011 10:18 To: kevin lyon Subject: Re: [Audyssey] jim kitchen's nfl football Hi Kevin, I have never gotten that error myself

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Jim Kitchen
Hi Kevin, I have never gotten that error myself, but this seems to fix it for those who do. 1. uninstall the game by running the uninfoot.bat file. 2. install the game again from my web site. 3. make sure to enter a valid name for your coach. 4. never use alt f4 to exit the game. I do believe

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Jim Kitchen
Hi Shane, I have never gotten that error myself, but this seems to fix it for those who do. 1. uninstall the game by running the uninfoot.bat file. 2. install the game again from my web site. 3. make sure to enter a valid name for your coach. 4. never use alt f4 to exit the game. I do believe

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Jim Kitchen
Hi Thomas, I have never gotten that error myself, but this seems to fix it for those who do. 1. uninstall the game by running the uninfoot.bat file. 2. install the game again from my web site. 3. make sure to enter a valid name for your coach. 4. never use alt f4 to exit the game. I do

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread shaun everiss
well this never happens with me either. usually what I do if I finnish a game is kill its data. maybe jim you could have a program in each game or a seperate one to select what data you wanted to kill for each game seperately or to kill all data it could be part of the sapi game list or as a

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Trouble
Well those are just a few of the hidden bugs when using outdated code on a higher op. At 09:27 PM 4/16/2011, you wrote: Hi Shaun, That's not going to resolve the problem. I've got the latest VB 6 libs, and still get a runtime error 13. I've already explained what causes that error. It is

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Jim Kitchen
Hi Shaun, If one is losing a game of football so just does alt f4 to exit the game that is cheating. So the game is set up so that you must forfeit the game by pressing the escape key. Being able to manipulate the dat files would also be cheating. Once you have completed a season the dat

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Jim Kitchen
Hi Trouble, It's not really a bug. The game is designed so that if you try to cheat by exiting a game without forfeiting it, it doesn't work. And I believe that many many many people are playing my out dated code as you called it just perfectly fine on computers running everything from 98 to

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Trouble
Well i can do that same move on xp and vista, but not win7. So as put still bug but only on win7. And not all have seamless problems on those systems. If not for some of the work arounds found by Tom. At 10:33 AM 4/17/2011, you wrote: Hi Trouble, It's not really a bug. The game is designed

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread jason
It's too bad we couldn't alter the NFL game meaning putting in new sounds if we wanted custom sounds, making up our own teams just like you do in baseball I know you can insirt new players in the txt file but you can't change the team names, also I was hoping if someone can create a CFL known

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Thomas Ward
Hi Jim, Thanks for the tips. I don't get the error that often, but I sometimes do, or at least have seen it a few times.At least, I have agood idea what to do or not do to avoid that error now. On 4/17/11, Jim Kitchen j...@kitchensinc.net wrote: Hi Shane, I have never gotten that error

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Thomas Ward
Hi Hayden, Agreed. There is no way to determine what play the aposing team will attempt so you can't really prepare your defence accordingly. It would be kind of nice to look at the aposing teams formation and field position so you can guess if they are going to try a pass, yard rush you, or if

Re: [Audyssey] jim kitchen's nfl football

2011-04-17 Thread Thomas Ward
Hi Jason, Well, one of the games I eventually want to create as part of my open source cross-platform initiative is a football game. Perhaps when I write it you can modify it and make a CFL version, a college version, or what ever you want to do. Smile. On 4/17/11, jason kb3...@verizon.net

[Audyssey] jim kitchen's nfl football

2011-04-16 Thread kevin lyon
Hi, just tried to play this on my laptop running windows 7. It all seems fine until the game kicks off, I then get an error saying: Runtime 13 Type mismatch ... ok button And the game closes. Any clues anyone? kevin kr...@eklyon.co.uk --- Gamers mailing list __ Gamers@audyssey.org If you want

Re: [Audyssey] jim kitchen's nfl football

2011-04-16 Thread Shane Lowe
I'm getting the same problem and I'm using windows xp. - Original Message - From: kevin lyon kr...@eklyon.co.uk To: 'Gamers Discussion list' gamers@audyssey.org Sent: Saturday, April 16, 2011 2:19 PM Subject: [Audyssey] jim kitchen's nfl football Hi, just tried to play this on my

Re: [Audyssey] jim kitchen's nfl football

2011-04-16 Thread Thomas Ward
Hi Kevin, I sometimes get that error too with NFL. The error is caused by a mismatched variable and value. I.E. If you have an integer type variable and pass it a floting point value like 1.5 VB 6 will display that error. However, as I know Jim Kitchen doesn't use explicit type coding, has Option

Re: [Audyssey] jim kitchen's nfl football

2011-04-16 Thread shaun everiss
- From: kevin lyon kr...@eklyon.co.uk To: 'Gamers Discussion list' gamers@audyssey.org Sent: Saturday, April 16, 2011 2:19 PM Subject: [Audyssey] jim kitchen's nfl football Hi, just tried to play this on my laptop running windows 7. It all seems fine until the game kicks off, I then get an error

Re: [Audyssey] jim kitchen's nfl football

2011-04-16 Thread Thomas Ward
Hi Shaun, That's not going to resolve the problem. I've got the latest VB 6 libs, and still get a runtime error 13. I've already explained what causes that error. It is caused by passing a value to a variable when it is the wrong datatype. My guess here is since Jim doesn't use datatyping