Git Product home page Git Product logo

sourcemod-rebanner's People

Contributors

bara avatar bklol avatar naydef avatar nolo001-aha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sourcemod-rebanner's Issues

cant download file by php

its weird 😞

  • file cant download in game
    QQ截图20230422222751
  • but can direct download in Browser
    QQ截图20230422222851

and im also found modifyConVarCurrentClient is not passing the correct client index when lot of player join server together,usually happened when map change......

nice work by the way, just need more fix i guess.....

Problem with serve.php

When I go to the file it's saying "No webpage was found for the web address" but file is there I don't know why

about sv_allowupload in csgo

hello! even server convar sv_allowupload is set to 1, but if the client itself set sv_allowupload to 0, the FileNet_SendFile callback will return sucess but it acturally not download the file, sence sv_allowupload Default Value is 0 on csgo client ,i guess maybe we should check client convar value too or just kick the client to force them change their convar value?

  • server convar: server
  • about client :
    client

failed to load plugin

L 08/08/2023 - 00:32:13: [SM] Exception reported: Failed to load CBaseClient::SendServerInfo signature from gamedata!
L 08/08/2023 - 00:32:13: [SM] Blaming: rebanner.smx
L 08/08/2023 - 00:32:13: [SM] Call stack trace:
L 08/08/2023 - 00:32:13: [SM] [0] SetFailState
L 08/08/2023 - 00:32:13: [SM] [1] Line 204, /home/nolo001/sourcemod/rebanner.sp::OnPluginStart
L 08/08/2023 - 00:32:13: [SM] Unable to load plugin "rebanner.smx": Error detected in plugin startup (see error logs)

This is the first time im ever using this plugin no config file is being made this is tf2 running on linux

Steam and IP duplicated and it wont ban players

Hey, I did some testing and found some problems;
• Sometimes players won't be added to the database.
• If I delete the user row from the database and he has the fingerprint file, it won't insert the player again into the db.
• I'm not sure what it should do, but if for example player 1 is connected from the same IP and fingerprint, it will insert him to the same DB row with ; between the steamids, I guess that's a good behavior? if so, at first it worked, but the second time it didn't, like the player alt account didn't get inserted at all and also didn't get banned (is banned = 1 and duration was 0), like it won't identify the player.
• Tried to give a player ban from my custom admin plugin by using the SBPP_BanPlayer function for perm (0) and for some reason it inserted 5 as the an duration instead of 0/the actual duration.
• Duplicate entry for IP and Steam sometimes.

Also very good job on the plugin!

Stuck on "Requesting client fingerpint via File Network..."

Hi, I tried to setup your plugin, dowloading and everything works fine, but it doesn't do anything if i ban someone. There is no any data in database. My log looks like this:

[DEBUG] Generating new fingerprint for client PuNko
[DEBUG] Diverting to new FastDownload address: .....//serve.php?id=77559566994333519907000405&url=
[DEBUG] Resetting to default FastDownload address.
[DEBUG] Processing queued client PuNko
[DEBUG] Requesting client fingerpint via File Network...

Some questions and suggestions

Hey, how are you?
I went back to version 1.3 and changed FastDownloads carrier. They can configure php.
I encountered the following problems:

  1. After everything works, as I mentioned earlier, the value of sv_downloadurl becomes empty (" ") after the player has entered the server and downloaded the fingerprint.
  2. Here's the suggestion: I found it in the error log. Some players change ip frequently, and every time they change ip seems to be "fingerprinted" into the database. I suggest you only record 1, 2 or 3 ip. Or when the number of ip addresses exceeds a specified value, the system automatically deletes the old ip addresses.

image

Error while downloading the file

Downloading the file from the fastdl causing that:

Downloading http://fastdl.domain.com/serve.php?id=404752744990775427491595513&url=/models/player/custom_player/legacy/testtest.mdl.
Error downloading http://fastdl.domain.com/serve.php?id=404752744990775427491595513&url=/models/player/custom_player/legacy/testtest.mdl

for some reason it wont let me download the file from the game..
and using the other method wont work 99% as most of the users using allowupload 0.

cant receive file from client

