Search found 517 matches

by BackRaw
Tue Mar 05, 2019 12:33 am
Forum: Whatever
Topic: C++: How can I do *this*?
Replies: 2
Views: 168

Re: C++: How can I do *this*?

Yep, that worked. Thank you!
by BackRaw
Mon Mar 04, 2019 2:24 pm
Forum: Whatever
Topic: C++: How can I do *this*?
Replies: 2
Views: 168

C++: How can I do *this*?

Hi, I'm trying to do the following C++ template thing: template <class T> T *do_stuff(const char *key, T::type default_value, bool required = false) { Base *o = new T(key, default_value, required); ... } Base constructor does not have the default_value parameter, but T must have it, ...
by BackRaw
Wed Jan 23, 2019 5:19 pm
Forum: General Discussion
Topic: Generating the API docs locally (Wiki)
Replies: 2
Views: 274

Re: Generating the API docs locally (Wiki)

Thank you!
by BackRaw
Thu Dec 20, 2018 6:53 pm
Forum: News & Announcements
Topic: Buildbot changes
Replies: 5
Views: 1868

Re: Buildbot changes

Sounds good.
by BackRaw
Sat Dec 15, 2018 6:06 pm
Forum: General Discussion
Topic: Generating the API docs locally (Wiki)
Replies: 2
Views: 274

Generating the API docs locally (Wiki)

Hi,
how would I go about generating the API docs locally? I want to contribute to the Wiki.

Thank you!
by BackRaw
Mon Dec 10, 2018 1:51 am
Forum: News & Announcements
Topic: Buildbot changes
Replies: 5
Views: 1868

Re: Buildbot changes

Okay, at least that. Any plans on doing completely automatic builds in the future like before? Just curious :D
by BackRaw
Tue Dec 04, 2018 7:53 pm
Forum: News & Announcements
Topic: Buildbot changes
Replies: 5
Views: 1868

Re: Buildbot changes

Does this mean that you have to manually upload new releases each time?

I hope not :O
by BackRaw
Fri Nov 16, 2018 3:47 pm
Forum: Plugin Releases
Topic: [CSS/CSGO] Warcraft: Source
Replies: 21
Views: 3689

Re: [CSS/CSGO] Warcraft: Source

Very nice! I'll have to test this one out for sure.
by BackRaw
Mon Oct 29, 2018 12:54 pm
Forum: Plugin Development Support
Topic: WeaponID
Replies: 15
Views: 7284

Re: WeaponID

Ayuto wrote:It's possible to get the weapon. This is how the SM guys did it:
https://github.com/alliedmodders/source ... /659/files

Nice! Time to study then? :D
by BackRaw
Tue Oct 23, 2018 1:10 pm
Forum: Plugin Development Support
Topic: WeaponID
Replies: 15
Views: 7284

Re: WeaponID

I'm not sure where you are seeing "unused", but as noted in the discussion above, it is messed up in CS:GO. Right now, the buy_internal hook yields values similar to the following: (<_memory.Pointer object at 0x1BEC4710>, 15, '', True) Sorry, my memory was faulty. For the ...
by BackRaw
Mon Oct 22, 2018 8:09 pm
Forum: Plugin Development Support
Topic: WeaponID
Replies: 15
Views: 7284

Re: WeaponID

Kinda OT question: Nothing to do with weapon restrictions but the buy command. An entity pre hook on buy_internal as well as the client command buy all return " unused " as the weapon name (SP build #666) - only tested on CSGO. I'm sorry if this has already been pointed out, but I can't fi...
by BackRaw
Mon Oct 15, 2018 1:36 pm
Forum: Plugin Requests
Topic: [CS:S] Trikz
Replies: 11
Views: 9967

Re: [CS:S] Trikz

You shouldn't need to change anything. I'll look into CS:S later on today.

What is not working exactly? Is there an error message printed in the server console?
by BackRaw
Tue Aug 14, 2018 1:32 pm
Forum: Plugin Releases
Topic: FlashFun v1.0 re-release
Replies: 32
Views: 12348

Re: FlashFun v1.0 re-release

I rewrote the pluginand re-released it as version 1.0. See the first post for details. :)
by BackRaw
Tue Aug 14, 2018 12:34 pm
Forum: Plugin Development Support
Topic: Entity property listener
Replies: 2
Views: 1014

Re: Entity property listener

Dang! Anyways, I'll look around the Source SDK and SourceMod sources, maybe I can find some clues.
by BackRaw
Tue Aug 14, 2018 11:18 am
Forum: Plugin Development Support
Topic: Entity property listener
Replies: 2
Views: 1014

Entity property listener

Hello everyone, is it possible to create a "listener" of sorts that will notify all its subscribers whenever the value of a property changes without the use of an OnTick listener and hacking my way around it? Something like: class EntityPropertyListener(object): def __init__(se...
by BackRaw
Sun Aug 12, 2018 12:13 am
Forum: Plugin Releases
Topic: [CSGO] Floating Damage Numbers
Replies: 5
Views: 2257

Re: [CSGO] Floating Damage Numbers

Nice one!
by BackRaw
Sun Jul 22, 2018 9:39 pm
Forum: General Discussion
Topic: Python 3.7 support?
Replies: 2
Views: 885

Re: Python 3.7 support?

Ayuto wrote:No plans have been made yet. We first need to check if the update would increase the versions of the dependencies like glibc. If that is the case, I'm against an update. But that's my personal opinion.

Good point. I agree.
by BackRaw
Fri Jul 20, 2018 4:37 am
Forum: Plugin Development Support
Topic: Strange Convar.set_int behavior
Replies: 2
Views: 696

Re: Strange Convar.set_int behavior

Maybe try

Syntax: Select all

from cvars import cvar

cvar.find_var(line).set_int(0)
by BackRaw
Fri Jul 20, 2018 1:15 am
Forum: Plugin Releases
Topic: Ultimate Deathmatch v1.9.2
Replies: 26
Views: 14617

Re: Ultimate Deathmatch v1.9.1

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

Additions

Go to advanced search