Unknown2008-03-05 15:32:42
NOTE: The 'map' command has been changed to 'lmap' in the mapper module, to avoid conflicting with the in-game command.
I've made several tweaks, fixes, and enhancements to this LMTS. It comes without a map, and it should be 100% compatible with your current LMap, if you have one built already. It also comes without any ILua scripts, and your old scripts may not be 100% compatible with this version.
I do all my development for LMTS using the MinGW compiler on Windows. You're on your own for compiling it on other platforms, but you shouldn't have too much trouble getting it to work.
Look at the ChangeLog.LMTS to see a list of what changes I made and what's on the todo list yet. Post your questions, comments, etc on this thread. Please do not send me messages about LMTS in the game. Thanks.
Source files without binaries
Windows binaries for a wrapwidth of 80 columns
Windows binaries for a wrapwidth of 0
Disclaimer: Use at your own risk, yada yada yada.
(Edit: the links are now 404 because I removed the files. Sorry!)
I've made several tweaks, fixes, and enhancements to this LMTS. It comes without a map, and it should be 100% compatible with your current LMap, if you have one built already. It also comes without any ILua scripts, and your old scripts may not be 100% compatible with this version.
I do all my development for LMTS using the MinGW compiler on Windows. You're on your own for compiling it on other platforms, but you shouldn't have too much trouble getting it to work.
Look at the ChangeLog.LMTS to see a list of what changes I made and what's on the todo list yet. Post your questions, comments, etc on this thread. Please do not send me messages about LMTS in the game. Thanks.
Source files without binaries
Windows binaries for a wrapwidth of 80 columns
Windows binaries for a wrapwidth of 0
Disclaimer: Use at your own risk, yada yada yada.
(Edit: the links are now 404 because I removed the files. Sorry!)
Forren2008-03-05 16:29:03
If compiling the source files ourselves - which version is that? 80 or 0?
Unknown2008-03-05 16:49:31
The makefile is configured for the 0 wrapwidth, by default. To compile the 80 wrapwidth version, remove the "-DNOWRAP" compiler option.
Unknown2008-03-05 17:22:23
I'd like to note map doesn't get in the way. I type "maps" on Lusternia to see their's. However to me it doesn't matter, I'll just setup an alias that allows me to remain using map.
Vionne2008-03-05 17:23:28
instead of changing to lmap... MAP vs map worked, you know :/
Unknown2008-03-05 17:36:24
A. Even if MAPS works the same as MAP in Lusternia, it's not the given syntax and I'm not going to be blamed for overriding it.
B. I didn't realize the commands were case sensitive, but I really don't want to just tell people to use all caps to bypass the LMTS mapper command. What I should do, actually, is make the LMTS commands case insensitive now...
C. You're free to change the source and compile your own version.
B. I didn't realize the commands were case sensitive, but I really don't want to just tell people to use all caps to bypass the LMTS mapper command. What I should do, actually, is make the LMTS commands case insensitive now...
C. You're free to change the source and compile your own version.
Unknown2008-03-05 17:44:36
All caps isn't a bonus, having to press and hold shift while typing map, or using caps locks is more of an inconvenience than using maps.
Anyways! It doesn't matter! An alias will fix it up to be whatever I want. If anyone has problems making their own alias to do the same, then they should just get off of the MUD!
I'm glad to see newer versions coming out. I really need to utilize LMTS more and my own client less, but I just get sidetracked into doing other things, and my client is so much faster to setup when I need something. I'll get around to it eventually..
Anyways! It doesn't matter! An alias will fix it up to be whatever I want. If anyone has problems making their own alias to do the same, then they should just get off of the MUD!
I'm glad to see newer versions coming out. I really need to utilize LMTS more and my own client less, but I just get sidetracked into doing other things, and my client is so much faster to setup when I need something. I'll get around to it eventually..
Unknown2008-03-05 18:45:01
Another word of caution: your old LMap/IMap file (built with 80 wrapwidth, presumably) will not work 100% with the nowrap version of this new LMTS. You'll need to update the triggered special exit messages to include the entire text, as LMTS only captures the last line of a special exit message.
Forren2008-03-05 18:49:43
QUOTE(Zarquan @ Mar 5 2008, 01:45 PM) 491449
Another word of caution: your old LMap/IMap file (built with 80 wrapwidth, presumably) will not work 100% with the nowrap version of this new LMTS. You'll need to update the triggered special exit messages to include the entire text, as LMTS only captures the last line of a special exit message.
How would we go about doing that? I currently use Shamarah's map (with LMTS), want to use the 0 wrapwidth version of the new LMTS.
Unknown2008-03-05 18:56:04
Can the wrapwidth concept be explained? I'm not certain yet on what it means, and how it would affect anything.
Unknown2008-03-05 18:59:31
QUOTE(Forren @ Mar 5 2008, 01:49 PM) 491450
How would we go about doing that? I currently use Shamarah's map (with LMTS), want to use the 0 wrapwidth version of the new LMTS.
You would open your LMap/IMap in your favorite text editor and update the messages. You'll have to shutdown MudBot and restart it after your edits are complete. The inline map load function has been broken for quite some time, and neither Whyte nor myself has been able to fix it.
For global special exits, I have mine setup in such a way that they should work for 80 or 0 wrapwidth. I use wildcards, like so:
CODE
GSE: 5496 "cubix" "You touch a transplanar cubix, which begins to click and whir. Through a *"
GSE: -1 "follow" "You follow ^ ether to *"
GSE: -1 "follow" "You follow ^ ether to *"
For room special exits, you need to do a similar thing, except that I don't use wildcards for mine. Search through your file for the "SPE:" and you'll see the partial lines that you need to update.
CODE
ROOM v3351
Name: An archway of water.
Type: forest
E: southeast 3350
SPE: 7779 9 "transverse elemental" "You place your hands on a wavering archway with bluish tints and find the link to the elemental plane. Pulsating energy flares throughout your field of vision, and you find yourself tumbling through the aether pathways."
Name: An archway of water.
Type: forest
E: southeast 3350
SPE: 7779 9 "transverse elemental" "You place your hands on a wavering archway with bluish tints and find the link to the elemental plane. Pulsating energy flares throughout your field of vision, and you find yourself tumbling through the aether pathways."
Unknown2008-03-05 19:02:44
QUOTE(Linelmarsith @ Mar 5 2008, 01:56 PM) 491452
Can the wrapwidth concept be explained? I'm not certain yet on what it means, and how it would affect anything.
The game's default is 80, and that determines where words wrap in your client. The server adds linebreaks after roughly 80 characters in any long message, such as room descriptions, warrior attacks, etc. You may have noticed that you can size your client window as wide as you like and the text remains wrapped at the same place.
The newer 0 option (CONFIG WRAPWIDTH 0) prevents the game from adding any of these extra linebreaks, and instead it allows your client to take care of the word wrapping. This option makes it much, much easier to build triggers on those long messages because you don't have to account for variable linebreak positions.
Forren2008-03-05 19:14:43
QUOTE(Zarquan @ Mar 5 2008, 02:02 PM) 491454
The game's default is 80, and that determines where words wrap in your client. The server adds linebreaks after roughly 80 characters in any long message, such as room descriptions, warrior attacks, etc. You may have noticed that you can size your client window as wide as you like and the text remains wrapped at the same place.
The newer 0 option (CONFIG WRAPWIDTH 0) prevents the game from adding any of these extra linebreaks, and instead it allows your client to take care of the word wrapping. This option makes it much, much easier to build triggers on those long messages because you don't have to account for variable linebreak positions.
The newer 0 option (CONFIG WRAPWIDTH 0) prevents the game from adding any of these extra linebreaks, and instead it allows your client to take care of the word wrapping. This option makes it much, much easier to build triggers on those long messages because you don't have to account for variable linebreak positions.
Seems simple enough. My only other question relating to the mapper - should I be using the lmapper version included in the last imts or the imapper I compiled in this lmts?
Unknown2008-03-05 19:16:15
The i_mapper.dll in this release is the one I modified heavily to improve functionality in Lusternia. That's the whole reason I did this, so it'd be a shame to waste it. Yeah, I just didn't get into renaming the module this time... Sorry for the confusion.
Forren2008-03-05 19:19:44
QUOTE(Zarquan @ Mar 5 2008, 02:16 PM) 491458
The i_mapper.dll in this release is the one I modified heavily to improve functionality in Lusternia. That's the whole reason I did this, so it'd be a shame to waste it. Yeah, I just didn't get into renaming the module this time... Sorry for the confusion.
Hmm, did you remove some options?
Listening on port 3000.
Loading file './i_mapper.dll'.
ATCP passthrough enabled
LMap loaded. (141677 microseconds)
Parse error in file 'config.mapper.txt', unknown option 'Disable-WhoList'.
Parse error in file 'config.mapper.txt', unknown option 'Disable-Alertness'.
Entering main loop... All ready.
Unknown2008-03-05 19:21:40
QUOTE(Forren @ Mar 5 2008, 02:19 PM) 491459
Hmm, did you remove some options?
Listening on port 3000.
Loading file './i_mapper.dll'.
ATCP passthrough enabled
LMap loaded. (141677 microseconds)
Parse error in file 'config.mapper.txt', unknown option 'Disable-WhoList'.
Parse error in file 'config.mapper.txt', unknown option 'Disable-Alertness'.
Entering main loop... All ready.
Listening on port 3000.
Loading file './i_mapper.dll'.
ATCP passthrough enabled
LMap loaded. (141677 microseconds)
Parse error in file 'config.mapper.txt', unknown option 'Disable-WhoList'.
Parse error in file 'config.mapper.txt', unknown option 'Disable-Alertness'.
Entering main loop... All ready.
Yes. Alertness doesn't exist in Lusternia and the WhoList location stuff isn't coded in LMTS because we don't have the same sort of WhoList they have in Imperian. Those parse errors are more like warnings, but you can remove the lines from your config.mapper.txt file to get rid of the messages.
Forren2008-03-05 19:28:07
For some reason my mapper isn't tracking what room I'm in.
Map is loaded, as shown by..
7590h, 7920m, 7590e, 10p, 32400en, 33900w esSilrx<>-|FREE|On!|PAUSED ME|lmap status
Rooms: 9508, using 3308784 bytes of memory.
Areas: 129, of which fully mapped: 112.
Room structure size: 348 bytes.
Hash table size: 512 chains.
Map size, x: 14 y: 10.
Room title color: unknown, code length 5.
Map is loaded, as shown by..
7590h, 7920m, 7590e, 10p, 32400en, 33900w esSilrx<>-|FREE|On!|PAUSED ME|lmap status
Rooms: 9508, using 3308784 bytes of memory.
Areas: 129, of which fully mapped: 112.
Room structure size: 348 bytes.
Hash table size: 512 chains.
Map size, x: 14 y: 10.
Room title color: unknown, code length 5.
Unknown2008-03-05 21:01:02
QUOTE(Forren @ Mar 5 2008, 02:28 PM) 491462
For some reason my mapper isn't tracking what room I'm in.
Map is loaded, as shown by..
7590h, 7920m, 7590e, 10p, 32400en, 33900w esSilrx<>-|FREE|On!|PAUSED ME|lmap status
Rooms: 9508, using 3308784 bytes of memory.
Areas: 129, of which fully mapped: 112.
Room structure size: 348 bytes.
Hash table size: 512 chains.
Map size, x: 14 y: 10.
Room title color: unknown, code length 5.
Map is loaded, as shown by..
7590h, 7920m, 7590e, 10p, 32400en, 33900w esSilrx<>-|FREE|On!|PAUSED ME|lmap status
Rooms: 9508, using 3308784 bytes of memory.
Areas: 129, of which fully mapped: 112.
Room structure size: 348 bytes.
Hash table size: 512 chains.
Map size, x: 14 y: 10.
Room title color: unknown, code length 5.
Why does it say 'Room title color: unknown' I wonder? Are you using 'Title-Color brown' (or whatever color name matches your setting in the game) in your config.mapper.txt? At any rate, I'd say that's the source of your troubles there.
Forren2008-03-05 22:53:54
What I have in my config is the following:
# File generated by LMapper.# Manual changes that are not loaded will be lost on the next rewrite.Title-Color brownDisable-Swimming yes#Disable-WhoList no#Disable-Alertness noDisable-Locating noDisable-AreaName noDisable-MXPTitle noDisable-MXPExits noDisable-MXPMap noDisable-AutoLink noDisable-SewerGrates noEnable-GodRooms no# Room Tags.
# File generated by LMapper.# Manual changes that are not loaded will be lost on the next rewrite.Title-Color brownDisable-Swimming yes#Disable-WhoList no#Disable-Alertness noDisable-Locating noDisable-AreaName noDisable-MXPTitle noDisable-MXPExits noDisable-MXPMap noDisable-AutoLink noDisable-SewerGrates noEnable-GodRooms no# Room Tags.
Gregori2008-03-06 03:48:23
Wrapwidth 0 version causes a segmentation fault error and crash of mudbot. Any reason why/how to stop this without not using wrapwidth 0?
Crashlog:
Section - Processing buffer.
Section - Processing server line.
Module - LMapper.
Section - Reading from...
Descriptor - Server.
"You discern:You are standing in the Serenwilde Forest.Your environment conforms to that of forest.You are within the continent of the Basin of Life.You are in the Prime Material Plane.ÈChar.VitalsNL:0/100 H:3303/3303 M:4941/4941 E:5214/5214 P:10/10 N:14505/14505 W:22695/22695 ð elrx<>-ï"
Going out of bounds!
(0) trigger_cmp
(1) trigger_cmp
(2) trigger_cmp
(3) parse_survey
(4) parse_shrinesight
(5) parse_dsight
Crashlog:
CODE
Section - Processing buffer.
Section - Processing server line.
Module - LMapper.
Section - Reading from...
Descriptor - Server.
"You discern:You are standing in the Serenwilde Forest.Your environment conforms to that of forest.You are within the continent of the Basin of Life.You are in the Prime Material Plane.ÈChar.VitalsNL:0/100 H:3303/3303 M:4941/4941 E:5214/5214 P:10/10 N:14505/14505 W:22695/22695 ð elrx<>-ï"
Going out of bounds!
(0) trigger_cmp
(1) trigger_cmp
(2) trigger_cmp
(3) parse_survey
(4) parse_shrinesight
(5) parse_dsight