From 0828512b9d0ee185e0157e18a33b13fa15467f7d Mon Sep 17 00:00:00 2001 From: Andreas Klemm Date: Tue, 12 Nov 1996 12:19:31 +0000 Subject: A) From: "Brian Thomas" Ok, I found the problem.. the artifact code assigns a level value to artifacts with kind "Berserkergang". The specialweapon/apply code, when it finds a weapon with a "level" immediately compares the title field to the weilder's name. If they dont match, it can't be used. I created a patch to remove the level designation from the artifact code since other named weaopns (cf "glamdri") dont have a level assigned. B) From: Klaus Elsbernd In version 0.92.8 is a bug in the inventory-unlock-code, which prevents unlocking. C) From: myself make post-install target modified in Makefile, *$*HOME was eaten up by 'make' and displayed nonsense. Tell player to create the players dir in his login directory. --- games/crossfire-client/Makefile | 9 ++++---- games/crossfire-client/files/patch-al | 36 ++++++++++++++++++++++++++++++ games/crossfire-client/files/patch-am | 42 +++++++++++++++++++++++++++++++++++ games/crossfire-server/Makefile | 9 ++++---- games/crossfire-server/files/patch-al | 36 ++++++++++++++++++++++++++++++ games/crossfire-server/files/patch-am | 42 +++++++++++++++++++++++++++++++++++ games/crossfire/Makefile | 9 ++++---- games/crossfire/files/patch-al | 36 ++++++++++++++++++++++++++++++ games/crossfire/files/patch-am | 42 +++++++++++++++++++++++++++++++++++ 9 files changed, 249 insertions(+), 12 deletions(-) create mode 100644 games/crossfire-client/files/patch-al create mode 100644 games/crossfire-client/files/patch-am create mode 100644 games/crossfire-server/files/patch-al create mode 100644 games/crossfire-server/files/patch-am create mode 100644 games/crossfire/files/patch-al create mode 100644 games/crossfire/files/patch-am (limited to 'games') diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile index 8415d56d8c57..c41e8949fc76 100644 --- a/games/crossfire-client/Makefile +++ b/games/crossfire-client/Makefile @@ -3,7 +3,7 @@ # Date created: So 27 Okt 1996 12:25:55 MET # Whom: Andreas Klemm # -# $Id$ +# $Id: Makefile,v 1.5 1996/11/04 10:04:36 asami Exp $ # DISTNAME= crossfire-0.92.8 @@ -66,13 +66,14 @@ post-install: chown games.games ${PREFIX}/bin/crossfire chmod 6555 ${PREFIX}/bin/crossfire @echo "" - @echo "" @echo "======================================================" @echo "===== ATTENTION BEFORE PLAYING =======================" @echo "======================================================" @echo "Create a players directory before playing crossfire, " - @echo "otherwise crossfire cannot save your player character:" - @echo "Type the following command as user: mkdir $HOME/players" + @echo "otherwise crossfire cannot save your player character !" + @echo "Type the following command as user in your login directory:" + @echo "" + @echo " $ mkdir players" @echo "" @echo "Read the docu, which is available in Postscript and HTML" @echo "format in the directory ${CFDIR}/doc" diff --git a/games/crossfire-client/files/patch-al b/games/crossfire-client/files/patch-al new file mode 100644 index 000000000000..37217ed94e1b --- /dev/null +++ b/games/crossfire-client/files/patch-al @@ -0,0 +1,36 @@ +Date: Wed, 6 Nov 96 04:19:33 EST +From: "Brian Thomas" +Message-Id: <9611060919.AA25706@zaphod.astro.psu.edu> +To: crossfire@ifi.uio.no +Subject: CF: Berserker weapon patch + + Ok, I found the problem.. the artifact code + assigns a level value to artifacts with kind + "Berserkergang". The specialweapon/apply code, + when it finds a weapon with a "level" + immediately compares the title field to the + weilder's name. If they dont match, it can't be used. + + I created a patch to remove the level designation + from the artifact code since other named weaopns + (cf "glamdri") dont have a level assigned. + + -b.t. + +*** lib/artifacts.orig Wed Nov 6 04:15:22 1996 +--- lib/artifacts Wed Nov 6 04:15:32 1996 +*************** +*** 548,558 **** + Con 7 + Int -10 + Wis -10 + Cha -15 + protected 2 +- level 20 + material 256 + weight 50 + exp 3 + hp 2 + msg +--- 548,557 ---- + diff --git a/games/crossfire-client/files/patch-am b/games/crossfire-client/files/patch-am new file mode 100644 index 000000000000..4fa4ec81ef76 --- /dev/null +++ b/games/crossfire-client/files/patch-am @@ -0,0 +1,42 @@ +To: Mark Wedel +cc: crossfire@ifi.uio.no +Subject: CF: Bug in inventory-code +Date: Wed, 06 Nov 1996 13:29:14 +0100 +From: Klaus Elsbernd + +Hello. +In version 0.92.8 is a bug in the inventory-unlock-code, which prevents +unlocking. +The following patch will fix the problem: + +*** server/c_object.c.dist Tue Oct 29 11:57:45 1996 +--- server/c_object.c Wed Nov 6 13:24:18 1996 +*************** +*** 1063,1069 **** + + op->contr->freeze_inv=1; + op->contr->freeze_look=1; +! if (!params) lock_inv(op,find_first_inventory_item(op)); + else { + if (op->type==PLAYER) show_what=op->contr->show_what; + for (tmp=op->inv; tmp; tmp=tmp->below) { +--- 1063,1069 ---- + + op->contr->freeze_inv=1; + op->contr->freeze_look=1; +! if (!params) unlock_inv(op,find_first_inventory_item(op)); + else { + if (op->type==PLAYER) show_what=op->contr->show_what; + for (tmp=op->inv; tmp; tmp=tmp->below) { + +MfG +Klaus + +-- +._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. +| Klaus Elsbernd, DFKI/Universit"at Kaiserslautern | elsbernd@dfki.uni-kl.de | +| System Administrator | BOFH | +| 67657 Kaiserslautern; Germany | Tel: (+49) 0631/205-3486| +|_._._._._._._._._._._._._._._._._._._._._._._._._._|_._._._._._._._._._._._._| + + diff --git a/games/crossfire-server/Makefile b/games/crossfire-server/Makefile index 8415d56d8c57..c41e8949fc76 100644 --- a/games/crossfire-server/Makefile +++ b/games/crossfire-server/Makefile @@ -3,7 +3,7 @@ # Date created: So 27 Okt 1996 12:25:55 MET # Whom: Andreas Klemm # -# $Id$ +# $Id: Makefile,v 1.5 1996/11/04 10:04:36 asami Exp $ # DISTNAME= crossfire-0.92.8 @@ -66,13 +66,14 @@ post-install: chown games.games ${PREFIX}/bin/crossfire chmod 6555 ${PREFIX}/bin/crossfire @echo "" - @echo "" @echo "======================================================" @echo "===== ATTENTION BEFORE PLAYING =======================" @echo "======================================================" @echo "Create a players directory before playing crossfire, " - @echo "otherwise crossfire cannot save your player character:" - @echo "Type the following command as user: mkdir $HOME/players" + @echo "otherwise crossfire cannot save your player character !" + @echo "Type the following command as user in your login directory:" + @echo "" + @echo " $ mkdir players" @echo "" @echo "Read the docu, which is available in Postscript and HTML" @echo "format in the directory ${CFDIR}/doc" diff --git a/games/crossfire-server/files/patch-al b/games/crossfire-server/files/patch-al new file mode 100644 index 000000000000..37217ed94e1b --- /dev/null +++ b/games/crossfire-server/files/patch-al @@ -0,0 +1,36 @@ +Date: Wed, 6 Nov 96 04:19:33 EST +From: "Brian Thomas" +Message-Id: <9611060919.AA25706@zaphod.astro.psu.edu> +To: crossfire@ifi.uio.no +Subject: CF: Berserker weapon patch + + Ok, I found the problem.. the artifact code + assigns a level value to artifacts with kind + "Berserkergang". The specialweapon/apply code, + when it finds a weapon with a "level" + immediately compares the title field to the + weilder's name. If they dont match, it can't be used. + + I created a patch to remove the level designation + from the artifact code since other named weaopns + (cf "glamdri") dont have a level assigned. + + -b.t. + +*** lib/artifacts.orig Wed Nov 6 04:15:22 1996 +--- lib/artifacts Wed Nov 6 04:15:32 1996 +*************** +*** 548,558 **** + Con 7 + Int -10 + Wis -10 + Cha -15 + protected 2 +- level 20 + material 256 + weight 50 + exp 3 + hp 2 + msg +--- 548,557 ---- + diff --git a/games/crossfire-server/files/patch-am b/games/crossfire-server/files/patch-am new file mode 100644 index 000000000000..4fa4ec81ef76 --- /dev/null +++ b/games/crossfire-server/files/patch-am @@ -0,0 +1,42 @@ +To: Mark Wedel +cc: crossfire@ifi.uio.no +Subject: CF: Bug in inventory-code +Date: Wed, 06 Nov 1996 13:29:14 +0100 +From: Klaus Elsbernd + +Hello. +In version 0.92.8 is a bug in the inventory-unlock-code, which prevents +unlocking. +The following patch will fix the problem: + +*** server/c_object.c.dist Tue Oct 29 11:57:45 1996 +--- server/c_object.c Wed Nov 6 13:24:18 1996 +*************** +*** 1063,1069 **** + + op->contr->freeze_inv=1; + op->contr->freeze_look=1; +! if (!params) lock_inv(op,find_first_inventory_item(op)); + else { + if (op->type==PLAYER) show_what=op->contr->show_what; + for (tmp=op->inv; tmp; tmp=tmp->below) { +--- 1063,1069 ---- + + op->contr->freeze_inv=1; + op->contr->freeze_look=1; +! if (!params) unlock_inv(op,find_first_inventory_item(op)); + else { + if (op->type==PLAYER) show_what=op->contr->show_what; + for (tmp=op->inv; tmp; tmp=tmp->below) { + +MfG +Klaus + +-- +._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. +| Klaus Elsbernd, DFKI/Universit"at Kaiserslautern | elsbernd@dfki.uni-kl.de | +| System Administrator | BOFH | +| 67657 Kaiserslautern; Germany | Tel: (+49) 0631/205-3486| +|_._._._._._._._._._._._._._._._._._._._._._._._._._|_._._._._._._._._._._._._| + + diff --git a/games/crossfire/Makefile b/games/crossfire/Makefile index 8415d56d8c57..c41e8949fc76 100644 --- a/games/crossfire/Makefile +++ b/games/crossfire/Makefile @@ -3,7 +3,7 @@ # Date created: So 27 Okt 1996 12:25:55 MET # Whom: Andreas Klemm # -# $Id$ +# $Id: Makefile,v 1.5 1996/11/04 10:04:36 asami Exp $ # DISTNAME= crossfire-0.92.8 @@ -66,13 +66,14 @@ post-install: chown games.games ${PREFIX}/bin/crossfire chmod 6555 ${PREFIX}/bin/crossfire @echo "" - @echo "" @echo "======================================================" @echo "===== ATTENTION BEFORE PLAYING =======================" @echo "======================================================" @echo "Create a players directory before playing crossfire, " - @echo "otherwise crossfire cannot save your player character:" - @echo "Type the following command as user: mkdir $HOME/players" + @echo "otherwise crossfire cannot save your player character !" + @echo "Type the following command as user in your login directory:" + @echo "" + @echo " $ mkdir players" @echo "" @echo "Read the docu, which is available in Postscript and HTML" @echo "format in the directory ${CFDIR}/doc" diff --git a/games/crossfire/files/patch-al b/games/crossfire/files/patch-al new file mode 100644 index 000000000000..37217ed94e1b --- /dev/null +++ b/games/crossfire/files/patch-al @@ -0,0 +1,36 @@ +Date: Wed, 6 Nov 96 04:19:33 EST +From: "Brian Thomas" +Message-Id: <9611060919.AA25706@zaphod.astro.psu.edu> +To: crossfire@ifi.uio.no +Subject: CF: Berserker weapon patch + + Ok, I found the problem.. the artifact code + assigns a level value to artifacts with kind + "Berserkergang". The specialweapon/apply code, + when it finds a weapon with a "level" + immediately compares the title field to the + weilder's name. If they dont match, it can't be used. + + I created a patch to remove the level designation + from the artifact code since other named weaopns + (cf "glamdri") dont have a level assigned. + + -b.t. + +*** lib/artifacts.orig Wed Nov 6 04:15:22 1996 +--- lib/artifacts Wed Nov 6 04:15:32 1996 +*************** +*** 548,558 **** + Con 7 + Int -10 + Wis -10 + Cha -15 + protected 2 +- level 20 + material 256 + weight 50 + exp 3 + hp 2 + msg +--- 548,557 ---- + diff --git a/games/crossfire/files/patch-am b/games/crossfire/files/patch-am new file mode 100644 index 000000000000..4fa4ec81ef76 --- /dev/null +++ b/games/crossfire/files/patch-am @@ -0,0 +1,42 @@ +To: Mark Wedel +cc: crossfire@ifi.uio.no +Subject: CF: Bug in inventory-code +Date: Wed, 06 Nov 1996 13:29:14 +0100 +From: Klaus Elsbernd + +Hello. +In version 0.92.8 is a bug in the inventory-unlock-code, which prevents +unlocking. +The following patch will fix the problem: + +*** server/c_object.c.dist Tue Oct 29 11:57:45 1996 +--- server/c_object.c Wed Nov 6 13:24:18 1996 +*************** +*** 1063,1069 **** + + op->contr->freeze_inv=1; + op->contr->freeze_look=1; +! if (!params) lock_inv(op,find_first_inventory_item(op)); + else { + if (op->type==PLAYER) show_what=op->contr->show_what; + for (tmp=op->inv; tmp; tmp=tmp->below) { +--- 1063,1069 ---- + + op->contr->freeze_inv=1; + op->contr->freeze_look=1; +! if (!params) unlock_inv(op,find_first_inventory_item(op)); + else { + if (op->type==PLAYER) show_what=op->contr->show_what; + for (tmp=op->inv; tmp; tmp=tmp->below) { + +MfG +Klaus + +-- +._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. +| Klaus Elsbernd, DFKI/Universit"at Kaiserslautern | elsbernd@dfki.uni-kl.de | +| System Administrator | BOFH | +| 67657 Kaiserslautern; Germany | Tel: (+49) 0631/205-3486| +|_._._._._._._._._._._._._._._._._._._._._._._._._._|_._._._._._._._._._._._._| + + -- cgit v1.2.3