-
-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Room.Info appears to be manipulated by GMCP generic mapper before being put into a table #6019
Comments
Does that second example exactly reproduce what you are testing with - because |
Corrected the typo, sorry about that! |
I opened up 2 tabs. 1 is fresh profile. 2 is remove generic mapper package, create script and paste in the code from the forum at https://forums.mudlet.org/viewtopic.php?p=46638#p46638 Then in each tab I sent myself that message and then that same message substituting an X in Info. They both show Infx good, but the one with the forum script shows the Info wrong. Without looking at the script too closely just yet, I'd say either the script chokes on it and interrupts Mudlet in setting it, or trashes it after Mudlet has set it.
Now after doing that, it shows that it was valid at that point and then messed up after that specific spot but before I typed the lua command. I'm not familiar enough with it to know if maybe there's a pass by reference issue or something like that. |
I guess it's this for loop.
Earlier in the code, I expect this part is making a pointer instead of copying data...
|
Ahh yep. Add a table.deepcopy() in there, does that fix it? |
Issue is with a 3rd party script, posted the solution to https://forums.mudlet.org/viewtopic.php?f=13&t=23065&p=46822#p46822 |
* Made modifications adapting to new PR functionality. * Fixing speedwalking. * Making the change called for in https://forums.mudlet.org/viewtopic.php?p=46822#p46822 and Mudlet/Mudlet#6019. * Adding processing of gmcp messages and events for the updated values. Adapting mapper to use the new events. Updating stats to use the updated gmcp data and also to make the xp bar reflect score. * fix to typos in stamina bar variables Changings players to player --------- Co-authored-by: Dalem <edward.terchunian@gmail.com>
Brief summary of issue / Description of requested feature:
In the first case, I would expect it to be a string, since that is what is being sent.
The second case prohibits using alternative means of identifying rooms. In muds that don't have a vnum system, it would be helpful for other ways to identify rooms, such as perhaps a base64-encoded string that represents the file name of the room one is in.
Steps to reproduce the issue / Reasons for adding feature:
Room.Info { "name" : "Some Room", "exits" : { "east" : "100" } }
Room.Info { "name" : "Some Room", "exits" : { "east" : "L2QvdGhyYWNlL3RocmFjZS9ub3J0aDI=" } }
Error output / Expected result of feature
Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:
Mudlet 4.15.1, Windows 11
The text was updated successfully, but these errors were encountered: