Search found 220 matches

by velocity
Wed Jan 16, 2019 2:02 am
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 23
Views: 16932

Re: SetTransmit on entities

Is it possible that make_object can be optimized because I'm getting lag issues with it when too many people in set_transmit. And yes, I have double checked that it is exactly that that causes it. Please help.

by velocity
Sun Jan 13, 2019 6:19 pm
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 23
Views: 16932

Re: SetTransmit on entities

I'm not sure what you mean, also I noticed that this code snippet makes server lag when there are too many people. I wonder if there is another way to get the entity besides baseentity_from_pointer (which is even worse). @EntityPreHook(EntityCondition.equals_entity_classname("worldspawn...
by velocity
Sun Jan 13, 2019 4:50 pm
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 23
Views: 16932

Re: SetTransmit on entities

Do you think there is another way of finding the func_wall_toggle with set_transmit than setting transmit to the world_entity?
by velocity
Sun Jan 13, 2019 1:35 pm
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 23
Views: 16932

Re: SetTransmit on entities

What does entity.edict.clear_transmit_state() do?
by velocity
Sun Jan 13, 2019 2:24 am
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 23
Views: 16932

Re: SetTransmit on entities

Any progress?
by velocity
Tue Dec 11, 2018 10:13 pm
Forum: Plugin Development Support
Topic: [CS:GO] Accept Input Error
Replies: 3
Views: 3255

Re: [CS:GO] Accept Input Error

Thanks for that, but I still want to know why I get an error
by velocity
Mon Dec 10, 2018 3:31 pm
Forum: Plugin Development Support
Topic: [CS:GO] Accept Input Error
Replies: 3
Views: 3255

[CS:GO] Accept Input Error

I'm getting error UnicodeDecodeError with this code: @EntityPreHook(EntityCondition.is_player, "accept_input") def pre_accept_input(stack_data): SayText2("Hello").send() input_name = stack_data[1] File "../addons/source-python/plugins/trikzcaf...
by velocity
Sun Dec 09, 2018 9:30 pm
Forum: General Discussion
Topic: All SP Offsets outdated after CS:GO update
Replies: 8
Views: 7082

Re: All SP Offsets outdated after CS:GO update

I'm not forgetting that. I appreciate all the work you guys are doing else I would NOT be here. I thank you guys so much for bringing python into Valve games and I apologize if my post seemed offensive in any way. Let us just get that straight. Now, when I post something like that is to create feedb...
by velocity
Sun Dec 09, 2018 3:49 pm
Forum: General Discussion
Topic: All SP Offsets outdated after CS:GO update
Replies: 8
Views: 7082

Re: All SP Offsets outdated after CS:GO update

Is there any ETA on when the other offsets will be updated? I know that clan tag offset changes literally all the time, because of small updates from Valve, but some of the others rarely change and it would be great if those could be updated too. I can see that the approach right now is update-when-...
by velocity
Fri Dec 07, 2018 8:17 pm
Forum: General Discussion
Topic: All SP Offsets outdated after CS:GO update
Replies: 8
Views: 7082

All SP Offsets outdated after CS:GO update

The title says it, all tho SourcePython does load, but nothing is working, I think ALL offsets are outdated, at least for Linux.

Edit:
I tried to adjusting some of the offsets myself, but it didn't have an effect, hm
by velocity
Thu Dec 06, 2018 1:49 am
Forum: Plugin Development Support
Topic: CEventAction hook
Replies: 12
Views: 9033

Re: CEventAction hook

I have updated to the latest release and I'm now available to use the code, but it appears that I get a ValueError even tho I know (the trigger_multiple) has an OnTrigger output (Checked with hammer). @EntityPreHook(EntityCondition.is_player, "accept_input") def pre_accept_input...
by velocity
Tue Dec 04, 2018 4:34 pm
Forum: Plugin Development Support
Topic: CEventAction hook
Replies: 12
Views: 9033

Re: CEventAction hook

If you want I am available to host the buildbot? I tried building the repository I get the following error (I did install the required dependecies): root@Ubuntu-1804-bionic-64-minimal ~/sourcepython/Source.Python/src # ./Build.sh csgo Already on 'csgo' Your branch is up to date with 'origin/csgo'. A...
by velocity
Sun Dec 02, 2018 4:52 pm
Forum: Plugin Development Support
Topic: CEventAction hook
Replies: 12
Views: 9033

Re: CEventAction hook

I did "sp update" but I get import error: File "../addons/source-python/plugins/trikzcafe/region_phase.py", line 18, in <module> from entities import BaseEntityOutput, EventAction EDIT: ImportError: cannot import name 'BaseEntityOutput I also tried your old code, it gives me ...
by velocity
Sun Dec 02, 2018 5:03 am
Forum: Plugin Development Support
Topic: CEventAction hook
Replies: 12
Views: 9033

Re: CEventAction hook

Wow, that looks great, I can't wait to test it. Thanks! Do I just use sp update?
by velocity
Sat Dec 01, 2018 4:14 pm
Forum: Plugin Development Support
Topic: CEventAction hook
Replies: 12
Views: 9033

Re: CEventAction hook

I'm not sure how to do that, that's why I'm posting. :confused:
by velocity
Sat Dec 01, 2018 2:00 pm
Forum: Plugin Development Support
Topic: CEventAction hook
Replies: 12
Views: 9033

Re: CEventAction hook

From the CEventAction function you can get the addoutput of an entity, you can see here, what information you can get: https://i.imgur.com/TYrPgyY.png This is the coresponding variables: CEventAction(const char *ActionData = NULL) { m_iIDStamp = 0; }; string_t m_iTarget; // name of the entit...
by velocity
Fri Nov 30, 2018 9:08 am
Forum: Plugin Development Support
Topic: CEventAction hook
Replies: 12
Views: 9033

CEventAction hook

I'm trying to get more information about the entities in CS:GO. A way to do that is to access the CEventAction:__operator_delete function, but IIRC is too small to get a signature. Instead, it's possible to use g_pEntityListPool directly because that is what the operator delete function use internal...
by velocity
Mon Nov 26, 2018 8:39 pm
Forum: Plugin Development Support
Topic: [CS:GO] Check if entity is hidden to begin with
Replies: 5
Views: 3911

Re: [CS:GO] Check if entity is hidden to begin with

That worked thanks. I have some follow up questions. Is it possible to get the entities associated with a button (without having to press it).
by velocity
Sun Nov 25, 2018 5:43 pm
Forum: Plugin Development Support
Topic: [CS:GO] Check if entity is hidden to begin with
Replies: 5
Views: 3911

[CS:GO] Check if entity is hidden to begin with

How do I check if an entity is visible or not-visible for the player?

Go to advanced search