-
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 :p
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
-
Its ok, but it looks confusing when yiu press [2]Battle
-
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
-
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.
-
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
-
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.
-
alright ill check into it
and also did any of you leave any of the stats at 0?
-
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
-
-
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