My Cmd Game

Need Help Please Add More To It

  • (2 Pages)
  • +
  • 1
  • 2

26 Replies - 10829 Views - Last Post: 05 July 2011 - 11:35 AM Rate Topic: -----

Poll: Is The Game Good (13 member(s) have cast votes)

Is It?

  1. Yes (2 votes [15.38%])

    Percentage of vote: 15.38%

  2. No (2 votes [15.38%])

    Percentage of vote: 15.38%

  3. Needs Work (9 votes [69.23%])

    Percentage of vote: 69.23%

Vote

#1 jmd992  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 23-September 09

My Cmd Game

Post icon  Posted 23 September 2009 - 02:26 AM

Heres The .exe File i will upload the .cmd Later im in college so i dont have it with me

My EXE File

My CMD File

My CMD Code!!

REM  QBFC Project Options Begin
REM  HasVersionInfo: Yes
REM  Companyname: Jmd Studios
REM  Productname: Jmd Kingdom
REM  Filedescription: A Text-Based RPG
REM  Copyrights: 2009 Copyright
REM  Trademarks: 3+
REM  Originalname: Jmd_Kingdom
REM  Comments: Cool Little RPG
REM  Productversion: 1 .2 .1 .  
REM  Fileversion: 1 .2 .1 .  
REM  Internalname: 
REM  Appicon: C:\Users\Josh\Downloads\tajmahal.ico
REM  QBFC Project Options End

