Difference between revisions of "User:Kebap"

From Mudlet
Jump to navigation Jump to search
(→‎Projects: display Mudlet version picture thumbnail)
 
Line 24: Line 24:
 
[[File:Release_dates.png|thumb]]
 
[[File:Release_dates.png|thumb]]
  
* Add MorgenGrauen to Mudlet MUDs
+
* <strike>Add MorgenGrauen to Mudlet MUDs</strike> - done! :)
** review recommendations from [[Listing_Your_MUD]]
 
  
* <strike>Enable Discord group "Testers" to (de-)register themselves via Discord reactions</strike> done! :)
+
* <strike>Enable Discord group "Testers" to (de-)register themselves via Discord reactions</strike> - done! :)
  
 
* Create PR to clean up texts in source - see [https://github.com/Mudlet/Mudlet/issues/1801 github issue 1801]  
 
* Create PR to clean up texts in source - see [https://github.com/Mudlet/Mudlet/issues/1801 github issue 1801]  
  
* <strike>Learn how to make small PR like above with Smart Git instead of github web interface</strike> done! :)
+
* <strike>Learn how to make small PR like above with Smart Git instead of github web interface</strike> - done! :)
 
[[File:Commits201809.png|thumb|Me with a few buddies]]
 
[[File:Commits201809.png|thumb|Me with a few buddies]]
  

Latest revision as of 22:26, 5 April 2025

About me

Mudlet user and script developer, hailing from MorgenGrauen (German).

Projects

Release dates.png
  • Add MorgenGrauen to Mudlet MUDs - done! :)
  • Enable Discord group "Testers" to (de-)register themselves via Discord reactions - done! :)
  • Learn how to make small PR like above with Smart Git instead of github web interface - done! :)
Me with a few buddies
  • Improve Mudlet documentation, which is not interesting for Mudlet users, but only for (some) developers.
    • Including definitions on internal functions,
    • discussions and decisions on coding style conventions,
    • standard procedures like Release Checklist, update lua function list for autocompletion,
    • This is done by adding Categories like "Mudlet Developer Manual" or "Mudlet Admin Manual"
    • etc.
  • Look into improving a11y (accessibility) of Mudlet client and website, etc.

Examples for formatting

API documentation

Examples and description moved to Area 51 plus template linked from there

Standardized error messages in code

Old style, not very informative:

    if (!lua_isnumber(L, 1)) {
        lua_pushstring(L, "createMapLabel: wrong argument type");
        return lua_error(L);
    }
    int area = lua_isnumber(L, 1);

New style with additional information:

    if (!lua_isnumber(L, 1)) {
        lua_pushfstring(L,
                "createMapLabel: bad argument #1 type (areaID as number expected, got %s!)",
                luaL_typename(L, 1));
        return lua_error(L);
    }
    int area = lua_tointeger(L, 1);