AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSGO] Simple bullet damage (https://forums.alliedmods.net/showthread.php?t=317479)

DPT 07-15-2019 22:17

[CSGO] Simple bullet damage
 
2 Attachment(s)
This plugin will show the damage that your bullets and grenades inflict on the enemy. The white text over the crosshair shows the damage value inflicted by each bullet and/or grenade.

Very simple and straightforward. No cvars, no settings required.

Tested and working on CSGO.

m22b 07-17-2019 19:39

Re: [CSGO] Simple bullet damage
 
Quote:

Originally Posted by DPT (Post 2659255)
This plugin will show the damage that your bullets and grenades inflict on the enemy. The white text over the crosshair shows the damage value inflicted by each bullet and/or grenade.

Very simple and straightforward. No cvars, no settings required.

Tested and working on CSGO.

Code:

L 07/18/2019 - 02:34:44: SourceMod error session started
L 07/18/2019 - 02:34:44: Info (map "de_dust2") (file "errors_20190718.log")
L 07/18/2019 - 02:34:44: [SM] Exception reported: Invalid client index 0
L 07/18/2019 - 02:34:44: [SM] Blaming: dpt_bulletdamage.smx
L 07/18/2019 - 02:34:44: [SM] Call stack trace:
L 07/18/2019 - 02:34:44: [SM]  [0] ShowHudText
L 07/18/2019 - 02:34:44: [SM]  [1] Line 30, C:\Users\Ahmed\Desktop\spedit1.2.0.3\sourcepawn\scripts\dpt_bulletdamage.sp::Event_PlayerHurt


DPT 07-17-2019 20:02

Re: [CSGO] Simple bullet damage
 
Quote:

Originally Posted by m22b (Post 2659546)
Code:

L 07/18/2019 - 02:34:44: SourceMod error session started
L 07/18/2019 - 02:34:44: Info (map "de_dust2") (file "errors_20190718.log")
L 07/18/2019 - 02:34:44: [SM] Exception reported: Invalid client index 0
L 07/18/2019 - 02:34:44: [SM] Blaming: dpt_bulletdamage.smx
L 07/18/2019 - 02:34:44: [SM] Call stack trace:
L 07/18/2019 - 02:34:44: [SM]  [0] ShowHudText
L 07/18/2019 - 02:34:44: [SM]  [1] Line 30, C:\Users\Ahmed\Desktop\spedit1.2.0.3\sourcepawn\scripts\dpt_bulletdamage.sp::Event_PlayerHurt


m22b,

1) is your server a listen server?

2) Does the plugin always show this error, or on specific cases only?

It could probably happen if the attacker leaves the server while the plugin is trying to show him the damage value, I can fix this but I'd like to know more about the error first.

Thanks

m22b 07-17-2019 20:11

Re: [CSGO] Simple bullet damage
 
Quote:

Originally Posted by DPT (Post 2659548)
m22b,

1) is your server a listen server?

2) Does the plugin always show this error, or on specific cases only?

It could probably happen if the attacker leaves the server while the plugin is trying to show him the damage value, I can fix this but I'd like to know more about the error first.

Thanks

I think you don't add "fake and others" checking client commands on code...

Trying plugin on my server with bots and humans...

Code:

2) Does the plugin always show this error, or on specific cases only?
idk i see errors i stop and delete plugin :).

DPT 07-17-2019 20:14

Re: [CSGO] Simple bullet damage
 
I tested the plugin with bots and it worked without problems. It could either be that you're running a listen server, or the client disconnected while the plugin was showing him the damage value. Even bots have a client id that is > 0, that is not the problem.

Are running a listen server?

m22b 07-17-2019 20:24

Re: [CSGO] Simple bullet damage
 
Quote:

Originally Posted by DPT (Post 2659550)
I tested the plugin with bots and it worked without problems. It could either be that you're running a listen server, or the client disconnected while the plugin was showing him the damage value. Even bots have a client id that is > 0, that is not the problem.

Are running a listen server?

wtf is "listen"? online ? offline ?

have not problem with this plugin :

https://forums.alliedmods.net/showthread.php?p=763425

mb because of this :

Code:

                for (new client = 1; client <= MaxClients; client++)
                {
                        if (IsClientInGame(client))
                        {
and blablabla

Example :
1. I upload ur plugin
2. Change map
3. Some random guy enter on server, we play 2-3 min (with bots cuz bot_quota 4 on 24 slot server)
4. I leave from server (quit command when i be on t spawn, he can hit me)
5. I see errors...

DPT 07-17-2019 21:43

Re: [CSGO] Simple bullet damage
 
This is the source of the problem. This plugin will not work properly with listen servers.

m22b 07-19-2019 09:24

Re: [CSGO] Simple bullet damage
 
Quote:

Originally Posted by DPT (Post 2659556)
This is the source of the problem. This plugin will not work properly with listen servers.

post glitch plugin who spam full tons of erros good job :)).

Wtf is "listen" server? :)

DPT 07-19-2019 23:12

Re: [CSGO] Simple bullet damage
 
I asked you if you're running a listen server and you said yep and now you're asking me what's a listen server.

m22b 07-27-2019 19:39

Re: [CSGO] Simple bullet damage
 
Quote:

Originally Posted by DPT (Post 2659833)
I asked you if you're running a listen server and you said yep and now you're asking me what's a listen server.

Cuz i don't know what you mean "listen"

listen - it's when peoples run csgo > push cummunity servers > find my server ?

I never hear what it's listen or not...

I think problem on the code.... (you don't check in code player alive or not, or it's was bot or not... etc, just check other "damage" plugins and there code, they don't have problems)


All times are GMT -4. The time now is 05:42.

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