Search found 32 matches

by canibozz
Tue May 29, 2018 2:59 pm
Forum: Plugin Development Support
Topic: Draw Crosshair
Replies: 5
Views: 4687

Re: Draw Crosshair

It's for a ServerSide mod.
Sadly the weapon_debug_spread_show 3 can't be forced by cmd usage because the client blocks it.
by canibozz
Tue May 29, 2018 9:49 am
Forum: Plugin Development Support
Topic: Draw Crosshair
Replies: 5
Views: 4687

Draw Crosshair

Is it possible to draw the users crosshair?

Like, if i pick a scout, it disappears.

Is it possible to "force" the client to have a crosshair?

Cheers!
by canibozz
Thu May 17, 2018 6:35 pm
Forum: Plugin Development Support
Topic: How to block money award?
Replies: 6
Views: 5187

Re: How to block money award?

That worked! Thank you very much
by canibozz
Thu May 17, 2018 5:40 pm
Forum: Plugin Development Support
Topic: How to block money award?
Replies: 6
Views: 5187

Re: How to block money award?

It still prints:

Code: Select all

 +$0: Award for neutralizing an enemy with the SSG 08.
by canibozz
Thu May 17, 2018 1:28 pm
Forum: Plugin Development Support
Topic: How to block money award?
Replies: 6
Views: 5187

How to block money award?

Hello guys,

i stuck once again with a probably little problem.
Game: CS:GO.

As known, you're getting money for killsin CSGO.
Is there a way to stop this or at least the message?

Code: Select all

 +$150: Award for neutralizing an enemy with the X.


I didn't find an event which i can block.
Any ideas?
by canibozz
Wed May 09, 2018 10:48 pm
Forum: General Discussion
Topic: Request IP from Server
Replies: 2
Views: 2944

Re: Request IP from Server

Okay, it was an error with my gaming server. It had ipv4 and ipv6 enabled.
I disabled it and now it works.

Cheers!
by canibozz
Wed May 09, 2018 3:24 pm
Forum: General Discussion
Topic: Request IP from Server
Replies: 2
Views: 2944

Request IP from Server

Hello guys, anyone knows what Steam does with the IP when it comes to Requesting? Iam sending a Request to my API via Python. My API is fetching the IP of the requester and comparing with a DB. In my DB i saved the IP of my server let's say: 133.71.133.713:27015 The fetched IP via $_SERVER['HTTP_X_F...
by canibozz
Mon May 07, 2018 2:54 pm
Forum: Plugin Development Support
Topic: Disabling game specific sounds
Replies: 13
Views: 10039

Re: Disabling game specific sounds

Thank you very much for your investigations.

I thought about coding an own weapon if that is possible, which has a custom viewmodel (I could use the awp model for it) and put custom deathnotice sprite. I'am not sure if that is possible tho.

Did you ever try something like this?

Cheers,
CANi
by canibozz
Tue Apr 24, 2018 3:32 pm
Forum: Plugin Development Support
Topic: Fading TempEntity
Replies: 6
Views: 4421

Re: Fading TempEntity

Nope,
animation is 2 seconds at 30 fps, TempEntity lifetime is 2 seconds as well.
by canibozz
Tue Apr 24, 2018 11:25 am
Forum: Plugin Development Support
Topic: Fading TempEntity
Replies: 6
Views: 4421

Re: Fading TempEntity

Okay, did it with an animted texture. The Problem is that something (Client or Server) is caching the TempEntity making it impossible to start from frame 0 every time so the animation "fades it out". Vid of what i mean: https://gyazo.com/41a2b130a81147249af50a67060dcd65 hitEffect = TempEnt...
by canibozz
Sun Apr 22, 2018 8:30 am
Forum: Plugin Development Support
Topic: Fading TempEntity
Replies: 6
Views: 4421

Fading TempEntity

Hello, i was trying to make my laser effect fading. This is my current code without fading: hitEffect = TempEntity('BeamPoints', alpha=player.beamOpacity, red=player.beamColor[0], green=player.beamColor[1], blue=player.beamColor[2], life_time=3, fade_length=1, start_width=5, end_width=5,...
by canibozz
Thu Apr 19, 2018 9:41 pm
Forum: Plugin Development Support
Topic: Disabling game specific sounds
Replies: 13
Views: 10039

Re: Disabling game specific sounds

Does that mean not "yet", or are they just clientside and you can't expose it?
Because i don't see any SoundEmit Function only 'EmitAmbientSound' and this isn't called at all for the stuff i want to do (mentioned above).
by canibozz
Thu Apr 19, 2018 12:46 pm
Forum: Plugin Development Support
Topic: Disabling game specific sounds
Replies: 13
Views: 10039

Re: Disabling game specific sounds

Bump. I tried to hook Primary Attack but this crashes my server. is_awp = EntityCondition.equals_entity_classname('weapon_awp') @EntityPreHook(is_awp, 'primary_attack') def _secondary_knife_attack(stack_data): entity = Entity(index_from_pointer(stack_d...
by canibozz
Tue Apr 17, 2018 11:14 pm
Forum: Plugin Development Support
Topic: Disabling game specific sounds
Replies: 13
Views: 10039

Re: Disabling game specific sounds

Bumping, still needed. I tried to continue investigating: from engines.sound import Attenuation, Sound, StreamSound #Is EmitSound correct? Does every sound requested play in here? #Body Drop, Headshot sound, death sound, weapon shoot sound, step sounds. @PreHook(get_virtual_function(engine_s...
by canibozz
Tue Apr 17, 2018 3:02 pm
Forum: Plugin Development Support
Topic: Physexplosion Entity
Replies: 7
Views: 4987

Re: Physexplosion Entity

Delete the last 2 posts & close the thread. Works,was my mistake.
Appreciated!
by canibozz
Tue Apr 17, 2018 2:01 pm
Forum: Plugin Development Support
Topic: Physexplosion Entity
Replies: 7
Views: 4987

Re: Physexplosion Entity

Now its working!
The only thing which isnt, is the targetentityname.

Are you sure it's phys_{entity.index}?

Iam spawning 'prop_physics_multiplayer'.
I tried to get the entities names by iterating through and printing the global_name, but that's empty.
How do you get the name of it?
by canibozz
Tue Apr 17, 2018 12:40 pm
Forum: Plugin Development Support
Topic: Physexplosion Entity
Replies: 7
Views: 4987

Re: Physexplosion Entity

So setting the damage, radius, and magnitude attributes will not do anything. For now, you'll have to set those differently: physExplosionEnt.set_key_value_float('DamageForce', 0) physExplosionEnt.set_key_value_int('iRadiusOverride', radius) physExplosionEnt.set_key_...
by canibozz
Tue Apr 17, 2018 10:38 am
Forum: Plugin Development Support
Topic: Physexplosion Entity
Replies: 7
Views: 4987

Physexplosion Entity

Hello guys, sorry another Entity Create Topic. Iam spawning a model with prop_physics_multiplayer. On that spawned model (entity), i want to create an env_physexplosion entity which pushes in a certain radius every physic around. My code so far: def pushEntities(entities, magnitude, radius):...
by canibozz
Mon Apr 16, 2018 10:04 am
Forum: General Discussion
Topic: Download only bz2 files without checking for the orig.
Replies: 6
Views: 5923

Download only bz2 files without checking for the orig.

Hello, i've a question regarding the downloading files proccess. Let's say you bzipped the content so CSGO does a faster download. Files on server: materials/custom/blah.vtf.bz2 materials/custom/blah.vmt.bz2 Expectation: > dl.add_directory('materials/custom/') > User connects > User downloads *.bz2 ...

Go to advanced search