Problems with LuxAdmin,maybe my GM or other filterscripts, HELP me and get +1REP! :D
#1

Hi,guys
Today i downloaded LuxAdmin,since alot of members told me it were the best,and installed it.
the Problem,is each time i have to register,its just like that,it doesn't show me the login message nor it saves the files.

Filterscript lines of registerations:
pawn Код:
//==============================================================================
// Register & Login
//==============================================================================
    if(strlen(dini_Get("LuxAdmin/Config/aka.txt", tmp3)) == 0)
    dini_Set("LuxAdmin/Config/aka.txt", tmp3, PlayerName);
    else
    {
        if( strfind( dini_Get("LuxAdmin/Config/aka.txt", tmp3), PlayerName, true) == -1 )
        {
        format(string,sizeof(string),"%s,%s", dini_Get("LuxAdmin/Config/aka.txt",tmp3), PlayerName);
        dini_Set("LuxAdmin/Config/aka.txt", tmp3, string);
        }
    }
    if(!udb_Exists(PlayerName2(playerid)))
    SendClientMessage(playerid,orange, "SERVER: Your account isn't registered. Please register (/"#RegisterCommand")");
    else
    {
    AccInfo[playerid][Registered] = 1;
    format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(PlayerName));
    new tmp2[256]; tmp2 = dini_Get(file,"Ip");

    if( (!strcmp(tmp3,tmp2,true)) && (ServerInfo[AutoLogin] == 1))
    {
        LoginPlayer(playerid);
        if(AccInfo[playerid][Level] > 0)
        {
            switch(AccInfo[playerid][Level])
            {
                case 1: AdmRank = "Basic Moderator";
                case 2: AdmRank = "Moderator";
                case 3: AdmRank = "Master Moderator";
                case 4: AdmRank = "Administrator";
                case 5: AdmRank = "Master Administrator";
            }
            if(AccInfo[playerid][Level] > 5)
            {
                AdmRank = "Professional Admin";
            }
Код:
and Here is my server.cfg
echo Executing Server Config...
lanmode 1
rcon_password mypw
maxplayers 32
port 7777
hostname my server
gamemode0 ms 1
filterscripts base gl_actions gl_property gl_realtime gl_mapicon DamageMe Minievent LuxAdmin Handshake Seifanims DropGun_death
plugins sscanf Whirlpool
announce 1
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
My script,the lines of DialogResponse:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 0;
}
I Don't know if this could help or not, Please help +1rep even if you TRY to! please.
Reply
#2

Run as administrator server..
EDIT :
Set LuxAdmin as your first filter script
Reply
#3

Quote:
Originally Posted by jotan.
Посмотреть сообщение
Run as administrator server..
EDIT :
Set LuxAdmin as your first filter script
Wow, i love you jotan xD, Here you go with your FIRST Reputation, ENJOY!
Nicely earned.

I Don't know why,it needs to be the first after FilterScripts
explain me
Reply
#4

Idk really ..
But Im lil scripter,I noticed by it..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)