komashchenko / ptah Goto Github PK
View Code? Open in Web Editor NEWAdditional CS:GO Hooks and Natives
License: GNU General Public License v3.0
Additional CS:GO Hooks and Natives
License: GNU General Public License v3.0
I've installed the latest version of PTaH and I'm getting error that says:
[10] file "PTaH.ext.2.csgo.so":
sourcemod/extensions/PTaH.ext.2.csgo.so: invalid ELF header
This was added to the game in November.
https://blog.counter-strike.net/index.php/2019/11/26310/
Hey
a little problem occured while installing the WS-Plugin:
L 04/21/2020 - 21:55:03: SourceMod error session started
L 04/21/2020 - 21:55:03: Info (map "de_dust2") (file "/mnt/csgo/addons/sourcemod/logs/errors_20200421.log")
L 04/21/2020 - 21:55:03: [SM] Unable to load extension "PTaH.ext": /mnt/csgo/addons/sourcemod/extensions/PTaH.ext.so: cannot open shared object file: No such file or directory
L 04/21/2020 - 21:55:03: [SM] Unable to load plugin "weapons.smx": Required extension "PTaH" file("PTaH.ext") not running
Last time i installed it to my server, which was 14 days ago, it all worked perfectly fine.
What should i do?
Thanks in advance ^^
I don't know what happen but our server crash if we've PTaH installed since the last CSGO Update:
12/06/2018
(linux server)
Ver V1.0.10-build13
SM 1.10 6392
MM 1.10 970
StringToLocalUTF8 in pItemDefinition->GetClassName();
https://crash.limetech.org/d5de2fqcaiho
The module is crashing my server when players inspect their weapons with the linux version of PTah. I'm using the https://forums.alliedmods.net/showthread.php?p=2463428 plugin.
Can I use PTaH to search for all CSGO items in the items_game.txt
file and use them with third party plugins to configure Stickers on weapons? If so, what items can I currently use with PTaH? Stickers, Skins, Agents, Coins and etc?
I know that files like these are often detected by Anti-virus software, but I ran a full scan, and my software seems pretty certain PTaH has a Trojan embedded into it. I've had issues with running PTaH.exe due to Anti-virus program blocking the .dll file specifically, I'm hesitant to restore the file, and mark it as save, because the security risk is High.
Has anyone else encountered any issues with PTaH? I was running it on my computer for a week before this, only last night I installed Norton onto my computer, after using Malware bites previously, and Norton automatically deletes the file.
Hey, all our servers started AUTO-DELETING ptah on windows servers since today. The code is probably auto-flagged and needs an update. New windows builds now delete the extension automatically.
When i started plugins PTaH.ext is not running and https://forums.alliedmods.net/showthread.php?t=289289 this does not have plugin shows failed to plugin
Latest version of PTaH 1.1.4 is throwing the following error:
sm exts load PTaH.ext.2.csgo.ext
[SM] Extension PTaH.ext.2.csgo.ext.so failed to load: /home/container/csgo/addons/sourcemod/extensions/PTaH.ext.2.csgo.ext.so: cannot open shared object file: No such file or directory
sm exts load PTaH.ext.2.csgo.so
[SM] Extension PTaH.ext.2.csgo.so failed to load: /lib/i386-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/container/csgo/addons/sourcemod/extensions/PTaH.ext.2.csgo.so)
Previous versions were all fine, I believe GLIBC is very old on the host servers and needs to be updated. Anyway, a lot of users use host for CSGO servers and we are stuck with their configuration.
Is there any alternative we can do or just the host updating their GLIBC, or we use older versions of PTaH?
second day PTaH stopped working
Hi,
I come across your module from trying to get https://github.com/kgns/weapons working on my server.
I followed installation instructions and have tried linux versions from https://ptah.zizt.ru/, #15 and built from source following these instructions https://wiki.alliedmods.net/Building_SourceMod (then cloning your repo to /alliedmodders/sourcemod/extensions/ and building) and for each version the server will load the weapons plugin [SM] Loaded plugin weapons.smx successfully.
but as soon as a player joins the server or the map changes the server crashes.
Metamod:Source version 1.10.7-dev
Built from: https://github.com/alliedmodders/metamod-source/commit/6c8495f
Build ID: 971:6c8495f
Loaded As: Valve Server Plugin
Compiled on: Sep 2 2019
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
Listing 3 plugins:
[01] SourceMod (1.10.0.6488) by AlliedModders LLC
[02] CS Tools (1.10.0.6488) by AlliedModders LLC
[03] SDK Tools (1.10.0.6488) by AlliedModders LLC
SourceMod Version Information:
SourceMod Version: 1.10.0.6488
SourcePawn Engine: 1.10.0.6488, jit-x86 (build 1.10.0.6488)
SourcePawn API: v1 = 5, v2 = 12
Compiled on: Apr 30 2020 16:34:07
Built from: https://github.com/alliedmodders/sourcemod/commit/afb40f1
Build ID: 6488:afb40f1
http://www.sourcemod.net/
[SM] Listing 20 plugins:
01 "Client Preferences" (1.10.0.6478) by AlliedModders LLC
02 "Player Commands" (1.10.0.6478) by AlliedModders LLC
03 "Admin Menu" (1.10.0.6478) by AlliedModders LLC
04 "Basic Ban Commands" (1.10.0.6478) by AlliedModders LLC
05 "Fun Votes" (1.10.0.6478) by AlliedModders LLC
06 "Sound Commands" (1.10.0.6478) by AlliedModders LLC
07 "Command Time-Traveler" (1.2.0) by DarthNinja
08 "Anti-Flood" (1.10.0.6478) by AlliedModders LLC
09 "Nextmap" (1.10.0.6478) by AlliedModders LLC
10 "Fun Commands" (1.10.0.6478) by AlliedModders LLC
11 "Fix Hint Color Messages" (1.2.2 Franc1sco franug github version) by Phoenix (˙·٠●Феникс●٠·˙)
12 "Reserved Slots" (1.10.0.6478) by AlliedModders LLC
13 "Basic Comm Control" (1.10.0.6478) by AlliedModders LLC
14 "Map configs" (1.3) by Berni
15 "Basic Votes" (1.10.0.6478) by AlliedModders LLC
16 "Basic Commands" (1.10.0.6478) by AlliedModders LLC
17 "Basic Info Triggers" (1.10.0.6478) by AlliedModders LLC
18 "Admin File Reader" (1.10.0.6478) by AlliedModders LLC
19 "Basic Chat" (1.10.0.6478) by AlliedModders LLC
20 "Admin Help" (1.10.0.6478) by AlliedModders LLC
21 "Weapons & Knives" (1.6.0) by kgns | oyunhost.net
Crash in console:
May 13 04:05:01: PreMinidumpCallback: updating dump comment
May 13 04:05:02: crash_20200513040404_1.dmp[2555]: Uploading dump (out-of-process)
May 13 04:05:02: /tmp/dumps/crash_20200513040404_1.dmp
May 13 04:05:02: crash_20200513040404_1.dmp[2555]: Finished uploading minidump (out-of-process): success = no
May 13 04:05:02: crash_20200513040404_1.dmp[2555]: error: libcurl.so: cannot open shared object file: No such file or directory
May 13 04:05:02: crash_20200513040404_1.dmp[2555]: file ''/tmp/dumps/crash_20200513040404_1.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''
May 13 04:05:02: show_signal_msg: 4 callbacks suppressed
May 13 04:05:02: srcds_linux[2515]: segfault at ff287ffc ip 00000000dda58f73 sp 00000000ff288000 error 6 in PTaH.ext.2.csgo.so[dda54000+1a6000]
May 13 04:05:02: Segmentation fault (core dumped)
Any idea what is going wrong?
Metamod:Source version 1.10.7-dev
Built from: https://github.com/alliedmodders/metamod-source/commit/63da1c3
Build ID: 970:63da1c3
Loaded As: Valve Server Plugin
Compiled on: Mar 28 2019
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
SourceMod Version Information:
SourceMod Version: 1.10.0.6394
SourcePawn Engine: 1.10.0.6394, jit-x86 (build 1.10.0.6394)
SourcePawn API: v1 = 5, v2 = 12
Compiled on: Apr 11 2019 14:59:22
Built from: https://github.com/alliedmodders/sourcemod/commit/e3f4d23
Build ID: 6394:e3f4d23
http://www.sourcemod.net/
[SM] Listing 26 plugins:
01 "Gloves" (1.0.3) by kgns | oyunhost.net
02 "ServerAdvertisements3" (3.1.3) by ESK0
03 "Admin Help" (1.10.0.6394) by AlliedModders LLC
04 "Client Preferences" (1.10.0.6394) by AlliedModders LLC
05 "Basic Ban Commands" (1.10.0.6394) by AlliedModders LLC
06 "Anti-Flood" (1.10.0.6394) by AlliedModders LLC
07 "Basic Votes" (1.10.0.6394) by AlliedModders LLC
08 "Fun Votes" (1.10.0.6394) by AlliedModders LLC
09 "Fun Commands" (1.10.0.6394) by AlliedModders LLC
10 "Basic Info Triggers" (1.10.0.6394) by AlliedModders LLC
11 "Player Commands" (1.10.0.6394) by AlliedModders LLC
12 "Nextmap" (1.10.0.6394) by AlliedModders LLC
13 "Admin File Reader" (1.10.0.6394) by AlliedModders LLC
14 "Basic Commands" (1.10.0.6394) by AlliedModders LLC
15 "Basic Chat" (1.10.0.6394) by AlliedModders LLC
16 "Sound Commands" (1.10.0.6394) by AlliedModders LLC
17 "Basic Comm Control" (1.10.0.6394) by AlliedModders LLC
18 "Reserved Slots" (1.10.0.6394) by AlliedModders LLC
19 "Admin Menu" (1.10.0.6394) by AlliedModders LLC
20 "SourceBans++: Main Plugin" (1.6.3) by SourceBans Development Team, SourceBans++ Dev Team
21 "SourceBans++: Bans Checker" (1.6.3) by psychonic, Ca$h Munny, SourceBans++ Dev Team
22 <Failed> "SourceBans++ Discord Plugin" (1.1.0) by RumbleFrog, SourceBans++ Dev Team
23 "SourceBans++: SourceComms" (1.6.3) by Alex, SourceBans++ Dev Team
24 "SourceBans++: SourceSleuth" (1.6.3) by ecca, SourceBans++ Dev Team
25 "SourceBans++ Report Plugin" (1.6.3) by RumbleFrog, SourceBans++ Dev Team
26 "SourceBans++: Admin Config Loader" (1.6.3) by AlliedModders LLC, SourceBans++ Dev Team
Errors:
sbpp/sbpp_discord.smx (SourceBans++ Discord Plugin): Required extension "SMJansson" file("smjansson.ext") not running
SIGSEGV /SEGV_MAPERR accessing 0x1
Thread 0 (crashed):
0: libc-2.17.so!__strlen_sse2_bsf + 0x16
eip: 0xf7563b56 esp: 0xfff644a4 ebp: 0xfff644d8 ebx: 0x00005674
esi: 0x10cb8da0 edi: 0x00000001 eax: 0x00000000 ecx: 0x00000001
edx: 0xfff64504 efl: 0x00010287
f7563b48 89 f9 mov ecx, edi
f7563b4a 83 e1 3f and ecx, 0x3f
f7563b4d 66 0f ef c0 pxor xmm0, xmm0
f7563b51 83 f9 30 cmp ecx, 0x30
f7563b54 77 17 ja 0xf7563b6d
> f7563b56 f3 0f 6f 0f movdqu xmm1, [edi]
f7563b5a 66 0f 74 c1 pcmpeqb xmm0, xmm1
f7563b5e 66 0f d7 d0 pmovmskb edx, xmm0
f7563b62 85 d2 test edx, edx
f7563b64 75 73 jnz 0xf7563bd9
f7563b66 89 f8 mov eax, edi
fff644a4 40 00 00 00 a0 8d cb 10 4e 79 b6 ec @.......Ny..
Found via instruction pointer in context
1: sourcepawn.jit.x86.so!sp::PluginContext::StringToLocalUTF8(int, unsigned int, char const*, unsigned int*) + 0x5e
eip: 0xecb6794e esp: 0xfff644b0 ebp: 0xfff644d8 ebx: 0x00005674
esi: 0x10cb8da0 edi: 0x00000040
fff644b0 01 00 00 00 41 39 62 f7 17 20 aa 73 85 c2 bc eb ....A9b.. .s....
fff644c0 ea fa 7a e8 70 bd 8a 0d 28 00 00 00 a0 8d cb 10 ..z.p...(.......
fff644d0 cc 71 d2 11 f4 1f 81 e8 38 d3 1a 0b 72 0d 69 e8 .q......8...r.i.
Found via call frame info
2: PTaH.ext.2.csgo.so!CEconItemDefinition_GetDefinitionName(SourcePawn::IPluginContext*, int const*) [ natives.cpp:573 + 0xc ]
eip: 0xe8690d72 esp: 0xfff644e0 ebp: 0x0b1ad338
fff644e0 a0 8d cb 10 74 56 00 00 40 00 00 00 01 00 00 00 ....tV..@.......
fff644f0 04 45 f6 ff ea fa 7a e8 94 22 81 e8 04 0d 69 e8 .E....z.."....i.
Found via previous frame's frame pointer
3: PTaH.ext.2.csgo.so!CEconItemDefinition_GetDefinitionName(SourcePawn::IPluginContext*, int const*) [ natives.cpp:563 + 0x14 ]
eip: 0xe8690d04 esp: 0xfff64500 ebp: 0x0b1ad338
fff64500 f4 1f 81 e8 00 00 00 00 50 4e c0 eb 68 1b d2 11 ........PN..h...
fff64510 64 56 00 00 28 72 d2 11 48 45 f6 ff 0a a4 51 df dV..(r..HE....Q.
Found via stack scanning
4: jit_code_3746562048_1048576 + 0x1a40a [ VoiceHook.smx::Command_Weapon ]
eip: 0xdf51a40a esp: 0xfff64520 ebp: 0xfff64548
fff64520 a0 8d cb 10 cc 71 d2 11 6c 0b 00 00 74 56 00 00 .....q..l...tV..
fff64530 68 00 00 00 03 00 00 00 48 45 f6 ff 0a a4 51 df h.......HE....Q.
fff64540 b8 0e 00 00 02 00 00 00 68 45 f6 ff 6f 10 8b eb ........hE..o...
Found via stack scanning
#include <sourcemod>
#include <cstrike>
#include <PTaH>
SourceMod 1.10.0.6488, by AlliedModders LLC
To see running plugins, type "sm plugins"
To see credits, type "sm credits"
Visit http://www.sourcemod.net/
Metamod:Source Version Information
Metamod:Source version 1.11.0-dev+1126
Plugin interface version: 16:14
SourceHook version: 5:5
Loaded As: Valve Server Plugin
Compiled on: Mar 28 2019 17:00:48
Built from: https://github.com/alliedmodders/metamod-source/commit/7337d41
Build ID: 1126:7337d41
http://www.metamodsource.net/
If anything else is needed just @ me :)
Hello!
I'm getting some crashes due to PTAH. I would appreciate your help please.
SM Ver: 1.10.0.6474
Metamod Ver: 1.10.971
PTAH Ver: V1.1.1-build17
Crash log: https://crash.limetech.org/yyhjon4uqjvo
hi !!
can you update this plugin for last version ptah ??
Hi @komashchenko
i trying to build PTaH on my server and i having this error:
Compiling PTaH_test.sp...
SourcePawn Compiler 1.10.0.6492
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2018 AlliedModders LLC
PTaH_test.sp(6) : error 017: undefined symbol "PTaH_ExecuteStringCommand"
PTaH_test.sp(7) : error 017: undefined symbol "PTaH_OnClientConnect"
PTaH_test.sp(8) : error 100: function prototypes do not match
PTaH_test.sp(9) : error 017: undefined symbol "PTaH_MapContentList"
PTaH_test.sp(10) : error 017: undefined symbol "PTaH_WeaponCanUse"
PTaH_test.sp(11) : error 017: undefined symbol "PTaH_ConsolePrint"
PTaH_test.sp(12) : error 017: undefined symbol "PTaH_SetPlayerModel"
PTaH_test.sp(13) : error 017: undefined symbol "PTaH_ServerConsolePrint"
PTaH_test.sp(22) : error 139: could not find type "AddrInfo"
PTaH_test.sp(23) : error 017: undefined symbol "PTaH_GetAddrInfo"
PTaH_test.sp(27) : error 139: could not find type "AddrInfo"
PTaH_test.sp(28) : error 104: cannot find any methods for int
PTaH_test.sp(30) : error 104: cannot find any methods for int
PTaH_test.sp(30) : warning 215: expression has no effect
PTaH_test.sp(30) : warning 215: expression has no effect
PTaH_test.sp(30) : error 001: expected token: ";", but found ")"
PTaH_test.sp(30) : error 029: invalid expression, assumed zero
PTaH_test.sp(30) : fatal error 190: too many error messages on one line
Compilation` aborted.
16 Errors
can you help me please?
weapons.smx (Weapons & Knives): Required extension "PTaH" file("PTaH.ext") not running
csgo_weaponstickers.smx ([CS:GO] Weapon Stickers): Required extension "PTaH" file("PTaH.ext") not running
is everyone getting issues downloading PTaH from the website? I can't connect to the site server.
is there an alternate download page?
Hello, this extension is causing instant server crashes while running any version of Sourcemod 1.10 on Windows.
It has been tested crashing on as old as SM 1.10 - 6266, and as new as 6332. Here's a crash report: https://crash.limetech.org/jizax6gmtjnz
Error message in debug logs:
#11 0xe59640d9 in __SourceHook_MFHCls_GiveNamedItem::Func(char const*, int, CEconItemView*, bool, Vector*) (this=<optimized out>, p1=<optimized out>, p2=<optimized out>, p3=<optimized out>, p4=<optimized out>, p5=<optimized out>) at /root/alliedmodders/PTaH-1.1.3/forwards.cpp:34
I've tried talking with KGNS but he told me to come here. Here's my chat with him: kgns/weapons#142
Should I be using a different Linux distro? Is PTaH not compatible with Ubuntu 18.04 LTS?
when im trying to compile plugin with your ext im getting that error
.sp(17) : error 100: function prototypes do not match
17 row is
PTaH(PTaH_ServerConsolePrint, Hook, ServerConsolePrintHook);
Hi!
When i install Ptah the server wont start. what can i do?:( FResh SM and Meta Mod
Your gamedata that you have updated, the extension still puts the server
You have compiled windows & linux version...
How to build for macOS
just maid a post here with infos.
https://forums.alliedmods.net/showpost.php?p=2660872&postcount=186
hi, i keep getting this crash,is there any way to fix it?thanks
0 | KERNELBASE.dll + 0xdb152 |
---|---|
engine.dll + 0x2751d7 | |
engine.dll + 0x275240 | |
engine.dll + 0x27597d | |
tier0.dll + 0x91ee | |
PTaH.ext.2.csgo.dll + 0x57bd | |
tier0.dll + 0x648b | |
engine.dll + 0x1a0c04 | |
engine.dll + 0x1a1253 | |
engine.dll + 0x1a131e | |
engine.dll + 0x1a1eab | |
vstdlib.dll + 0x8ea8 | |
tier0.dll + 0x142be | |
tier0.dll + 0xdc30 | |
tier0.dll + 0x14412 | |
kernel32.dll + 0x162c4 | |
ntdll.dll + 0x61f69 | |
ntdll.dll + 0x61f34 |
Hey,
the latest release on the website doesn't match with the Github Code and the changes made in: 74ec371
It would be nice if you could push another build.zip to the website (https://ptah.zizt.ru/).
Best wishes.
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.