target5150 / moyu_server_stupid_plugins Goto Github PK
View Code? Open in Web Editor NEWL4D2 Target Cat Project
License: GNU General Public License v3.0
L4D2 Target Cat Project
License: GNU General Public License v3.0
Mainly the error 181
plugin.sp(85) : error 181: function argument named 'flag' differs from prototype
plugin.sp(88) : error 181: function argument named 'flag' differs from prototype
plugin.sp(252) : warning 213: tag mismatch
plugin.sp(253) : warning 213: tag mismatch
plugin.sp(254) : warning 213: tag mismatch
plugin.sp(255) : warning 213: tag mismatch
plugin.sp(271) : warning 213: tag mismatch
plugin.sp(296) : warning 213: tag mismatch
plugin.sp(297) : warning 213: tag mismatch
plugin.sp(298) : warning 213: tag mismatch
plugin.sp(313) : warning 213: tag mismatch
plugin.sp(314) : warning 213: tag mismatch
plugin.sp(324) : warning 213: tag mismatch
plugin.sp(340) : warning 213: tag mismatch
plugin.sp(348) : warning 213: tag mismatch
plugin.sp(349) : warning 213: tag mismatch
plugin.sp(350) : warning 213: tag mismatch
plugin.sp(351) : warning 213: tag mismatch
plugin.sp(375) : warning 213: tag mismatch
plugin.sp(376) : warning 213: tag mismatch
plugin.sp(382) : warning 213: tag mismatch
plugin.sp(383) : warning 213: tag mismatch
plugin.sp(386) : warning 213: tag mismatch
plugin.sp(387) : warning 213: tag mismatch
plugin.sp(393) : warning 213: tag mismatch
plugin.sp(393) : warning 213: tag mismatch
plugin.sp(404) : warning 213: tag mismatch
plugin.sp(405) : warning 213: tag mismatch
plugin.sp(445) : warning 213: tag mismatch
plugin.sp(446) : warning 213: tag mismatch
plugin.sp(447) : warning 213: tag mismatch
plugin.sp(448) : warning 213: tag mismatch
plugin.sp(472) : warning 213: tag mismatch
plugin.sp(478) : warning 213: tag mismatch
plugin.sp(483) : warning 213: tag mismatch
plugin.sp(484) : warning 213: tag mismatch
plugin.sp(485) : warning 213: tag mismatch
plugin.sp(510) : warning 213: tag mismatch
plugin.sp(516) : warning 213: tag mismatch
plugin.sp(521) : warning 213: tag mismatch
plugin.sp(522) : warning 213: tag mismatch
plugin.sp(523) : warning 213: tag mismatch
The readyup_togglecvars plugin failed to disable the custom plugin even after starting the round.
Did I do something wrong or is it a plugin problem?
in server.cfg
sm_readyup_add_togglecvars "l4d_lasertag_enable" "1" "0" I added it like this.
I used the latest version of the readyup plugin, but the result was the same.
l4d2_charge_target_fix:
这个插件因为我把动画速率播放改成了1000(SetEntPropFloat(client, Prop_Send, "m_flCycle", 1000.0, 0); 而且也不一定是这个原因),然后被牛撞之后就会触发无法被牛,猴子,ht控制,舌头可以拉 (视频:https://file.trygek.com/record/test1.mp4 )
l4d2_getup_fixes:
把gfc_long_charger_duration 值从3.1改为2.8后,有时会触发双起身,(视频: https://file.trygek.com/record/test2.mp4 这个视频并没有改动画播放速率,触发了双起身之后,然后也不能被控制了)
PS:第一个视频牛被1v1插件处死了,第二个也是,是不是因为这个问题?
Hello, as I understand, we have to delete l4d2_fix_deathspit plugin if we use l4d2_spit_spread_patch. But same fix in your plugin doesn't work properly.
L 11/01/2023 - 13:06:24: [SM] Exception reported: Data pack operation is out of bounds.
L 11/01/2023 - 13:06:24: [SM] Blaming: mechanics/l4d_tank_damage_announce.smx
L 11/01/2023 - 13:06:24: [SM] Call stack trace:
L 11/01/2023 - 13:06:24: [SM] [0] DataPack.ReadCellArray
L 11/01/2023 - 13:06:24: [SM] [1] Line 719, c:\Users\1\Desktop\scripting\source_code\l4d_tank_damage_announce\l4d_tank_damage_announce.sp::Timer_PrintTankFacts
L 11/01/2023 - 13:02:12: [SM] Exception reported: Client index 49 is invalid
L 11/01/2023 - 13:02:12: [SM] Blaming: mechanics/l4d_tank_damage_announce.smx
L 11/01/2023 - 13:02:12: [SM] Call stack trace:
L 11/01/2023 - 13:02:12: [SM] [0] GetClientTeam
L 11/01/2023 - 13:02:12: [SM] [1] Line 796, c:\Users\1\Desktop\scripting\source_code\l4d_tank_damage_announce\l4d_tank_damage_announce.sp::IsTank
L 11/01/2023 - 13:02:12: [SM] [2] Line 361, c:\Users\1\Desktop\scripting\source_code\l4d_tank_damage_announce\l4d_tank_damage_announce.sp::SDK_OnTakeDamageAlive_Post
Since your update i can unpause now, but the menu of pause does not show up anymore.
First, when using the latest version, a small number of waves appear at the start of a round. I wonder if this is a bug or if it was originally intended.
Second, I want to display each player numbering and each team's score in the ready-up panel. I will write it down as an example below.
Ex)
Survivors [ 1000 ]
Infected [ 1000 ]
I tried to make it in that format, but it wasn't possible for me, so I'm looking for help.
Will it be possible to add a command for admin to disable to possibility to pause for regular players for the rest of a game? In the case where there will be abuse with pauses. Going in the server files to override the rights on a command is not pratical and i think it only update after map change.
Hello, recently I've got this:
L 03/06/2024 - 14:12:08: SourceMod error session started
L 03/06/2024 - 14:12:08: Info (map "c1m4_atrium") (file "/home/srcds/l4d2server/left4dead2/addons/sourcemod/logs/errors_20240306.log")
L 03/06/2024 - 14:12:08: [SM] Exception reported: Invalid index 1 (count: 1)
L 03/06/2024 - 14:12:08: [SM] Blaming: optional/l4d_tank_damage_announce.smx
L 03/06/2024 - 14:12:08: [SM] Call stack trace:
L 03/06/2024 - 14:12:08: [SM] [0] ArrayList.Get
L 03/06/2024 - 14:12:08: [SM] [1] Line 35, l4d_tank_damage_announce\uservector.inc::UserVector.At
L 03/06/2024 - 14:12:08: [SM] [2] Line 73, l4d_tank_damage_announce\uservector.inc::UserVector.ForEach
L 03/06/2024 - 14:12:08: [SM] [3] Line 611, C:\GitHub\mirum-scripting\plugins\l4d_tank_damage_announce\scripting\l4d_tank_damage_announce.sp::PrintTankInfo
L 03/06/2024 - 14:12:08: [SM] [4] Line 223, C:\GitHub\mirum-scripting\plugins\l4d_tank_damage_announce\scripting\l4d_tank_damage_announce.sp::Event_RoundEnd
L 03/06/2024 - 14:12:33: Error log file session closed.
I checked the code and correct me if I'm wrong, here we use prefix increment so, in the first cycle it is i == 1
Tested it and it didn't work as I thought, then, I don't understand.
Hello, installing l4d_tongue_block_fix plugin causes ai's smoker ability to be broken (smoker bots can't grab any survivor at all).
I tried to filter bots in CH_PassFilter() to avoid plugin to interrupt in ai's ability behavior but it didn't help. Do you have any idea how to solve this problem?
L 02/14/2022 - 07:14:48: [SM] Exception reported: Client 9 is not connected
L 02/14/2022 - 07:14:48: [SM] Blaming: l4d2_getup_fixes.smx
L 02/14/2022 - 07:14:48: [SM] Call stack trace:
L 02/14/2022 - 07:14:48: [SM] [0] GetClientUserId
L 02/14/2022 - 07:14:48: [SM] [1] Line 224, d:\Sourcemod\scripting\l4d2_getup_fixes.sp::Event_ChargeEnd
Hello, I just want to report error about your Survivor FF Announce plugin:
L 12/10/2021 - 15:59:35: [SM] Exception reported: Client index 2 is invalid (arg 5)
L 12/10/2021 - 15:59:35: [SM] Blaming: l4d_ffannounce.smx
L 12/10/2021 - 15:59:35: [SM] Call stack trace:
L 12/10/2021 - 15:59:35: [SM] [0] FormatEx
L 12/10/2021 - 15:59:35: [SM] [1] Line 130, D:\GAMES\SERVER\L4D2\left4dead2\addons\sourcemod\scripting\l4d_ffannounce.sp::AnnounceFF
L 12/10/2021 - 16:00:00: Error log file session closed.
public Plugin myinfo =
{
name = "L4D HOTs",
author = "ProdigySim, CircleSquared, Forgetest",
description = "Pills and Adrenaline heal over time",
version = PLUGIN_VERSION,
url = "https://github.com/Target5150/MoYu_Server_Stupid_Plugins"
}
L 02/24/2024 - 20:56:24: SourceMod error session started
L 02/24/2024 - 20:56:24: Info (map "c1m1_hotel") (file "/home/steam/l4d2/left4dead2/addons/sourcemod/logs/errors_20240224.log")
L 02/24/2024 - 20:56:24: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 02/24/2024 - 20:56:24: [SM] Blaming: l4dhots.smx
L 02/24/2024 - 20:56:24: [SM] Call stack trace:
L 02/24/2024 - 20:56:24: [SM] [0] ConVar.BoolValue.get
L 02/24/2024 - 20:56:24: [SM] [1] Line 218, l4dhots.sp::CvarChg_PillHot
L 02/24/2024 - 20:56:24: [SM] [2] Line 65, l4dhots.sp::OnPluginStart
L 02/24/2024 - 20:56:24: [SM] Unable to load plugin "l4dhots.smx": Error detected in plugin startup (see error logs)
L 02/24/2024 - 21:00:19: Error log file session closed.
L 02/24/2024 - 21:00:32: SourceMod error session started
L 02/24/2024 - 21:00:32: Info (map "c1m1_hotel") (file "/home/steam/l4d2/left4dead2/addons/sourcemod/logs/errors_20240224.log")
L 02/24/2024 - 21:00:32: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 02/24/2024 - 21:00:32: [SM] Blaming: l4dhots.smx
L 02/24/2024 - 21:00:32: [SM] Call stack trace:
L 02/24/2024 - 21:00:32: [SM] [0] ConVar.BoolValue.get
L 02/24/2024 - 21:00:32: [SM] [1] Line 218, l4dhots.sp::CvarChg_PillHot
L 02/24/2024 - 21:00:32: [SM] [2] Line 65, l4dhots.sp::OnPluginStart
L 02/24/2024 - 21:00:32: [SM] Unable to load plugin "l4dhots.smx": Error detected in plugin startup (see error logs)```
kinda curious why I cant have this plugin loaded but disabled for public matches?
l4d_ready_enable 0
does nothing as it says
Is it possible to order a plugin timer to ignore a pause? Because currently the pause stop all timers.
Sometimes people are getting kicked for this reason and i think it is related to readyup plugin, it can be sent more than 15 times in one second. Even if the player was intentionally trying to go out of the saferoom he could not do it that often, it seems like a bug to me.
As a tank if you punch a downed survivor, it will launch the animation where he stands up (happen everytime). This bug only occur when i have this plugin, already reported a long time ago but being ignored SirPlease/L4D2-Competitive-Rework#81
Server Config:
sn_main_name "Server Name"
sn_host_num "1"
sn_hostname_format1 "{hostname} #{servernum} :: {gamemode}" //for Vanilla versus or Confogl
sn_hostname_format2 "{hostname} #{servernum} :: {gamemode} ({difficulty})" // for Campaign
sn_hostname_format3 "{hostname} #{servernum}" // Empty server
When i starting game for example in Versus mode i got next server name:
] status
hostname: Server Name #1 ::
version : 2.2.2.9 8934 secure (unknown)
udp/ip : ***
os : Linux Dedicated
map : c1m1_hotel
players : 1 humans, 0 bots (1 max) (not hibernating) (reserved 1860000216e8e4a)
[SM] Value of cvar "mp_gamemode": "versus"
I`m much appreciated for your hard working on readyup plugin
Would you like to do the same on coop mode?
The same panel, same ready&unready status, same god mode and always teleport survivor to safe area when they left it before round is live
i used to browser your code but it is a large work to make it....So please bring us a readyup plugin for coop mode!
It is a detail but the pause menu obstruct the vision about the vote same as readyup in the past. Also delaying the pause when a vote is in progress might be a good idea, or not i don't know how act the game if paused right after a vote pass.
Is it possible to delay a pause if a survivor is using a medkit ? The same way that reviving.
Hello, recently I saw your changes for l4d_tank_damage_announce, as I can see you merged it with l4d2_tank_facts_announce
Here are some minor additions if you don't mind:
We could add this to avoid the case when tank didn't get any damage:
public void L4D_OnSpawnTank_Post(int client, const float vecPos[3], const float vecAng[3])
{
...
g_aTankInfo.UserSet(userid, eTankLastHealth, float(GetEntProp(client, Prop_Send, "m_iMaxHealth"))); // <<< add this
}
and we could add natives for third party plugins (I used l4d2_tank_facts_announce to get tank statistics for spechud) (correct me if I misunderstood the code):
public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max)
{
CreateNative("TFA_Punches", Native_Punches);
CreateNative("TFA_Rocks", Native_Rocks);
CreateNative("TFA_Hittables", Native_Hittables);
CreateNative("TFA_TotalDmg", Native_TotalDamage);
CreateNative("TFA_UpTime", Native_UpTime);
RegPluginLibrary("l4d_tank_damage_announce");
...
}
any Native_Punches(Handle hPlugin, int iNumParams) {
int iClient = GetNativeCell(1);
if (iClient <= 0) return 0;
int iUserId = GetClientUserId(iClient);
int iIdx = 0;
int iTotalPunch;
if (!g_aTankInfo.UserIndex(iUserId, iIdx, false))
return 0;
UserVector uSurvivorVector = g_aTankInfo.Get(iIdx, eSurvivorInfoVector);
for (int i = 0; i < uSurvivorVector.Length; i++) {
iTotalPunch += uSurvivorVector.Get(i, ePunch);
}
return iTotalPunch;
}
any Native_Rocks(Handle hPlugin, int iNumParams) {
int iClient = GetNativeCell(1);
if (iClient <= 0) return 0;
int iUserId = GetClientUserId(iClient);
int iIdx = 0;
int iTotalRock;
if (!g_aTankInfo.UserIndex(iUserId, iIdx, false))
return 0;
UserVector uSurvivorVector = g_aTankInfo.Get(iIdx, eSurvivorInfoVector);
for (int i = 0; i < uSurvivorVector.Length; i++) {
iTotalRock += uSurvivorVector.Get(i, eRock);
}
return iTotalRock;
}
any Native_Hittables(Handle hPlugin, int iNumParams) {
int iClient = GetNativeCell(1);
if (iClient <= 0) return 0;
int iUserId = GetClientUserId(iClient);
int iIdx = 0;
int iTotalHittable;
if (!g_aTankInfo.UserIndex(iUserId, iIdx, false))
return 0;
UserVector uSurvivorVector = g_aTankInfo.Get(iIdx, eSurvivorInfoVector);
for (int i = 0; i < uSurvivorVector.Length; i++) {
iTotalHittable += uSurvivorVector.Get(i, eHittable);
}
return iTotalHittable;
}
any Native_TotalDamage(Handle hPlugin, int iNumParams) {
int iClient = GetNativeCell(1);
if (iClient <= 0) return 0;
int iUserId = GetClientUserId(iClient);
int iIdx = 0;
if (!g_aTankInfo.UserIndex(iUserId, iIdx, false))
return 0;
int iTotalDamage = g_aTankInfo.Get(iIdx, eTotalDamage);
return iTotalDamage;
}
any Native_UpTime(Handle plugin, int numParams) {
int iClient = GetNativeCell(1);
if (iClient <= 0) return 0;
int iUserId = GetClientUserId(iClient);
int iIdx = 0;
if (!g_aTankInfo.UserIndex(iUserId, iIdx, false))
return 0;
int iAliveDuration = RoundToFloor(GetGameTime() - view_as<float>(g_aTankInfo.Get(iIdx, eAliveSince)));
return iAliveDuration;
}
Basically even after the countdown and going out of the safe area you will still hear the music from the intro and natural hordes will never spawn, only saw it happened on intro maps for now.
Can you add glow to items dropped by dead infected? Thank you!
hello :)
im using the latest version of readyup.
using the "Climb Everywhere" plugin causes the survivors to freeze.
Also, idk if this plugin is affecting it, but it is forcing me to return to the saferoom.
i have taken a video so check it out.
https://www.youtube.com/watch?v=ugBOtPwtRNs
L 06/23/2023 - 20:16:01: [SM] Exception reported: Invalid patch name ShouldHitEntity_MyInfectedPointer
L 06/23/2023 - 20:16:01: [SM] Blaming: patches/l4d_vomit_trace_patch.smx
L 06/23/2023 - 20:16:01: [SM] Call stack trace:
L 06/23/2023 - 20:16:01: [SM] [0] MemoryPatch.CreateFromConf
L 06/23/2023 - 20:16:01: [SM] [1] Line 34, J:\Documents\GitHub\MoYu_Server_Stupid_Plugins\The Last Stand\l4d_vomit_trace_patch\l4d_vomit_trace_patch.sp::OnPluginStart
Hello, recently found that you don't close DataPack that you cast here.
I hope it was helpful.
Thanks a lot for updates which you do.
Put the l4d_fix_deathfall_cam.txt to your gamedata folder.
But there is no file named l4d_fix_deathfall_cam.txt.
Is it something that happens consistently ? Or is it necessary if you have witch and tankifier plugin?
There is a conflict between your plugin and anti spam vocalize who works with sceneprocessor.
Vocalize line limits in a dozen of seconds:
without plugin -> 4 normally
with plugin -> 2
After the countdown is over, will be randomly refreshed some common zombie.
I only modified customizable content among them "panel.inc"and"sound.inc"
And there were no errorslog for "readyup.smx"
When I use ZoneMod 2.8.7 something similar has happened (unmodified)
Now when I use unmodified smx, the issue is solved (ZoneMod 2.8.9)
I can provide the video file if needed
Sys:Ubuntu 22.04.3 L4D2 Dedicated Server
The above text uses a translator, please understand if it cannot be expressed smoothly
Occasionnally we have a bot that refuse to move or disappear with a weird name "k9c....", sm_fixbots does not help.
zm 自己编译的插件
别人攻击你 显示的是你自己攻击自己
其他没问题
[SM] Blaming: l4d_sweep_fist_patch.smx
[SM] Call stack trace:
[SM] [0] CreateEntityByName
[SM] [1] Line 172, J:\Documents\GitHub\MoYu_Server_Stupid_Plugins\The Last Stand\l4d_sweep_fist_patch\l4d_sweep_fist_patch.sp::IsAllowedGamemode
[SM] [2] Line 111, J:\Documents\GitHub\MoYu_Server_Stupid_Plugins\The Last Stand\l4d_sweep_fist_patch\l4d_sweep_fist_patch.sp::OnConfigsExecuted
[SM] [3] Line 119, J:\Documents\GitHub\MoYu_Server_Stupid_Plugins\The Last Stand\l4d_sweep_fist_patch\l4d_sweep_fist_patch.sp::OnGameModeChanged
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\include\left4dhooks_silver.inc(961) : error 017: undefined symbol "PlayerAnimState"
//
// 1 Error.
//
// Compilation Time: 0.48 sec
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.