Sourcepython on Linux (seems very unstable)
Posted: Wed Oct 03, 2018 7:39 pm
So I coded all my plugins locally on a windows CS:GO server, but as soon as I operate Linux, everything just starts crashing :(. I have narrowed down some of the issues.
On Linux operating system Ubuntu 18.04 LTS.
Crashes
Bugs
When I try to change the color of a player it works, but changing the alpha value doesn't affect the player. This should be somewhat blue but transparent.
This is what I have discovered so far, there might be more sadly :( Is there any way this can be fixed since it works perfectly on Windows? Notice that the console log doesn't say anything about an error or other.
On Linux operating system Ubuntu 18.04 LTS.
Crashes
Syntax: Select all
@OnPlayerRunCommand
def on_player_run_cmd(player, cmd):
if player.get_projectile_ammo('flashbang_projectile') <= 0:
player.give_named_item('weapon_flashbang')Syntax: Select all
@OnPlayerRunCommand
def on_player_run_cmd(player, cmd):
player.origin.get_distance(Vector(0,0,0))- without delaying it to the next tick (Delay(0, etc...) crashes server.
Syntax: Select all
player.teleport(...)
Bugs
When I try to change the color of a player it works, but changing the alpha value doesn't affect the player. This should be somewhat blue but transparent.
Syntax: Select all
player.color = Color(128, 128, 255, 5)
This is what I have discovered so far, there might be more sadly :( Is there any way this can be fixed since it works perfectly on Windows? Notice that the console log doesn't say anything about an error or other.