Search found 525 matches

by BackRaw
Thu Jun 20, 2019 7:23 pm
Forum: Plugin Development Support
Topic: Loading plugin fails (built-in module name)
Replies: 6
Views: 118

Re: Loading plugin fails (built-in module name)

Okay so I have created a plugin test with the following content: # ../addons/source-python/plugins/test/test.py import udm print(udm.__file__) The output: sp plugin reload test [SP] Unloading plugin 'test'... [SP] Successfully unloaded plugin 'test'. [SP] Loading plugin 'test'... Z:\srcds\Wi...
by BackRaw
Mon Jun 17, 2019 11:30 am
Forum: Plugin Development Support
Topic: Loading plugin fails (built-in module name)
Replies: 6
Views: 118

Re: Loading plugin fails (built-in module name)

Thanks I'll try that.
by BackRaw
Sun Jun 16, 2019 5:40 pm
Forum: Plugin Development Support
Topic: Loading plugin fails (built-in module name)
Replies: 6
Views: 118

Re: Loading plugin fails (built-in module name)

Is there a quick way to find that out?
by BackRaw
Sat Jun 15, 2019 10:13 pm
Forum: Plugin Development Support
Topic: Loading plugin fails (built-in module name)
Replies: 6
Views: 118

Loading plugin fails (built-in module name)

Hi, I just setup my test server and I'm trying to load my udm plugin via sp plugin reload udm from the server's console. It works for CS:S, but for CS:GO it says [SP] Cannot load plugin 'udm'. Plugin name cannot be name of a built-in module Am I doing something wrong or is there actually a module na...
by BackRaw
Mon May 27, 2019 6:07 pm
Forum: Plugin Releases
Topic: [CSS/CSGO] Warcraft: Source
Replies: 58
Views: 6375

Re: [CSS/CSGO] Warcraft: Source

Would it make sense to convert all ESS/ESP races to the new SP races to get rid of the ES Emulator layer? That'd be the best way of doing it, for sure. However, I have my doubts the ones who're interested in it have the time and interest in learning Python (and learn the basics of ESS to be able to...
by BackRaw
Mon May 06, 2019 2:38 pm
Forum: General Discussion
Topic: Code completion doesn't work with Source.Python
Replies: 8
Views: 1018

Re: Code completion doesn't work with Source.Python

Woah you're fast, Ayuto. Nice job!
by BackRaw
Sun May 05, 2019 12:29 pm
Forum: Plugin Releases
Topic: [CSS/CSGO] Warcraft: Source
Replies: 58
Views: 6375

Re: [CSS/CSGO] Warcraft: Source

Would it make sense to convert all ESS/ESP races to the new SP races to get rid of the ES Emulator layer?
by BackRaw
Sun May 05, 2019 12:14 pm
Forum: General Discussion
Topic: Code completion doesn't work with Source.Python
Replies: 8
Views: 1018

Re: Code completion doesn't work with Source.Python

Isn't there a reason to create a dummy libraries for such core.dll/so functions, objects, e.t.c? Just to have a reference for the objects that we can use. You could do that, yes, but each time the core API changes you'd have to change the dummy libraries as well. Well, maybe we could automate that ...
by BackRaw
Tue Mar 05, 2019 12:33 am
Forum: Whatever
Topic: C++: How can I do *this*?
Replies: 2
Views: 264

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: 264

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: 360

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: 2467

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: 360

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: 2467

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: 2467

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: 58
Views: 6375

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: 7684

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: 7684

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: 7684

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...

Go to advanced search