Been asking around, no one seems to know on Mudlet Clan so I wanted to ask here.
I have a number of UserWindows to pull stuff off my screen and put it into moveable windows. They may not be pretty but they do what I need them to and I've grown accustomed to them.
Since I upgraded to Mudlet 3.5, when I log in, they all populate on the right side of the Mudlet screen, collapsed in a heap as they all try to fit in that one space. I need them to be undockable and moveable because I am almost always on different size screens, sometimes dual monitor, sometimes not, sometimes laptop. But any time I move them now, they crash Mudlet. How do I fix this?
function inRoomPlayers()
openUserWindow("Players In Room")
oldRoomID = oldRoomID or 0
if tonumber(gmcp.Room.Info.num) ~= oldRoomID then
playersInRoom = {}
for k,v in pairs(gmcp.Room.Players) do
if v.name ~= gmcp.Char.Status.name then
if not table.contains(playersInRoom, v.name) then
table.insert(playersInRoom, v.name) --all the names go into this table
end
end
end
end
oldRoomID = tonumber(gmcp.Room.Info.num)
clearWindow("Players In Room")
for k, v in ipairs(playersInRoom) do
cecho("Players In Room", "\n "..v)
end
end
inRoomPlayers()
I am in the process of fixing a LOT of the ugly old code, but first I need to know why this is crashing (and every other one of my windows) when I move them.
Comments
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
Not on SVO or anything. My shizz is custom. Custom crap, is still custom right?
Everyrhing always worked fine on either one until I went 3.5 because I have been needing to part out chucks of code to make into modules and whatnot so I wanted to use the copy pasta feature.
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
Could you go to https://github.com/mudlet/mudlet/issues and describe the problem in detail?
Svof
Mudlet Discord join up
The issue may be that there are NINE windows and not just one. And I have a couple more ideas I want to test beforehand. Probably a mix of Windows 10, too many windows, and my shitty coding. If I can't get it (will check on Monday when I can get back to work and try it) I'll log it for ya.
Put it on 3.0.0, fine as can be.