Ooops, I'll commit the fix for that real quick. My test server still uses an older languages.ini file.
Satoon
Search found 1776 matches
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...
- Thu Jan 24, 2013 1:26 am
- Forum: News & Announcements
- Topic: New Usermessage system
- Replies: 3
- Views: 6425
- 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...
- Sun Jan 20, 2013 8:13 am
- Forum: General Discussion
- Topic: A Hooks Library?
- Replies: 5
- Views: 6134
- 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
http://www.sourcepython.com/showthread.php?259
Satoon
- 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...
- Tue Jan 15, 2013 9:11 pm
- Forum: Module/Package Submissions
- Topic: Thoughts about a 'command libary'
- Replies: 8
- Views: 25282
- 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...
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...
- Tue Jan 15, 2013 12:22 am
- Forum: Code examples / Cookbook
- Topic: Damaging a player
- Replies: 12
- Views: 15281
- Mon Jan 14, 2013 7:05 pm
- Forum: Code examples / Cookbook
- Topic: Damaging a player
- Replies: 12
- Views: 15281
- Mon Jan 14, 2013 6:17 pm
- Forum: Code examples / Cookbook
- Topic: Damaging a player
- Replies: 12
- Views: 15281
- 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
http://www.sourcepython.com/showthread.php?255
Satoon
- 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...
- 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...
- Sat Jan 12, 2013 1:58 am
- Forum: General Discussion
- Topic: missing import in weapons/manager.py
- Replies: 1
- Views: 2913
- 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...
- 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...