AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag] (https://forums.alliedmods.net/showthread.php?t=298770)

paulo_crash 09-06-2021 14:08

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
Quote:

Originally Posted by deko_fps (Post 2757084)
Looked up for this info, couldn't find: is it possible to change commands (!ws !knife !gloves)?

Yes, it is possible to change these commands, but they need to be edited in the plugins source file and then compile again.

Plugin [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag] in the lines:
Code:

        RegConsoleCmd("buyammo1", CommandWeaponSkins);
        RegConsoleCmd("sm_ws", CommandWeaponSkins);
        RegConsoleCmd("buyammo2", CommandKnife);
        RegConsoleCmd("sm_knife", CommandKnife);
        RegConsoleCmd("sm_nametag", CommandNameTag);
        RegConsoleCmd("sm_wslang", CommandWSLang);
        RegConsoleCmd("sm_seed", CommandSeedMenu);

https://github.com/kgns/weapons/blob...ons.sp#L93-L99

Plugin [CSGO] Gloves in the lines:
Code:

        RegConsoleCmd("sm_gloves", CommandGlove);
        RegConsoleCmd("sm_glove", CommandGlove);
        RegConsoleCmd("sm_eldiven", CommandGlove);
        RegConsoleCmd("sm_gllang", CommandGloveLang);

https://github.com/kgns/gloves/blob/...ves.sp#L55-L58

Remembering again, after editing these lines in both plugins (source file) compile again so that the changes work and don't forget to change the map.

suki97 09-07-2021 12:54

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
Why does it reset everyone skins after the map change, what could be the problem? Seems like it doesn't store them after you pick your loadout, and then map changes and you have to do it over and over again :twisted:

paulo_crash 09-07-2021 14:25

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
Quote:

Originally Posted by suki97 (Post 2757165)
Why does it reset everyone skins after the map change, what could be the problem? Seems like it doesn't store them after you pick your loadout, and then map changes and you have to do it over and over again :twisted:

Using SQLite or MySQL? Error logs?

suki97 09-07-2021 15:11

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
Quote:

Originally Posted by paulo_crash (Post 2757183)
Using SQLite or MySQL? Error logs?

I guess it's SQLite, this is databases.cfg

"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}

"addons"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}


And error log :

https://github.com/suki971/Error-log...n/error%20logs

vegeta1241 09-07-2021 15:16

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
!knife not working on classic DM csgo .. Someone have a fix ?

https://developer.valvesoftware.com/...es:_Deathmatch

paulo_crash 09-07-2021 15:43

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
Quote:

Originally Posted by suki97 (Post 2757189)
I guess it's SQLite, this is databases.cfg

"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}

"addons"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}


And error log :

https://github.com/suki971/Error-log...n/error%20logs

Various errors, various plugins, including weapons, do the following.

Install PTaH again, attention, download the version to your server.

https://ptah.zizt.ru/

I left the default sourcemod databases.cfg:
Code:

"Databases"
{
        "driver_default"                "mysql"
       
        // When specifying "host", you may use an IP address, a hostname, or a socket file path
       
        "default"
        {
                "driver"                        "default"
                "host"                                "localhost"
                "database"                        "sourcemod"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }
       
        "storage-local"
        {
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
        }

        "clientprefs"
        {
                "driver"                        "sqlite"
                "host"                                "localhost"
                "database"                        "clientprefs-sqlite"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }
}

Download the Weapon & Knives plugin again and leave it by default, I just uploaded it to the server.

https://build.kgns.dev/job/csgo-weap...weapons-40.zip

Done all this test again.

NOTE: Also check the permissions of your server folders, apparently the error you are giving is also write. (If you don't have access to this then only the host you hired the server can help)

suki97 09-07-2021 15:54

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
Quote:

Originally Posted by paulo_crash (Post 2757200)
Various errors, various plugins, including weapons, do the following.

Install PTaH again, attention, download the version to your server.

https://ptah.zizt.ru/

I left the default sourcemod databases.cfg:
Code:

"Databases"
{
        "driver_default"                "mysql"
       
        // When specifying "host", you may use an IP address, a hostname, or a socket file path
       
        "default"
        {
                "driver"                        "default"
                "host"                                "localhost"
                "database"                        "sourcemod"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }
       
        "storage-local"
        {
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
        }

        "clientprefs"
        {
                "driver"                        "sqlite"
                "host"                                "localhost"
                "database"                        "clientprefs-sqlite"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }
}

Download the Weapon & Knives plugin again and leave it by default, I just uploaded it to the server.

https://build.kgns.dev/job/csgo-weap...weapons-40.zip

Done all this test again.

NOTE: Also check the permissions of your server folders, apparently the error you are giving is also write. (If you don't have access to this then only the host you hired the server can help)

Can you give me your discord, so i can share screen to you, seems like you can help ! :D Because idk what version is for my server :)

suki97 09-07-2021 16:21

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
Quote:

Originally Posted by paulo_crash (Post 2757200)
Various errors, various plugins, including weapons, do the following.

Install PTaH again, attention, download the version to your server.

https://ptah.zizt.ru/

I left the default sourcemod databases.cfg:
Code:

"Databases"
{
        "driver_default"                "mysql"
       
        // When specifying "host", you may use an IP address, a hostname, or a socket file path
       
        "default"
        {
                "driver"                        "default"
                "host"                                "localhost"
                "database"                        "sourcemod"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }
       
        "storage-local"
        {
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
        }

        "clientprefs"
        {
                "driver"                        "sqlite"
                "host"                                "localhost"
                "database"                        "clientprefs-sqlite"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }
}

Download the Weapon & Knives plugin again and leave it by default, I just uploaded it to the server.

https://build.kgns.dev/job/csgo-weap...weapons-40.zip

Done all this test again.

NOTE: Also check the permissions of your server folders, apparently the error you are giving is also write. (If you don't have access to this then only the host you hired the server can help)

I did it all again, took your bases.cfg and it happens again, how i can check correct PTaH for server?

L 09/07/2021 - 22:28:52: Query failure: attempt to write a readonly database
L 09/07/2021 - 22:30:09: Query UPDATE weaponpaints SET last_accountuse = 1631046609, playername = '����������������' WHERE steamid = 'STEAM_1:1:569398269';
L 09/07/2021 - 22:30:09: Query failure: attempt to write a readonly database

asdfxD 09-10-2021 00:44

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
Anyone know how to fix this error -> lost connection to mysql server during query <- when the layer7 protection is enabled at the gameservers host?

My dedicated server had the same issue when i enabled the layer7 protection, if i turn them off, it worked without any connection losses. Can i configure something at my own mysql vserver to fix this issue? The skins are working but this (false) error happens a lot and does not apply skins to players.

hajrullah 09-22-2021 03:46

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
 
Since Operation Riptide Update, plugin crashes server!


All times are GMT -4. The time now is 21:10.

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