Search found 1413 matches

by Ayuto
Wed Mar 26, 2014 11:32 am
Forum: Plugin Development Support
Topic: Can't load scripts
Replies: 6
Views: 5737

The most plugins on this forum are probably out-dated due to the development. Your script doesn't load, because an error was raised. To show the error, you have to edit the LOG_SETTINGS. ;)
by Ayuto
Tue Mar 25, 2014 8:24 pm
Forum: Plugin Development Support
Topic: Can't load scripts
Replies: 6
Views: 5737

Yes, sp load <script> is correct. Could you show us your script?

You should also go to ../cfg/source-python/core_settings.ini and adapt LOG_SETTINGS.
by Ayuto
Sat Feb 15, 2014 9:39 pm
Forum: Plugin Development Support
Topic: Help with Client Command Filter to force players to join specified team
Replies: 5
Views: 5351

Your code should run without any problems. I guess you are running an out-dated version of SP.

To enable better debugging take a look at cfg\source-python\core_settings.ini.
by Ayuto
Fri Jan 24, 2014 10:22 pm
Forum: General Discussion
Topic: Can't load core.so
Replies: 2
Views: 3757

After spending several hours on this I finally found the issue(s). This error already existed since I replaced DynDetours with DynamicHooks. But it wasn't just one error, but three: 1. Somehow AsmJit didn't get linked properly if we compiled for CS:GO. 2. There was an issue in the SDK for CS:GO that...
by Ayuto
Sun Jan 19, 2014 11:31 am
Forum: General Discussion
Topic: Can't load core.so
Replies: 2
Views: 3757

That's a linking error, but I can't tell you more. I will have to test this out on my own. Did you compile in debug or release mode?
by Ayuto
Thu Jan 16, 2014 6:40 pm
Forum: General Discussion
Topic: cs:go server crashes
Replies: 13
Views: 11890

Do you run the latest revision of our repository or the last official build?
by Ayuto
Wed Jan 15, 2014 7:53 pm
Forum: General Discussion
Topic: Can't compile SP
Replies: 5
Views: 6083

Should be fixed now.
by Ayuto
Wed Jan 15, 2014 6:39 pm
Forum: General Discussion
Topic: Can't compile SP
Replies: 5
Views: 6083

Yep, I broke it yesterday. :D
I will try to fix it today.
by Ayuto
Sun Jan 05, 2014 5:36 pm
Forum: General Discussion
Topic: Support of old ess?
Replies: 2
Views: 3605

You could write a plugin that emulates ES Shell syntax and functions, but I doubt that anyone will ever do that, because the effort wouldn't be worth it.
by Ayuto
Sat Jan 04, 2014 1:39 pm
Forum: General Discussion
Topic: cs:go server crashes
Replies: 13
Views: 11890

Does it crash without SP being loaded? If yes, I can't really help you. Otherwise we still have to narrow it down to some functions we can check.
by Ayuto
Thu Jan 02, 2014 6:09 pm
Forum: General Discussion
Topic: cs:go server crashes
Replies: 13
Views: 11890

They may seem to work properly, but please make sure that they don't cause the crashes by disabling them for now.
by Ayuto
Wed Jan 01, 2014 8:07 pm
Forum: General Discussion
Topic: cs:go server crashes
Replies: 13
Views: 11890

Due to that line I think it has something to do with say commands, but I can't tell you more.

Code: Select all

#12 0xe4fe05c5 in SayConCommand: :D ispatch(CCommand const&) () from /home/admin/csgoserver/csgo/addons/source-python/bin/core.so
Try to reproduce the crash and then post the code.
by Ayuto
Sun Dec 22, 2013 10:55 pm
Forum: General Discussion
Topic: Supported games?
Replies: 1
Views: 3143

CS:S and CS:GO are currently supported, but it should theoretically work on every other game that relies on the OrangeBox engine. But you probably have to add some data to the Python side (like teams or weapons).
by Ayuto
Fri Dec 20, 2013 8:24 pm
Forum: Plugin Development Support
Topic: kick player, send message
Replies: 8
Views: 7927

Regarding the error: you have to change all DATA_PATH occurences to SP_DATA_PATH. Take a look at this revision. I'm currenctly not sure if it's included in the latest build.
by Ayuto
Fri Dec 20, 2013 8:22 pm
Forum: Plugin Development Support
Topic: load script automatically
Replies: 2
Views: 3651

Just add "sp load <your script>" to the autoexec.cfg.
by Ayuto
Fri Dec 20, 2013 6:56 pm
Forum: Plugin Development Support
Topic: kick player, send message
Replies: 8
Views: 7927

CEngineServer is the class object, but you need an instance of it.

Syntax: Select all

engine = engine_c.get_engine_interface()
engine.server_command('kickid %s %s;'% (userid, reason))
by Ayuto
Fri Nov 22, 2013 1:31 pm
Forum: Whatever
Topic: Whats going on?
Replies: 7
Views: 9314

Yeah, everyone is busy, lost the interest in this project or is unmotivated to continue the development.
by Ayuto
Thu Oct 17, 2013 5:32 pm
Forum: Plugin Development Support
Topic: player_spawn event, does it fire more than once?
Replies: 10
Views: 9721

I have never seen player_spawn firing 3 times.
by Ayuto
Tue Oct 15, 2013 3:29 pm
Forum: Plugin Development Support
Topic: player_spawn event, does it fire more than once?
Replies: 10
Views: 9721

It actually does that. The first time a player spawns he isn't in our set. So, we add him to the set and return. After that everything after "# Your code here..." will be executed.
by Ayuto
Thu Oct 10, 2013 5:10 pm
Forum: Plugin Development Support
Topic: player_spawn event, does it fire more than once?
Replies: 10
Views: 9721

Yep, but remember that es_userteam is a variable defined by EventScripts. This might be more effective: from events import Event players = set() @Event def player_spawn(ev): userid = ev.get_int('userid') if userid not in players: players.add(userid) return # Your code here... @Event def player_disco...

Go to advanced search