Search found 416 matches

by decompile
Fri Jun 03, 2016 2:34 pm
Forum: Plugin Development Support
Topic: Pickle Save Dict
Replies: 9
Views: 6868

Re: Pickle Save Dict

Ayuto wrote:You can work around that issue by converting the Vector instances to a tuple when you want to save it. Then, when you read it, you simply create Vector instances from the tuples.


How would that look like
by decompile
Fri Jun 03, 2016 8:44 am
Forum: Plugin Development Support
Topic: Pickle Save Dict
Replies: 9
Views: 6868

Pickle Save Dict

Hey, I currently worked on a script which edits a map so I can delete specific models which are in the zone. However my Dict looks like this: removeDict = {'mg_course_dev_server': {'deletelist': [], 'deleteCoords': [(Vector(-385.1864318847656, 3057.462646484375, 22.29...
by decompile
Thu Jun 02, 2016 9:06 pm
Forum: Plugin Development Support
Topic: Create beam and play sound around player
Replies: 3
Views: 3158

Re: Create beam and play sound around player

Thanks to iPlayer

Syntax: Select all

Sound(sound_name, index=player_index, attenuation=Attenuation.STATIC).play()
temp_entities.beam_ring_point(..)
by decompile
Thu Jun 02, 2016 8:48 pm
Forum: Plugin Development Support
Topic: QAngle to Vector
Replies: 1
Views: 2278

QAngle to Vector

Hey, Just wondered if theres a way to use QAngle for keyvalues of an entity. I added a custom 'info_teleport_destination' and used the Player(index).eye_angle which returns an QAngle. Now I want to modify the destinations 'angles' but it only allows Vector. Angle = QAngle(0, -90, 0) .... Vec...
by decompile
Thu Jun 02, 2016 5:09 pm
Forum: Plugin Development Support
Topic: Create beam and play sound around player
Replies: 3
Views: 3158

Create beam and play sound around player

Hey, How Can I create a beam around the player, which moves from the player to around 400 units around him, sort of a "scan" arround the player him self and play a sound which is the loudest for the player itself, but the more far away the player is the less noise it makes. found from effe...
by decompile
Thu Jun 02, 2016 2:18 pm
Forum: Plugin Development Support
Topic: Remove "Player changed name to YY" message
Replies: 8
Views: 5805

Re: Remove "Player changed name to YY" message

Still no difference, didnt worked in ES Too. def load(): spe.detourFunction('SayText2Filter', HookType.Pre, pre_saytext2) def unload(): spe.undetourFunction('SayText2Filter', HookType.Pre, pre_saytext2) def pre_saytext2(args): if args[3] == ...
by decompile
Tue May 31, 2016 4:50 pm
Forum: Plugin Development Support
Topic: Remove "Player changed name to YY" message
Replies: 8
Views: 5805

Re: Remove "Player changed name to YY" message

Hey,

Tried it out, doesnt work (CSS: Windows + Linux)
by decompile
Tue May 31, 2016 4:35 pm
Forum: Plugin Development Support
Topic: Distance
Replies: 3
Views: 3129

Re: Distance

Mhm, not using the search box recently since the threads I find are mostly outdated.
Thanks anyway
by decompile
Tue May 31, 2016 3:08 pm
Forum: Plugin Development Support
Topic: Distance
Replies: 3
Views: 3129

Distance

Hey,

How can I find the distance in units between 2 vectors?

(in my example its player origin compared to an existing info_teleport_destination)
by decompile
Fri May 27, 2016 2:05 pm
Forum: General Discussion
Topic: Server took too long to process (probably infinite loop).
Replies: 1
Views: 3206

Server took too long to process (probably infinite loop).

Hey, Im having a realy weird problem recently. My Server crashes sometimes during map change, (When im ingame, it comes to the part of "Server changing level.." But 0 progress. I checked the console and I found Could not find steamerrorreporter binary. Any minidumps will be uploaded in-pro...
by decompile
Wed May 25, 2016 5:07 am
Forum: Plugin Development Support
Topic: Remove "Player changed name to YY" message
Replies: 8
Views: 5805

Remove "Player changed name to YY" message

Hey, Is there already a way to remove the "Player changed name to YY" message? If there is a way it would be for sure possible to remove these too: Server cvar change: Server cvar 'sv_tags' changed to alltalk,increased_maxplayers..' Connect: Player xxx has joined the game Disconnect: Playe...
by decompile
Mon May 23, 2016 10:41 pm
Forum: Plugin Development Support
Topic: Help with Delay
Replies: 6
Views: 4153

Re: Help with Delay

Mhm, it seems like when you put them outside of a function, they get called instantly on load.

How do you store them properly for the script in the first post?
by decompile
Mon May 23, 2016 6:34 pm
Forum: Plugin Development Support
Topic: Help with Delay
Replies: 6
Views: 4153

Re: Help with Delay

Yes I Have.

I was using the eventscripts version of the named gamethreads, and it worked fine there.
And yes I updated it abit.

If I shouldnt use named delays, how would that look like?
by decompile
Mon May 23, 2016 1:28 am
Forum: Plugin Development Support
Topic: Help with Delay
Replies: 6
Views: 4153

Help with Delay

Hey, Im currently thinking about writing up a script which prints the time until mapchange mp_timelimit = 0 mapStartTime = 0 @OnLevelInit def OnMapStart(mapName): global mapStartTime mapStartTime = time.time() startGamethreads() def startGamethreads(): value = float&#...
by decompile
Sun May 22, 2016 10:30 pm
Forum: Plugin Development Support
Topic: How to use Cvars
Replies: 3
Views: 3133

Re: How to use Cvars

Thank you!
by decompile
Sun May 22, 2016 9:46 pm
Forum: Plugin Development Support
Topic: Calculating Player Sync Movement
Replies: 3
Views: 3158

Re: Calculating Player Sync Movement

I just quick checked the code and It looked like it work, jsut found it from the sourcemod forums. Would be great to find a sp version of that
by decompile
Sun May 22, 2016 9:43 pm
Forum: Plugin Development Support
Topic: How to use Cvars
Replies: 3
Views: 3133

How to use Cvars

Hey,

Im still having issues how to use cvars in source python, wiki couldnt help me much, thats why im asking here to be sure.

1. How can I get a cvar?

Lets say mp_timelimit;float

2. How can I set/change a cvar value?

3. How can I create a cvar?

lets say xx_version == 1.0.1
by decompile
Fri May 20, 2016 11:19 pm
Forum: Plugin Releases
Topic: [ANY] DeadChat
Replies: 14
Views: 12830

Re: [CS:S/CS:GO] DeadChat

When I add that line, no chat messages gets shown in chat.
And this problem is not present when deadcheat is unloaded
by decompile
Fri May 20, 2016 2:59 am
Forum: Plugin Requests
Topic: Switch to Spec and Hide Player/Chat
Replies: 1
Views: 3300

Re: Switch to Spec and Hide Player/Chat

Would love to have that.
by decompile
Fri May 20, 2016 2:58 am
Forum: Plugin Releases
Topic: [ANY] DeadChat
Replies: 14
Views: 12830

Re: [CS:S/CS:GO] DeadChat

CS:S Version Linux

When im in spec, my messages shows 2x times.

"say this is just a test msg"

Code: Select all

*ZUSCHAUER* decompile :  this is just a test msg
*ZUSCHAUER* decompile :  this is just a test msg

Go to advanced search