client
proc
Save(mob/M)
for(var/V=1 to M.vars.len)
{
if(ignored_vars.Find(M.vars[V]))
{
continue
}
else
{
Query("UPDATE `[sql_table]` SET [V]='[M.vars[V]]' WHERE name='[M.name]';")
}
}
mb_msgout("Character saved.", M)
Problem description:
>.> what am i doing wrong.. inserting the variables works fine but not updating?
im using this library
http://www.byond.com/developer/DivineTraveller/ MySQLmobsaving