@echo off
:::::::::: SYSTEM GLOBALS ::::::::::
set systemProgrammer=Josh Devlin (Jmd992)
set systemTitle=Jmd Kingdom
set systemEditor=Jmd992
set systemVersion=1.2.1
set systemDate=22 September 2009
set loadcount=0
:::::::::: GAME GLOBALS ::::::::::
set level=1
set exp=0
set maxexp=80
set hp=10
set maxhp=10
set gold=0
set str=1
set def=0
:::::::::: GAME FLAGS ::::::::::
set flag0=0
:::::::::: ITEMS ::::::::::
set item0=No Item
set item1=Small Health Potion [+10 Hp]
set item2=Scroll of Town Portal [Kalamar]
:::::::::: ITEM SLOTS ::::::::::
set itemslot0=1
set itemslot1=0
set itemslot2=0
set itemslot3=0
set itemslot4=0
:::::::::: LOADING SCREEN ::::::::::
:Loading
if %loadcount% GEQ 3 (
cls
goto GameSetup
)
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [					   ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [[]					 ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [  []				   ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [	[]				 ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [		[]			 ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [		  []		   ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [			[]		 ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [			  []	   ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [				[]	 ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [				  []   ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [					[] ]
ping localhost -n 1 > nul
cls
echo.
echo   [Jmd Kingdom Is Loading.]
echo   [					  []
ping localhost -n 1 > nul
cls
set /a loadcount=loadcount+1
goto Loading
:::::::::: GAME SETUP ::::::::::
:GameSetup
echo.
echo						* Welcome to %systemTitle% v%systemVersion% *
echo.
echo.
echo			   Game originally programmed by %systemProgrammer%
echo					  Game last updated on %systemDate%
:::::::::: NAME SETUP ::::::::::
:NameSetup
echo.
set /p name=)) By what name do you wish to be known? 
if not defined name goto NameSetup
echo.
set /p confirm=)) So you wish to be known as %name%? (Y/N) 
if not defined confirm (
set name=
goto NameSetup
)
if /i %confirm%==y (
set confirm=
cls
goto ClassSetup
)
set confirm=
set name=
goto NameSetup
:::::::::: CLASS SETUP ::::::::::
:ClassSetup
echo.
echo   By which class do you wish to fortake?
echo   1: Knight
echo   2: Theif
echo   3: White Mage
echo   4: Black Mage
:ClassSetupCommand
echo.
set /p confirm=)) 
if not defined confirm goto ClassSetupCommand
if %confirm% EQU 1 (
set confirm=
set class=Knight
cls
goto StatSetup
)
if %confirm% EQU 2 (
set confirm=
set class=Thief
cls
goto StatSetup
)
if %confirm% EQU 3 (
set confirm=
set class=White Mage
cls
goto StatSetup
)
if %confirm% EQU 4 (
set confirm=
set class=Black mage
cls
goto StatSetup
)
set confirm=
goto ClassSetupCommand
:::::::::: STAT SETUP ::::::::::
:StatSetup
echo.
echo   Current stats:
echo   Strength: %str%
echo   Defence: %def%
echo.
echo   You have 1 stat point! What would you like to spend it on?
echo   1: Strength (+1)
echo   2: Defence (+1)
:StatSetupCommand
echo.
set /p confirm=)) 
if not defined confirm goto StatSetupCommand
if %confirm% EQU 1 (
set confirm=
set /a str=str+1
cls
goto StatConfirm
)
if %confirm% EQU 2 (
set confirm=
set /a def=def+1
cls
goto StatConfirm
)
set confirm=
goto StatSetupCommand
:::::::::: STAT CONFIRM ::::::::::
:StatConfirm
echo.
echo   Statistics:
echo.
echo   Name: %name%
echo   Class: %class%
echo.
echo   Level: %level%
echo   Experience: %exp%/%maxexp%
echo.
echo   Hp: %hp%/%maxhp%
echo   Gold: %gold%
echo.
echo   Strength: %str%
echo   Defence: %def%
:StatConfirmCommand
echo.
set /p confirm=)) Are you sure you wish to keep this character? (Y/N) 
if not defined confirm goto StatConfirmCommand
if /i %confirm%==y (
set confirm=
cls
echo.
echo   The gods welcome you, %name%!
goto MapNewbieStart
)
set confirm=
set name=
set class=
set str=1
set def=0
cls
goto GameSetup
:::::::::: MAP NEWBIE START ::::::::::
:MapNewbieStart
echo.
echo   You stand in a rather large room filled with young warriors like yourself.
echo   Above you, you notice a stairway leading to the Kalamar Town Square outside.
echo   The %systemTitle% Trainer is standing here.
echo.
echo   What would you like to do?
echo   1: Talk to The %systemTitle% Trainer
echo   2: Climb Staircase
:::::::::: MAP NEWBIE START COMMAND ::::::::::
:MapNewbieStartCommand
echo.
set /p confirm=)) 
if not defined confirm goto MapNewbieStartCommand
if %confirm% EQU 1 (
set confirm=
echo.
echo   The %systemTitle% Trainer says, "Welcome to %systemTitle%!
echo   I am here to help you get started on your adventure. Your first
echo   task will be in the Tower of Kalamar. Enter Kalamar above and then
echo   travel north until you find the Tower of Kalamar. Good luck!"
goto MapNewbieStartCommand
)
if %confirm% EQU 2 (
set confirm=
cls
echo.
echo   As you exit the Newbie Cellar, the doors close behind you!
goto MapKalamarStart
)
set confirm=
goto MapNewbieStartCommand
:::::::::: MAP KALAMAR START ::::::::::
:MapKalamarStart
echo.
echo   You stand at the Fountain of Kalamar.
echo   The fountain's waters are flowing briskly on this calm day.
echo   Below you is a locked cellar door which leads into the Newbie Cellar.
echo   To the north you see the Tower of Kalamar.
echo   A sign is posted on the Tower of Kalamar's gates.
echo   To the east you see the Kalamar Town Inn.
echo   To the west you see the Kalamar Magic Shop.
echo.
echo   What would you like to do?
echo   1: Read Sign
echo   2: Enter Tower of Kalamar
echo   3: Enter Kalamar Town Inn
echo   4: Enter Kalamar Magic Shop
:::::::::: MAP KALAMAR START COMMAND ::::::::::
:MapKalamarStartCommand
echo.
set /p confirm=)) 
if not defined confirm goto MapKalamarStartCommand
if %confirm% EQU 1 (
set confirm=
echo.
echo   The sign reads, "Newbies, here you may start your first quest!"
goto MapKalamarStartCommand
)
if %confirm% EQU 2 (
set confirm=
cls
echo.
echo   You walk north into the Tower of Kalamar!
goto MapTowerKalamarStart
)
if %confirm% EQU 3 (
set confirm=
cls
echo.
echo   You walk east into the Kalamar Town Inn!
goto MapKalamarTownInnStart
)
if %confirm% EQU 4 (
set confirm=
cls
echo.
echo   You walk west into the Kalamar Magic Shop!
goto MapKalamarMagicShop
)
set confirm=
goto MapKalamarStartCommand
:::::::::: MAP KALAMAR MAGIC SHOP ::::::::::
:MapKalamarMagicShop
echo.
echo   You are standing in the Kalamar Magic Shop.
echo   Master Jake [NPC] is standing here offering his wares.
echo.
echo   What would you like to do?
echo   1: Buy %item1% [25 Gold]
echo   2: Buy %item2% [100 Gold]
echo   3: Leave Kalamar Magic Shop
:::::::::: MAP KALAMAR MAGIC SHOP COMMAND ::::::::::
:MapKalamarMagicShopCommand
echo.
set /p confirm=)) 
if not defined confirm goto MapKalamarMagicShopCommand
if %confirm% EQU 1 (
if %gold% GEQ 25 (
if %itemslot0% EQU 0 (
set confirm=
set itemslot0=1
set /a gold=gold-25
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
if %itemslot1% EQU 0 (
set confirm=
set itemslot1=1
set /a gold=gold-25
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
if %itemslot2% EQU 0 (
set confirm=
set itemslot2=1
set /a gold=gold-25
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
if %itemslot3% EQU 0 (
set confirm=
set itemslot3=1
set /a gold=gold-25
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
if %itemslot4% EQU 0 (
set confirm=
set itemslot4=1
set /a gold=gold-25
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
set confirm=
echo.
echo   All of your inventory slots are full!
goto MapKalamarMagicShopCommand
) else (
set confirm=
echo.
echo   You do not have enough gold to purchase this item!
goto MapKalamarMagicShopCommand
)
)
if %confirm% EQU 2 (
if %gold% GEQ 100 (
if %itemslot0% EQU 0 (
set confirm=
set itemslot0=2
set /a gold=gold-100
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
if %itemslot1% EQU 0 (
set confirm=
set itemslot1=2
set /a gold=gold-100
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
if %itemslot2% EQU 0 (
set confirm=
set itemslot2=2
set /a gold=gold-100
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
if %itemslot3% EQU 0 (
set confirm=
set itemslot3=2
set /a gold=gold-100
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
if %itemslot4% EQU 0 (
set confirm=
set itemslot4=2
set /a gold=gold-100
echo.
echo   Item Purchased!
goto MapKalamarMagicShopCommand
)
set confirm=
echo.
echo   All of your inventory slots are full!
goto MapKalamarMagicShopCommand
) else (
set confirm=
echo.
echo   You do not have enough gold to purchase this item!
goto MapKalamarMagicShopCommand
)
)
if %confirm% EQU 3 (
set confirm=
cls
echo.
echo   You leave the Kalamar Magic Shop!
goto MapKalamarStart
)
set confirm=
goto MapKalamarMagicShopCommand
:::::::::: MAP KALAMAR TOWN INN START ::::::::::
:MapKalamarTownInnStart
echo.
echo   You are standing in the Kalamar Town Inn.
echo   The Inn Keeper [NPC] is standing here waiting for your orders.
echo.
echo   What would you like to do?
echo   1: View Stats
echo   2: Exit Kalamar Town Inn
echo   3: Quit Game
:::::::::: MAP KALAMAR TOWN INN START COMMAND ::::::::::
:MapKalamarTownInnStartCommand
echo.
set /p confirm=)) 
if not defined confirm goto MapKalamarTownInnStartCommand
if %confirm% EQU 1 (
set confirm=
set lastlabel=MapKalamarTownInnStart
cls
goto ViewCharStats
)
if %confirm% EQU 2 (
set confirm=
cls
echo.
echo   You leave the Kalamar Town Inn!
goto MapKalamarStart
)
if %confirm% EQU 3 (
set confirm=
cls
goto QuitGameAni
)
set confirm=
goto MapKalamarTownInnStartCommand
:::::::::: MAP TOWER KALAMAR START ::::::::::
:MapTowerKalamarStart
echo.
echo   You are standing in the Tower of Kalamar.
echo   Beside you is a staircase leading to a room that you can only enter once.
echo   A Rat [Lvl:1/Monster] is scurrying about.
echo.
echo   What would you like to do?
echo   1: Attack Rat [Lvl:1/Monster]
echo   2: Climb Staircase [Up]
echo   3: Exit Tower of Kalamar
:::::::::: MAP TOWER KALAMAR START COMMAND ::::::::::
:MapTowerKalamarStartCommand
echo.
set /p confirm=)) 
if not defined confirm goto MapTowerKalamarStartCommand
if %confirm% EQU 1 (
set confirm=
set lastlabel=MapTowerKalamarStart
set monstername=Rat [Lvl:1/Monster]
set monsterhp=3
set monstermaxhp=3
set monsterstr=2
set monsterdef=0
set monstergold=5
set monsterexp=25
cls
goto BattlePhase
)
if %confirm% EQU 2 (
if %flag0% EQU 0 (
set confirm=
set flag0=1
cls
echo.
echo   You climb the staircase into the forgotten room!
goto MapTowerLvl2
) else (
echo.
echo   You have already entered this room!
goto MapTowerKalamarStartCommand
)
)
if %confirm% EQU 3 (
set confirm=
cls
echo.
echo   You exit the Tower of Kalamar and enter the town!
goto MapKalamarStart
)
set confirm=
goto MapTowerKalamarStartCommand
:::::::::: MAP TOWER LVL 2 ::::::::::
:MapTowerLvl2
echo.
echo   You stand in a room which can only be entered once.
echo   This room was built to simulate a quest that you can only do once.
echo   Beside you is a staircase leading back to the Tower of Kalamar Entrance.
echo.
echo   What would you like to do?
echo   1: Climb Staircase [Down]
:::::::::: MAP TOWER LVL 2 COMMAND ::::::::::
:MapTowerLvl2Command
echo.
set /p confirm=)) 
if not defined confirm goto MapTowerLvl2Command
if %confirm% EQU 1 (
set confirm=
cls
echo.
echo   You climb back down the staircase!
goto MapTowerKalamarStart
)
set confirm=
goto MapTowerLvl2Command
:::::::::: BATTLE PHASE ::::::::::
:BattlePhase
echo.
echo   A %monstername% is standing here.
echo   A %monstername% has %monsterhp%/%monstermaxhp% Hp remaining.
echo.
echo   What would you like to do?
echo   1: Attack %monstername%
echo   2: Use Item
echo   3: Flee
:::::::::: BATTLE PHASE COMMAND ::::::::::
:BattlePhaseCommand
echo.
set /p confirm=)) 
if not defined confirm goto BattlePhaseCommand
if %confirm% EQU 1 (
set confirm=
set /a damage=str-monsterdef
set /a monsterdamage=monsterstr-def
goto BattlePhaseAttack
)
if %confirm% EQU 2 (
set confirm=
cls
goto BattlePhaseUseItem
)
if %confirm% EQU 3 (
set confirm=
echo.
echo   You flee from the battle!
pause > nul
cls
goto %lastlabel%
)
set confirm=
goto BattlePhaseCommand
:::::::::: BATTLE PHASE ATTACK ::::::::::
:BattlePhaseAttack
if %damage% LSS 0 set damage=0
if %monsterdamage% LSS 0 set monsterdamage=0
set /a monsterhp=monsterhp-damage
echo.
echo   You attack the %monstername% for %damage% damage.
echo   The %monstername% has %monsterhp%/%monstermaxhp% Hp remaining.
if %monsterhp% LEQ 0 (
echo.
echo   You have slain the %monstername%.
echo   You gain %monstergold% gold and %monsterexp% experience.
set /a gold=gold+monstergold
set /a exp=exp+monsterexp
goto BattlePhaseExpCheck
:BattlePhaseExpCheck
if %exp% GEQ %maxexp% (
set /a level=level+1
set /a maxhp=maxhp+5
set /a hp=maxhp
set /a exp=0
set /a maxexp=maxexp*0.5
goto LevelUpStats
)
pause > nul
cls
goto %lastlabel%
)
set /a hp=hp-monsterdamage
echo.
echo   The %monstername% attacks you for %monsterdamage% damage.
echo   You have %hp%/%maxhp% Hp remaining.
if %hp% LEQ 0 (
echo.
echo   The %monstername% has slain you.
echo   Game Over!
pause > nul
exit
)
goto BattlePhase
:::::::::: BATTLE PHASE USE ITEM ::::::::::
:BattlePhaseUseItem
echo.
echo   Inventory:
call echo   1: %%item%itemslot0%%%
call echo   2: %%item%itemslot1%%%
call echo   3: %%item%itemslot2%%%
call echo   4: %%item%itemslot3%%%
call echo   5: %%item%itemslot4%%%
echo   6: Cancel
:::::::::: BATTLE PHASE USE ITEM COMMAND ::::::::::
:BattlePhaseUseItemCommand
echo.
1set /p confirm=)) 
if not defined confirm goto BattlePhaseUseItemCommand
if %confirm% EQU 1 (
set confirm=
if %itemslot0% NEQ 0 (
if %itemslot0% EQU 1 (
echo.
echo   Item Used! [+10 Hp]
pause > nul
set itemslot0=0
set /a hp=hp+10
goto BattlePhaseUseItemCommandHpCont
:BattlePhaseUseItemCommandHpCont
if %hp% GTR %maxhp% set /a hp=maxhp
cls
goto BattlePhase
)
if %itemslot0% EQU 2 (
set itemslot0=0
echo.
echo   As you read from the scroll you start to glow with a bright light!
pause > nul
cls
goto MapKalamarStart
)
) else (
echo.
echo   That inventory slot is empty!
pause > nul
cls
goto BattlePhase
)
)
if %confirm% EQU 2 (
set confirm=
if %itemslot1% NEQ 0 (
if %itemslot1% EQU 1 (
echo.
echo   Item Used! [+10 Hp]
pause > nul
set itemslot1=0
set /a hp=hp+10
goto BattlePhaseUseItemCommandHpCont
:BattlePhaseUseItemCommandHpCont
if %hp% GTR %maxhp% set /a hp=maxhp
cls
goto BattlePhase
)
if %itemslot1% EQU 2 (
set itemslot1=0
echo.
echo   As you read from the scroll you start to glow with a bright light!
pause > nul
cls
goto MapKalamarStart
)
) else (
echo.
echo   That inventory slot is empty!
pause > nul
cls
goto BattlePhase
)
)
if %confirm% EQU 3 (
set confirm=
if %itemslot2% NEQ 0 (
if %itemslot2% EQU 1 (
echo.
echo   Item Used! [+10 Hp]
pause > nul
set itemslot2=0
set /a hp=hp+10
goto BattlePhaseUseItemCommandHpCont
:BattlePhaseUseItemCommandHpCont
if %hp% GTR %maxhp% set /a hp=maxhp
cls
goto BattlePhase
)
if %itemslot2% EQU 2 (
set itemslot2=0
echo.
echo   As you read from the scroll you start to glow with a bright light!
pause > nul
cls
goto MapKalamarStart
)
) else (
echo.
echo   That inventory slot is empty!
pause > nul
cls
goto BattlePhase
)
)
if %confirm% EQU 4 (
set confirm=
if %itemslot3% NEQ 0 (
if %itemslot3% EQU 1 (
echo.
echo   Item Used! [+10 Hp]
pause > nul
set itemslot3=0
set /a hp=hp+10
goto BattlePhaseUseItemCommandHpCont
:BattlePhaseUseItemCommandHpCont
if %hp% GTR %maxhp% set /a hp=maxhp
cls
goto BattlePhase
)
if %itemslot3% EQU 2 (
set itemslot3=0
echo.
echo   As you read from the scroll you start to glow with a bright light!
pause > nul
cls
goto MapKalamarStart
)
) else (
echo.
echo   That inventory slot is empty!
pause > nul
cls
goto BattlePhase
)
)
if %confirm% EQU 5 (
set confirm=
if %itemslot4% NEQ 0 (
if %itemslot4% EQU 1 (
echo.
echo   Item Used! [+10 Hp]
pause > nul
set itemslot4=0
set /a hp=hp+10
goto BattlePhaseUseItemCommandHpCont
:BattlePhaseUseItemCommandHpCont
if %hp% GTR %maxhp% set /a hp=maxhp
cls
goto BattlePhase
)
if %itemslot4% EQU 2 (
set itemslot4=0
echo.
echo   As you read from the scroll you start to glow with a bright light!
pause > nul
cls
goto MapKalamarStart
)
) else (
echo.
echo   That inventory slot is empty!
pause > nul
cls
goto BattlePhase
)
)
if %confirm% EQU 6 (
set confirm=
cls
goto BattlePhase
)
set confirm=
goto BattlePhaseUseItemCommand
:::::::::: Level Up Stats ::::::::::
:LevelUpStats
echo   Congratulations on level %level%, %name%!
echo   You gain 5 extra max Hp.
echo.
echo   You have 1 stat point! What would you like to spend it on?
echo   1: Strength (+1)
echo   2: Defence (+1)
:::::::::: LEVEL UP STATS COMMAND ::::::::::
:LevelUpStatsCommand
echo.
set /p confirm=)) 
if not defined confirm goto LevelUpStatsCommand
if %confirm% EQU 1 (
set confirm=
set /a str=str+1
goto LevelUpStatsDisplay
)
if %confirm% EQU 2 (
set confirm=
set /a def=def+1
goto LevelUpStatsDisplay
)
set confirm=
goto LevelUpStatsCommand
:::::::::: LEVEL UP STATS DISPLAY ::::::::::
:LevelUpStatsDisplay
echo.
echo   You now have %str% strength and %def% defence!
pause > nul
cls
goto %lastlabel%
:::::::::: VIEW CHAR STATS ::::::::::
:ViewCharStats
echo.
echo   Statistics:
echo.
echo   Name: %name%
echo   Class: %class%
echo.
echo   Level: %level%
echo   Experience: %exp%/%maxexp%
echo.
echo   Hp: %hp%/%maxhp%
echo   Gold: %gold%
echo.
echo   Strength: %str%
echo   Defence: %def%
echo.
echo   Press any key to return . . .
pause > nul
cls
goto %lastlabel%
:::::::::: QUIT GAME ANI ::::::::::
:QuitGameANI
echo.
echo   You stroll into the local town inn . . .
ping localhost -n 3 > nul
echo.
echo   You start a fire in the fireplace . . .
ping localhost -n 3 > nul
echo.
echo   You crawl into your bed . . .
ping localhost -n 3 > nul
echo.
echo   Your eyes draw heavy as you drift into a deep sleep . . .
ping localhost -n 3 > nul
echo.
echo   Goodbye, %name%! May your dreams guide you!
ping localhost -n 5 > nul
exit


