Search found 1776 matches

by satoon101
Thu Jan 24, 2013 3:59 am
Forum: Whatever
Topic: Svn
Replies: 14
Views: 14483

Ooops, I'll commit the fix for that real quick. My test server still uses an older languages.ini file.

Satoon
by satoon101
Thu Jan 24, 2013 2:20 am
Forum: Whatever
Topic: Svn
Replies: 14
Views: 14483

Ok, it seems something is messed up in the Debug version, but Release builds fine. To build in release on Windows, go to View->Toolbars and make sure "Standard" is checked. Half way down the Standard toolbar, you will see "Debug" in a selection box. Change that to "Release" and build again. The file...
by satoon101
Thu Jan 24, 2013 2:11 am
Forum: Whatever
Topic: Svn
Replies: 14
Views: 14483

I get that right now, as well. Just give us time to sort out these issues.

Satoon
by satoon101
Thu Jan 24, 2013 1:26 am
Forum: News & Announcements
Topic: New Usermessage system
Replies: 3
Views: 6425

Awesome job, freddukes, I'll get started on these changes, finally!!! Wish Valve would have not messed up the versions of the beta...

Satoon
by satoon101
Wed Jan 23, 2013 4:18 pm
Forum: News & Announcements
Topic: New Translations module available!!!
Replies: 8
Views: 11100

New Translations module available!!!

We finally have a translations module set up to send language specific messages to players!! First things first, all translation files must be of the .ini file type and be located in your server's ../resource/source-python/translations/ folder. If you have a few different files for your addon, you c...
by satoon101
Sun Jan 20, 2013 8:13 am
Forum: General Discussion
Topic: A Hooks Library?
Replies: 5
Views: 6134

Not yet. I'm not sure, at this point, "when" it will get implemented, but it definitely will be at some point. I really don't think that is what MiBShidobu was referencing, though.

Satoon
by satoon101
Sun Jan 20, 2013 1:55 am
Forum: API Design
Topic: Player List Filters
Replies: 20
Views: 20550

This has been implemented for quite some time. I think there used to be a few more examples on the forums prior to the site going down, so they got lost. I did just create this thread, though, to explain their use:
http://www.sourcepython.com/showthread.php?259

Satoon
by satoon101
Sun Jan 20, 2013 1:54 am
Forum: Code examples / Cookbook
Topic: Player, Weapon entity, and Weapon type Iterators
Replies: 0
Views: 5421

Player, Weapon entity, and Weapon type Iterators

Currently, there are 3 iterators built into Source.Python: ⋅ PlayerIter - iterates over players on the server ⋅ WeaponIter - iterates over weapon entities on the server ⋅ WeaponTagIter - iterates over weapons in the WeaponManager (not actual weapon entities on the serve...
by satoon101
Tue Jan 15, 2013 9:11 pm
Forum: Module/Package Submissions
Topic: Thoughts about a 'command libary'
Replies: 8
Views: 25282

I thought I would finally post my opinions on each of these points: ⋅  Spam Protection ⋅ Defaults to ON ⋅ Should have configurable theresholds (for example, you can configure that people get kicked if they excute more then 5 commands within 1 second) ⋅ Should ...
by satoon101
Tue Jan 15, 2013 6:05 am
Forum: Code examples / Cookbook
Topic: Server, Client, and Say Commands
Replies: 10
Views: 34570

Server, Client, and Say Commands

I just added a new update to the command structure. Previously, the Python-side API only allowed the used of decorators to register/unregister the commands. With this update, you can now use a registration class (which the decorators now tie into) to register your commands: ⋅ ServerCommand...
by satoon101
Tue Jan 15, 2013 5:39 am
Forum: Whatever
Topic: Svn
Replies: 14
Views: 14483

Use the "Source Code" link at the top of the forums to navigate to the source code. Also, see this post on how to get the repository yourself: http://www.sourcepython.com/showthread.php?26-I-can-t-seem-to-find-installation-files&p=129&viewfull=1#post129 We use Mercurial instead of SVN for this proje...
by satoon101
Tue Jan 15, 2013 12:22 am
Forum: Code examples / Cookbook
Topic: Damaging a player
Replies: 12
Views: 15281

I am having all sorts of connection issues with my Linux server, but the hitgroup offset seems to be correctly on it, as well.

Satoon
by satoon101
Mon Jan 14, 2013 7:05 pm
Forum: Code examples / Cookbook
Topic: Damaging a player
Replies: 12
Views: 15281

Thank you :)

Yeah, the damage might get a bit too complicated based on a number of things. So, I am not sure how feasible it will be to get the proper damage, unfortunately, but we will look into it.

Also, the hitgroup for Windows servers is correct, now, but I have yet to test on Linux.

Satoon
by satoon101
Mon Jan 14, 2013 6:17 pm
Forum: Code examples / Cookbook
Topic: Damaging a player
Replies: 12
Views: 15281

I should probably add a bit more information on some of the things that script does internally. The "damage" method takes one required argument and 4 optional arguments: ⋅ <victim_index> - index of the entity being damaged ⋅ [damage] - the amount of damage to be done (m...
by satoon101
Mon Jan 14, 2013 5:52 pm
Forum: Plugin Development Support
Topic: Looking for some more equivalents...
Replies: 3
Views: 4336

I did not want to derail this thread entirely, so I started another specific to the damage idea:
http://www.sourcepython.com/showthread.php?255

Satoon
by satoon101
Mon Jan 14, 2013 5:51 pm
Forum: Code examples / Cookbook
Topic: Damaging a player
Replies: 12
Views: 15281

Damaging a player

Not sure if you all have been keeping track of the repository, but L'In20Cible and I worked through the issues we had with getting damage to work, and it now works properly (with the exception of the hitgroup offset). All entities, not just players, can damage any other entity, so we added it to the...
by satoon101
Mon Jan 14, 2013 12:11 am
Forum: Plugin Development Support
Topic: Looking for some more equivalents...
Replies: 3
Views: 4336

Adding a server language will be easy enough. I will do that shortly. As far as damage is concerned, I "think" we should be able to create a TakeDamageInfo instance by calling CTakeDamageInfo.Init dynamically and using that as an argument to pass to CBaseCombatCharacter.OnTakeDamage. However, my att...
by satoon101
Sat Jan 12, 2013 1:58 am
Forum: General Discussion
Topic: missing import in weapons/manager.py
Replies: 1
Views: 2913

Thank you, this has been added.

Satoon
by satoon101
Sat Jan 12, 2013 1:21 am
Forum: API Design
Topic: SayFilters and SayCommands
Replies: 27
Views: 61704

Good point, L'In20Cible. I will add that and the missing import that Omega mentioned here soon. No, unfortunately we have not made headway with those issues as of yet. * Edit: added the try/excepts. I am also working on a newer version of the commands module. I realize some scripters will want to re...
by satoon101
Fri Jan 11, 2013 1:16 am
Forum: API Design
Topic: SayFilters and SayCommands
Replies: 27
Views: 61704

Ok, that sounds good to me. That is an easy fix for the current setup. I will add that as soon as I can. *Edit: this is now fixed. The current way now runs through all command callbacks and allows say filters to be ran as well. If a say filter blocks the command, no more say filters will be looped t...

Go to advanced search