View Poll Results: rate my program

Voters
8. You may not vote on this poll
  • Very Good!

    1 12.50%
  • Good But Needs A Little Work

    4 50.00%
  • Could Be Better

    1 12.50%
  • Needs To Be Decompled And Destroyed Line By Line

    2 25.00%

my new program :)

This is a discussion on my new program :) within the C++ Programming forums, part of the General Programming Boards category; heres my new program that tested everything i know to the limits. hope you enjoy it explination on how it ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    77

    Talking my new program :)

    heres my new program that tested everything i know to the limits.

    hope you enjoy it

    explination on how it works -> rpg battle engine

    you and a friend or several friends create characters, a text file is saved as that persons character name with their stats, each time you want to fight each other you input your character name as your player name and it loads those stats from your text file and off you go battling each other, when you win you gain exp points and you eventually lvl up and can add more to your stats.

    phew.....there ya go

    if you want ill post the code too if anyone wants to take a look at it.

    [edit] can a moderator please fix the spelling error in my poll(question 4) thanks a bunch
    Attached Files Attached Files
    Last edited by jobolikescake; 10-30-2002 at 08:39 PM.
    Hooked On Phonics Didn't Work For Me!

  2. #2
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    Its ok, but it looks confusing when yiu press [2]Battle

  3. #3
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    Nice program but it gave me this error:

    BATTLE2 caused a divide error in module BATTLE2.EXE at 0167:00402932.
    Registers:
    EAX=00000006 CS=0167 EIP=00402932 EFLGS=00010246
    EBX=00560000 SS=016f ESP=0066fc14 EBP=0066fc60
    ECX=00000006 DS=016f ESI=0066fcbc FS=24c7
    EDX=00000000 ES=016f EDI=0066fc60 GS=0000
    Bytes at CS:EIP:
    f7 3d f0 8f 43 00 a3 74 90 43 00 e8 27 e7 ff ff
    Stack dump:
    0066fcb4 0066fcbc 00560000 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc

    Good Luck

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    77
    ill try to figure out what is causing that error, and ill also go and add more info when you first start the battle feature so it can be understood more easily.
    Hooked On Phonics Didn't Work For Me!

  5. #5
    Registered User
    Join Date
    Oct 2002
    Posts
    291
    I got an error aswell.

    BATTLE2 caused a division-error in module BATTLE2.EXE at 0167:004028f8.
    Register:
    EAX=0000122e CS=0167 EIP=004028f8 EFLGS=00010206
    EBX=00560000 SS=016f ESP=0066fd58 EBP=0066fda4
    ECX=00434590 DS=016f ESI=8172a33c FS=403f
    EDX=00000000 ES=016f EDI=0066fda4 GS=0000
    Byte at CS:EIP:
    f7 3d c8 8f 43 00 8b 0d d0 8f 43 00 03 ca 89 0d
    show stackdump:
    0066fdf8 8172a33c 00560000 cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc

  6. #6
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    You are dividing by 0 at some point. This maybe caused by dividing by an uninitialized variable. Or, you may simply be dividing by 0.

  7. #7
    Registered User
    Join Date
    Jan 2002
    Posts
    77
    alright ill check into it

    and also did any of you leave any of the stats at 0?
    Hooked On Phonics Didn't Work For Me!

  8. #8
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    lol this is great, create one character then fight yourself, attack and BOOM program crashes.....weeeeeeeee hehe, maybe you should fix that, so you cant fight a character with the same name

  9. #9
    Registered User
    Join Date
    Jan 2002
    Posts
    77
    how would i do that?
    Hooked On Phonics Didn't Work For Me!

  10. #10
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    i dont know...hmm...just some if else statement making sure the second name inputed isnt the same as the first, if it is, ask to enter another name

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21