I need help making quests and new items everyone can copy it and edit it lets try make a big game up together ;)


And also can anyone develope a save game code so you can save your character???

This post has been edited by jmd992: 23 September 2009 - 06:09 AM


Is This A Good Question/Topic? 0
  • +

Replies To: My Cmd Game

#2 Christopher Elison  Icon User is offline

  • D.I.C Head

Reputation: 39
  • View blog
  • Posts: 230
  • Joined: 29-December 08

Re: My Cmd Game

Posted 23 September 2009 - 02:47 AM

No offence, but I'd be weary of downloading a mysterious .exe file linked to on a poster's first and only posting on a forum, or maybe I'm just paranoid :)
Was This Post Helpful? 0
  • +
  • -

#3 janne_panne  Icon User is offline

  • WinRT Dev
  • member icon

Reputation: 429
  • View blog
  • Posts: 1,047
  • Joined: 09-June 09

Re: My Cmd Game

Posted 23 September 2009 - 04:59 AM

Quote

No offence, but I'd be weary of downloading a mysterious .exe file linked to on a poster's first and only posting on a forum, or maybe I'm just paranoid


^this

If you want opinions, please post some code/project/screenshots. I don't want programs which executes "Format C:" on my computer.
Was This Post Helpful? 0
  • +
  • -

