Re: [CIRLCE] Bug in oasis olc pre 11

From: Nocturnal Occulto (ronnyi@ifi.uio.no)
Date: 06/10/99


Nocturnal Occulto wrote:

> Editing a new mob ruins the zone flags in other zones. Example...
>
> First I do a zedit at room 3014 this gives
> ..
> 0 - Load the Peacekeeper [3059], Max : 5
> 1 - Load the cityguard [3060], Max : 10
> 2 -  then Equip with a long sword [3022], Wielded, Max : 100
> 3 - Load the green gelatinous blob [3068], Max : 4
> 4 - <END OF LIST>
> ...
> I quit and  editing a new mob then saves it internally
> medit  15032
>
> then I go back to room 3014 and zedit, now I got
> ..
> [Command list]
> 0 - Load the cityguard [3060], Max : 5
> 1 - Load the janitor [3061], Max : 10
> 2 -  then Equip with a long sword [3022], Wielded, Max : 100
> 3 - Load the Pet Shop Boy [3089], Max : 4
> 4 - <END OF LIST>
> ..
>
> Thought Id ask if anybody has a quick fix for this ;)
>
> Regards Laf
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+

Ive found it I think, problem is in add_mobile
in this line

ZCMD(zone, cmd_no).arg1 += (ZCMD(zone, cmd_no).arg1 >= new_mob_num);

problem is new_mob_num is always 0, that cant be correct.

Regards ROnny



--
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
http://birk113.studby.uio.no/~ronnyi                           ronnyi@ifi.uio.no

         I also own a online RolePlayingGame called Blackfire located at:
                    telnet://birk113.studby.uio.no:4000
               http://birk113.studby.uio.no/~ronnyi/Blackfire
--------------------------------------------------------------------------------


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST