Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]There is an issue with l4d2_weapon_attributes.smx or confoglcompmod.smx #739

Open
NanakaFathry opened this issue Feb 18, 2024 · 10 comments
Labels
High Priority Will investigate and attempt to resolve A.S.A.P. Needs Review/Testing Needs further investigation into the matter before it can be worked out.

Comments

@NanakaFathry
Copy link

Describe the bug
(Using version zonemod2.8.9b)
If the data of the weapon in cfgogl1 is not available in cfgogl2, it will be inherited after switching to cfgogl2

To Reproduce
Steps to reproduce the behavior:
Example 1:

  1. Use !chmatch/!rmatch/!match to switch ZoneMod 2.8.9
  2. Use !chmatch/!rmatch/!match to switch to Pmelite
  3. At this point, the pushshotgun and shotgun_chrome parameters in pmelite are the same as the values in zonemod 2.8.9

Example 2:

  1. In cfgogl1, have the parameter [sm_weapon sniper_scout clipsize 10]
  2. In cfgogl2, there is no parameter setting for [sm_weapon sniper_scout clipsize 10]
  3. After switching from cfgogl1 to cfgogl2, the parameter [sm_weapon sniper_scout clipsize 10] is also included in cfgogl2

2b054decb2db825f06211c03c505314c

Server Operating System (if applicable):

  • Linux/Windows
  • ubuntu 20.04
@SirPlease
Copy link
Owner

I was unable to reproduce this on my own servers (which are almost identical to the github repo), but was able to reproduce it on local servers.
I'll do some further testing soon.

@SirPlease SirPlease added High Priority Will investigate and attempt to resolve A.S.A.P. Needs Review/Testing Needs further investigation into the matter before it can be worked out. labels Feb 20, 2024
@cy115
Copy link

cy115 commented May 2, 2024

match_vote.zip
try this, just two express solve the problem

@A1mDev
Copy link
Contributor

A1mDev commented May 2, 2024

Isn't the plugin unloading? Method OnPluginEnd should work in it and reset all settings.

@A1mDev
Copy link
Contributor

A1mDev commented May 2, 2024

I think not a single plugin is unloaded when changing the config, because in plugin l4d2_weapon_attributes.smx function OnPluginEnd definitely does not work, I checked it.

@cy115
Copy link

cy115 commented May 2, 2024

I think not a single plugin is unloaded when changing the config, because in plugin l4d2_weapon_attributes.smx function OnPluginEnd definitely does not work, I checked it.

why not try my plugin? what i have done was just let server use "sm_weapon_attributes_reset" command which from attr plugin,before you load another config : )
however, both !rmatch then !match again and !chmatch make the changed parameters work correctly

@cy115
Copy link

cy115 commented May 2, 2024

however, at least clipsize can reset to default, at least when i test the plugin.

@NanakaFathry
Copy link
Author

match_vote.zip try this, just two express solve the problem

It seems to have failed on the SM1.12 platform

Repository owner deleted a comment from cy115 Jun 25, 2024
Repository owner deleted a comment from cy115 Jun 25, 2024
Repository owner deleted a comment from NanakaFathry Jun 25, 2024
Repository owner deleted a comment from NanakaFathry Jun 25, 2024
Repository owner deleted a comment from cy115 Jun 25, 2024
@SirPlease
Copy link
Owner

If you're going to troubleshoot non-related issues (or even worse, related issues) refrain from doing it in a different language.

@NanakaFathry
Copy link
Author

If you're going to troubleshoot non-related issues (or even worse, related issues) refrain from doing it in a different language.

ni bu hui gu ge fan yi ma wo de hao xiong di a ? wo men yong zhong wen tao lun hen shu fu wei shen me yao shan chu ?

@HadwinOFE
Copy link

If you're going to troubleshoot non-related issues (or even worse, related issues) refrain from doing it in a different language.

ni bu hui gu ge fan yi ma wo de hao xiong di a ? wo men yong zhong wen tao lun hen shu fu wei shen me yao shan chu ?

No choice, since English is the most popular language. GitHub is a global platform for learning and communication, and the error rate for machine-translated discussions is quite high. If you saw a bunch of discussions in Spanish on some issues, I believe you wouldn't like it either
没办法,谁让英语是最流行语言呢?github是全球性的学习与交流平台,机翻翻译这些讨论的错翻率更不用说了,如果在别的issue看到一堆西语讨论问题的话相信你也不喜欢看见

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority Will investigate and attempt to resolve A.S.A.P. Needs Review/Testing Needs further investigation into the matter before it can be worked out.
Projects
None yet
Development

No branches or pull requests

5 participants