Search found 1413 matches
- Sat Jun 20, 2020 9:47 am
- Forum: API Design
- Topic: Repeats and Delays based on ticks
- Replies: 15
- Views: 29543
Re: Repeats and Delays based on ticks
I don't think it's so import but it is good to have this: open_menu(index, menu, force_active=False) for unexpected menus (vote, questions) and general be open_menu(index, menu, force_active=True) by default. I would actually do it vice-versa. The programmer should explicitly set force_active to Tr...
- Fri Jun 19, 2020 9:01 am
- Forum: API Design
- Topic: Repeats and Delays based on ticks
- Replies: 15
- Views: 29543
Re: Repeats and Delays based on ticks
Also you initially showed a good idea to have backroungd menus. I mean if you open new menu while another is active, old menu is added to background menus and can be reopened early, but you implemented it in weird way: when a new menu is opened it does not overlap the old, it is immediately added t...
- Thu Jun 18, 2020 7:39 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 9
- Views: 7230
Re: [Q] More... MORE!
its a great idea to centralize the Q&A and the forums should be used for that. but i wonder: that is exactly where you have so often missed the point..?? beginners waste less time in an informal conversation. a beginner can't use the same language or perfect questioning you seem to want him to ...
- Thu Jun 18, 2020 6:58 pm
- Forum: Plugin Requests
- Topic: (HL2DM) zombies
- Replies: 14
- Views: 9195
Re: (HL2DM) zombies
Unfortunately, my time is currently too limited to take a deeper look into this. Sorry! I just wanted to help with the exception.
- Thu Jun 18, 2020 6:56 pm
- Forum: API Design
- Topic: Repeats and Delays based on ticks
- Replies: 15
- Views: 29543
Re: Repeats and Delays based on ticks
Good idea to use the return value of the delay callback to extend/reuse the delay. I like that! However, I was asking/hoping for a pull request (PR) for Source.Python. That would save us a little bit time. To do that, just fork SP, create a branch, make your changes and commit/publish them. Then go ...
- Tue Jun 16, 2020 4:01 pm
- Forum: Plugin Releases
- Topic: [CSGO] Curving Flash
- Replies: 14
- Views: 12939
Re: [CSGO] Curving Flash
Awesome idea and great implementation! I really like the way you program :)
- Mon Jun 15, 2020 12:59 pm
- Forum: Plugin Requests
- Topic: (HL2DM) zombies
- Replies: 14
- Views: 9195
Re: (HL2DM) zombies
Oh, sorry. That reply was actually directed to cssbestrpg. If you simply want to get the plugin (possibility - there might be more issues) just delete this line:
https://github.com/KirillMysnik/SP-HL2D ... ves.py#L14
https://github.com/KirillMysnik/SP-HL2D ... ves.py#L14
- Fri Jun 12, 2020 11:44 am
- Forum: Plugin Requests
- Topic: (HL2DM) zombies
- Replies: 14
- Views: 9195
Re: (HL2DM) zombies
Actually, PluginInfo isn't supposed to be instantiated by plugins. It was in the past, but today it's generated in the background by SP: http://wiki.sourcepython.com/developing/module_tutorials/plugins.html#plugininfo This allows other plugins to retrieve the plugin information (even for plugins tha...
- Wed Jun 10, 2020 2:35 pm
- Forum: Development Status Updates
- Topic: Development status update (May 2020)
- Replies: 0
- Views: 8767
Development status update (May 2020)
It's time for another development status update! ⋅ Fixes: ⋅ Fixed owner_handle ambiguity/issues. ⋅ Fixed issue #331. ⋅ Additions: ⋅ Added missing weapon data for CS:GO. ⋅ Added the ability to disable hooks. ⋅ Added Simplified...
- Tue Jun 09, 2020 8:12 am
- Forum: API Design
- Topic: Export ITempEntsSystem
- Replies: 2
- Views: 12398
Re: Export ITempEntsSystem
A few years ago we already had exposed that class: https://github.com/Source-Python-Dev-Team/Source.Python/commit/a44d072d7aa5c7b20e9bff1d37e2354cb603e626#diff-211f8fc87cc69fee73c5e7703719ee9dL132-L171 I'm not fully sure anymore why we replaced it with the new system, but IIRC ITempEntsSystem doesn'...
- Mon Jun 08, 2020 6:54 am
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 9
- Views: 7230
Re: [Q] More... MORE!
Screenshot_81.png Sooo... ( ͡° ͜ʖ ͡° ) This will be a good advertisement for those who are not on the Discord server for Source.Python? No, this is not good advertisment for Source.Python. You are distributing illegally leaked code and that's not what Source.Python stands for. You should better kee...
- Fri May 29, 2020 9:35 am
- Forum: Plugin Releases
- Topic: Quakesounds
- Replies: 28
- Views: 30914
Re: Quakesounds
I guess I worked too much with another language lately (I also used the pipe (|) as a comment...)
- Thu May 28, 2020 10:38 am
- Forum: Plugin Releases
- Topic: Quakesounds
- Replies: 28
- Views: 30914
Re: Quakesounds
Can he test now? i made possible fix for headshot This won't really fix the issue in HL2DM. It now just uses a default value (0) if the key "headshot" wasn't found (HL2DM doesn't provide a headshot key in the event player_death). You need to check the player's last hitgroup: from events i...
- Thu May 14, 2020 8:36 pm
- Forum: Plugin Development Support
- Topic: *DELETED*
- Replies: 6
- Views: 4579
Re: [Q] Custom structures
Your PlayerInfoType class should be a subclass of CustomType and use the manager as the metaclass. If you also provide the size, you can then instantiate your PlayerInfoType class and internally memory is allocated automatically. I never had any stability issues with CustomType. Today I would have i...
- Thu May 14, 2020 9:26 am
- Forum: Plugin Development Support
- Topic: *DELETED*
- Replies: 6
- Views: 4579
Re: [Q] Custom structures
Try searching for CustomType here on the forums. There are a few examples. CustomType provides a few more features like automatically registering it as a return type, so you can easily use it with virtual functions and normal functions. Moreover, make_object and get_object_pointer will work on insta...
- Wed May 13, 2020 7:44 pm
- Forum: Plugin Requests
- Topic: spinning trails for weapons and items
- Replies: 3
- Views: 3456
Re: spinning trails for weapons and items
It's a recent topic and VinciT wrote he's currently working on it. He just gave a status update and also said that it shouldn't be used yet. So, there is no need to create another topic.
- Wed May 13, 2020 6:51 pm
- Forum: Plugin Requests
- Topic: spinning trails for weapons and items
- Replies: 3
- Views: 3456
- Wed May 13, 2020 6:46 pm
- Forum: Development Status Updates
- Topic: Development status update (April 2020)
- Replies: 0
- Views: 4380
Development status update (April 2020)
It's time for another development status update! This month there have been done many contributions by the community. Special thanks go to ThaPwned, timo-reichl, vinci6k and CookStar! :smile: ⋅ Fixes: ⋅ Fixes weapons not being dropped immediately when restrictions has been appli...
- Thu Apr 30, 2020 8:34 pm
- Forum: API Design
- Topic: Repeats and Delays based on ticks
- Replies: 15
- Views: 29543
Re: Repeats and Delays based on ticks
Yes, please create a PR we can further discuss, thanks!
- Thu Apr 30, 2020 8:30 pm
- Forum: Plugin Development Support
- Topic: Write File in Bytes
- Replies: 5
- Views: 5114
Re: Write File in Bytes
You already write the data as bytes. I'm not sure which output you expect? The modes "w" and "wb" only affect the lines endings (\n or \n\r). If you open a file in "w" mode, these characters are converted to the platform dependend line ending. If you open a file in &quo...