Search found 542 matches

by BackRaw
Wed Nov 29, 2017 2:45 pm
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 54500

Re: Ultimate Deathmatch v1.5.1

by BackRaw
Wed Nov 29, 2017 1:49 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 54500

Re: Ultimate Deathmatch v1.5

I see you are using the GameEvent methods directly. There's no issue with that, so if it's intentional, just ignore this. In case you didn't know or forgot, the following did get implemented: https://forums.sourcepython.com/viewtopic.php?f=8&t=960 So now, you can use the following instead: @Eve...
by BackRaw
Wed Nov 29, 2017 12:24 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 54500

Re: Ultimate Deathmatch v1.5

UDM v1.5 released! Download link: https://github.com/backraw/udm/releases/tag/v1.5 Changes ⋅ Use the plugin's verbose name for the team change notify message instead of the short name ⋅ Handle the value for mp_solid_teammates automatically depending on udm_enable_noblock Fixes &...
by BackRaw
Sun Nov 26, 2017 5:48 pm
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 54500

Re: Ultimate Deathmatch v1.4

UDM v1.4 released! Download link: https://github.com/backraw/udm/releases/tag/v1.4 Changes ⋅  Forbid defuse kits Fixes ⋅ Fix small issues not directly regarding gameplay & optimize code Additions ⋅  Add cvar team_changes_reset_delay This makes sure that we don't pu...
by BackRaw
Sun Nov 26, 2017 1:21 pm
Forum: Whatever
Topic: OnServerActivate vs OnLevelInit
Replies: 2
Views: 11250

Re: OnServerActivate vs OnLevelInit

Speed0x wrote:ah nvm... i just tested....

OnLevelInit is called, when map load starts, and OnServerActivate is called when map load has finished.... i think someone could add this to the commentary so there is a little less confusion..

Thanks for clearing it up. I had that question in mind as well.
by BackRaw
Sun Nov 26, 2017 7:35 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 54500

Re: Ultimate Deathmatch v1.3

UDM v1.3.1 released! Download link: https://github.com/backraw/udm/releases/tag/v1.3.1 Fixes ⋅ Fix an issue introduced with v1.3 where bumping into a weapon not listed in the player's inventory is allowed ⋅ Fix an issue with pressing the Q button (last weapon selected) switching...
by BackRaw
Sun Nov 26, 2017 7:00 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 54500

Re: Ultimate Deathmatch v1.2

iPlayer wrote:Did you really make all those spawnpoints by yourself? Because they seem different from CSSDM.

Yeah I used the Spawn Points menu :D
It was kinda fun actually lol
by BackRaw
Tue Nov 21, 2017 11:31 pm
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 54500

Re: Ultimate Deathmatch v1.2

UDM v1.2 released! Download link: https://github.com/backraw/udm/releases/tag/v1.2 Fixes ⋅ Code optimizations for readability and minimizing redundancy ⋅  Provide a mechanism to call delay callbacks when they are cancelled This fixes multiple issues regarding unfinished delays a...
by BackRaw
Tue Nov 21, 2017 4:06 pm
Forum: Code examples / Cookbook
Topic: Server, Client, and Say Commands
Replies: 10
Views: 36051

Re: Server, Client, and Say Commands

Ayuto wrote:Not quite.

Syntax: Select all

from engines.server import execute_server_command

# where you need it:
execute_server_command('mp_warmup_end')

Whoops :D
by BackRaw
Tue Nov 21, 2017 10:35 am
Forum: Code examples / Cookbook
Topic: Server, Client, and Say Commands
Replies: 10
Views: 36051

Re: Server, Client, and Say Commands

Say, I have an endless warmup period, then i want to execute "mp_warmup_end" at server side. How can I execute this command directly from plugin? from engines.server import engine_server # where you need it: engine_server.execute_server_command('mp_warmup_end') Should do it.
by BackRaw
Fri Nov 17, 2017 8:30 pm
Forum: Plugin Development Support
Topic: Markdown in MOTD
Replies: 3
Views: 3685

Re: Markdown in MOTD

I doubt it. I know you can send plain text, url and html files. Really unsure if the clients are able to make the difference from the files content... pretty sure it won't but, did you try? If you want to use markdown tho, you could always convert your files to html before sending them to clients; ...
by BackRaw
Fri Nov 17, 2017 12:59 am
Forum: Plugin Development Support
Topic: Markdown in MOTD
Replies: 3
Views: 3685

Markdown in MOTD

Hi,

is it possible to use Markdown in a MOTD instead of HTML?

Thanks!
by BackRaw
Thu Nov 16, 2017 6:41 am
Forum: Plugin Development Support
Topic: Best way to serialize/deserialize data?
Replies: 4
Views: 3627

Re: Best way to serialize/deserialize data?

How would I use the vector suit in a plugin? You don't have to do anything, was just pointing out that Vector instances can be pickled as is without conversion on your part: with shelve.open('spawnpoints') as db: db['de_dust2'] = [Vector(1, 2, 3), Vector(4, 5, 6&...
by BackRaw
Thu Nov 16, 2017 5:25 am
Forum: Plugin Development Support
Topic: Best way to serialize/deserialize data?
Replies: 4
Views: 3627

Re: Best way to serialize/deserialize data?

Converting everything using Pickle/cPickle would cause more code overhead than usage imho. Is there an easier way/library? I always liked the simplicity of shelve which does all the pickling for you from a dict-like object. Vector instances also have their own suite so they can be stored as is. Gre...
by BackRaw
Thu Nov 16, 2017 4:36 am
Forum: Plugin Development Support
Topic: Best way to serialize/deserialize data?
Replies: 4
Views: 3627

Best way to serialize/deserialize data?

Hi, currently I'm using JSON for serializing spawn points in my Ultimate Deathmatch plugin. While this might be OK and doesn't really slow anything down since the files are only loaded on special occasians, they are not really readable and could very safely be saved in a binary format. Other than th...
by BackRaw
Wed Nov 15, 2017 3:41 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 54500

Re: Ultimate Deathmatch v1.0

satoon101 wrote:Nice release!!

Thank you!
by BackRaw
Wed Nov 15, 2017 1:28 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 54500

Ultimate Deathmatch v1.9.2

Ultimate Deathmatch aims to provide an enriched CSSDM -like experience, but written in Python rather than SourcePawn. See it as the version of CSSDM I always wanted. :wink: Game Support ⋅ Counter-Strike: Source ⋅ Counter-Strike: Global Offensive See the issues list for current b...
by BackRaw
Sun Nov 12, 2017 8:04 pm
Forum: Plugin Development Support
Topic: Bots: Console gets spammed with buy zone warning
Replies: 5
Views: 4386

Re: Bots: Console gets spammed with buy zone warning

Ayuto wrote:Otherwise you could also use a OnServerOutput listener:
http://wiki.sourcepython.com/developing ... rveroutput

Thanks for pointing that out.
by BackRaw
Fri Nov 03, 2017 12:08 am
Forum: Plugin Development Support
Topic: Bots: Console gets spammed with buy zone warning
Replies: 5
Views: 4386

Re: Bots: Console gets spammed with buy zone warning

L'In20Cible wrote:How about not removing the buyzones, but simply turning them off?

Syntax: Select all

for buyzone in EntityIter('func_buyzone'):
buyzone.call_input('Disable')

I didn't know how :D thanks!

Go to advanced search