Search found 542 matches

by BackRaw
Thu Nov 02, 2017 10:26 pm
Forum: Plugin Development Support
Topic: Bots: Console gets spammed with buy zone warning
Replies: 5
Views: 4418

Bots: Console gets spammed with buy zone warning

Hi,

is there any way to disable this message when I have removed the func_buyzone entities?

Code: Select all

Terrorist bot spawned outside of a buy zone (-923, -769, 146)
....


Thanks.
by BackRaw
Mon Oct 02, 2017 12:42 pm
Forum: Whatever
Topic: Best way to distribute Python program?
Replies: 4
Views: 13531

Re: Best way to distribute Python program?

Late reply, but I highly recommend using pynsist package. It puts your application in a Nullsoft Installer. It's much better than packing everything in a single .exe. Your application will install like any other program, it will be accessible in Windows Control Panel etc. Also supports neat stuff l...
by BackRaw
Sun Sep 17, 2017 3:11 pm
Forum: Code examples / Cookbook
Topic: Two ways to give a weapon + something about CS:GO weapons
Replies: 21
Views: 67306

Re: Two ways to give a weapon + something about CS:GO weapons

Great info, thanks! I have a little OT question about Approach #1 though: Approach #1. give_named_item As it seems, not everybody knows that this function returns a pointer that you can use to gain control of the created weapon. from commands.typed import TypedSayCommand from memory import make_obje...
by BackRaw
Tue Dec 06, 2016 8:20 pm
Forum: Whatever
Topic: Best way to distribute Python program?
Replies: 4
Views: 13531

Re: Best way to distribute Python program?

Ayuto wrote:Which program did you use to create the executable? I know that PyInstaller scans for dependencies and packs them as well.

Haven't used anything yet :D
Thanks, I'll look into it, sounds good.
by BackRaw
Tue Dec 06, 2016 5:27 pm
Forum: Whatever
Topic: Best way to distribute Python program?
Replies: 4
Views: 13531

Best way to distribute Python program?

Hi,

what would be the best way to distribute a Python executable that requires packages from pip? I'm playing around with requirements.txt and then call pip install -r on it. However this requires a batch/shell script to be run first.

I wonder if this is the way to do it.
Thanks!
by BackRaw
Mon Oct 10, 2016 5:59 pm
Forum: Whatever
Topic: Happy Birthday La Muerte and NightHawk!
Replies: 2
Views: 5843

Re: Happy Birthday La Muerte and NightHawk!

Happy birthday from me too! :D
by BackRaw
Thu Oct 06, 2016 8:31 pm
Forum: Whatever
Topic: [C++] Let me get this straight...
Replies: 0
Views: 5214

[C++] Let me get this straight...

- A pointer points to the address of allocated space - A reference (lvalue reference, to be specific) is the address of allocated space => A pointer points to an lvalue reference => By dereferencing a pointer , you get the corresponding lvalue reference => By dereferencing an lvalue reference , you ...
by BackRaw
Sun Oct 02, 2016 10:10 pm
Forum: Plugin Development Support
Topic: Old question, but: Units to Meters?
Replies: 3
Views: 3337

Re: Old question, but: Units to Meters?

Thank you very much, helps a lot.
by BackRaw
Sun Oct 02, 2016 5:40 pm
Forum: Plugin Development Support
Topic: Old question, but: Units to Meters?
Replies: 3
Views: 3337

Old question, but: Units to Meters?

Hi,

what was the correct formula to convert ingame units to meters for CSS again?
Oh, and does the same formula apply to each engine (CSGO, TF2, etc.)?

Thank you. :)
by BackRaw
Sat Sep 10, 2016 3:38 pm
Forum: Plugin Development Support
Topic: [CSGO] Gamethread crashes server on give_named_item
Replies: 8
Views: 6225

Re: [CSGO] Gamethread crashes server on give_named_item

