Help with WebHosted Server If Possible


#1

I am currently having an issue, with my / commands. Every time I do /dv or /fix or /emote it WORKS. But i get a long message in chat about the script. And am unable to kic/ban/freeze players in game even as superadmin. This comes up in chat.

This is what I see.

Any help would be awesome. Thanks guys!


#2

use pgup and down and see what the error is


#3

Im being told it is because esadmin2 and essentialmode isnt in my database, but im unsure how to add it to my databse, as my server is hosted by zap. : /


#4

not sure myself dude but youl get more help now people know what the error is


#5

Thanks brother. Appreciate the input though!


#6

Your stringsplit function is outdated.


#7

^

You beat me to it :c


#8

anyway you are able to point me in right direction to get help, or help me out in fixing it, and how to? Thanks!


#9

Replace the SplitString with the newer one.

function stringsplit(inputstr, sep)
    if sep == nil then
        sep = "%s"
    end
    local t={} ; i=1
    for str in string.gmatch(inputstr, "([^"..sep.."]+)") do
        t[i] = str
        i = i + 1
    end
    return t
end