Database error - gsub
Posted: Thu Mar 11, 2010 3:01 am
Hey. I'm trying to create a database for the purpose of remembering room names/numbers and some other things. This is my first attempt at using databases, and right off the bat I seem to be getting an odd error:
Using 1.0.6pre3. Feel free to close topic/mark as solved if this problem is fixed in the final version of 1.0.6
trying to run that gives the following error:
I checked, and on line 189 of db.lua it does indeed call gsub. Should this be string.gsub? Is there an error in my code?Lua syntax error:/Users/Josh/.config/mudlet/db.lua:189: attempt to call method 'gsub' (a nil value)
Using 1.0.6pre3. Feel free to close topic/mark as solved if this problem is fixed in the final version of 1.0.6