Search found 26 matches

by j0y
12 Oct 2015 15:01
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Batch RPG Turn combat

I don't have time for a logic flow chart. Need to complete extension task. got to get this game to 30KB by Saturday. And why is it that now it says spell: +1+1 and Enemies Killed: None Have the 2 swapped over in some way? title AWB @echo off color a :menu color a cls echo ========================= e...
by j0y
12 Oct 2015 14:22
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Batch RPG Turn combat

I may not be the best at programming, but I am trying to improve my skills and I practice on a lot of my freetime with HTML, CSS, BATCH, JAVA, XCODE and soon enough I am thinking of moving on to C++ There is another problem I have run in to. I have tried to set up a statistics page for the player, b...
by j0y
12 Oct 2015 00:59
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Batch RPG Turn combat

sorry the Smiley face is supposed to be a D
by j0y
12 Oct 2015 00:59
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Batch RPG Turn combat

If I put this where :DP is would it fix it?:

Code: Select all

if %hpots% < 1 goto nopots
by j0y
11 Oct 2015 14:56
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Broken Potion and Spell in RPG

I am making an RPG and my health potion and spell mechanics are broken. This is my code: title AWB color a @echo off :menu color a cls echo ========================= echo Arena of the White Bear echo ========================= echo. echo 1) Start echo 2) Load echo 3) Exit echo. set /p input=Enter: if...
by j0y
11 Oct 2015 10:22
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Batch RPG Turn combat

:spell set num=%spl% if %num% GTR %str% goto attack if %num% LSS 0 goto attack if %num% == 00 set num=0 if %num% == 01 set num=1 if %num% == 02 set num=2 if %num% == 03 set num=3 if %num% == 04 set num=4 if %num% == 05 set num=5 if %num% == 06 set num=6 if %num% == 07 set num=7 if %num% == 08 set n...
by j0y
11 Oct 2015 07:59
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Batch RPG Turn combat

Hi. I am making an rpg cmd game and I need help. Here is my code: title AWB color a @echo off :menu color a cls echo ========================= echo Arena of the White Bear echo ========================= echo. echo 1) Start echo 2) Load echo 3) Exit echo. set /p input=Enter: if %input% == 1 goto star...
by j0y
11 Oct 2015 05:11
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Broken Health Potion and Enemy on Batch Rpg

I have fixed the issue now and i changed the code slightly at eneattack: title AWB color a :menu color a cls echo ========================= echo Arena of the White Bear echo ========================= echo. echo 1) Start echo 2) Load echo 3) Exit echo. set /p input=Enter: if %input% == 1 goto start i...
by j0y
11 Oct 2015 03:45
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Broken Health Potion and Enemy on Batch Rpg

no i used ctrl-h
by j0y
11 Oct 2015 03:22
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Broken Health Potion and Enemy on Batch Rpg

All right that fixed most of my problems, but whenever I attack the enemy, he always deals 0 damage no matter what.
by j0y
11 Oct 2015 02:16
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Broken Health Potion and Enemy on Batch Rpg

I have fixed the infinte loop. But now everytime I attack or cast a spell, it says 1 was not expected at this time. THis is how my code looks now. title AWB color a @echo off :menu color a cls echo ========================= echo Arena of the White Bear echo ========================= echo. echo 1) St...
by j0y
11 Oct 2015 01:49
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Broken Health Potion and Enemy on Batch Rpg

Shadow thief
So how do I fix it?
by j0y
11 Oct 2015 01:39
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Broken Health Potion and Enemy on Batch Rpg

Here is all my code: title AWB color a :menu color a cls echo ========================= echo Arena of the White Bear echo ========================= echo. echo 1) Start echo 2) Load echo 3) Exit echo. set /p input=Enter: if %input% == 1 goto start if %input% == 2 goto load if %input% == 3 exit goto m...
by j0y
10 Oct 2015 17:24
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Broken Health Potion and Enemy on Batch Rpg

just removed pause >nul and the same things. even if i press any key nothing happens! it just freezes and doesn't respond to anything i do!
by j0y
10 Oct 2015 17:07
Forum: DOS Batch Forum
Topic: Batch RPG Turn combat
Replies: 73
Views: 56947

Re: Broken Health Potion and Enemy on Batch Rpg

shadow thief everything is fixed now. But now everytime i cast a spell it sops at pause >nul and doesn't let me do anything. it just freezes. here is my spell script: :spell set num=%spl% if %num% GTR %str% goto attack if %num% LSS 0 goto attack if %num% == 00 set num=0 if %num% == 01 set num=1 if %...