Problem solved in skype. For anyone else with this problem, replace the whole lib in data/npc with the one from the server (exe file) you are using.
dofile(getDataDir() .. 'npc/lib/npcsystem/npcsystem.lua')
dofile(getDataDir() .. 'npc/lib/npcsystem/npcsystem.lua')