Search found 21 matches
- Tue Feb 04, 2014 3:53 am
- Forum: Plugin Development Support
- Topic: import from same folder
- Replies: 2
- Views: 4711
import from same folder
I have some general configuration variables that I want to keep outside of my main plugin. config.py exists inside my plugin folder. I also put a __init__.py in there for good measure. I try: from config import * but the variables don't make it into my running script. Any idea as to why this is?
- Mon Feb 03, 2014 10:08 pm
- Forum: Plugin Development Support
- Topic: get_engine_interface
- Replies: 1
- Views: 3625
get_engine_interface
Hey all! Running the following on the Jan-26-2014 build: import engine_c engine = engine_c.get_engine_interface() [SP] Caught an Exception: Traceback (most recent call last): File '../addons/source-python/packages/source-python/plugins/manager.py', line 64, in __missing__ instance = self.instance(pl...
- Fri Jan 17, 2014 10:50 pm
- Forum: General Discussion
- Topic: cs:go server crashes
- Replies: 13
- Views: 20255
- Thu Jan 16, 2014 12:03 am
- Forum: General Discussion
- Topic: cs:go server crashes
- Replies: 13
- Views: 20255
Player jump is unused, but player death is used.
I did some testing today. The server runs without crashing when sourcepython is not loaded.
When sourcepython is running, even without my script loaded, it is unstable.
Debug log here:
http://pastebin.com/9MHYPZFd
I did some testing today. The server runs without crashing when sourcepython is not loaded.
When sourcepython is running, even without my script loaded, it is unstable.
Debug log here:
http://pastebin.com/9MHYPZFd
- Sat Jan 04, 2014 1:10 am
- Forum: General Discussion
- Topic: cs:go server crashes
- Replies: 13
- Views: 20255
- Thu Jan 02, 2014 5:15 pm
- Forum: General Discussion
- Topic: cs:go server crashes
- Replies: 13
- Views: 20255
- Thu Jan 02, 2014 4:11 am
- Forum: General Discussion
- Topic: cs:go server crashes
- Replies: 13
- Views: 20255
- Wed Jan 01, 2014 7:49 pm
- Forum: General Discussion
- Topic: cs:go server crashes
- Replies: 13
- Views: 20255
- Wed Jan 01, 2014 6:44 pm
- Forum: General Discussion
- Topic: cs:go server crashes
- Replies: 13
- Views: 20255
cs:go server crashes
Hey Guys. First of all, thanks everyone for all the help the past few weeks. I really appreciate it, and I would like to send you all some bitcoin as a thank you. Post your bitcoin wallet address or PM me with it. I am getting some csgo server crashes fairly regularly, which I don't think have anyth...
- Sun Dec 22, 2013 10:40 pm
- Forum: General Discussion
- Topic: Supported games?
- Replies: 1
- Views: 4561
Supported games?
At this time, which games are working with source python?
- Sat Dec 21, 2013 2:23 am
- Forum: Plugin Development Support
- Topic: kick player, send message
- Replies: 8
- Views: 13206
- Fri Dec 20, 2013 11:21 pm
- Forum: Plugin Development Support
- Topic: load script automatically
- Replies: 2
- Views: 5261
- Fri Dec 20, 2013 7:38 pm
- Forum: Plugin Development Support
- Topic: kick player, send message
- Replies: 8
- Views: 13206
- Fri Dec 20, 2013 7:30 pm
- Forum: Plugin Development Support
- Topic: kick player, send message
- Replies: 8
- Views: 13206
An error occurred importing SayText2. Is there a workaround for this? [SP] Caught an Exception: Traceback (most recent call last): File '../addons/source-python/packages/source-python/addons/manager.py', line 48, in __missing__ instance = _LoadedAddon(addon_name) File '../addons/source-python/packag...
- Fri Dec 20, 2013 7:08 pm
- Forum: Plugin Development Support
- Topic: load script automatically
- Replies: 2
- Views: 5261
load script automatically
Is there a config setting somewhere where I can have it pull in my script every time by default?
- Fri Dec 20, 2013 6:34 pm
- Forum: Plugin Development Support
- Topic: kick player, send message
- Replies: 8
- Views: 13206
Working on kick... both with and without the ";" I am seeing: CEngineServer.server_command('kickid %s %s' % (userid, message)) Boost.Python.ArgumentError: Python argument types in CEngineServer.server_command(str) did not match C++ signature: server_command(CEngineServer {lvalue}, char const* command)
- Fri Dec 20, 2013 12:33 am
- Forum: Plugin Development Support
- Topic: kick player, send message
- Replies: 8
- Views: 13206
kick player, send message
Hey Guys.
Thanks for all the help recently.
Could you give me code examples for:
how to kick a player from the server
how to send a text message to a player in the chat window
Thanks so much.
Thanks for all the help recently.
Could you give me code examples for:
how to kick a player from the server
how to send a text message to a player in the chat window
Thanks so much.
- Sun Dec 15, 2013 4:50 am
- Forum: Plugin Development Support
- Topic: General Issue with some wraps
- Replies: 7
- Views: 11174
Is this close? @Event def player_connect(game_event): print("Player Connect") userid = game_event.get_int('userid') print("userid: %s" % userid) edict = edict_from_userid(userid) playerinfo = edict.get_prop('playerinfo') [SP] Caught an Exception: Traceback (most recent call last): File '../addons/so...
- Sun Dec 15, 2013 4:24 am
- Forum: Plugin Development Support
- Topic: General Issue with some wraps
- Replies: 7
- Views: 11174
- Sat Dec 14, 2013 11:15 pm
- Forum: Plugin Development Support
- Topic: General Issue with some wraps
- Replies: 7
- Views: 11174
I seem to be hitting this issue also. I am trying to get a player's steam id on connect. userid = game_event.get_int('userid') print("userid: %s" % userid) playerinfo = playerinfo_from_userid(userid) print("playerinfo: %s" % playerinfo) steamid = playerinfo.get_networkid_string() print("player steam...