os : debian

FileNet_RequestFile is never trigger a callback when plugin call RequestFile
and it give this error in console
QQ截图20230424182009

Steam id dupplicated in database

Hello,

I installed the plugin on my five servers and sometimes the plugin adds duplicate steams id assigns a new id. (All servers are connected in same database)


L 04/23/2023 - 18:58:06: [SM] Exception reported: Failed to parse database: Duplicate entry 'STEAM_1:0:439745044' for key 'PRIMARY'
L 04/23/2023 - 18:58:06: [SM] Blaming: rebanner.smx
L 04/23/2023 - 18:58:06: [SM] Call stack trace:
L 04/23/2023 - 18:58:06: [SM]   [0] SetFailState
L 04/23/2023 - 18:58:06: [SM]   [1] Line 1134, Z:\0_SOURCEMOD COMPILER\rebanner.sp::OnFingerprintRelationSaved

suggestion

could just hook "player_connect_full" instead of OnClientPutInServer & OnClientAuthorized ,the event is fired after client download all file and can join team。can make sure request_file can call after client fingerprint file has been download

Problems with the plugin

OS: Linux
Game: CSGO
Sourcemod Version: 1.11.0.6930
Plugin Version: SourceMod Re-Banner" (1.3) by Nolo001
FIlenetwork: File Network" (manual) by Batfoxkid

L 07/18/2023 - 11:10:07: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 07/18/2023 - 11:10:07: [SM] Blaming: rebanner.smx
L 07/18/2023 - 11:10:07: [SM] Call stack trace:
L 07/18/2023 - 11:10:07: [SM] [0] ConVar.SetInt
L 07/18/2023 - 11:10:07: [SM] [1] Line 352, /home/nolo001/sourcemod/rebanner.sp::OnAllPluginsLoaded

The error is the same as here #23 and #24 the data is not written to the database

http://fastdl.ya1.ru/csgo/awp/serve.php?id=123456789&url=/sound/terraykt/songs/21.mp3

Question about error and database

The plugins seems to be well configured, but I have a problem.
I can download the file correctly but my ID is not stored in the database, it remains empty.
And I have an error in the logs.
Did I do something wrong?


L 04/22/2023 - 13:52:28: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 04/22/2023 - 13:52:28: [SM] Blaming: rebanner.smx
L 04/22/2023 - 13:52:28: [SM] Call stack trace:
L 04/22/2023 - 13:52:28: [SM]   [0] ConVar.SetInt
L 04/22/2023 - 13:52:28: [SM]   [1] Line 352, Z:\0_SOURCEMOD COMPILER\rebanner.sp::OnAllPluginsLoaded

image
image
image
image
image

Tried everything, can't get it to run properly under csgo

OS: Linux
Game: CSGO
Sourcemod Version: 1.11.0.6930
Plugin Version: SourceMod Re-Banner" (1.3) by Nolo001
FIlenetwork: File Network" (manual) by Batfoxkid

Hey, i have tried several times and do not see the error. Error logs are not present, the rebanner.log also does not speak what you should know. The fastdl works, it also downloads the file, what bothers me is that it does not enter the fingerprints in the DB. I am the only one in the database, have the system running for 2 weeks and am still alone.
95504acdb4166fb200bba51f6923003d

rebanner (the things repeat themselves, therefore I have not sent everything but only a part)

[DEBUG] Generating new fingerprint for client Playername3
[DEBUG] Diverting to new FastDownload address: https://fastdl.zzk-community.eu/csgo/retake/serve.php?id=45882591489448856316361140&url=
[DEBUG] Resetting to default FastDownload address.
[DEBUG] Processing queued client Playername3
[DEBUG] Requesting client fingerpint via File Network...
[DEBUG] Generating new fingerprint for client Playername2
[DEBUG] Diverting to new FastDownload address: https://fastdl.zzk-community.eu/csgo/retake/serve.php?id=978904273151709649257211409&url
[DEBUG] Resetting to default FastDownload address.
[DEBUG] Processing queued client Playername2
[DEBUG] Requesting client fingerpint via File Network...
[DEBUG] Generating new fingerprint for client Playername