#4 DoubleFission  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 24
  • View blog
  • Posts: 223
  • Joined: 20-September 08

Re: My Cmd Game

Posted 23 September 2009 - 05:46 AM

Nawwww... But they're the most fun games :P
Was This Post Helpful? 0
  • +
  • -

#5 jmd992  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 23-September 09

Re: My Cmd Game

Posted 23 September 2009 - 06:01 AM

Lol ok guys i no what you mean im home now so i have edited my main post hope thats better ;)

This post has been edited by jmd992: 23 September 2009 - 06:45 AM

Was This Post Helpful? 0
  • +
  • -

#6 kazein  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 22
  • Joined: 02-September 09

Re: My Cmd Game

Posted 23 September 2009 - 12:02 PM

I downloaded both versions onto my desktop and they've sat there saying "loading" the entire ten minutes I left it up.

Edit: Reading your code snippet, I guess it's supposed to have "[]" moving from far left to far right in the wider brackets. That didn't happen either.

Edit(2): I deleted the loading message, got the game to start. I went into town and attacked a rat. After killing it three time, I leveled. After leveling, now every time I kill the rat once, I level.

If the rat gives you 25 experience and you need 25 experience -more- to level, it looks like this:
level one max experience: 25
level two max experience: 50
level three max experience: 75

