Search found 491 matches

by BackRaw
Fri Jan 26, 2018 11:26 pm
Forum: Plugin Development Support
Topic: How to best set spawn points
Replies: 8
Views: 336

Re: PreHook cancel/modify damage

Thanks guys!
by BackRaw
Fri Jan 26, 2018 2:52 pm
Forum: Plugin Development Support
Topic: How to best set spawn points
Replies: 8
Views: 336

Re: PreHook cancel/modify damage

What method do you use to set the location? I'm not quite sure, just the best I guess lol. The best way I have seen to do spawn points isn't to manually set the player's origin on/after spawn, but to remove the old spawn points and create new ones. Is there any reason you can't do that? But this is...
by BackRaw
Mon Jan 22, 2018 10:02 pm
Forum: Plugin Development Support
Topic: How to best set spawn points
Replies: 8
Views: 336

Re: PreHook cancel/modify damage

I want to set the player's spawn point as soon as possible in my UDM plugin. Sometimes a player would spawn on a default location and then 'flies' through the map to the new location (but really, really fast). But luckily you don't see it very often. Nonetheless I feel that the event player_spawn is...
by BackRaw
Mon Jan 22, 2018 9:51 pm
Forum: Plugin Development Support
Topic: How to best set spawn points
Replies: 8
Views: 336

How to best set spawn points

# Function name, arguments, return type add_account ('POINTER', 'INT', 'BOOL', 'BOOL', 'STRING') VOID add_context ('POINTER', 'POINTER') VOID add_output ('POINTER', 'POINTER') VOID autobuy ('POINTER',) VOID become_ragdoll ('POINTER', 'POINTER') VOID blind ('POINTER', 'FLOAT', 'FLOAT', 'FLOAT') VOID...
by BackRaw
Sat Jan 13, 2018 9:10 pm
Forum: Plugin Development Support
Topic: CS:S send Buy Menu anytime/anywhere
Replies: 4
Views: 229

Re: CS:S send Buy Menu anytime/anywhere

Haha okay. Maybe I'll leave it for now. :D
by BackRaw
Sat Jan 13, 2018 7:35 am
Forum: Plugin Development Support
Topic: CS:S send Buy Menu anytime/anywhere
Replies: 4
Views: 229

Re: CS:S send Buy Menu anytime/anywhere

I tried two things: ⋅ Modify the existing buyzones (make them bigger). ⋅ Create new buyzones. Unfortunately, both didn't work, so here is the hacky solution: import memory from entities.hooks import EntityPreHook from entities.hooks import EntityCondition from entities.entity im...
by BackRaw
Thu Jan 11, 2018 12:27 pm
Forum: Plugin Development Support
Topic: CS:S send Buy Menu anytime/anywhere
Replies: 4
Views: 229

CS:S send Buy Menu anytime/anywhere

Hi, I have a question about the the buy menu in CS:S. I want to simulate the behavior of mp_buy_anywhere for CS:GO. As I see it, those two things contribute to how buying is restricted by time/position in CS:S: ⋅  mp_buytime ⋅ "Range" of each of the func_buyzone entitie...
by BackRaw
Fri Jan 05, 2018 4:07 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.8.5
Replies: 23
Views: 1612

Re: Ultimate Deathmatch v1.8.5

UDM v1.8.5 released!
Download link: https://github.com/backraw/udm/releases/tag/v1.8.5

Fixes
by BackRaw
Wed Dec 20, 2017 10:40 pm
Forum: Plugin Development Support
Topic: @staticmethod question
Replies: 3
Views: 257

Re: @staticmethod question

I like your way of approaching this, thanks.
by BackRaw
Thu Dec 14, 2017 9:16 am
Forum: Plugin Development Support
Topic: @staticmethod question
Replies: 3
Views: 257

@staticmethod question

Hi, I have the following example class: class MyClass(object): # ... some instance methods ... @staticmethod def my_static_method(value): return value * 5 # Global instance for the class my_class = MyClass() # ... # Since it's a static method, it should be called like thi...
by BackRaw
Wed Dec 13, 2017 6:36 am
Forum: Plugin Development Support
Topic: How to use PlayerAnimation.RELOAD?
Replies: 22
Views: 1349

Re: How to use PlayerAnimation.RELOAD?

Ayuto wrote:I just stumbled about our last discussion about infinite ammo:
viewtopic.php?p=7838#p7838

Why don't you use the RemoveAmmo hook?

Whoops I totally forgot about that post. I'll look into it, thanks for the reminder!

Edit: Sorry for double posting.
by BackRaw
Mon Dec 11, 2017 4:15 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.8.5
Replies: 23
Views: 1612

Re: Ultimate Deathmatch v1.8.3

UDM v1.8.3 released! Download link: https://github.com/backraw/udm/releases/tag/v1.8.3 Additions ⋅ Add attaching/detaching the silencer when the player is in random mode Removals ⋅ Remove team only noblock mode for performance reasons (CS:S) Fixes ⋅ Replace an unplease...
by BackRaw
Thu Dec 07, 2017 8:26 pm
Forum: Plugin Development Support
Topic: Submenus
Replies: 11
Views: 696

Re: Submenus

Ayuto wrote:No, everything is fine. Since a few months we have to update it manually.

Good to know thanks.
by BackRaw
Thu Dec 07, 2017 4:50 am
Forum: Plugin Development Support
Topic: Submenus
Replies: 11
Views: 696

Re: Submenus

I have noticed that the Wiki didn't get updated with the close_callback API documentation (http://wiki.sourcepython.com/developing ... radio.html). Is that my fault or is it compiled separately from the plugin builds (build bot)?
by BackRaw
Wed Dec 06, 2017 10:26 am
Forum: Plugin Development Support
Topic: Way to reverse the spawn?
Replies: 11
Views: 543

Re: Way to reverse the spawn?

You can also look at the bump_weapon hook of my Ultimate Deathmatch plugin : https://github.com/backraw/udm/blob/master/addons/source-python/plugins/udm/udm.py#L282 It basically blocks bumping into a weapon if the player is using the admin menu or if the player didn't choose the weapon as an invento...
by BackRaw
Tue Dec 05, 2017 8:34 pm
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.8.5
Replies: 23
Views: 1612

Re: Ultimate Deathmatch v1.8.2

UDM v1.8.2 released!
Download link: https://github.com/backraw/udm/releases/tag/v1.8.2

Fixes
by BackRaw
Tue Dec 05, 2017 6:48 pm
Forum: Plugin Development Support
Topic: Way to reverse the spawn?
Replies: 11
Views: 543

Re: Way to reverse the spawn?

hhhmm.. maybe stack[0] and stack[1] are not always of the same type? Like, sometimes they are swapped. I'm not sure though.
by BackRaw
Tue Dec 05, 2017 1:24 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.8.5
Replies: 23
Views: 1612

Re: Ultimate Deathmatch v1.8.1

UDM v1.8.1 released! Download link: https://github.com/backraw/udm/releases/tag/v1.8.1 Changes ⋅ Each player has their own personal spawn points, so they should never spawn on the same location twice ⋅ Each player has their own personal random weapons list, so they should never ...
by BackRaw
Tue Dec 05, 2017 12:48 am
Forum: Plugin Releases
Topic: GunGame v1.3.0
Replies: 31
Views: 2257

Re: GunGame v1.1.1

Do you have access to the server other than ftp? If so, you might try some of the suggestions here: https://stackoverflow.com/questions/2740806/python-sqlite-database-is-locked If you only have ftp access, I'm not sure what else you could do other than contact your GSP and ask them to look into it....

Go to advanced search