I have now given up and have not found any other way to reach any of you. If you have any ideas what the problem could be, I would appreciate a reply. Or does this no longer work with CSGO since a certain update?

The Fingerprint test file: https://fastdl.zzk-community.eu/csgo/retake/serve.php?id=123456789&url=/materials/panorama/images/icons/xp/level13571.png

Log error

I found this error when I looked through my error log today. What happened to this error?
image

Plugin not writing banned fingerprint in MySQL

I've setting everything right and using latest version from github
When I tried banning myself I just noticed MySQL doesn't have the banned fingerprint and steam id
image

Here's my database.cfg
image

rebanner plugins error

I get this error after restarting the plugin and server

L 06/21/2023 - 18:12:38: [SM] Exception reported: Failed to load CBaseClient::SendServerInfo signature from gamedata!
Mon 06/21/2023 - 18:12:38: [SM] Blaming: rebanner.smx
Mon 06/21/2023 - 18:12:38: [SM] Call stack trace:
Mon 06/21/2023 - 18:12:38: [SM] [0] SetFailState
Mon 06/21/2023 - 18:12:38: [SM] [1] Line 204, /home/nolo001/sourcemod/rebanner.sp::OnPluginStart
L 06/21/2023 - 18:12:38: [SM] Unable to load plugin "rebanner.smx": Error detected in plugin startup (see error logs)

Error gamedata file

Hi,

I have this error with the latest version of gamedata file.

L 04/22/2023 - 11:18:17: [SM] Exception reported: Failed to load CBaseClient::SendServerInfo signature from gamedata! L 04/22/2023 - 11:18:17: [SM] Blaming: rebanner.smx L 04/22/2023 - 11:18:17: [SM] Call stack trace: L 04/22/2023 - 11:18:17: [SM] [0] SetFailState L 04/22/2023 - 11:18:17: [SM] [1] Line 204, Z:\0_SOURCEMOD COMPILER\rebanner.sp::OnPluginStart L 04/22/2023 - 11:18:17: [SM] Unable to load plugin "rebanner.smx": Error detected in plugin startup (see error logs)

I have used your latest version Rebanner 1.3 and the last version in repo but not working

Not downloading files from FastDL | FastDownloads Method on TF2 not work and broke download

rebanner.cfg:

"settings"
{
	"fingerprint path"			"sound/votes/vote_second.wav"
	"ban reason"				"Connection Prohibited"
	"tampering kick reason"		"The integrity of the downloaded files is broken."
	"enable"					"1"
}

Serve.php

$fingerpintFilePath = "sound/votes/vote_second.wav";

Game Debug:

debug_download

What do I need to do, or where did I go wrong with the installation?

Windows 10 x64 Pro. All modules updated.

[Bug?] Invalid convar handle

Plugins list
Game: CS:GO
Sourcemod: 1.11
Rebanner: v1.3

Describe the bug
With every server start and map change, but the plugin is loaded (Everything is downloaded normally)

What is the error code?

L 05/29/2023 - 10:41:16: SourceMod error session started
L 05/29/2023 - 10:41:16: Info (map "de_mirage") (file "/home/container/csgo/addons/sourcemod/logs/errors_20230529.log")
L 05/29/2023 - 10:41:16: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 05/29/2023 - 10:41:16: [SM] Blaming: rebanner.smx
L 05/29/2023 - 10:41:16: [SM] Call stack trace:
L 05/29/2023 - 10:41:16: [SM] [0] ConVar.SetInt
L 05/29/2023 - 10:41:16: [SM] [1] Line 352, /home/nolo001/sourcemod/rebanner.sp::OnAllPluginsLoaded

FastDL

//DOWNLOAD
sv_downloadurl "https://fastdl.zzk-community.eu/csgo/retake"
sv_allowdownload "0" // Enables/Disables downloading from the gameserver. Will not be needed, if you are using a FastDL.
sv_allowupload "0" // Enables/Disables downloading from the gameserver. Will not be needed, if you are using a FastDL.

the fastdl server works like this without problems, when i change the values i get certain other logs...but in the end the error stays the same

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.