Search found 220 matches
- Wed Nov 21, 2018 11:59 pm
- Forum: Plugin Development Support
- Topic: SetTransmit on entities
- Replies: 23
- Views: 18383
Re: SetTransmit on entities
Is it possible to get the signature for set_transmit?
- Tue Nov 20, 2018 8:59 pm
- Forum: Plugin Development Support
- Topic: SetTransmit on entities
- Replies: 23
- Views: 18383
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...
- Mon Nov 19, 2018 11:46 pm
- Forum: Plugin Development Support
- Topic: SetTransmit on entities
- Replies: 23
- Views: 18383
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):...
- Mon Nov 19, 2018 2:05 pm
- Forum: Plugin Development Support
- Topic: SetTransmit on entities
- Replies: 23
- Views: 18383
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.
- Mon Nov 19, 2018 3:10 am
- Forum: Plugin Development Support
- Topic: SetTransmit on entities
- Replies: 23
- Views: 18383
Re: SetTransmit on entities
I tried that, it doesn't work.
- Mon Nov 19, 2018 2:32 am
- Forum: Plugin Development Support
- Topic: SetTransmit on entities
- Replies: 23
- Views: 18383
SetTransmit on entities
I'm using the code snippet from IPlayer, thanks btw, so I want to hide/unhide specific entities, such as func_wall_toggl e and others, but set_transmit doesn't include these entities? I know from SourceMod that you can hook specific entities to transmit. I only get classname outputs limited to - fun...
- Sun Nov 18, 2018 4:06 pm
- Forum: Plugin Requests
- Topic: CollisionHook
- Replies: 14
- Views: 26312
Re: CollisionHook
Yeah, returning True results in you just getting stuck Edit: Is it possible to hook this in SP? CCOllisionEvent::ShouldCollide(IPhysicsObject*, IPhysicisObject*, void*, void*) Edit #2 I got an answer from SourceMod forums how to avoid this "lag" problem, they use an extension called SendPr...
- Sun Nov 18, 2018 2:43 pm
- Forum: Plugin Requests
- Topic: CollisionHook
- Replies: 14
- Views: 26312
Re: CollisionHook
Alright I found the signature and got the function working. server = memory.find_binary('server', srv_check=False) PassServerEntityFilter = server[b'\x55\xB8\x01\x00\x00\x00\x89\xE5\x83\xEC\x38\x89\x5D\xF4'].make_function( Convention.CDECL, [DataType.POINTER, DataType.POI...
- Sun Nov 18, 2018 1:38 am
- Forum: Plugin Requests
- Topic: [CS:GO] Giving knives
- Replies: 3
- Views: 4784
Re: [CS:GO] Giving knives
Oh didn't know. I won't be doing that anytime soon then.
Edit:
I could have guessed it since it was difficult to do anyway, but I was caught up by all those servers running plugins that allow you to change your knife.
Edit:
I could have guessed it since it was difficult to do anyway, but I was caught up by all those servers running plugins that allow you to change your knife.
- Sat Nov 17, 2018 11:46 pm
- Forum: Plugin Releases
- Topic: [CSS/CSGO] Warcraft: Source
- Replies: 106
- Views: 331291
Re: [CSS/CSGO] Warcraft: Source
This is awesome. I had some WCS server aswell
- Sat Nov 17, 2018 11:27 pm
- Forum: Plugin Requests
- Topic: [CS:GO] Giving knives
- Replies: 3
- Views: 4784
[CS:GO] Giving knives
#include <sourcemod> #include <sdktools> #include <cstrike> #pragma semicolon 1 new String:gS_Knives[][] = { "weapon_bayonet", "weapon_knife_gut", "weapon_knife_flip", "weapon_knife_m9_bayonet", "weapon_knife_karambit" }; public Plugin:myinfo = { na...
- Sat Nov 17, 2018 9:41 pm
- Forum: Plugin Requests
- Topic: CollisionHook
- Replies: 14
- Views: 26312
Re: CollisionHook
I'm on Linux and in CS:GO. I copied the signatures from gamedata.txt from sourcemod. Isn't this the signature? /* * quack */ "Games" { "#default" { "Signatures" { "PassServerEntityFilter" { "library" "server" "windows" "\x55\...
- Sat Nov 17, 2018 9:36 pm
- Forum: Plugin Requests
- Topic: CollisionHook
- Replies: 14
- Views: 26312
Re: CollisionHook
I put srv_check to False else it wouldn't work. I got a new error:
Syntax: Select all
PassServerEntityFilter = server['_Z22PassServerEntityFilterPK13IHandleEntityS1_'].make_function(
ValueError: Could not find symbol: _Z22PassServerEntityFilterPK13IHandleEntityS1_
- Sat Nov 17, 2018 9:11 pm
- Forum: Plugin Requests
- Topic: CollisionHook
- Replies: 14
- Views: 26312
Re: CollisionHook
I appreciate that. I will try to see if I can make it work! Else I'll be back :)
- Sat Nov 17, 2018 9:02 pm
- Forum: Plugin Requests
- Topic: CollisionHook
- Replies: 14
- Views: 26312
Re: CollisionHook
Is that it? The source code for the collisionhook extension seems to do more: https://bitbucket.org/VoiDeD/collisionh ... ew-default
Or is it just this?
Or is it just this?
- Sat Nov 17, 2018 7:46 pm
- Forum: Plugin Development Support
- Topic: [CS:GO] player.friction
- Replies: 7
- Views: 6906
Re: [CS:GO] player.friction
yeah, it doesn't work either :(
A sourcemod plugin does it tho: https://forums.alliedmods.net/showthread.php?p=2537196
A sourcemod plugin does it tho: https://forums.alliedmods.net/showthread.php?p=2537196
- Sat Nov 17, 2018 7:34 pm
- Forum: Plugin Requests
- Topic: CollisionHook
- Replies: 14
- Views: 26312
Re: CollisionHook
Would be great with some replies. Is it because nobody knows how to do it or no time to do it?
- Fri Nov 16, 2018 2:20 pm
- Forum: Plugin Development Support
- Topic: [CS:GO] player.friction
- Replies: 7
- Views: 6906
Re: [CS:GO] player.friction
It doesn't work not even with set_property
Syntax: Select all
player.set_network_property_float('m_flFriction', 8)
- Fri Nov 16, 2018 12:44 pm
- Forum: Plugin Development Support
- Topic: [CS:GO] AcceptEntityInput
- Replies: 5
- Views: 6285
Re: [CS:GO] AcceptEntityInput
I heard someone said that you could create a prop_dynamic_overwrite and parent it to the player. After that you set the view entity to the prop. This should remove it, but there are a lot of bugs doing this. For example, you cannot see your hands anymore aswell turning your aim is difficult.
- Tue Nov 13, 2018 2:08 pm
- Forum: Plugin Development Support
- Topic: [CS:GO] Parent Menu
- Replies: 4
- Views: 5490
Re: [CS:GO] Parent Menu
Im not sure what you mean, I never messed around with build_callback. How would I proceed?