Search found 1413 matches

by Ayuto
Sun Sep 13, 2015 9:48 pm
Forum: Plugin Requests
Topic: weapon giver on activate? [bms]
Replies: 20
Views: 18406

It's definitely not a Valve update. CS:S hasn't been updated since a year or more. However, PlayerEntity.weapon_indexes() has been updated on the 25th July and I see that you are using a newer version of SP (you are using the new event decorator). So, you should definitely get a different error mess...
by Ayuto
Sun Sep 13, 2015 3:50 pm
Forum: General Discussion
Topic: CSGO: show his team only
Replies: 1
Views: 2859

I think you are looking for mp_forcecamera.

Code: Select all

"mp_forcecamera" = "0" ( def. "1" ) game replicated                              - Restricts spectator modes for dead players. 0 = Any team. 1 = Only own team. 2 =
by Ayuto
Thu Sep 10, 2015 6:31 pm
Forum: Plugin Development Support
Topic: Respawn player (csgo)
Replies: 30
Views: 18294

Is <victim> a PlayerEntity and are you using the latest version? If yes, <godmode> is no longer available and should raise an error. Try <PlayerEntity>.respawn() instead.
by Ayuto
Tue Sep 08, 2015 6:11 pm
Forum: Development Status Updates
Topic: Development status update (August 2015)
Replies: 0
Views: 3624

Development status update (August 2015)

We have decided to give a development status update on a monthly base, now. For major changes/additions we will make additional announcements. Here are the changes made in August 2015: ⋅ Major performance improvements for the BaseEntity.get_key_value_* methods. We rewrote them in C++ and a...
by Ayuto
Sun Sep 06, 2015 11:19 am
Forum: General Discussion
Topic: CSGO: Ranking system
Replies: 4
Views: 4707

Yes, it's just a python module you need to install.
by Ayuto
Wed Sep 02, 2015 6:37 am
Forum: Plugin Development Support
Topic: [CSGO]Using generic precache for custom particles
Replies: 10
Views: 10603

Btw. the preload argument is also available in SP:

Syntax: Select all

from engines.server import engine_server

engine_server.precache_generic(<string>, <preload>)
We should probably update our precache classes to include this argument as well.
by Ayuto
Sun Aug 30, 2015 10:13 pm
Forum: Plugin Development Support
Topic: [CSGO]Using generic precache for custom particles
Replies: 10
Views: 10603

Does your "test_particle" callback actually get called?
by Ayuto
Fri Aug 21, 2015 5:12 pm
Forum: Plugin Releases
Topic: Paintball
Replies: 9
Views: 20294

Updated the plugin to work with the latest Source.Python version.
by Ayuto
Wed Aug 19, 2015 6:17 pm
Forum: News & Announcements
Topic: Auto-Builder!!
Replies: 2
Views: 16617

A new build is automatically created for you as soon as we push something to the repository and that change compiled without any errors on all games and operating systems. The new build should be available for you after 15 - 30 minutes. With this buildbot we also added versioning to Source.Python. Y...
by Ayuto
Sun Aug 16, 2015 8:49 am
Forum: General Discussion
Topic: Can I spam *this* thread?
Replies: 1
Views: 2344

It's okay. Just let us know when we can delete it.
by Ayuto
Fri Aug 07, 2015 7:59 pm
Forum: API Design
Topic: EntityPreHook/EntityPostHook changes
Replies: 5
Views: 11826

EntityPreHook/EntityPostHook changes

We just updated the EntityPreHook and EntityPostHook decorators . Now, you need to pass a function to the decorator that will be used to test existing and new entities whether they match the entity you are looking for or not. If the function returns True, the hook will get initialized by using the ...
by Ayuto
Thu Aug 06, 2015 7:57 pm
Forum: General Discussion
Topic: CSGO: crash the server
Replies: 9
Views: 7773

The only thing that I can tell you is that it might be caused by a tick listener. If you don't want to post your code in public, you can send it to me via a PM.
by Ayuto
Thu Aug 06, 2015 7:30 pm
Forum: General Discussion
Topic: CSGO: crash the server
Replies: 9
Views: 7773

Thank you, but you also need to answer my other questions. Otherwise it's hard to help you.
Ayuto wrote:And which server plugins are loaded (Sourcemod, Metamod, SP, etc.)? Which Source.Python plugins are loaded? If the code isn't public, please post the code here.
by Ayuto
Wed Aug 05, 2015 9:51 pm
Forum: General Discussion
Topic: CSGO: crash the server
Replies: 9
Views: 7773

Please post the full debug.log that is generated when using the "-debug" option.
by Ayuto
Wed Aug 05, 2015 8:56 pm
Forum: Plugin Development Support
Topic: CSGO: kick in player_connect
Replies: 2
Views: 2529

by Ayuto
Wed Aug 05, 2015 11:30 am
Forum: General Discussion
Topic: CSGO: crash the server
Replies: 9
Views: 7773

Please add the "-debug" option to the command line, restart your server and provoke another crash. This will generate a "debug.log" in your game directory on your server. Then please upload the file here. Edit: And which server plugins are loaded (Sourcemod, Metamod, SP, etc.)? Which Source.Python p...
by Ayuto
Tue Aug 04, 2015 7:19 pm
Forum: Plugin Development Support
Topic: CSGO: Enable log of source python
Replies: 1
Views: 1974

To configure logging, take a look at the file that is generated when you load SP the very first time on your server. It's located in ../<game>/cfg/source-python/core_settings.ini.
In that file take a look at the LOG_SETTINGS section.
by Ayuto
Mon Aug 03, 2015 5:51 pm
Forum: News & Announcements
Topic: Aug 2 - New Release!!
Replies: 22
Views: 47083

Just tested CS:GO on Windows and Linux and was unable to reproduce the issue. Could you please post the script you were using?
by Ayuto
Mon Aug 03, 2015 6:11 am
Forum: News & Announcements
Topic: Aug 2 - New Release!!
Replies: 22
Views: 47083

You need to update your plugin to use the new syntax for the Event decorator.

Syntax: Select all

from events import Event

@Event('player_spawn')
def player_spawn(event):
pass
by Ayuto
Sun Aug 02, 2015 9:31 pm
Forum: Plugin Development Support
Topic: Using EntityPreHook on drop_weapon
Replies: 7
Views: 4809

EntityPreHook is actually the same like a PreHook. The passed argument is a StackData object (I usually call it "args"), which provides you high- and low-level access to the stack of the hooked function. After looking at the data files you know that the StackData object will provide you ac...

Go to advanced search