Search found 1042 matches

by Ayuto
Thu Apr 26, 2018 3:57 pm
Forum: Whatever
Topic: Synergy
Replies: 5
Views: 712

Re: Synergy

It certainly could be supported if there is enough demand.
by Ayuto
Tue Apr 24, 2018 4:16 pm
Forum: Plugin Development Support
Topic: Fading TempEntity
Replies: 5
Views: 75

Re: Fading TempEntity

I would still try to reduce the beam duration. Just to test it.
by Ayuto
Tue Apr 24, 2018 3:28 pm
Forum: Plugin Development Support
Topic: Fading TempEntity
Replies: 5
Views: 75

Re: Fading TempEntity

To me it looks like the beam duration takes longer than the animation duration. So, after the animation finished, it's restarted.
by Ayuto
Tue Apr 24, 2018 5:35 am
Forum: Plugin Development Support
Topic: [CS:GO] Prevent team switch event
Replies: 3
Views: 52

Re: [CS:GO] Prevent team switch event

Well, the event is blocked, but that doesn't change the actual team change. To do so you need to block the client commands jointeam and joinclass.
by Ayuto
Mon Apr 23, 2018 7:23 pm
Forum: Plugin Development Support
Topic: trigger creation
Replies: 4
Views: 143

Re: trigger creation

No, it's not a bug in SP and I think it makes completely makes sense to spawn it after everything of the entity has been initialized. SM's ActivateEntity is calling a virtual function, which requires additional data, which I would like to avoid. You might be able to achieve the same by calling the i...
by Ayuto
Mon Apr 23, 2018 7:09 pm
Forum: Plugin Development Support
Topic: Fading TempEntity
Replies: 5
Views: 75

Re: Fading TempEntity

You can't change temporary entities once they are sent. The server will send the entity information to the clients and forgets everything about it. You can play around with "fade_length", but I think that only affects the start and end points of the beam. A loop should actually work. Howev...
by Ayuto
Mon Apr 23, 2018 7:03 pm
Forum: Plugin Development Support
Topic: [CS:GO] Prevent team switch event
Replies: 3
Views: 52

Re: [CS:GO] Prevent team switch event

Is that a snippet for others to use or a question? And what exactly do you want to do? Block the player_team event or really block team changes? If it's the latter, you can use a ClientCommandFilter.
by Ayuto
Mon Apr 23, 2018 6:57 pm
Forum: Plugin Development Support
Topic: SourceTV Listener
Replies: 22
Views: 1436

Re: SourceTV Listener

That tool is able to dump virtual function offsets/indexes, so you would be able to use it to update the "manager.virtual_function(...)" parts. However, that is only a part of the solution, because you also need to retrieve the pointer to the instance of CHLTVDemoRecorder. Moreover, symbol...
by Ayuto
Mon Apr 23, 2018 6:47 pm
Forum: Plugin Development Support
Topic: Getting IMoveHelper instance?
Replies: 11
Views: 146

Re: Getting IMoveHelper instance?

Ahh, we might have an XY problem here. If you want to create your own bots, then you might want to take a look at this: https://github.com/Ayuto/ReplayBot The problem why the bot isn't jumping is probably, because you constantly send the jump key/action, which doesn't make a player jump all the time...
by Ayuto
Sat Apr 21, 2018 1:50 pm
Forum: News & Announcements
Topic: Source.Python update command
Replies: 2
Views: 54

Re: Source.Python update command

No, you only need to enter sp update and then follow the instructions printed to the console/log, which is mostly just a restart. The wiki page already has been updated: http://wiki.sourcepython.com/general/updating.html#automatically If it still shows the the old page press CTRL + F5 to clear the c...
by Ayuto
Sat Apr 21, 2018 12:13 pm
Forum: News & Announcements
Topic: Source.Python update command
Replies: 2
Views: 54

Source.Python update command

I'm glad to tell you that we have added a new Source.Python command: sp update . The command automatically updates your Source.Python installation on your server. To finish the update you mostly just need to restart your server. In case there are more steps to do, which only happens if you load Sour...
by Ayuto
Sat Apr 21, 2018 10:31 am
Forum: Plugin Development Support
Topic: EntityPostHook Condition not working
Replies: 3
Views: 82

Re: EntityPostHook Condition not working

This is expected behaviour. The entity condition only determines the entity that is used to hook the function. Now, look at the virtual function table of CTriggerMultiple: Inheritance Tree: CTriggerMultiple CBaseTrigger CBaseToggle CBaseEntity IServerEntity IServerUnknown IHandleEntity VTable for CT...
by Ayuto
Sat Apr 21, 2018 10:12 am
Forum: Plugin Development Support
Topic: Getting IMoveHelper instance?
Replies: 11
Views: 146

Re: Getting IMoveHelper instance?

Since the binaries in TF2 contains symbols on Linux, you don't need signature scanning. You can simply do this: import memory from memory import DataType from memory import Convention server = memory.find_binary('server') MoveHelperServer = server['_Z16MoveHelperServerv'].mak...
by Ayuto
Thu Apr 19, 2018 5:40 pm
Forum: Whatever
Topic: Synergy
Replies: 5
Views: 712

Re: Synergy

Source.Python does not support Synergy.
by Ayuto
Thu Apr 19, 2018 5:38 pm
Forum: General Discussion
Topic: installation problem-Encountered a Warning:
Replies: 1
Views: 51

Re: installation problem-Encountered a Warning:

It's just a deprecation warning from a thirdparty library we have included. We need to update the mutagen library to fix this warning, but it doesn't matter if it occurs. Source.Python is fully working, so you can simply ignore this warning.
by Ayuto
Thu Apr 19, 2018 5:35 pm
Forum: Plugin Development Support
Topic: Getting IMoveHelper instance?
Replies: 11
Views: 146

Re: Getting IMoveHelper instance?

There are multiple ways to retrieve the IMoveHelper instance. A quick and dirty hack would be to hook PlayerRunCommand, store the IMoveHelper instance and then unhook it. The nice and clean solution is to call MoveHelper() or directly rip out the singleton instance. MoveHelper() is defined in the se...
by Ayuto
Thu Apr 19, 2018 5:28 pm
Forum: Plugin Development Support
Topic: Adding a prefix to chat
Replies: 9
Views: 116

Re: Adding a prefix to chat

Does this also happen without Metamod/Sourcemod?
by Ayuto
Thu Apr 19, 2018 4:36 pm
Forum: Plugin Development Support
Topic: Disabling game specific sounds
Replies: 9
Views: 472

Re: Disabling game specific sounds

Please be a little bit patient. I will definitely solve your request, but I'm quite busy at the moment. You get the KeyError, because get_virtual_function() only works for methods we have exposed via these macros: https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/src/core/modules/m...
by Ayuto
Wed Apr 18, 2018 5:05 am
Forum: Plugin Development Support
Topic: Adding a prefix to chat
Replies: 9
Views: 116

Re: Adding a prefix to chat

What's the output of "sp info"?
by Ayuto
Mon Apr 16, 2018 8:25 pm
Forum: Plugin Development Support
Topic: Cross plugin events
Replies: 10
Views: 92

Re: Cross plugin events

The wiki page linked by Zeus is describing it pretty well. If you have a specific question, feel free to ask.

Go to advanced search