Search found 352 matches

by decompile
Thu Aug 09, 2018 12:52 am
Forum: Plugin Releases
Topic: [CSGO] Floating Damage Numbers
Replies: 5
Views: 143

Re: [CSGO] Floating Damage Numbers

Awesome Plugin!

Reminds me heavily from fortnite. :)
by decompile
Mon Jul 30, 2018 6:15 pm
Forum: Plugin Development Support
Topic: Csgo motd
Replies: 21
Views: 3370

Re: Csgo motd

You must use -panorama in start parameter right? If so, theres no way to fix this issue with the panorama hud.
by decompile
Mon Jul 30, 2018 11:48 am
Forum: Plugin Development Support
Topic: Csgo motd
Replies: 21
Views: 3370

Re: Csgo motd

Hey, you should definitely read this thread because CS:GO is not showing a motd unless you use a workaround with javascript. Im not sure, but I think I heard something about the dead of CS:GO motd because the way they changed the motd in the recent patch. (You can only put a url in the motd file...)...
by decompile
Tue May 29, 2018 2:29 pm
Forum: Plugin Development Support
Topic: Draw Crosshair
Replies: 5
Views: 232

Re: Draw Crosshair

Hey, I think theres currently no cvar which draws the crosshair for scouts or when you are disarmed. But there are probably some try-around ways: 1. Create an Screenoverlay with a custom crosshair and send it to the player if he equiped that weapon 2. (FOR DISARMED ONLY) Give the player a weapon whi...
by decompile
Sat May 19, 2018 8:54 pm
Forum: Plugin Development Support
Topic: SP's update changes
Replies: 8
Views: 256

Re: SP's update changes

Im not exactly sure, but I remember that I've always had to convert the Vector into a QAngle with:

Syntax: Select all

angles = Vector(0, 0, 0)
new_angles = QAngle(*angles)
by decompile
Tue May 08, 2018 3:19 pm
Forum: Plugin Development Support
Topic: how to catch the halftime
Replies: 5
Views: 251

Re: how to catch the halftime

How about adding this:

Syntax: Select all

@Event('cs_intermission')
def cs_intermission(game_event):
global rounds_played
rounds_played = 0


You can use the Syntax Highlighting for Python code instead of block code.
by decompile
Fri May 04, 2018 3:50 am
Forum: Plugin Development Support
Topic: Remove Weapon on Disconnect
Replies: 3
Views: 186

Remove Weapon on Disconnect

Hey,

how can you remove the weapon a player dropped on disconnect?
by decompile
Tue Apr 24, 2018 3:33 pm
Forum: Plugin Development Support
Topic: SourceTV Listener
Replies: 22
Views: 2070

Re: SourceTV Listener

I agree with you @12jdlovins, you can also replace tv_autorecord by simply tv_record <> on map start. Not sure if its a trouble still, but the most important feature I needed from the demo was the tick counter to save certain actions and make it easier for the player to directly skip to a specific t...
by decompile
Tue Apr 24, 2018 12:29 am
Forum: Plugin Development Support
Topic: SourceTV Listener
Replies: 22
Views: 2070

Re: SourceTV Listener

You dont need it, but its the official way to also hook auto-created demos, or user generated ones.
by decompile
Mon Apr 23, 2018 5:47 pm
Forum: Plugin Development Support
Topic: SourceTV Listener
Replies: 22
Views: 2070

Re: SourceTV Listener

How would that work, also for CS:GO for example?

I tried to choose CS:S for now, and entered CHLTVDemoRecorder, found actually something but how do I get the offset?
by decompile
Sun Apr 22, 2018 1:19 am
Forum: Plugin Development Support
Topic: trigger creation
Replies: 4
Views: 382

Re: trigger creation