Which is wrong, you need to increment it more like this:
level one max experience: 25 (kill one rat and level)
level two max experience: 75 (kill two more rats and level)
level three max experience: 150 (kill three more rats and level)

Edit(3): I'm level 51 now and I have no more desire to slay rats, I decide to move on in the game and I can't. There are no options that move me past the fountain.

Edit(4): I tried using a health potion and the game went berserk with infinite repeating lines.

This post has been edited by kazein: 23 September 2009 - 12:23 PM

Was This Post Helpful? 0
  • +
  • -

#7 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2584
  • View blog
  • Posts: 15,612
  • Joined: 24-September 08

Re: My Cmd Game

Posted 23 September 2009 - 12:49 PM

OMG that is a lot of code.... @_________________@

What language is that?

This post has been edited by NeoTifa: 23 September 2009 - 12:49 PM

Was This Post Helpful? 0
  • +
  • -

#8 kazein  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 22
  • Joined: 02-September 09

Re: My Cmd Game

Posted 23 September 2009 - 01:07 PM

I'm pretty sure that's windows' command-line "language".
Was This Post Helpful? 0
  • +
  • -

#9 jmd992  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 23-September 09

Re: My Cmd Game

Posted 23 September 2009 - 01:11 PM

ok must ov been a problem thats why i need help lol just mess around with it see if you can make it work and upload your edited files
Was This Post Helpful? 0
  • +
  • -

#10 kazein  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 22
  • Joined: 02-September 09

Re: My Cmd Game

Posted 23 September 2009 - 01:39 PM

ping localhost -n 1 > nul

I'm betting you're using this as some sort of timer between the echos. I deleted those and the loading-echo went by so fast I didn't see it. Try using a different timer or figure out what you did wrong.

As with the rest of your code, it's too vast for me X_X and I'm working on my own RPG text-based game, only in c++.

This post has been edited by kazein: 23 September 2009 - 01:46 PM

Was This Post Helpful? 0
  • +
  • -

#11 jmd992  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 23-September 09

Re: My Cmd Game

Posted 23 September 2009 - 01:43 PM

ok ill download c++ and try to work on that may be easier to understand lol if you can help me start an rpg game on it i would be greatful
Was This Post Helpful? 0
  • +
  • -

#12 kazein  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 22
  • Joined: 02-September 09

Re: My Cmd Game

Posted 23 September 2009 - 01:49 PM

C++ is the only programming language I know. If you want to finish your project you need to re-learn your possibility barriers, if you can't finish within it, then you switch to a more suitable language.
Was This Post Helpful? 0
  • +
  • -

#13 jmd992  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 23-September 09

Re: My Cmd Game

Posted 23 September 2009 - 01:54 PM

ok btw did you download the file or copy the text because when i copy and paste the load works fine

i am downloading c++ atm are you using the "Microsoft Visual C++ 2008 Express Edition with SP1"?

This post has been edited by jmd992: 23 September 2009 - 01:56 PM

Was This Post Helpful? 0
  • +
  • -

#14 Gus.bat  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 27-September 09

Re: My Cmd Game

Posted 28 September 2009 - 12:43 PM

Here is The Newest Version I Spent around 8 hours making. It Has A Save Feature, An Actual Quest And More!!!


I will upload it when i'm allowed to upload .exe files.
Was This Post Helpful? 0
  • +
  • -

#15 UrbanTwitch  Icon User is offline

  • D.I.C Head

Reputation: 9
  • View blog
  • Posts: 233
  • Joined: 27-September 09

Re: My Cmd Game

Posted 03 October 2009 - 11:28 PM

Just use pastebin.com :)
I'm eager to play...
and possibly help you add new things!

This post has been edited by UrbanTwitch: 03 October 2009 - 11:30 PM

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2