Search found 264 matches

by decompile
Thu Mar 23, 2017 3:02 am
Forum: Plugin Development Support
Topic: Lib or Plugin
Replies: 1
Views: 6

Lib or Plugin

Hey,

Im planning on making a plugin which detects players who are afk, and make it useable for my other plugins.
The question is, does it need to be a custom package/module or a plugin itself, if so, how can I import a plugin like in es?
by decompile
Wed Mar 22, 2017 3:38 am
Forum: General Discussion
Topic: [CSGO] New Custom HUD (game_text)
Replies: 1
Views: 28

[CSGO] New Custom HUD (game_text)

So, the latest update fixes game_text for CS:GO, after almost 5 years. Hammer still doesn't support the newline in game_texts though and crashes out. But you can use a hex editor on the bsp to insert a newline character in texts, and they work just fine in-game! Source: https://www.reddit.com/r/csma...
by decompile
Fri Feb 24, 2017 1:22 am
Forum: Plugin Requests
Topic: Can Anybody port SM Plugin to Source Python?
Replies: 9
Views: 287

Re: Can Anybody port SM Plugin to Source Python?

Since OP specifically wants the SM Plugin ported.

Havent even thought thats its possible, can just remember that I was once googling it, and it wasnt possible at that time.
by decompile
Thu Feb 23, 2017 7:21 pm
Forum: Plugin Requests
Topic: Can Anybody port SM Plugin to Source Python?
Replies: 9
Views: 287

Re: Can Anybody port SM Plugin to Source Python?

first of all we cant do anything without .sp
by decompile
Tue Feb 21, 2017 2:47 am
Forum: Plugin Development Support
Topic: Performance (Repeat)
Replies: 1
Views: 66

Performance (Repeat)

Hey Guys,

Im currently kinda rewriting my own plugin and Im actually wondering if theres any problem with using every 0.1 seconds Player.observer_target for each player for my spectator list plugin, or should I rather cache it by checking every players "spec_next" "spec_previous"?
by decompile
Mon Feb 20, 2017 3:59 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 73
Views: 2863

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

Regarding to that Issue:

https://github.com/Source-Python-Dev-Te ... -280918095

How can I do that, with the fixed version for sourcemod? I dont have receipents to use..
by decompile
Mon Feb 20, 2017 1:23 am
Forum: Plugin Releases
Topic: [CS:GO/OrangeBox] Bad SetLocalAngles(...) fix
Replies: 13
Views: 1310

Re: [CS:GO/OrangeBox] Bad SetLocalAngles(...) fix

Heads up: [SP] Loading plugin 'badlocalanglesfix'... [SP] Caught an Exception: Traceback (most recent call last): File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin plugin = self.manager.load(plugin_name) File "../addons/source-python/pa...
by decompile
Thu Feb 16, 2017 4:00 pm
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 536

Re: Threaded MySQL 2.0.0 (Updated)

pretty much like: playerName = TSQL.fetchone("SELECT name from users WHERE steamid=%s", (playerSteamid,)) playerTime = TSQL.fetchone("SELECT time from times WHERE steamid=%s", (playerSteamid,)) (just completly random ones) So it either returns the dict back or None if it got no r...
by decompile
Thu Feb 16, 2017 3:04 am
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 536

Re: Threaded MySQL 2.0.0 (Updated)

But it looks like its currently not possible that it returns the dict back instead of calling a callback?

Thats what I realy need.

Greetings
by decompile
Thu Feb 16, 2017 1:07 am
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 536

Re: Threaded MySQL 2.0.0 (Updated)

Thanks for clarifying and keep up the good work :)
by decompile
Thu Feb 16, 2017 12:20 am
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 536

Re: Threaded MySQL 2.0.0 (Updated)

Hey, I decided to give youre package a try. Currently building it up right now, but Im wondering what does 'commit_before_save' on close() mean.
Will it execute all "queries" in the queue before closing the connection or something else?
by decompile
Wed Feb 15, 2017 4:38 pm
Forum: Plugin Development Support
Topic: Disabling game specific sounds
Replies: 1
Views: 113

Disabling game specific sounds

Hey Guys,

Is there something like a sound hook, so I can prevent specific game sounds, lets say all "sound/player/.." sounds?
by decompile
Wed Feb 15, 2017 1:23 am
Forum: Plugin Releases
Topic: [CS:S/CS:GO] Autobhop
Replies: 5
Views: 258

Re: [CS:S/CS:GO] Autobhop

Btw, will OnPlayerRunCmd be called when the player is dead?? If not, you probably dont need to check if hes alive.
by decompile
Sat Feb 11, 2017 5:30 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 73
Views: 2863

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

Next to that issue I figured it out why it sends twice (duplicate chat message): Its cause of SourceTV: tv_enable 1 tv_autorecord 1 tv_name "Source-TV [Auto-Recording]" tv_delay 90 tv_password "" tv_maxclients 10 tv_maxrate 3500 tv_snapshotrate 24 tv_allow_camera_man 0 in autoexe...
by decompile
Wed Feb 08, 2017 2:25 am
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 73
Views: 2863

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

Another thing I noticed is, that im getting: [SP] Caught an Exception: Traceback (most recent call last): File "../addons/source-python/plugins/chatranks/chatRanks.py", line 123, in pre_message_end on_user_message_created(message_index, BitBufferRead(buffer), buffer) File "../addons/s...
by decompile
Wed Feb 08, 2017 12:27 am
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 536

Re: Threaded MySQL

Thank you so much!!!!!
by decompile
Mon Feb 06, 2017 4:15 pm
Forum: Plugin Development Support
Topic: Hide player chat
Replies: 8
Views: 218

Re: Hide player chat

Hey, sorry for the delay. My pc broke and couldnt do anything the past days. Thanks for youre response guys, but the best answer is probably yet from satoon. I dont want to hide the whole chat, since probably important messages such as from my plugin, lets say advertisements, wont go through. I only...
by decompile
Sat Feb 04, 2017 2:00 am
Forum: Plugin Development Support
Topic: Hide player chat
Replies: 8
Views: 218

Hide player chat

Hey Guys,

How can I toggle the player chat someone?

It should block the say/say_team messages from any other player when you have hidechat on, else everything normal.

I thought about it, and you can probably do it with UserMessage or?
by decompile
Sat Jan 28, 2017 1:10 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 73
Views: 2863

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

Mentioning again:

I have sourcemod, metamod, tickrate enabler and sourcemod installed, but not activated.
by decompile
Mon Jan 23, 2017 2:09 am
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 73
Views: 2863

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

Yes, it does print twice. @PreHook(saytext2_filter) def pre_saytext2_filter(args): print("\n_hook_") ... [SP] Loading plugin 'deadchat'... [SP] Successfully loaded plugin 'deadchat'. rcon from "xxxxxxxx": command "sp plugin load deadchat" _hook_ ...

Go to advanced search