Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
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
Users Online
CommonCrawl, Bing, Yahoo!, Yandex

Members: 0
Guests: 9
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Nested resets not working.
Forum Rules | Mark all | Recent Posts

Nested resets not working.
< Newer Topic :: Older Topic > Need a bit of help here.

Pages:<< prev 1 next >>
Post is unread #1 Feb 19, 2005, 11:35 am   Last edited Nov 18, 2007, 4:01 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

Area file resets, generated by instaroom for 11406:

#RESETS
M 1 100 2 11406 -1 -1 -1
O 1 4352 1 11406 -1 -1 -1
O 1 4354 1 11406 -1 -1 -1
O 1 11481 1 11406 -1 -1 -1
P 0 11480 1 11481
P 1 4352 1 11480
S


What it looks like:


Parlor of the Immortals Vnum: 11406
[Exits: none]
[Area Flags: nocamp noastral noportal norecall nosummon noscry noteleport nobeacon]
[Room Flags: indoors]
[Sector Type: indoors] [Continent or Plane: immortal]
[Area name: The Great Void] [Area filename: void.are]
The parlor room where all immortals come to meet and plan their
activities. Build to suit, etc.
A silver longsword lies here.
(Invis) A tiny ring carved with tortued souls lies here.
(PROTO) Some god dropped a newly created leather pouch here.
The autoadvancer mob is here.
Autoadvancer is shrouded in flowing shadow and light.


What "redit rlist" says:


1) autoadvancer mobile (100) -> Parlor of the Immortals Room: 11406 [2]
2) (object) githyanki silver longsword (4352) -> Parlor of the Immortals Room: 11406 [1]
3) (object) ring wraith (4354) -> Parlor of the Immortals Room: 11406 [1]
4) (object) leather pouch (11481) -> Parlor of the Immortals Room: 11406 [1]
5) (Put) bag cloth (11480) -> leather pouch (11481) [1]
6) (Put) githyanki silver longsword (4352) -> bag cloth (11480) [1]


The pouch properly contains the cloth bag, but the cloth bag contains nothing even though the reset loaded properly. The reset code is far too convoluted and confusing for me to follow the logic. It's messy beyond all possible belief. If someone who knows the code better than I do can take a look at why it's not working I'd appreciate it. It's making getting the 2.0 code working infinitely harder than it should be since the atrocious mess of reset code had to be reworked.

Obviously the resets themselves were generated properly. It's the reset_area function which is not doing what it's supposed to. This is apparently a fairly old bug.
       
Post is unread #2 Feb 19, 2005, 12:38 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

As an aside, I did manage to get the nesting to work on the C++ converted code, so things might be looking up on this one and with any luck a fix will be forthcoming, although I'd still appreciate having some extra eyes looking at this one
       
Pages:<< prev 1 next >>