Ah dang. You got me there :D thanks
by BackRaw
Thu Sep 08, 2016 6:37 pm
Forum: Plugin Development Support
Topic: [CSGO] Gamethread crashes server on give_named_item
Replies: 8
Views: 6225

Re: [CSGO] Gamethread crashes server on give_named_item

Ayuto wrote:It's called in the thread you created.

Hhhhmmm, how do you call something on the main thread then?
by BackRaw
Thu Sep 08, 2016 6:28 pm
Forum: Plugin Development Support
Topic: [CSGO] Gamethread crashes server on give_named_item
Replies: 8
Views: 6225

Re: [CSGO] Gamethread crashes server on give_named_item

When you call a function from a function which has been executed by GameThread (t.start()), is it called on that thread or the main thread? Kinda OT sorry :D Edit: Can't I/we write a C++ GameThread lib exposed to Python which utilizes more cores? I haven't done any threading in C++ but it would be a...
by BackRaw
Thu Sep 08, 2016 6:24 pm
Forum: Plugin Requests
Topic: Chat Processor
Replies: 7
Views: 6972

Re: Chat Processor

iPlayer wrote:I'd rather make it so the callback function would return the new message or a tuple defining a new message (cause as far as I remember, message can be defined in both message name and one of the params).

Let's compete :D haha
by BackRaw
Thu Sep 08, 2016 6:16 pm
Forum: Whatever
Topic: Does anyone use PyCharm?
Replies: 16
Views: 14656

Re: Does anyone use PyCharm?

Don't add external libraries like ../addons/source-python/package/source-python/ as Content Roots, add them as external libraries. To do this, go into Project Interpreter, click the "gear" on the right side of the Project Interpreter line, and select "More...". Then, while your ...
by BackRaw
Mon Aug 29, 2016 1:47 pm
Forum: Plugin Requests
Topic: Chat Processor
Replies: 7
Views: 6972

Re: Chat Processor

I'm interested in trying out this idea. But I'll need a usage example - I'm not sure, but maybe something like this: from processors.chat import OnChatMessage @OnChatMessage(cmd="votemap") def on_chat_message_votemap(player, args): if args: # process args, e.g. directly add...
by BackRaw
Mon Aug 29, 2016 1:08 pm
Forum: General Discussion
Topic: SP crashing on linux?
Replies: 45
Views: 30748

Re: SP crashing on linux?

/home/tcagame/xxauroraxx/6881 // .steam/sdk32/steamclient.so What would double slash in this path mean? It could be the SteamCMD console messing up displaying the path. On another note, however, my SteamCMD is showing only 1 slash each time so there could be something inherently wrong with the path...
by BackRaw
Fri Aug 26, 2016 12:53 pm
Forum: General Discussion
Topic: SP Plugin Manager thoughts
Replies: 9
Views: 6658

Re: SP Plugin Manager thoughts

Edit: I probably looked at it the wrong way. For zipping we could use something like "sp zip" or "sp release" which would be more useful than having it on the homepage, I think. I'm not sure how feasible an "sp release" command would be. There are outlying directories ...
by BackRaw
Sun Aug 21, 2016 3:58 pm
Forum: General Discussion
Topic: SP Plugin Manager thoughts
Replies: 9
Views: 6658

Re: SP Plugin Manager thoughts

Yeah, reinventing the wheel is probably not the best idea. So, there will be a homepage like addons.eventscripts.com + "sp <sppm command>"? I'm fine with that, too :) Edit: I probably looked at it the wrong way. For zipping we could use something like "sp zip" or "sp release...
by BackRaw
Sun Aug 21, 2016 2:07 am
Forum: General Discussion
Topic: SP Plugin Manager thoughts
Replies: 9
Views: 6658

SP Plugin Manager thoughts

Hello everyone, I came up with a few ideas regarding the Plugin Manager which I assume is currently under planning/development. As a plugin writer, I would like to have some kind of consistency for things like resources (translations) and data files, maybe even sound files. There should be a fronten...

Go to advanced search