AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Sqlx weapons menu (https://forums.alliedmods.net/showthread.php?t=337023)

ricsike34 03-23-2022 17:21

Sqlx weapons menu
 
1 Attachment(s)
Hi, I created a plugin. which Sql saves, Count the killings with the given weapons.
The essence of the plugin is to count the kills with the weapon, And that saves sql
(AK47, M4A1,AWP,KNIFE,DEAGLE,USP,GLOCK)

using the menu /menu, /guns, /top3

Plugin also includes Advertiser

It also has a unique top3 list, also sql save


The plugin will be constantly developed!

it works exclusively with sql!

Mysql Connection
HTML Code:

new const SQLDAT[][] =
{
        "mysql.eu:3306",  /Host 
        "",    //name
        "",  //passw
        "" //database
}

plugin version 2.0 bugfix
with continuous improvement!

Requirements
1. MySQL database.
2. AMXX version 1.9.0 or higher.

bigdaddy424 03-23-2022 20:34

Re: Sqlx weapons menu
 
Invalid comment on line 36.
Cannot establish a connection with host.
Database server is either down or you put wrong information

Natsheh 03-24-2022 00:57

Re: Sqlx weapons menu
 
SQLDAT is something private you wouldn't share.

ricsike34 03-24-2022 01:24

Re: Sqlx weapons menu
 
Quote:

Originally Posted by bigdaddy424 (Post 2775028)
Invalid comment on line 36.
Cannot establish a connection with host.
Database server is either down or you put wrong information

you have to enter the sql data
and compiled with 1.9.0 compiler!!
The whole thing went smoothly for me!

do it with it
but the server engine should also be 1.9.0
https://www.mediafire.com/file/6jph3...rdito.zip/file

ricsike34 03-24-2022 01:24

Re: Sqlx weapons menu
 
Quote:

Originally Posted by Natsheh (Post 2775039)
SQLDAT is something private you wouldn't share.

I left incorrect sql data in it

OciXCrom 03-24-2022 08:00

Re: Sqlx weapons menu
 
Quote:

Originally Posted by ricsike34 (Post 2775040)
you have to enter the sql data

And that's a valid reason to upload an invalid .sma file? The least you can do is put a warning. Also it's 2022, separate configuration files are a thing.

Quote:

Originally Posted by ricsike34 (Post 2775040)
and compiled with 1.9.0 compiler!!

Maybe mention it in the first post as a requirement?

Why is the plugin in a different language and has no multilingual support?
Why is it limited to certain weapons only?
Why is there so much repetitive code?
Are you aware of the existence of get_user_wstats()?

ricsike34 03-24-2022 10:25

Re: Sqlx weapons menu
 
I did it not for you, but for those who are happy for her, but I deleted it.
if you have a little mind then google compiler
the language is Hungarian :)

bigdaddy424 03-24-2022 19:03

Re: Sqlx weapons menu
 
Quote:

Originally Posted by ricsike34 (Post 2775040)
you have to enter the sql data
and compiled with 1.9.0 compiler!!
The whole thing went smoothly for me!

do it with it
but the server engine should also be 1.9.0
https://www.mediafire.com/file/6jph3...rdito.zip/file

My mistake. I thought you had issues running the plugin and posted on New Submissions for help, like every so often.

ricsike34 03-25-2022 15:27

Re: Sqlx weapons menu
 
1 Attachment(s)
plugin version 2.0 bugfix
with continuous improvement!

ricsike34 03-25-2022 15:47

Re: Sqlx weapons menu
 
1 Attachment(s)
plugin version 2.0 bugfix
with continuous improvement!


All times are GMT -4. The time now is 06:46.

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