From 34747b3c19bdbc1b0d67170fa2bd1bdd0f169a23 Mon Sep 17 00:00:00 2001 From: Jamin Blount Date: Sun, 5 Feb 2017 11:06:58 -0600 Subject: [PATCH] v1.1.7 ### 1.1.7 (12.29.2004) ### ### Thanks to Adam. :) - Fixed URL cheat that allowed people to continue fighting after victory. ### 1.1.6a (11.20.2004) ### - Fixed problem where goldbonus was added to experience instead of gold. - Fixed a typo in fight.php. --- fight.php | 1 + lib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fight.php b/fight.php index 8543a15..b51f22b 100644 --- a/fight.php +++ b/fight.php @@ -3,6 +3,7 @@ function fight() { // One big long function that determines the outcome of the fight. global $userrow, $controlrow; + if ($userrow["currentaction"] != "Fighting") { display("Cheat attempt detected.

Get a life, loser.", "Error"); } $pagearray = array(); $playerisdead = 0; diff --git a/lib.php b/lib.php index 676095a..3ce4ef3 100644 --- a/lib.php +++ b/lib.php @@ -2,7 +2,7 @@ $starttime = getmicrotime(); $numqueries = 0; -$version = "1.1.6"; +$version = "1.1.7"; $build = ""; function opendb() { // Open database connection.