Today I want to introduce to you a new script of mine. I made this for server admins who don't play the server but only look after it in spectators. Now they can kill time by playing minesweeper while looking after it.
This script allows to play a minesweeper for spectators.
Commands
--- !minesweeper start <width 5-30> <height 5-30> <mine ammount 10-width*height-10> - Start the game
--- !minesweeper end - End the game
--- !minesweeper restart - Start the game with the last entered parameters.
Controls
--- F2 - Make a step
--- F3 - Place a flag
More info
--- If you will load a large gaming board (E.G. 30x30) it will lag your client for a 10-15 seconds. Don't worry, it will only lag the one who loads the game, others on the server will be OK.
Changelog
Changelog has written
-- 04.06.2013 --
Bug on the round end (thanks to Useigor)
Something in the Lua script itself, which no one is interested in
New graphics (thanks to Useigor)
Commands are slightly changed to the more understandable ones
''!minesweeper restart'' command
Bug on the round end (thanks to Useigor)
Something in the Lua script itself, which no one is interested in
New graphics (thanks to Useigor)
Commands are slightly changed to the more understandable ones
''!minesweeper restart'' command
Files that are required to be added to the servertransfer
Servertransfer has written
gfx/minesweeper/opened0.bmp
gfx/minesweeper/opened1.bmp
gfx/minesweeper/opened2.bmp
gfx/minesweeper/opened3.bmp
gfx/minesweeper/opened4.bmp
gfx/minesweeper/opened5.bmp
gfx/minesweeper/opened6.bmp
gfx/minesweeper/opened7.bmp
gfx/minesweeper/opened8.bmp
gfx/minesweeper/openedm.bmp
gfx/minesweeper/closed.bmp
gfx/minesweeper/flagged.bmp
gfx/minesweeper/flaggedc.bmp
gfx/minesweeper/opened1.bmp
gfx/minesweeper/opened2.bmp
gfx/minesweeper/opened3.bmp
gfx/minesweeper/opened4.bmp
gfx/minesweeper/opened5.bmp
gfx/minesweeper/opened6.bmp
gfx/minesweeper/opened7.bmp
gfx/minesweeper/opened8.bmp
gfx/minesweeper/openedm.bmp
gfx/minesweeper/closed.bmp
gfx/minesweeper/flagged.bmp
gfx/minesweeper/flaggedc.bmp
Do whatever you want with this, but leave a credit to me on reuploading.
If liked this script and want to give a suggestion or report a bug, feel free to leave a comment below!
Enjoy!
edited 5×, last 04.06.13 06:39:10 pm
Approved by Seekay
Download
7 kb, 575 Downloads