Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: magic rune of staff
- To: crossfire (at) ifi.uio.no
- Subject: CF: magic rune of staff
- From: KAWAMOTO Yosihisa <>
- Date: Sat, 11 May 1996 10:21:05 +0900
- Sender: owner-crossfire
Hello.
Some one invoked 'magic rune of staff'. Then, there appears not
a magic rune, but a staff. This staff is identified as 'staff of
staff to snake', but examining one will cause server crush.
A member of Crossfire JP mailing list made a patch for this.
This is not smart, as you see :-).
--
iKAWAMOTO Yosihisa!
*** server/rune.c Tue Jan 2 20:58:41 1996
--- server/rune.c.new Sat May 11 02:28:16 1996
***************
*** 85,94 ****
new_draw_info(NDI_UNIQUE, 0,op,"a spell you don't know. (idiot!)");
return 0;
}
! at=find_archetype(runename);
/* next it attempts to look up a rune_archetype for this spell
by doing some string manipulations */
! if(!at) {
char buf[MAX_BUF];
char insp[MAX_BUF];
int i;
--- 85,95 ----
new_draw_info(NDI_UNIQUE, 0,op,"a spell you don't know. (idiot!)");
return 0;
}
! /* next line causes a problem for the case of runename,"staff" */
! /* at=find_archetype(runename); */
/* next it attempts to look up a rune_archetype for this spell
by doing some string manipulations */
! if(1) {
char buf[MAX_BUF];
char insp[MAX_BUF];
int i;