(mapping script) Base Mapping script for LP muds

All and any discussion and development of the Mudlet Mapper.
User avatar
Vadi
Posts: 4667
Joined: Sat Mar 14, 2009 3:13 pm

Re: (mapping script) Base Mapping script for LP muds

Post by Vadi » Fri Nov 04, 2011 1:24 am

Hope you can get it working again without too much trouble

Daagar
Posts: 84
Joined: Fri Feb 19, 2010 2:42 am

Re: (mapping script) Base Mapping script for LP muds

Post by Daagar » Fri Nov 04, 2011 4:08 pm

Hmm... I didn't realize that test4 came with features to handle room collisions/merging automatically. Is there any description of this anywhere yet? I know most scripts I've written and used handle collisions/merging themselves. If mudlet now handles these cases automatically, that would be excellent.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: (mapping script) Base Mapping script for LP muds

Post by Heiko » Sun Nov 06, 2011 9:05 pm

Fully automated room merging is impossible because most MUDs contain areas that cannot be represented in 2 or 3 dimensional space (e.g. map errors, illogical map design etc.) and no two MUDs are the same in any other aspect apart from the game language.
There haven't been any changes to old functions apart from the return value of searchRoom() - at least I can't think of anything. Old scripts should still work. If they don't, please let me know what doesn't work anymore.

User avatar
Omit
Posts: 190
Joined: Sun Aug 01, 2010 10:54 pm
Location: Middle Earth
Contact:

Re: (mapping script) Base Mapping script for LP muds

Post by Omit » Mon Nov 07, 2011 4:15 pm

I have used the searchRoom function to in my mapping script. I used it to determine if the room you enter is the room you expected to be at that location (and a couple other places I think.) That change would certainly have broken this scripting but it should be fairly easy to get it working again. I should have some time tonight to look at it.

User avatar
Omit
Posts: 190
Joined: Sun Aug 01, 2010 10:54 pm
Location: Middle Earth
Contact:

Re: (mapping script) Base Mapping script for LP muds

Post by Omit » Tue Nov 08, 2011 11:03 pm

OK.... had some time to look....
The Generic mapping script seemed to interfere with my scripting....
It seems that I have an issue in my color functions (once I remarked them out the mapping began to work reliably again, anything change with the env functions?)....
there is still an issue I am tring to track down with speciel exits....
and... it may not map after the initial mapping session(issue with verifing the room using the searchRoom function)

(note: the critical functionality I use the searchRoom function for seems to be undocumented and did not change, If you pass a room ID as the paramater to the searchRoom function it returns the rooms description .... searchRoom(4) will return the description of room ID 4)

I will update the script when I have addressed these issues (and a couple other of minor things to make it more user freindly)

Omit

Daagar
Posts: 84
Joined: Fri Feb 19, 2010 2:42 am

Re: (mapping script) Base Mapping script for LP muds

Post by Daagar » Wed Nov 09, 2011 2:05 am

Yes, the color environment functions now take an extra "alpha" parameter. I don't _think_ a default is provided (I at one point patched that in myself) but that might have been corrected before test4 was released. Your experience though makes me think that it wasn't, however...

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: (mapping script) Base Mapping script for LP muds

Post by chris » Wed Nov 09, 2011 1:36 pm

The new release needs the alpha character...I might have forgot to document that

User avatar
Omit
Posts: 190
Joined: Sun Aug 01, 2010 10:54 pm
Location: Middle Earth
Contact:

Re: (mapping script) Base Mapping script for LP muds

Post by Omit » Wed Nov 09, 2011 4:48 pm

I got my color functions working again! (I was also very happy to see that the custom color table is now being saved and was able to remove the database I had created to store it.)

User avatar
Omit
Posts: 190
Joined: Sun Aug 01, 2010 10:54 pm
Location: Middle Earth
Contact:

Re: (mapping script) Base Mapping script for LP muds

Post by Omit » Sun Nov 13, 2011 12:01 am

Progress has been made, It maps again, I have made some changes so all the mapping/color/current room/... info is now saved nicely with the map file and is restored from there.(previously this was not possible).

It still has issues with the special exits. (The functions are more than a little F'ed up in the most recent version I have available to me and depending on how they end up I may have quite a bit of work to get them working correctly again.)

So, I anxiously await a new compiled version for windows (with useable special exit functions).

I will make the script available as soon as this last issue is fixed.

Omit

azure_glass
Posts: 97
Joined: Wed Jul 25, 2012 12:35 pm

Re: (mapping script) Base Mapping script for LP muds

Post by azure_glass » Tue Apr 02, 2013 2:16 pm

Anyone keeping alive this script?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests