[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Lua
. . -> [Subject]  weird serialize error... please help

weird serialize error... please help

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Pages: 1 2  

Posted by Ogomez92   (42 posts)  [Biography] bio
Date Mon 22 Nov 2010 09:37 AM (UTC)

Amended on Mon 22 Nov 2010 08:08 PM (UTC) by Nick Gammon

Message
Hi,
After a week or so of using it correctly, and after I made some changes to a table, I just got an error when importing the serialized file.

I don't see any weird sintax errors in the file, so I don't know if it's something in the serialize file itself or I'm doing something wrong in my code.
It exported fine, and here's what happened when I tried to import:
Function/Sub: eqlf called by alias
Reason: processing alias ""
C:\My Dropbox\public\mush\worlds\plugins\sets.mzs:96: '}' expected (to close '{'
at line 95) near '='
stack traceback:
[C]: in function 'dofile'
[string "Plugin"]:445: in function <[string "Plugin"]:354>

my import/export code looks like this:

elseif act[1]=="export" then
if eql==nil then
Note("The sets table is empty...")
return
end
require "serialize"
exf = utils.filepicker ("Choose where to save the eq database", "sets", "mzs", {mzs="MUSH-Z sets files"}, true)
if not exf then Note("cancelled.") return end
local exfw=assert(io.open(exf, "w"))
exfc=serialize.save_simple(eql)
exfw:write('eql='..exfc)
exfw:close()
Note("set saved.")
elseif act[1]=="import" then
require "serialize"
exf = utils.filepicker ("Choose where your eq database is saved", "sets", "mzs", {mzs="MUSH-Z sets files"}, false)
if not exf then Note("cancelled.") return end
eql = {}  -- in case first time, make empty table
dofile(exf)
Note("sets recovered.")
SaveState()



I'd appreciate any help I could get here as I really need my sets table back..
Thanks.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Mon 22 Nov 2010 08:18 PM (UTC)
Message
First, I just had to reformat you code. A wall of text like that is almost impossible to debug:


elseif act[1] == "export" then
  
  if eql == nil then
    Note ("The sets table is empty...")
    return
  end
  
  require "serialize"
  exf = utils.filepicker ("Choose where to save the eq database", "sets", "mzs", {mzs="MUSH-Z sets files"}, true)
  
  if not exf then 
    Note("cancelled.") 
    return 
  end
  
  local exfw = assert (io.open(exf, "w"))
  exfc = serialize.save_simple (eql)
  exfw:write ('eql='..exfc)
  exfw:close ()
  Note ("set saved.")
  
elseif act[1] == "import" then

  require "serialize"
  
  exf = utils.filepicker ("Choose where your eq database is saved", "sets", "mzs", {mzs="MUSH-Z sets files"}, false)
  
  if not exf then 
    Note("cancelled.") 
    return 
  end
  
  eql = {}  -- in case first time, make empty table
  dofile(exf)
  Note("sets recovered.")
  
  SaveState()


I can't see anything obviously wrong however, I would look inside the file you are loading (and failing to load) and see if there is something strange inside it.

What would be sensible is to check the write in case it fails (eg. disk full), like this:


assert (exfw:write ('eql='..exfc))


Since this is your error message:


C:\My Dropbox\public\mush\worlds\plugins\sets.mzs:96: '}' expected (to close '{'
at line 95) near '='


I would open that file (sets.mzs) with a text editor and see what is at or around lines 95-96.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Ogomez92   (42 posts)  [Biography] bio
Date Reply #2 on Tue 23 Nov 2010 10:01 AM (UTC)
Message
I did open it with the text editor and I don't see anything wrong.
95 - setnames={
96 1="cast",
},
}
sorry about the formating, I'm blind so I just don't bother to indent because it takes me more arrow pressing to get to a certain section.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Tue 23 Nov 2010 08:01 PM (UTC)
Message
I can see the problem. Serializing basically saves data as key/value pairs, for example:


hp = 42


... where "hp" is the key and 42 is the value associated with that key.

