 |
intoK Apprentice
Joined: 18 Feb 2007 Posts: 190
|
Posted: Wed Oct 29, 2008 9:36 am
[2.36] current directory inconsistency + other related |
Quote: |
middle of the session, trying to dofile
1 9:09:38 AM cMUD.exe:3932 OPEN C:\Profiles\Administrator\My Documents\CMUD\Aardwolf\lua\core.lua PATH NOT FOUND Options: Open Access: Read
2 9:09:38 AM cMUD.exe:3932 OPEN C:\Profiles\Administrator\My Documents\CMUD\Aardwolf\lua\core.lua PATH NOT FOUND Options: Open Access: 00100001
after restarting cmud, require loads same module, dofile will work off cmuds directory at this point as well - cmud will keep that cd for undefined period of time
3 9:10:21 AM cMUD.exe:476 OPEN C:\Program Files\CMUD\core.lua NOT FOUND Options: Open Access: Read
4 9:10:21 AM cMUD.exe:476 OPEN C:\Program Files\CMUD\core.lua NOT FOUND Options: Open Access: 00100001
5 9:10:21 AM cMUD.exe:476 OPEN C:\Program Files\CMUD\lua\core.lua SUCCESS Options: Open Access: Read
6 9:10:21 AM cMUD.exe:476 OPEN C:\Program Files\CMUD\lua\core.lua SUCCESS Options: Open Access: 00100001
7 9:10:21 AM cMUD.exe:476 QUERY INFORMATION C:\Program Files\CMUD\lua\core.lua SUCCESS FileInternalInformation
8 9:10:21 AM cMUD.exe:476 CLOSE C:\Program Files\CMUD\lua\core.lua SUCCESS
|
so, cd at some point changed from "C:\Program Files\CMUD\" to "C:\Profiles\Administrator\My Documents\CMUD\Aardwolf\"...
guess i can do symlink for lua dir for now, but this is not proper behaviour. |
|
|
 |
intoK Apprentice
Joined: 18 Feb 2007 Posts: 190
|
Posted: Wed Oct 29, 2008 11:15 am |
EDIT: disregard below, bug isolated in [2.36 lua] zs.send breaking zs.param
symlink fixed above... but while i was tracking when above happens i realized it correlates with other strange things (btw, disconnecting session seems to be required but not sole trigger for cd change)
zs.param used in telnet triggers will return converted string instead raw char, possibly zs.param crashes all together, but telnet routine pops out immediately with unrecognized option being converted string - zs.ascii(zs.param(1)) returns 48 instead of 1
also triggers using zs.sub and zs.psub stop working correctly (sub commands seem to be not expanding (or the start converting too?) parameters)
finally, to erase all doubt, everything works _perfectly_ when cmud is freshly started (closing to session choice window solves nothing - apparently everything goes under lua memory)
definitively lua memory corruption is happening there, just got it wo disconnecting, everything is very random, zs.param stopped working and tick warnings (that i have disabled) started popping up in map window |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|