This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
cptdeath58's profile picture

Escape Game Version 1.1.7

Started by cptdeath58, 28 May 2014 - 03:20 PM
cptdeath58 #1
Posted 28 May 2014 - 05:20 PM
Escape Version 1.1.7
by cptdeath58
[Update Log]
SpoilerVersion 1.1.7
Fixed Lockup Bug
Version 1.1.6
Fixed Free Enemy Move Bug
New Account Creation
Account Creation Bug Fix
Version 1.1.5
Redone function checkEdge()
Version 1.1.4
Added Stats Function
replaced Last Score with Highscore
Version 1.1.3
Added the Check Edge Function
Version 1.1.2
Added Stats Function
Added Name, Moves, and Last Score.
Rerouted Reset Function
Version 1.1.0
Added Teleport Function
Version 1.0.0
Release

[Installation]
Spoiler1.pastebin get jmt9fLbf Escape
2.Run Escape
3.Press Start!
4.Change your name in Stats

[The Game]
SpoilerIn this game, you objective is to stay away from the bot
( Marked in red ) the longer you live, the more points
you get. To begin click the letter in between the brackets: []
To Move: W,A,S,D
[features]
SpoilerIn this game, you get the teleport ability.
you receive one every 5 rounds (Explained
as Moves on the top left corner. ) To use it,
simply click on a location. Remember though,
You only get 1 per 5 rounds.
At the same time, the bot increases in the
amount of moves he gets. ex: After 10 moves,
the bot can move 3 times while you only move 1 time,
but you get 2 teleports.
the point system works by how long you live,
it goes by Moves x 3 = Score.
That's it, it's an easy game.

[Pictures]
Spoiler[attachment=1702:2014-05-28_09.14.16.png]
[attachment=1703:2014-05-28_09.15.16.png]

[Planned]
Spoiler*Add a stats feature
*Possibly add more bots for harder gameplay
*Add a setting Button to allow you to increase difficulty
*Fix the Reset Bug

[Bugs]
Spoiler*Reset doesn't work (Currently rerouted)
*Free Enemy Move Glitch Fixed as in 1.1.6
*New Account Bug (To fix type "edit ESC/Stats" then save it and exit then click on stats again) Somewhat Fixed in 1.1.6

How did I do?
Edited on 29 September 2014 - 01:50 AM
cptdeath58 #2
Posted 28 May 2014 - 11:33 PM
Update:
Added the stats button.
It now displays Name,Number of moves done overall, and latest score made.
cptdeath58 #3
Posted 02 June 2014 - 11:54 PM
Update:
Temporary Fix for Reset.
Replaced last score with High-score.
Added a Check Edge Function to prevent people from disappearing from the area.
Bomb Bloke #4
Posted 03 June 2014 - 05:41 AM
On the menu, the S key doesn't do much… and the H/Q buttons do less. :P/>

You never explain how to move… and pressing a non-movement button gives the red enemy a free move.

The game crashes when you lose. Maybe change this block (starting at line 226) like so:

  statCheck2 = fs.open( "ESC/Stats", "r" )
  if statCheck2 then
   mname = statCheck2.readLine(1)
   mmoves = statCheck2.readLine(2)
   mhighscore = statCheck2.readLine(3)
   statCheck2.close()
  end

  mname = mname or ""
  mmoves = mmoves or 0
  mhighscore = mhighscore or 0

This closes the stat file before trying to re-open it in write mode, and also ensures mname / mmoves / mhighscore get valid content (in case the file was empty / not present - as you'd expect on the first run).
sEi #5
Posted 03 June 2014 - 11:39 AM
A minor comment yet important.

Clicking the link in your (cptdeath58) first post returns a 404.

It is linking to:
http://pastebin/jmt9fLbf
and i guess it should link to:
http://pastebin.com/jmt9fLbf

/sEi
Edited on 03 June 2014 - 09:42 AM
cptdeath58 #6
Posted 09 June 2014 - 11:17 PM
On the menu, the S key doesn't do much… and the H/Q buttons do less. :P/>

You never explain how to move… and pressing a non-movement button gives the red enemy a free move.

The game crashes when you lose. Maybe change this block (starting at line 226) like so:

  statCheck2 = fs.open( "ESC/Stats", "r" )
  if statCheck2 then
   mname = statCheck2.readLine(1)
   mmoves = statCheck2.readLine(2)
   mhighscore = statCheck2.readLine(3)
   statCheck2.close()
  end

  mname = mname or ""
  mmoves = mmoves or 0
  mhighscore = mhighscore or 0

This closes the stat file before trying to re-open it in write mode, and also ensures mname / mmoves / mhighscore get valid content (in case the file was empty / not present - as you'd expect on the first run).
A minor comment yet important.

Clicking the link in your (cptdeath58) first post returns a 404.

It is linking to:
http://pastebin/jmt9fLbf
and i guess it should link to:
http://pastebin.com/jmt9fLbf

/sEi
Bomb Bloke:I'll See if I can fix it. Btw the S key in the menu is a little Joke since there are two S's
sEi: I'll check on it. Seems to work dude, Maybe a problem with your browser Should Be Fixed now Error: would been linked to http://http://pastebin/jmt9fLbf.
Sorry, for not explaining. you use W,A,S,D to move
Btw Currently trying to fix the "Free Enemy" Glitch at this moment
Edited on 09 June 2014 - 10:20 PM
cptdeath58 #7
Posted 09 June 2014 - 11:26 PM
Bomb Bloke: What error occured when you lose?
Just in case: If you read the Installation directions. It should tell you to open "Stats" first by clicks on "tats"
This is to ensure you have a name already before the game and that it is set up.
Because if not and I did do that. you would be a "Guest" and it wouldn't save because of Line 403 Function stats()

[EDIT] Would not show the "" but I think that people can get the Idea
[EDIT] Redone the code to enable this and fix your issue
Edited on 10 June 2014 - 12:33 AM
cptdeath58 #8
Posted 10 June 2014 - 02:32 AM
Update Version 1.1.6
Fixed Free Enemy Move Bug
Fixed Account Creation Bug
cptdeath58 #9
Posted 17 June 2014 - 01:20 AM
No More Bugs?
cptdeath58 #10
Posted 05 August 2014 - 01:11 AM
WARNING: CRITICAL ERROR FOUND!!!
After 5 moves, you Char locks up!
Trying to fix it right now!
Edited on 04 August 2014 - 11:14 PM
cptdeath58 #11
Posted 05 August 2014 - 01:18 AM
Version 1.1.7 now is Out!
FIxed Lockup Bug
Sir.Mongoose #12
Posted 05 August 2014 - 11:57 PM
You may already know this, but when you click tats in the main menu, I get error "escape:446:Attempt to concatenate string and nil"
cptdeath58 #13
Posted 30 August 2014 - 05:24 AM
Have you pressed tart first?
If Not then thats what it is.
If so then:
1.type "edit ESC/stats"
2.
A. The first line, put your username
B on the second and third, put a 0
3.save it and close
4. run it
koenkoe #14
Posted 25 September 2014 - 02:38 PM
Nice game
cptdeath58 #15
Posted 28 September 2014 - 02:47 AM
Thanks
cptdeath58 #16
Posted 14 June 2015 - 11:28 AM
I'm just gonna go ahead and say this that the game will no longer be developed on at this point since that their simply are better games out there.
I hope you enjoyed the game while it was out there. I will leave the link just in case anyone wants to play this game for themselves but once again I doubt it because of the reason of this game is out done by many others.