An Update: I helped him trying to figure out the problem and it ended up Entity.spawn() being the problem. I noticed, in my code above, setting the spawn() BEFORE setting the model or AFTER setting maxs/mins, it doesnt "spawn". It actually calls OnEntitySpawned Listener but hooking start_t...
by decompile
Sat Apr 21, 2018 9:14 pm
Forum: Plugin Development Support
Topic: trigger creation
Replies: 4
Views: 382

Re: trigger creation

Hey Malt, nice to see you here! My guess would be, that your vectors arent a Vector Instance, which might would lead the trigger to be spawned but not on the right position. So try to convert your vectors to a Vector. from mathlib import Vector my_vector = Vector(x, y, z) You can also simpli...
by decompile
Sat Apr 21, 2018 1:25 pm
Forum: Plugin Development Support
Topic: SourceTV Listener
Replies: 22
Views: 2070

Re: SourceTV Listener

Can someone maybe check the offsets/signatures for CS:S Windows/Linux and CS:GO Windows/Linux?

Additionally how are you doing that? Is there any program for that?
by decompile
Sat Apr 21, 2018 1:22 pm
Forum: News & Announcements
Topic: Source.Python update command
Replies: 3
Views: 397

Re: Source.Python update command

Thats awesome, well done!

For future reference, we just have to write "sp update" to get the latest build? Do we still have to follow the update steps and delete all directories mentioned here: http://wiki.sourcepython.com/general/updating.html
by decompile
Wed Apr 18, 2018 2:26 pm
Forum: General Discussion
Topic: Download only bz2 files without checking for the orig.
Replies: 6
Views: 325

Re: Download only bz2 files without checking for the orig.

I think its kind of hardcoded into the game. On connect it checks the "Downloadables Table" and checks for each player if the chosen file already exist on the player's harddrive or if it has to be downloaded from either the server or a fast download server. I think he means to skip the &qu...
by decompile
Wed Apr 11, 2018 10:39 am
Forum: Plugin Development Support
Topic: Block Player Buttons
Replies: 10
Views: 819

Re: Block Player Buttons

I'm not able to check it right now, but you can find the m_flNextSecondaryAttack via:

Syntax: Select all

for x in entity.properties:
print(x)
by decompile
Wed Apr 11, 2018 9:39 am
Forum: Plugin Development Support
Topic: Fall/Damage Slowdown
Replies: 7
Views: 1119

Re: Fall/Damage Slowdown

Just came across http://wiki.sourcepython.com/developing/modules/entities.entity.html?highlight=damage_filter#entities.entity.BaseEntity.damage_filter . This is actually perfect for this, but how can I set it to https://developer.valvesoftware.com/wiki/Damage_types#Fall ?
by decompile
Wed Apr 11, 2018 9:13 am
Forum: Plugin Development Support
Topic: Block Player Buttons
Replies: 10
Views: 819

Re: Block Player Buttons

Hey, I can remember when checking players net properties, that theres m_flNextSecondaryAttack. So you could literally replace the prevent buttons more to sending m_flNextSecondaryAttack + 0.1 secs which would lead to an endless loop of never being able to press button attack 2. @OnPlayerRunCommand d...
by decompile
Tue Apr 10, 2018 11:02 am
Forum: Code examples / Cookbook
Topic: Making certain entities invisible to certain players
Replies: 9
Views: 2039

Re: Making certain entities invisible to certain players

Sorry for my miss-leading questions, kind of weird to understand what I kind of want to achieve with it. To activate or deactivate it, I can simply just do a if else statement in the PreHook? like if player.index not in set_transmit_dict: return and It would only hide if the index is in set_transmit...
by decompile
Mon Apr 09, 2018 6:44 am
Forum: Code examples / Cookbook
Topic: Making certain entities invisible to certain players
Replies: 9
Views: 2039

Re: Making certain entities invisible to certain players

Thanks,

so it gets called automatically, but how do I know when/how it gets called? I mean I can debug print it and see it myself, but kind of want to understand it. What does it call and will it just print in an endless loop every frame?

Go to advanced search