Coder Social home page Coder Social logo

moyu_server_stupid_plugins's Issues

Get up fixes can't compile error

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

I have a question regarding the readyup_togglecvars plugin.

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和 l4d2_getup_fixes pve模式问题

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插件处死了,第二个也是,是不是因为这个问题?

l4d_tank_damage_announce (3.0) error logs

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

This error occurs if ConVar "l4d_tankdamage_text_style" = 4

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

Pause menu

Since your update i can unpause now, but the menu of pause does not show up anymore.

I have two questions regarding the ReadyUp plugin.

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 ]

  1. ☐ Players
  2. ☐ Players
  3. ☐ Players
  4. ☐ Players

Infected [ 1000 ]

  1. ☐ Players
  2. ☐ Players
  3. ☐ Players
  4. ☐ Players

I tried to make it in that format, but it wasn't possible for me, so I'm looking for help.

Pause disable command by admin

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.

l4d_tank_damage_announce error logs

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.

Bug in l4d_tongue_block_fix

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?

l4d2_getup_fixes

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

l4d2 pickup plugins bug

1、已经是双枪状态时拾取近战,会显示为小手枪,但是实际在slots1位置,功能影响为刚切换时无法开枪,演示视频
2、有第一把小手枪的情况,用give命令给的第二把小手枪依旧会切换到slots2,演示视频
这个不知道可不可以实现,拾取第二把情况是正常的

Survivor FF Announce

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.

Pills hot doesnt work


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)```

readyup plugin disable?????

kinda curious why I cant have this plugin loaded but disabled for public matches?

l4d_ready_enable 0 does nothing as it says

Plugin timer and pause

Is it possible to order a plugin timer to ignore a pause? Because currently the pause stop all timers.

warp_to_start_area command spam

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.

server_namer can't define {gamemode} tag in server name

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"

Do you have some cool ideas?

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!

Pause and votes

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.

[SUG] Some minor additions in l4d_tank_damage_announce

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;
}

Readyup rare bug with round start event

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.

readyup bug

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

[L4D2] Vomit trace patch (Memory patch error)

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

question witch_spawn_fix

Is it something that happens consistently ? Or is it necessary if you have witch and tankifier plugin?

TLS vocalize restore

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

Readyup question (Revised)

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

友伤显示插件bug

zm 自己编译的插件
别人攻击你 显示的是你自己攻击自己
其他没问题

sweep_patch

[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

Can't compile

// 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

smoker catch saferoom player

  • vanilla
    vanilla

  • load l4d_tongue_bend_fix
    bend_fix

as shown vanilla version will auto break tongue, l4d_tongue_bend_fix break this rule

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.