Kush Posted July 20, 2016 Share Posted July 20, 2016 Hello there, I am using a login_server.lua script for my "DayZ" server, and I am receiving an error that there is no call to running resource. here is the error code [00:05:31] ERROR: [DayZ]\Login\login_server.lua:36: exports: Call to non-running server resource (DayZ) [string "?"] Here is the lua code, where it says exports:DayZ:SaveLog there is a problem which i can not recall why it's giving me it. function tryToLoginPlayer (username, password) --Parse through our blockedAccounts array for system accounts for k,v in ipairs(blockedAccounts) do local found = string.find(username:lower(),v[1]:lower()) if found then reason = "You cannot log into "..username triggerClientEvent("onErrorOutputReason",source,reason) return false end end --Proceed with logging in... local account = getAccount(username, password) if not account then reason = "Account does not exist" triggerClientEvent("onErrorOutputReason",source,reason) return elseif account then local accountName = getAccountName(account) logIn(source, account, password) triggerClientEvent(source,"onPlayerDoneLogin", source, accountName, password) triggerEvent("onPlayerDayZLogin", getRootElement(),username,pass,source) local theTime = getRealTime() local hour = theTime.hour local minute = theTime.minute local seconds = theTime.second local theAccount = getPlayerAccount(client) exports.DayZ:saveLog("["..hour..":"..minute..":"..seconds.."] [LOGIN] "..username.." has logged in. Player: "..getPlayerName(client).."\n","accounts") end end any ideas why this is accuring? Link to comment
Kush Posted July 21, 2016 Author Share Posted July 21, 2016 start DayZ script. wow, sutch a genius Don't think i've tought of that? Link to comment
N3xT Posted July 21, 2016 Share Posted July 21, 2016 start DayZ script. wow, sutch a genius Don't think i've tought of that? maybe u change the name of dayz script ? Link to comment
Kush Posted July 21, 2016 Author Share Posted July 21, 2016 start DayZ script. wow, sutch a genius Don't think i've tought of that? maybe u change the name of dayz script ? Na, its in resources named [DayZ], if it's not like that you mean, i've got no clue how i could continue going i could printscreen the folder and show how it looks like if that would help Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now