From what you pasted you have keys like: "95 - setnames" and "96 1" (both with imbedded spaces). In fact, normally serialize indents more than that, so perhaps you didn't copy and paste? If you retyped what you saw, you may be confusing the issue by not reproducing it correctly.

If the file really has that in it, you can make it readable by putting "funny" keys into brackets and quotes, that is:


['95 - setnames'] = {
['96 1'] = "cast",
},
}


I am still puzzled however. I just tested serialize.save_simple and it correctly handles keys with imbedded spaces. What version of MUSHclient are you using?

It seems odd that you would have keys like "96 1" or "95 - setnames" - the design is a little peculiar if you do. However given that you have, or seem to have that, the current serialization module should handle it.



- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Bast   (78 posts)  [Biography] bio
Date Reply #4 on Tue 23 Nov 2010 08:04 PM (UTC)
Message
It looks to me that the 95/96 were line numbers.

I noticed there is an extra } at the end of the table, could that be the problem?

Bast

Bast

Scripts: http://github.com/endavis
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Tue 23 Nov 2010 08:11 PM (UTC)
Message
Good point. The error was at line 95, right? Well we need to see the actual file copied and pasted, not retyped with line numbers.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Tue 23 Nov 2010 08:18 PM (UTC)
Message
I can't reproduce the problem, but I can see a potential problem if the key for a table is not a string (it doesn't test for that).

I would like to get to the bottom of why it is happening - on the test data it shouldn't - however you may find that serialize.save rather than serialize.save_simple might work better. Note that you use serialize.save slightly differently. You don't need to stick the variable name in front.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #7 on Tue 23 Nov 2010 08:37 PM (UTC)
Message
Maybe there's a comma missing on the previous line, since it seems like this may be a table inside a table.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Ogomez92   (42 posts)  [Biography] bio
Date Reply #8 on Wed 24 Nov 2010 06:34 AM (UTC)
Message
Hi yes, the 95 and 96 were line numbers.
And the } before the last is a }, and the file actually worked this time, and I don't think I did any changes to it. Perhaps I removed some spaces, but nothing else.

Do you think using save instead fo save_simple would make it more secure? My scripts are being passed around, and I am responsible for their bugs and, if someone loses their sets while using my scripts I guess it's my fault for not setting it correctly -smile-
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #9 on Wed 24 Nov 2010 09:33 PM (UTC)
Message
The normal save should work OK if you have tables that don't refer to other tables. The symptoms you describe don't seem to be related to that. In fact, when you said it just "worked this time" it is even more puzzling. It is a bit hard to say more without seeing more of your code, or the actual file which seems to sometimes fail.

I don't know if I would bother with the file picker dialog, if you are always planning to save and load the same name - why not just hard-code the name in? Letting the user choose a file gives them the opportunity to choose the wrong one.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Ogomez92   (42 posts)  [Biography] bio
Date Reply #10 on Fri 26 Nov 2010 06:44 AM (UTC)
Message
Sorry to reopen this topic but I'm having the same error again. Alll I did was change save_simple for save removing the eql= at the beginning. It worked fine a couple tries and now it doesn't work again.
So it's most likely an error in serialize when doing tables inside tables. Now it's giving me an error on line 1 unexpected near {
All I have on line 1 is eql={
then line 2 says
tank={
because eql is the sets table and tank is the name of a set.
So maybe serialize is doing it wrong, I don't know.
Any ideas?
[Go to top] top

Posted by Ogomez92   (42 posts)  [Biography] bio
Date Reply #11 on Fri 26 Nov 2010 06:45 AM (UTC)
Message
The user is ment to save this file wherever they want. In fact if they save it where it saves it by default (the plugins folder) would break since the updater is gonna replace any changed file in that folder so people would end up getting my sets heh.
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #12 on Fri 26 Nov 2010 07:26 AM (UTC)
Message
I can't help with retyped descriptions of snippets of files that sometimes work and sometimes don't.

You are going to have to copy and paste the entire file. I mean, this line, which you said you had:


eql={


would not give that error message. However I can't say for sure without seeing all your code. You are just giving dribs and drabs here. I can't just guess what your script and files have in them.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Ogomez92   (42 posts)  [Biography] bio
Date Reply #13 on Fri 26 Nov 2010 08:38 AM (UTC)
Message
Problem is that the entire file is about 100 or 200 lines.
here:
Sets file
http://dl.dropbox.com/u/2142080/mush/worlds/plugins/sets.mzs
script
http://dl.dropbox.com/u/2142080/mush/worlds/plugins/script.txt
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #14 on Fri 26 Nov 2010 09:56 AM (UTC)
Message
Sigh. It's not the whole script is it? It starts half-way through an "if" statement...


elseif act[1]=="export" then
	if eql==nil then
		Note("The sets table is empty...")
		return
	end
	require "serialize"
	exf = utils.filepicker ("Choose where to save the eq database", "sets", "mzs", {mzs="MUSH-Z sets files"}, true)
	if not exf then Note("cancelled.") return end
	local exfw=assert(io.open(exf, "w"))
	exfc=serialize.save_simple(eql)
	assert (exfw:write (exfc))
	exfw:close()
	Note("set saved.")
elseif act[1]=="import" then
	require "serialize"
	exf = utils.filepicker ("Choose where your eq database is saved", "sets", "mzs", {mzs="MUSH-Z sets files"}, false)
	if not exf then Note("cancelled.") return end
	eql = {}  -- in case first time, make empty table
	dofile(exf)
	Note("sets recovered.")
	SaveState()


However I tested your file sets.mzs. I downloaded it from the dropbox, and then did this in the command window:


/dofile "sets.mzs"


That didn't have an error. Then I did this:


/require "tprint"; tprint (eql)


That worked, giving me this:


"tank":
  "wrist2"="d9e45c478314724235868cf5c10fb598"
  "wrist1"="b0c271c9b704d72832b77b57f5ed3d2c"
  "wielded"="4d5a94fa0a09e432"
  "finger1n"="shiny thing doodad"
  "bodyn"="black leather armor"
  "body"="89aac6942b14dfb4cfad37894f64904b"
  "wrist2n"="bracer stiff leather boiled"
  "arms"="af150657cffe373e38e4d706b7080ead"
  "container"="bag"
  "neck2n"="wire tiny cruddy rocks gravel necklace"
  "hands"="faf578adba51fa05c566fac8841b5fec"
  "headn"="glass helm bowl dome"
  "neck2"="55199d5288d23589d135fbea7749a679"
  "wrist1n"="leather bracer bones bone armguard"
  "wieldedn"="red sentry gloves"
  "abodyn"="orange sentry cape"
  "armsn"="arm sleeves elk skin"
  "head"="df5fe8bcbb601ed711737cb63afdce29"
  "neck1"="f888efbead4b0ef2f785d9cf791d87a5"
  "pieces":
    1="4d5a94fa0a09e432"
    2="df5fe8bcbb601ed711737cb63afdce29"
    4="55199d5288d23589d135fbea7749a679"
    8="faf578adba51fa05c566fac8841b5fec"
    "df5fe8bcbb601ed711737cb63afdce29"="bag"
    9="663652a06e68b838"
    5="af150657cffe373e38e4d706b7080ead"
    10="89aac6942b14dfb4cfad37894f64904b"
    "2c3f2bfbe4d4e3e82e8f687dd269cc6b"="bag"
    "d9e45c478314724235868cf5c10fb598"="bag"
    "f888efbead4b0ef2f785d9cf791d87a5"="bag"
    11="0e0720c0f3e432c3143cea30a8bd3be6"
    "faf578adba51fa05c566fac8841b5fec"="bag"
    3="f888efbead4b0ef2f785d9cf791d87a5"
    6="b0c271c9b704d72832b77b57f5ed3d2c"
    "55199d5288d23589d135fbea7749a679"="bag"
    "b0c271c9b704d72832b77b57f5ed3d2c"="bag"
    "79e72bb202c2d19796081a56bfd10dd4"="bag"
    "89aac6942b14dfb4cfad37894f64904b"="bag"
    13="b36d9ca73f5cefe29c913966ba20a39b"
    "0e0720c0f3e432c3143cea30a8bd3be6"="bag"
    7="d9e45c478314724235868cf5c10fb598"
    "af150657cffe373e38e4d706b7080ead"="bag"
    14="2c3f2bfbe4d4e3e82e8f687dd269cc6b"
    "663652a06e68b838"="bag"
    12="79e72bb202c2d19796081a56bfd10dd4"
    "4d5a94fa0a09e432"="bag"
    "b36d9ca73f5cefe29c913966ba20a39b"="bag"
  "abody"="0e0720c0f3e432c3143cea30a8bd3be6"
  "feet"="2c3f2bfbe4d4e3e82e8f687dd269cc6b"
  "legsn"="black sentry leggings"
  "finger1"="663652a06e68b838"
  "neck1n"="slave collar iron"
  "feetn"="polished leather boots"
  "handsn"="pair stiff boiled leather gauntlets"
  "waist"="79e72bb202c2d19796081a56bfd10dd4"
  "legs"="b36d9ca73f5cefe29c913966ba20a39b"
  "waistn"="coil vine belt"
"update_manual"=true
"cpieces"=false
"pieces":
  "fa8f25a1cb1b6e642938167602cda5a9"="bag"
  "cba1dee2d0fd8c679fcdc5c152fbccff"="bag"
  "81926ec1db2648f4"="bag"
  "da117d4362d6df7f7c8b19ba918f5925"="bag"
  "ce604561ba3ee0dbd2da540a390a22d2"="bag"
  "f4f10c521242e51fccfef3d6e31f3235"="bag"
  "4d5a94fa0a09e432"="bag"
  "4943d806355798d34e7049120dc7920f"="bag"
  "b0c271c9b704d72832b77b57f5ed3d2c"="bag"
  "f2a3a7f3bf5caf06e0aa9c53fbd493f9"="bag"
  "460930f02b5168a116d19c67907a2791"="bag"
  "fa5ad1bfcc14f9de5ae4df54251ae6f3"="bag"
  "7261cccb83bd4bde897ea225ad728a40"="bag"
  "95fd94796eb4fa7f"="bag"
  "d11e33494c605c57e79f717bae307dd1"="bag"
  "d9e25ab909ba7397"="bag"
  "55199d5288d23589d135fbea7749a679"="bag"
  "88b5d4c0245fbb5a4ed1b6c1a8e9217c"="bag"
  "5dd725b20423d2e2"="bag"
  "8cf9e87724f6b7302a2446cc8c045c83"="bag"
  "9129d8b41cd70a4d8816a8340c3c597f"="bag"
  "df5fe8bcbb601ed711737cb63afdce29"="bag"
  "51b87aadd20153acbe7059bfec255d52"="bag"
  "e3243f49a773ba4f"="bag"
  "ece1f18360f8dad8631f2704cb974f62"="bag"
  "faf578adba51fa05c566fac8841b5fec"="bag"
  "2c3f2bfbe4d4e3e82e8f687dd269cc6b"="bag"
  "25ffd16d6387959d8dcaf09566fb5f77"="bag"
  "93e0690ae5253c6e"="bag"
  "6bbc0d63b06a497010134048aacf4889"="bag"
  "f888efbead4b0ef2f785d9cf791d87a5"="bag"
  "d9e45c478314724235868cf5c10fb598"="bag"
  "2afd8424752d92f9abc24a17c6210d88"="bag"
  "d2fa9c2a837662aebab5b6dffaebd1db"="bag"
  "0199dcd1bf164314fcaa6482adcb75fb"="bag"
  "0e0720c0f3e432c3143cea30a8bd3be6"="bag"
  "4070d6c6d1b7853b7f5494f6cc46174b"="bag"
  "79e72bb202c2d19796081a56bfd10dd4"="bag"
  "373d92aa24346420"="bag"
  "b1265c847c5eeebd345a7ddb7a70d95e"="bag"
  "8e231dcb55949244"="bag"
  "ae700761a3141e6b4b7b298f96ad503e"="bag"
  "af150657cffe373e38e4d706b7080ead"="bag"
  "8e86ca0320d70c2821e18f4bb2c0f630"="bag"
  "663652a06e68b838"="bag"
  "0c8d4b8daf6d5acddce8f5e8336a1962"="bag"
  "89aac6942b14dfb4cfad37894f64904b"="bag"
  "b36d9ca73f5cefe29c913966ba20a39b"="bag"
"cast":
  "wrist2"="25ffd16d6387959d8dcaf09566fb5f77"
  "wrist1"="f2a3a7f3bf5caf06e0aa9c53fbd493f9"
  "wielded"="95fd94796eb4fa7f"
  "wrist2n"="leather bracer bones bone armguard"
  "finger1n"="ring illusion"
  "wrist1n"="leather bracer bones bone armguard"
  "bodyn"="leather jerkin"
  "body"="fa8f25a1cb1b6e642938167602cda5a9"
  "neck2n"="necklace dark metal black charm onyx skull amulet"
  "wieldedn"="ring copper"
  "finger2"="2afd8424752d92f9abc24a17c6210d88"
  "heldn"="dragon tear stone gem"
  "arms"="af150657cffe373e38e4d706b7080ead"
  "headn"="rubber gas mask"
  "waist"="5dd725b20423d2e2"
  "container"="bag"
  "neck2"="51b87aadd20153acbe7059bfec255d52"
  "armsn"="arm sleeves elk skin"
  "abodyn"="cloak black felt"
  "head"="4943d806355798d34e7049120dc7920f"
  "neck1"="0199dcd1bf164314fcaa6482adcb75fb"
  "pieces":
    1="95fd94796eb4fa7f"
    2="4943d806355798d34e7049120dc7920f"
    4="51b87aadd20153acbe7059bfec255d52"
    8="ece1f18360f8dad8631f2704cb974f62"
    "fa8f25a1cb1b6e642938167602cda5a9"="bag"
    "51b87aadd20153acbe7059bfec255d52"="bag"
    9="2afd8424752d92f9abc24a17c6210d88"
    "ece1f18360f8dad8631f2704cb974f62"="bag"
    5="af150657cffe373e38e4d706b7080ead"
    10="fa8f25a1cb1b6e642938167602cda5a9"
    "ce604561ba3ee0dbd2da540a390a22d2"="bag"
    "2afd8424752d92f9abc24a17c6210d88"="bag"
    "4943d806355798d34e7049120dc7920f"="bag"
    11="ce604561ba3ee0dbd2da540a390a22d2"
    "f4f10c521242e51fccfef3d6e31f3235"="bag"
    3="0199dcd1bf164314fcaa6482adcb75fb"
    6="f2a3a7f3bf5caf06e0aa9c53fbd493f9"
    12="5dd725b20423d2e2"
    "5dd725b20423d2e2"="bag"
    "f2a3a7f3bf5caf06e0aa9c53fbd493f9"="bag"
    "25ffd16d6387959d8dcaf09566fb5f77"="bag"
    13="f4f10c521242e51fccfef3d6e31f3235"
    "af150657cffe373e38e4d706b7080ead"="bag"
    "8e86ca0320d70c2821e18f4bb2c0f630"="bag"
    7="25ffd16d6387959d8dcaf09566fb5f77"
    14="8e86ca0320d70c2821e18f4bb2c0f630"
    "9129d8b41cd70a4d8816a8340c3c597f"="bag"
    "95fd94796eb4fa7f"="bag"
    "0199dcd1bf164314fcaa6482adcb75fb"="bag"
    15="9129d8b41cd70a4d8816a8340c3c597f"
  "finger1"="ece1f18360f8dad8631f2704cb974f62"
  "feet"="8e86ca0320d70c2821e18f4bb2c0f630"
  "legsn"="leather heavy leggings"
  "held"="9129d8b41cd70a4d8816a8340c3c597f"
  "neck1n"="cloak white"
  "feetn"="pair filthy slippers gray grey"
  "legs"="f4f10c521242e51fccfef3d6e31f3235"
  "finger2n"="ring illusion"
  "abody"="ce604561ba3ee0dbd2da540a390a22d2"
  "waistn"="halo black blackened magical"
"wearing"=false
"lastset"="cast"
"setnames":
  1="tank"
  2="size"
  3="cast"
"removing"=false
"size":
  "wielded"="93e0690ae5253c6e"
  "finger2"="e3243f49a773ba4f"
  "bodyn"="blue shirt dje well"
  "body"="373d92aa24346420"
  "wrist1n"="braided hoop fibers grass bracelet"
  "neck2"="88b5d4c0245fbb5a4ed1b6c1a8e9217c"
  "neck1"="d9e25ab909ba7397"
  "pieces":
    1="93e0690ae5253c6e"
    2="0c8d4b8daf6d5acddce8f5e8336a1962"
    4="88b5d4c0245fbb5a4ed1b6c1a8e9217c"
    8="d11e33494c605c57e79f717bae307dd1"
    16="cba1dee2d0fd8c679fcdc5c152fbccff"
    15="81926ec1db2648f4"
    "cba1dee2d0fd8c679fcdc5c152fbccff"="bag"
    9="460930f02b5168a116d19c67907a2791"
    10="e3243f49a773ba4f"
    "da117d4362d6df7f7c8b19ba918f5925"="bag"
    5="fa5ad1bfcc14f9de5ae4df54251ae6f3"
    "81926ec1db2648f4"="bag"
    "93e0690ae5253c6e"="bag"
    "6bbc0d63b06a497010134048aacf4889"="bag"
    "e3243f49a773ba4f"="bag"
    11="373d92aa24346420"
    "fa5ad1bfcc14f9de5ae4df54251ae6f3"="bag"
    3="d9e25ab909ba7397"
    6="8e231dcb55949244"
    12="6bbc0d63b06a497010134048aacf4889"
    "4070d6c6d1b7853b7f5494f6cc46174b"="bag"
    13="4070d6c6d1b7853b7f5494f6cc46174b"
    "ae700761a3141e6b4b7b298f96ad503e"="bag"
    "460930f02b5168a116d19c67907a2791"="bag"
    "373d92aa24346420"="bag"
    "8e231dcb55949244"="bag"
    7="ae700761a3141e6b4b7b298f96ad503e"
    14="da117d4362d6df7f7c8b19ba918f5925"
    "88b5d4c0245fbb5a4ed1b6c1a8e9217c"="bag"
    "0c8d4b8daf6d5acddce8f5e8336a1962"="bag"
    "d11e33494c605c57e79f717bae307dd1"="bag"
    "d9e25ab909ba7397"="bag"
  "finger1"="460930f02b5168a116d19c67907a2791"
  "finger2n"="ring small glittering"
  "wrist2n"="leather bracer bones bone armguard"
  "waist"="4070d6c6d1b7853b7f5494f6cc46174b"
  "wrist1"="8e231dcb55949244"
  "legs"="da117d4362d6df7f7c8b19ba918f5925"
  "neck2n"="cloak white"
  "hands"="d11e33494c605c57e79f717bae307dd1"
  "headn"="leathery helmet plain leather"
  "heldn"="stone shimmering opal"
  "wieldedn"="black lantern ton"
  "wrist2"="ae700761a3141e6b4b7b298f96ad503e"
  "feetn"="black leather sandals "
  "head"="0c8d4b8daf6d5acddce8f5e8336a1962"
  "finger1n"="black iron ring"
  "armsn"="pile leather straps wooden spikes orcish pauldrons"
  "feet"="81926ec1db2648f4"
  "abody"="6bbc0d63b06a497010134048aacf4889"
  "legsn"="holey pants"
  "held"="cba1dee2d0fd8c679fcdc5c152fbccff"
  "neck1n"="cloak black"
  "waistn"="skin hide waistwear"
  "arms"="fa5ad1bfcc14f9de5ae4df54251ae6f3"
  "container"="bag"
  "abodyn"="green pack goblin backpack"
  "handsn"="blue sentry gloves"


So, the file is fine. Serializing works fine. Something in what you haven't shown is the problem.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


42,802 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]