Search found 418 matches
- Sun Jul 10, 2016 9:50 am
- Forum: Plugin Development Support
- Topic: SourceTV Listener
- Replies: 22
- Views: 42316
Re: SourceTV Listener
I can't answer your question, but it'd be damn nice if you could implement a way to automatically upload said demo's to a webserver so that people can download, review and give feedback on them. from ftplib import FTP USER = '' PASS = '' SERVER = '' PORT = 21 def connect_ftp...
- Fri Jul 08, 2016 7:31 pm
- Forum: Plugin Development Support
- Topic: OnLevelShutdown and OnLevelInit
- Replies: 4
- Views: 5307
OnLevelShutdown and OnLevelInit
Hey, Is it just me or is OnLevelShutdown after OnLevelInit? Im currently writing my own demo system, but when I execute tv_record 'auto-20160708-211956-surf_ori_l' in OnLevelInit and tv_stoprecord in OnLevelShutdown, im getting Recording SourceTV demo to ./auto-20160708-211956-surf_ori_l.dem... Exec...
- Fri Jul 08, 2016 2:51 pm
- Forum: Plugin Development Support
- Topic: Remove "Player changed name to YY" message
- Replies: 8
- Views: 10182
Re: Remove "Player changed name to YY" message
Try this: from events.hooks import EventAction from events.hooks import PreEvent @PreEvent('server_cvar', 'player_team', 'player_connect', 'player_disconnect') def pre_player_team(game_event): return EventAction.STOP_BROADCAST Seems like this does not...
- Thu Jul 07, 2016 1:19 pm
- Forum: Plugin Development Support
- Topic: SourceTV Listener
- Replies: 22
- Views: 42316
SourceTV Listener
Hello, is there something like SourceTV listener? Would be great to use OnBroadcastActive or OnBroadcastEnd, Im currently using tv_autorecord and creating a system behind it. When an autorecord demo ends, it prints "Completed SourceTV demo "auto-20160707-1514-de_dust2.dem", recording ...
- Mon Jul 04, 2016 12:29 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 174108
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
How do you filter out the normal messages so it only modifies the playermessages?
- Sun Jul 03, 2016 10:41 am
- Forum: Plugin Development Support
- Topic: Effects Box
- Replies: 3
- Views: 4383
Re: Effects Box
Code: Select all
box(RecipientFilter(), 10, self.coord1, self.coord2, beam_model.index, beam_model.index, 0, 255, 5, 1, 1, 3, 0, r, g, b, 255, 1)
TypeError: box() takes 3 positional arguments but 18 were given
- Sun Jul 03, 2016 9:55 am
- Forum: Plugin Development Support
- Topic: Effects Box
- Replies: 3
- Views: 4383
Effects Box
Hey,
I was always using the normal way to draw boxes with effects.box,
but now im getting some weird errors which says "Only 3 keywords are avaible, 18 were given"
I was always using the normal way to draw boxes with effects.box,
but now im getting some weird errors which says "Only 3 keywords are avaible, 18 were given"
- Thu Jun 30, 2016 3:36 pm
- Forum: Plugin Development Support
- Topic: Hook PyMSQL errors
- Replies: 1
- Views: 3501
Hook PyMSQL errors
Hey, How can I hook some PyMYSQL errors so I can lets say let it reconnect- or just print a server message with (MySQL Connection Lost.)? I just found that my server is rare'ly just timing out, which gives some error messages in console: pymysql.err.OperationalError: (2013, 'Lost connection to MySQL...
- Sun Jun 26, 2016 10:24 am
- Forum: Plugin Development Support
- Topic: [CSGO] Howto respawn a player?
- Replies: 21
- Views: 43861
Re: [CSGO] Howto respawn a player?
For your second question, there is a cvar who prevents that. I think it was 'mp_ignore_round_win_conditions', atleast in CS:S.
- Thu Jun 23, 2016 10:05 pm
- Forum: Plugin Releases
- Topic: [ANY] Infinite Jumping (aka AutoBHop)
- Replies: 6
- Views: 17810
Re: Infinite Jumping (aka AutoBHop)
I think you need to change the check if the player is in water. In surf, or bhop there are alot bunnyhop slants which use water on it to prevent fall damage (old maps), its just a bit but its enough to prevent the player jumping in it. I checked some sourcemod autobhop's and they are using m_nWaterL...
- Thu Jun 23, 2016 9:14 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 174108
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
Don't we need to filter the way, currently its replacing every message send to the player. Like a small check that it comes from a player the message.
- Thu Jun 23, 2016 3:25 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 174108
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
EDIT: So after writing with iPlayer, I figured out I can reproduce the exception. Its CPrintToChat, CPrintToChatAll, dont know if it happens with PrintToChat or PrintToChatAll but it does for the C' ones https://github.com/powerlord/sourcemod-snippets/blob/master/scripting/include/morecolors.inc#L39...
- Wed Jun 22, 2016 3:37 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 174108
- Wed Jun 15, 2016 9:37 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 174108
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
When I disable sourcemod, means moving the sourcemod.vdf out of the metamod folder, works fine. No errors.
- Wed Jun 15, 2016 4:50 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 174108
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
Yes, im running SourceMod.
- Wed Jun 15, 2016 1:57 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 174108
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
CS:S Windows! Sure, can test linux if needed. [SP] Caught an Exception: Traceback (most recent call last): File '..\addons\source-python\plugins\chatRanks\chatRanks.py', line 286, in post_user_message_begin memory.make_object(RecipientFilter, args[1]), RuntimeError: Access violation - no RTTI data!
- Wed Jun 15, 2016 1:08 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 174108
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
When Im running this, my console gets spammed with:
RuntimeError: Access violation - no RTTI data!
RuntimeError: Access violation - no RTTI data!
- Wed Jun 15, 2016 12:54 pm
- Forum: Plugin Development Support
- Topic: Set MVP Stars (not working?)
- Replies: 1
- Views: 3082
Set MVP Stars (not working?)
Hey,
I tried to set MVP Stars for all players, seems like it does not work atleast for me.
Forgot to Mention
CS:S windows + linux
I tried to set MVP Stars for all players, seems like it does not work atleast for me.
Syntax: Select all
Player(index).mvp = 123
Forgot to Mention
CS:S windows + linux
- Sat Jun 11, 2016 4:52 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 174108
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
decompile, try this (props to Ayuto for original code) from commands.say import SayCommand from memory import Convention, DataType, get_object_pointer, make_object from memory.hooks import PreHook from messages import SayText2 from engines.server import engine_server from messages import UserMessag...
- Wed Jun 08, 2016 3:18 pm
- Forum: Plugin Development Support
- Topic: Remove "Player changed name to YY" message
- Replies: 8
- Views: 10182
Re: Remove "Player changed name to YY" message
Works, awesome thank you!