AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   adminmenu_custom - Problem (https://forums.alliedmods.net/showthread.php?t=331009)

leaffan 03-02-2021 08:56

adminmenu_custom - Problem
 
I am writing with Google Translate. Unfortunately, I do not have any knowledge of English yet.

Friends, I gave codes according to the following errors, where are there errors? Can you let me know?

PHP Code:

KeyValues ErrorRecursiveLoadFromBuffer:  got in key in file addons/sourcemod/configs/adminmenu_custom.txt
Commands
ServerCommandsLambalar Yarat {YÖNETİCİ}, 1, (*1*), 
KeyValues ErrorRecursiveLoadFromBuffer:  got in key in file addons/sourcemod/configs/adminmenu_custom.txt
Commands
Ölümsüzlük+Lazer+Mermi+Sis Alanları:, {HERKESE} ÖLÜMSÜZLÜK ->, 1, (*1*), 
KeyValues ErrorRecursiveLoadFromBuffer:  got in key in file addons/sourcemod/configs/adminmenu_custom.txt
Commands
C-Kontrol Yönetimi:, 3-HÇözümlenen Botların Ölümsüzlüğünü Pasifleştir, 1, (*1*), 
KeyValues ErrorLoadFromBuffermissing in file addons/sourcemod/configs/adminmenu_custom.txt
(*Commands*), (*D-Takım Yönetimi:*), (*Su anki Harita Puanlarını Sıfırla*), (*execute*), (*2*), 

------

    
"Ölümsüzlük+Lazer+Mermi+Sis Alanları:"
    
{
           
"{HERKESE} ÖLÜMSÜZLÜK ->"
        
{
            
"cmd"            "sm_godmode @all"
            "admin"            "sm_cvar"
            "execute"        "player"
            "1"
        
}
    }
    
-------

    
"ServerCommands"
    
{
        
"Lambalar Yarat {YÖNETİCİ}"
        
{
            
"cmd"            "sm_lamp"
            "admin"            "sm_kick"
            "execute"        "list"
            "1"
        
}
    }

--------

    
"C-Kontrol Yönetimi:"
    
{
           
"3-HÇözümlenen Botların Ölümsüzlüğünü Pasifleştir"
        
{
            
"cmd"            "sm_godmode @all"
            "admin"            "sm_cvar"
            "execute"        "player"
            "1"
        
}
    }
    
---------

        
"D-Takım Yönetimi:"
        
{
        
"Su anki Harita Puanlarını Sıfırla"
        
{
         
"cmd"        "sm_resetscores"
                    "admin"        "sm_kick"
                    "execute"    "server"
            
}
        }
        
---------- 

Thank you.

Bacardi 03-02-2021 16:01

Re: adminmenu_custom - Problem
 
attach txt file in your post ("Go Advanced")

leaffan 03-03-2021 08:18

Re: adminmenu_custom - Problem
 
1 Attachment(s)
I added. Thanks.

Psyk0tik 03-03-2021 12:04

Re: adminmenu_custom - Problem
 
1 Attachment(s)
I fixed your file. Check below.

Errors found:

PHP Code:

    "Ölümsüzlük+Lazer+Mermi+Sis Alanları:"
    
{
           
"{HERKESE} ÖLÜMSÜZLÜK ->"
        
{
            
"cmd"            "sm_godmode @all"
            "admin"            "sm_cvar"
            "execute"        "player"
            "1" 
// ERROR: Remove
        
}
    }
    
-------

    
"ServerCommands"
    
{
        
"Lambalar Yarat {YÖNETİCİ}"
        
{
            
"cmd"            "sm_lamp"
            "admin"            "sm_kick"
            "execute"        "list"
            "1" 
// ERROR: Remove
        
}
    }

--------

    
"C-Kontrol Yönetimi:"
    
{
           
"3-HÇözümlenen Botların Ölümsüzlüğünü Pasifleştir"
        
{
            
"cmd"            "sm_godmode @all"
            "admin"            "sm_cvar"
            "execute"        "player"
            "1" 
// ERROR: Remove
        
}
    }
    
---------

        
"D-Takım Yönetimi:"
        
{
        
"Su anki Harita Puanlarını Sıfırla"
        
{
         
"cmd"        "sm_resetscores"
                    "admin"        "sm_kick"
                    "execute"    "server"
            
// ERROR: Not paired
        
}
        
---------- 


leaffan 03-03-2021 13:13

Re: adminmenu_custom - Problem
 
Quote:

Originally Posted by Crasher_3637 (Post 2739121)
I fixed your file. Check below.

Errors found:

PHP Code:

    "Ölümsüzlük+Lazer+Mermi+Sis Alanları:"
    
{
           
"{HERKESE} ÖLÜMSÜZLÜK ->"
        
{
            
"cmd"            "sm_godmode @all"
            "admin"            "sm_cvar"
            "execute"        "player"
            "1" 
// ERROR: Remove
        
}
    }
    
-------

    
"ServerCommands"
    
{
        
"Lambalar Yarat {YÖNETİCİ}"
        
{
            
"cmd"            "sm_lamp"
            "admin"            "sm_kick"
            "execute"        "list"
            "1" 
// ERROR: Remove
        
}
    }

--------

    
"C-Kontrol Yönetimi:"
    
{
           
"3-HÇözümlenen Botların Ölümsüzlüğünü Pasifleştir"
        
{
            
"cmd"            "sm_godmode @all"
            "admin"            "sm_cvar"
            "execute"        "player"
            "1" 
// ERROR: Remove
        
}
    }
    
---------

        
"D-Takım Yönetimi:"
        
{
        
"Su anki Harita Puanlarını Sıfırla"
        
{
         
"cmd"        "sm_resetscores"
                    "admin"        "sm_kick"
                    "execute"    "server"
            
// ERROR: Not paired
        
}
        
---------- 


Thank you.

leaffan 05-09-2021 10:28

Re: adminmenu_custom - Problem
 
1 Attachment(s)
Quote:

Originally Posted by Crasher_3637 (Post 2739121)
I fixed your file. Check below.

I also came across the following errors in the Admin Menu, there are in the log records. Where exactly do I not understand the problem?

In the supplement. Thank you from now.

Code:

KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/adminmenu_custom.txt
Commands, ServerCommands, Lambalar Yarat {YÖNETİCİ}, 1, (*1*),
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/adminmenu_custom.txt


Psyk0tik 05-09-2021 10:45

Re: adminmenu_custom - Problem
 
Quote:

Originally Posted by leaffan (Post 2746348)
I also came across the following errors in the Admin Menu, there are in the log records. Where exactly do I not understand the problem?

In the supplement. Thank you from now.

Code:

KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/adminmenu_custom.txt
Commands, ServerCommands, Lambalar Yarat {YÖNETİCİ}, 1, (*1*),
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/adminmenu_custom.txt


You will have to ask someone else. That file is two times bigger than the previous one. You keep mixing tabs with spaces so it's very hard to read.

leaffan 05-09-2021 10:54

Re: adminmenu_custom - Problem
 
Quote:

Originally Posted by leaffan (Post 2746348)
I also came across the following errors in the Admin Menu, there are in the log records. Where exactly do I not understand the problem?

In the supplement. Thank you from now.

Code:

KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/adminmenu_custom.txt
Commands, ServerCommands, Lambalar Yarat {YÖNETİCİ}, 1, (*1*),
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/adminmenu_custom.txt


I wonder if there are any friends who can help? Thank you very much in advance.

notyouraverage 05-09-2021 15:36

Re: adminmenu_custom - Problem
 
1 Attachment(s)
Quote:

Originally Posted by leaffan (Post 2746354)
I wonder if there are any friends who can help? Thank you very much in advance.

.


All times are GMT -4. The time now is 23:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.