I'm having a problem with builders using copyto to screw with other people's zones.. I am trying to make it so you can only copyto to your own zone, but for some reason it crashes at this line: OLC_ZNUM(d) = real_zone(iroom); .. and then below that I use the check from olc.c for "You do not have permission to edit this zone.".. I don't get why that crashes, because print d, print ch, print iroom from gdb all return valid things =) if anyone has imped it so you can only copyto to your own zone, the few lines of code would be helpful, otherwise thanks in advance for help. /-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=X=-=-=-=-=-=-=-=-=-=-=-\ | Brian M. Williams | 02/02/83 | bmw@efn.org | X=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=X | Boccob the Uncaring, Lord of All Magic | Nashak Stonehand | | accolademud.hermesnet.net 5000 | coyote.toon.org 6000 | \=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-X-=-=-=-=-=-=-=-=-=-=-=/ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST