Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 Couple bugs
Yesterday, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, DotBot, Yandex, Google

Members: 0
Guests: 18
Stats
Files
Topics
Posts
Members
Newest Member
477
3,705
19,232
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Bugfix Lists » SmaugFUSS Bugfix List » [Bug] Mapout function does no...
Forum Rules | Mark all | Recent Posts

[Bug] Mapout function does not respect aassign settings
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Sep 23, 2006, 2:25 pm   Last edited Sep 23, 2006, 2:25 pm by Samson
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Bug: Mapout function does not respect aassign settings
Danger: Low - Map generated from unexpected area
Found by: Remcon
Fixed by: Remcon

---

mapout.c, add_new_room_to_map

Locate:
   for( i = ch->pcdata->r_range_lo; i <= ch->pcdata->r_range_hi; i++ )


Change to:
   for( i = ch->pcdata->area->low_r_vnum; i <= ch->pcdata->area->hi_r_vnum; i++ )


mapout.c, num_rooms_avail

Locate:
   for( i = ch->pcdata->r_range_lo; i <= ch->pcdata->r_range_hi; i++ )


Change to:
   for( i = ch->pcdata->area->low_r_vnum; i <= ch->pcdata->area->hi_r_vnum; i++ )


mapout.c, map_to_rooms

Locate:
      for( i = ch->pcdata->r_range_lo; i <= ch->pcdata->r_range_hi; i++ )


Change to:
      for( i = ch->pcdata->area->low_r_vnum; i <= ch->pcdata->area->hi_r_vnum; i++ )


Remcon said:

The problem comes in that it likes to use the set vnums instead of the area they are assigned. So if they have no vnums assigned but have an area assigned they aren't able to make the map. If they have vnums assigned, but a different area assigned to them it will still use the assigned vnums instead of the assigned area vnums. This will fix the problems there.
       
Pages:<< prev 1 next >>