Mudlet-2.0 release candidates [latest: Mudlet 2.0 final]

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

Mudlet-2.0 release candidates [latest: Mudlet 2.0 final]

Post by Heiko »

Latest version: Mudlet-2.0-test8

Download:

Windows: [latest: Mudlet-2.0-test8] http://sourceforge.net/projects/mudlet/ ... e/download
Mac: [latest: Mudlet-2.0-test8] https://docs.google.com/open?id=0B-iK1a ... FM0c2ZRR0U
Ubuntu: [latest: Mudlet-2.0-rc19 (test7)] PPA
Debian Sid and Wheezy: [latest: Mudlet-2.0-rc12] http://packages.debian.org/wheezy/mudlet


View the 2.0 release in Launchpad - blueprints and bugs left.


Changelog:

Mudlet 2.0-test8:
http://mudlet.git.sourceforge.net/git/g ... a=shortlog

Mudlet 2.0-test7:
http://mudlet.git.sourceforge.net/git/g ... a=shortlog
Windows test7: http://sourceforge.net/projects/mudlet/ ... e/download

Mudlet 2.0-test6:
http://mudlet.git.sourceforge.net/git/g ... dlet;a=log

Mudlet 2.0-test5:
- changelog

Mudlet-2.0-rc5:
- critical bug fix release

Mudlet-2.0-rc4:
- much improved spell check with suggestions
- (more) substantial Geyser improvements and Geyser HOWTO http://wiki.mudlet.org/w/Manual:Geyser (patches by K. Bock)
- logging state is remembered across sessions if the profile is being saved -> de facto autologging in conjunction with the force auto save on exit option
- cancel option when profile or application is being closed
- bugfix: ANSI background color bug
- missing mapper script detection and user warning
- various cosmetic improvements
- various user experience improvements
- new roomExits(id) function
- new saveMap(path) function
- improved various error messages

Mudlet-2.0-rc3:
- fixed crash that could occur with copyToHtml
- fixed HTML logging to file. Html log files now look correct (before there wer incorrect line breaks)
- fixed HTML logging now properly flushes the buffer after every log interval (-> no more lost data).
- new: registerAnonymousEventHandler( event, func ) in order to register event handlers via scripts


Mudlet-2.0-rc2:
- fixed showing up of tempTriggers and tempTimers after xml imports in the trigger editor
- fixed unresponsiveness of the trigger editor after xml import
- fixed a stream decoder error that could randomly mess up log in screens in certain MUDs.
- fixed addAreaName()
- fixed roomUserData() functions
- fixed deleteArea() and deleteRoom()
- major mapper 2D display speed improvement
- fixed gcmp.Char.Status messages get merged by default
- new: users can now register gmcp tables that are merged instead of replaced, current default on the merge list is only gmcp.Char.Status
- patch by BenH: MCCP compression bug fix
- patch by BenH: mouse over link bug fix
- new: Karsten Bock added new modules to Geyser e.g. support for tiled images etc.
- fixed: lower split screen not showing the last line after scroll up
- misc other fixes



older updates

- built in spell checker (Hunspell)
- built in irc client to quickly access our live help channel on freenode via a click of a button
- irc will be fully scriptable. This can be used to control your bot scripts over irc :)
- bug fix: event handlers of disabled scripts will no longer be called
- you can define your own special exits. Those exits will be used in the pathfinding, but they will not be shown on the map as most of those are secret or magical usually.

Another new feature is that one way exits are now possible. Up until now, one way exits were not being used by the path finding backbone.

new functions:
addSpecialExit( roomID_from, roomID_to, command )
getSpecialExits( roomID ) : table where the keys are to roomIDs of the exit rooms with the appropriate command as value
getSpecialExitsSwap( roomID ): same table as getSpecialExits() but with commands as keys and roomIDs as values
clearSpecialExits( roomID )
getRoomsByPosition( areaID, x, y, z ) : table with room collisions
setExit(id_from, id_to, direction_id ) now properly deletes exits if the id_to is 0 for a given direction (for special exits look above)
getRoomEnv(roomID) : integer environment color
echoCommandLine( text ) : appends text to the command line
openUrl( url ) opens an URL in a native browser window just like the manual when the help button is pressed
downloadFile( filepath, url ) downloads a file from the internet asynchronously to filepath and raises the event sysDownloadDone with the filepath as second parameter when the download is finished, in case of an error sysDownloadError is raised with the error description as second argument
getRoomUserData( id, key ) : returns the user value stored for key
setRoomUserData( id, key, value )
getRoomsByPosition(area_id, x,y,z) : returns a table with room ids on this position (=room collisions)
appendCmdLine( txt ) - echo to command line, but appends txt to the current command line text (->printCmdLine(txt))
openUrl( url ) - open url in a native web browser

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

Re: new features/functions in 1.2.0-pre8

Post by Omit »

getRoomColor(roomID) ?

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

Re: new features/functions in 1.2.0-pre8

Post by Heiko »

oki added

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

Re: new features/functions in 1.2.0-pre8

Post by Omit »

Heiko wrote: getSpecialExits( roomID ) : table where the keys are to roomIDs of the exit rooms with the appropriate command as value
does this mean a table like...
Code: [show] | [select all] lua
table {
1552   = 'swim north'
1895  = 'swim south'
}
... or something like that?

I was hoping for a table like the one for room exits
Code: [show] | [select all] lua
table {
'swim north'  = 1552
'swim south'  = 1895 
 }
... or something like that (this this just my preferance? I think it would be easier to deal with the table like this... I fear the first thing I will do is swap the values into a new table... when you track movement you need to match the command that is used not the room you are going to... only need the room it goes to if you use it)

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: new features/functions in 1.2.0-pre8

Post by Vadi »

I prefer how it is. You can easily swap the values if you'd need it.

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

Re: new features/functions in 1.2.0-pre8

Post by Omit »

I can (and will). I can't think of any reason to have the table key be the destination room ID. It seems odd to me as the standard exits table that is returned is the exact opposite. I am curious why you prefer it. Care to share the rationale?

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

Re: new features/functions in 1.2.0-pre8

Post by Heiko »

I can see good reasons for both variants and I'll add the function getSpecialExitsSwap().

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

Re: new features/functions in 1.2.0-pre8

Post by Heiko »

added user data function:
getRoomUserData( id, key ) : returns the user value stored for key
setRoomUserData( id, key, value )

added file download from the internet: downloadFile( path, url )

misc other functions

Iocun
Posts: 174
Joined: Wed Dec 02, 2009 1:45 am

Re: new features/functions in 1.2.0-pre8

Post by Iocun »

Omit wrote:I can (and will). I can't think of any reason to have the table key be the destination room ID. It seems odd to me as the standard exits table that is returned is the exact opposite. I am curious why you prefer it. Care to share the rationale?
Just a guess: Usually for map-query things (pathfinding etc.) you might first want to check certain rooms for their properties/connections/etc. before worrying about which commands to use to get there. So you'd first know the ID's of the rooms, and then look those up to get the commands to go there.

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

Re: new features/functions in 1.2.0-pre8

Post by Heiko »

changed getRoomColor(id) to getRoomEnv( id ) as we also have setRoomEnv( id )

Environment colors can be defined by the user via:
setCustomEnvColor() and getCustomEnvColorTable()

Post Reply