Search found 1413 matches

by Ayuto
Mon Mar 23, 2015 9:33 pm
Forum: General Discussion
Topic: Crashes upon map change.
Replies: 36
Views: 21948

Can you post the shortest plugin that causes a crash?
by Ayuto
Sat Mar 14, 2015 4:20 pm
Forum: Plugin Development Support
Topic: BumpWeapon
Replies: 9
Views: 6199

make_object() calls <class>._obj(<ptr>) and we have added this as a class method to BaseEntity. https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/packages/source-python/entities/entity.py#L149
by Ayuto
Sat Mar 14, 2015 4:07 pm
Forum: Plugin Development Support
Topic: BumpWeapon
Replies: 9
Views: 6199

Just take a look at the function's prototype:[cpp]bool CBasePlayer::BumpWeapon( CBaseCombatWeapon *pWeapon )[/cpp]As you can this this is a method, which takes one argument (a CBaseCombatWeapon pointer) and returns a boolean. Since this is a member function, there is another argument, which is calle...
by Ayuto
Sat Mar 14, 2015 3:56 pm
Forum: Plugin Development Support
Topic: BumpWeapon
Replies: 9
Views: 6199

The problem is that your arguments tuple is wrong. The WeaponEntity line just just work fine, because it inherits from BaseEntity. # ============================================================================= # >> IMPORTS # ==========================================================================...
by Ayuto
Sat Mar 07, 2015 9:30 pm
Forum: Plugin Development Support
Topic: PreHook: player_hurt
Replies: 2
Views: 2516

Yeah, works fine for me, too. But it would be nice if you could just copy the error and post it here instead of making screenshots.
by Ayuto
Mon Mar 02, 2015 8:48 pm
Forum: News & Announcements
Topic: A new release!
Replies: 7
Views: 23161

A new release!

We have finally posted a new release! This release includes some crash and bug fixes, updates to site packages, enhancements, new features and more. The full changelog can be found here . As always, you can find the release here: https://github.com/Source-Python-Dev-Team/Source.Python/releases
by Ayuto
Mon Feb 16, 2015 9:10 pm
Forum: Module/Package Submissions
Topic: RefCount library
Replies: 2
Views: 16811

Hmm, I don't think we need something like that. Back in ES I have never seen anyone using that except for eventscripts_noisy and maybe sv_cheats. If you should ever need to do something like that, it's not hard to do this manually. sv_cheats = ConVar('sv_cheats') def load(): ...
by Ayuto
Sun Feb 15, 2015 9:46 pm
Forum: Plugin Development Support
Topic: Player hitbox
Replies: 6
Views: 6076

Yeah, I agree. The hitbox is usually shipped with the model file.

I guess we can change the hitboxes (yes, plural: it's not just a single box you can resize) by using this header, but as you can see it's pretty complex. :D
by Ayuto
Sun Feb 15, 2015 5:58 pm
Forum: Plugin Development Support
Topic: Player hitbox
Replies: 6
Views: 6076

What are you trying to achieve? A hitbox is not the same like a collision box. So, could you please be more specific what you want to do?
by Ayuto
Sat Feb 14, 2015 10:05 pm
Forum: News & Announcements
Topic: Feature Requests
Replies: 28
Views: 58813

Well, I wouldn't call this a temporary fix. It's more like a workaround for a specific situation. :p

Anyways, thanks for sharing.
by Ayuto
Sat Feb 14, 2015 6:14 pm
Forum: News & Announcements
Topic: Feature Requests
Replies: 28
Views: 58813

Thanks for reminding! I guess we forgot this post. I have now added your fix! https://github.com/Source-Python-Dev-Team/Source.Python/commit/44155139e1d8a78dfe9646721c50f1f0c429ddd6 Regarding your edit: Since I haven't done much testings on this issue, I would be happy if you could provide us your t...
by Ayuto
Fri Feb 13, 2015 6:38 pm
Forum: News & Announcements
Topic: Feature Requests
Replies: 28
Views: 58813

Feature Requests

Dear community,

we would like to use this thread to gather some general ideas, suggestions and improvements.

Please post your thoughts about the current state of our plugin! We are excited to hear them!

Thank you,
Source.Python Development Team
by Ayuto
Wed Feb 11, 2015 10:52 pm
Forum: General Discussion
Topic: Unable to load sourcepython.
Replies: 24
Views: 16214

by Ayuto
Tue Feb 10, 2015 9:20 pm
Forum: General Discussion
Topic: Unable to load sourcepython.
Replies: 24
Views: 16214

Alright, I just compiled a version with statically linked runtime libraries.
The attachment source-python.zip is no longer available


Let me know if it's working. :)
by Ayuto
Mon Feb 09, 2015 8:26 pm
Forum: General Discussion
Topic: Unable to load sourcepython.
Replies: 24
Views: 16214

Well, the problem is that that folder isn't on the search path. Your OS doesn't know that it's there. I'm curious if it would work if you add that folder to the search path. If you want to test this make sure to uninstall the previously installed Redistributable Package and verify that it's not work...
by Ayuto
Sun Feb 08, 2015 7:23 pm
Forum: General Discussion
Topic: Unable to load sourcepython.
Replies: 24
Views: 16214

My guess is that your 240KB loader was built in debug mode. But I don't think we have ever released a debug build. Could you please disable Metamod and every other server plugin. I'm also surprised that there are no loading messages from Metamod. I thought it would also print something to the console.
by Ayuto
Sun Feb 08, 2015 1:21 pm
Forum: General Discussion
Topic: Unable to load sourcepython.
Replies: 24
Views: 16214

Why should it be too small? The loader only consists of this file. https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/src/loader/loader_main.cpp However, could you please add +developer 1 -condebug to your command line. This will write some more information to ../csgo/console.log.
by Ayuto
Wed Feb 04, 2015 7:34 pm
Forum: Plugin Development Support
Topic: How to reset the player's sound to normal on player_blind?
Replies: 55
Views: 29071

Yes, the code L'In20Cible posted is for CS:S.
by Ayuto
Sun Feb 01, 2015 3:43 pm
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 191713

I can't say what's better. I guess this is a matter of preference. The benefit of #3 is obviously that you can find every constant in a single file. But if you use #2 you will find every constant in the module they belong to. This creates some logical structure.
by Ayuto
Sun Feb 01, 2015 12:26 pm
Forum: Plugin Development Support
Topic: How to reset the player's sound to normal on player_blind?
Replies: 55
Views: 29071

satoon101 wrote:Does this also mean we cannot call that function?
Yep, currently we can't, but we can update our plugin so that we can also handle these special cases. I have several ideas, but I need some time to think about them.

Go to advanced search