Search found 155 matches

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

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: 99

[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: 222

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: 222

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: 222

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: 391

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: 391

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: 391

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: 391

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: 391

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: 391

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: 391

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: 126

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: 126

[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?
by velocity
Wed Nov 21, 2018 11:59 pm
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 9
Views: 233

Re: SetTransmit on entities

Is it possible to get the signature for set_transmit?
by velocity
Tue Nov 20, 2018 8:59 pm
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 9
Views: 233

Re: SetTransmit on entities

Okay I literally unloaded everything, made a new file called transmit.py with the only following code @EntityPreHook(EntityCondition.is_not_player, 'set_transmit') def pre_set_transmit(args): entity = make_object(BaseEntity, args[0]) edict = make_object(CheckTrans...
by velocity
Mon Nov 19, 2018 11:46 pm
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 9
Views: 233

Re: SetTransmit on entities

The solution was to change the solid flags, but I got another issue, Set_Transmit crashes the server on some maps? I've noticed that in some maps cannot convert Index(0) to BaseEntity This code crashes on some maps: @PreHook(Entity(0).set_transmit) def pre_set_transmit(args):...
by velocity
Mon Nov 19, 2018 2:05 pm
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 9
Views: 233

Re: SetTransmit on entities

Yeah this works, but I'm not enable to collide with the entities that are being shown, which is important, except func_breakable.
by velocity
Mon Nov 19, 2018 3:10 am
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 9
Views: 233

Re: SetTransmit on entities

I tried that, it doesn't work.

Go to advanced search