hermansimensen / eventqueue-fix Goto Github PK
View Code? Open in Web Editor NEWReplaces general event queue found within Source-engine games with a lag-resistant event queue per player entity
License: GNU General Public License v3.0
Replaces general event queue found within Source-engine games with a lag-resistant event queue per player entity
License: GNU General Public License v3.0
Just fired up a new map that has just come out, and noticed a strange side effect of the plugin. The map has teleport trigger entities with these kv's:
{
"model" "*79"
"UseLandmarkAngles" "1"
"target" "stage4"
"StartDisabled" "0"
"spawnflags" "1"
"origin" "0 2480 641"
"classname" "trigger_teleport"
"hammerid" "92429"
"OnStartTouch" "!activator�RunScriptCode�self.SetVelocity(Vector(0, 0, self.GetVelocity().z > 0 ? 0 : self.GetVelocity().z));�0�-1"
}
With the plugin enabled, players can telehop. With the plugin disabled, they no longer can. No error logs. Definitely has to do with the OnStartTouch kv, which is supposed to nullify the players speed upon teleport.
Here's the map in question: https://gamebanana.com/mods/307088
with this plugin the server crashes when a player falls down and the server tries to teleport him up
game is css and the crash happens without any logs
The "jump" height on that map will be just regular jump height rather than the "low grav" intended by that map
L 09/24/2022 - 16:21:37: [SM] Exception reported: Pass flags are only supported for virtual hooks.
L 09/24/2022 - 16:21:37: [SM] Blaming: eventqueuefix.smx
L 09/24/2022 - 16:21:37: [SM] Call stack trace:
L 09/24/2022 - 16:21:37: [SM] [0] DHookAddParam
L 09/24/2022 - 16:21:37: [SM] [1] Line 155, eventqueuefix.sp::LoadDHooks
L 09/24/2022 - 16:21:37: [SM] [2] Line 50, eventqueuefix.sp::OnPluginStart
[SM] Plugin eventqueuefix.smx failed to load: Error detected in plugin startup (see error logs).
[SM] Displaying 24 extensions:
[01] Automatic Updater (1.11.0.6911): Updates SourceMod gamedata files
[02] Webternet (1.11.0.6911): Extension for interacting with URLs
[03] BanId Fix (1.0): Correcting 'Ghost players' error
[04] SDK Tools (1.11.0.6911): Source SDK Tools
[05] BinTools (1.11.0.6911): Low-level C/C++ Calling API
[06] Accelerator (2.5.0): SRCDS Crash Handler
[07] Console Cleaner (1.1.0): Console warning suppressor
[08] CS Tools (1.11.0.6911): CS extended functionality
[09] SteamWorks Extension (1.2.3): Exposes SteamWorks functions to Developers
[10] DHooks (1.11.0.6911): Dynamic Hooks
[11] SDK Hooks (1.11.0.6911): Source SDK Hooks
[12] Regex (1.11.0.6911): Provides regex natives for plugins
[13] TAU LIB (1.1):
[14] Client Preferences (1.11.0.6911): Saves client preference settings
[15] SQLite (1.11.0.6911): SQLite Driver
[16] Top Menus (1.11.0.6911): Creates sorted nested menus
[17] SMJansson (2.3.1/3): JSON parser/writer
[18] REST in Pawn (1.3.1): Provides HTTP and JSON natives for plugins
[19] GeoIP (1.11.0.6911): Geographical IP information
[20] Socket (3.0.1): Socket extension for SourceMod
[21] PTaH (1.1.3): Additional CS:GO Hooks and Natives
[22] file "closestpos.ext.so": /home/csgoserver/serverfiles96/csgo/addons/sourcemod/extensions/closestpos.ext.so: cannot open shared object file: No such file or directory
[23] SendProxy Manager (1.2): Change stuff without actually changing stuff!
[24] MySQL-DBI (1.11.0.6911): MySQL driver implementation for DBI
Seems as though the plugin has some strange side effects on oddly triggered.... triggers. It's better to lead with a consistent issue example, so here goes:
Game: CS:GO
Plugin version: 1.1.2
Map: bhop_badges_mini_csgo
Coords: 10720.000000 -3458.263184 12416.093750
Shooting the func_button results in no boost. Unloaded the plugin, boost functions suddenly.
Related plugins: EndTouch Fix, RNGFix, Trigger_push Fix 1.5
Happy to give more info if needed!
since the latest version i get this error
L 04/10/2022 - 02:42:46: SourceMod error session started
L 04/10/2022 - 02:42:46: Info (map "bhop_communityjump_csgo") (file "/home/1/server/csgo/addons/sourcemod/logs/errors_20220410.log")
L 04/10/2022 - 02:42:46: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 04/10/2022 - 02:42:46: [SM] Blaming: eventqueuefix.smx
L 04/10/2022 - 02:42:46: [SM] Call stack trace:
L 04/10/2022 - 02:42:46: [SM] [0] ArrayList.PushArray
L 04/10/2022 - 02:42:46: [SM] [1] Line 217, eventqueuefix.sp::DHook_AddEventThree
L 04/10/2022 - 02:42:47: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 04/10/2022 - 02:42:47: [SM] Blaming: eventqueuefix.smx
L 04/10/2022 - 02:42:47: [SM] Call stack trace:
L 04/10/2022 - 02:42:47: [SM] [0] ArrayList.PushArray
L 04/10/2022 - 02:42:47: [SM] [1] Line 217, eventqueuefix.sp::DHook_AddEventThree
L 04/10/2022 - 02:42:47: [SM] Exception reported: Invalid Handle 0 (error: 4)
Note: i'm using latest sm-1.11 dhooks
L 07/02/2021 - 14:56:16: [SM] Exception reported: Entity 1843 (1843) is not a CBaseEntity
L 07/02/2021 - 14:56:16: [SM] Blaming: eventqueuefix.smx
L 07/02/2021 - 14:56:16: [SM] Call stack trace:
L 07/02/2021 - 14:56:16: [SM] [0] AcceptEntityInput
L 07/02/2021 - 14:56:16: [SM] [1] Line 300, N:\csgo\sm 1.10\eventqueuefix.sp::ServiceEvent
L 07/02/2021 - 14:56:16: [SM] [2] Line 343, N:\csgo\sm 1.10\eventqueuefix.sp::OnPlayerRunCmd
Had a big ol' spam of this (about 500k lines in 12 minutes).
Also possibly related, had a couple crashes on a specific map (surf_sandman_v2):
https://crash.limetech.org/t547mzyzs5v5
Hey,
the new CSGO Update broke the AddEventThree signature.
L 02/03/2023 - 22:58:47: [SM] Blaming: eventqueuefix.smx
L 02/03/2023 - 22:58:47: [SM] Call stack trace:
L 02/03/2023 - 22:58:47: [SM] [0] SetFailState
L 02/03/2023 - 22:58:47: [SM] [1] Line 152, eventqueuefix.sp::LoadDHooks
L 02/03/2023 - 22:58:47: [SM] [2] Line 50, eventqueuefix.sp::OnPluginStart
L 02/03/2023 - 22:58:47: [SM] Unable to load plugin "eventqueuefix.smx": Error detected in plugin startup (see error logs)
Using a trigger_multiple booster.
Outputs are:
OnStartTouch
!activator
AddOutput
basevelocity 0 0 350
Works normally with EQF disabled, but doesn't work at all with it on.
Edit: Fixed by using OnEndTouch
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.