kazikas 0 Report post Posted May 20, 2020 Hello , I'm new to this I'm just creating a server to play with my friends I'm trying to install GMSystem extension to forge items easier and faster but I'm having a problem i loaded the extension with dofile(GetResPath("script\GMSystem\Base.lua")) , and it load successfully but when i try to use login command &lua Login("AccountName","PassWord","CharName") nothing happens in game but in gameserver cmd i get this error : ...rce/script\GMSystem\Variables\LogsFunctions\Logs.lua:176: attempt to index global `Character' (a nil value) this is the code im getting error in function GetName(name) -- Orginal Name GetPlayerByName(name) if Character.Role[name].characterName ~= nil then return Character.Role[name].characterName end end Quote Share this post Link to post Share on other sites
frago12 0 Report post Posted May 25, 2020 This might be an error somewhere in the GM system code. As the error message says, a value is nil, when it should be something else. Pretty hard to tell without seeing the whole code. Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted June 3, 2020 Hello @kazikas! Where is the variable Character defined? Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites