Search found 159 matches
- Wed May 13, 2015 8:51 am
- Forum: Plugin Development Support
- Topic: Can't force a player to suicide.
- Replies: 4
- Views: 4032
Can't force a player to suicide.
I have tried multiple ways to force a player to suicide but none seem to work. First off the client "kill" command has the SERVER_CANNOT_EXECUTE flag, and every time I try to kill them with either <PlayerEntity>.damage or <PlayerEntity>.take_damage, the server crashes if the damage is more than thei...
- Wed May 06, 2015 6:44 pm
- Forum: Plugin Releases
- Topic: Hero Wars (Alpha)
- Replies: 35
- Views: 42238
Yeh you will need to recode the hero because it hasn't been updated yet. If you cant be asked to update it yourself here is an updated version below: # ====================================================================== # >> IMPORTS # ==============================================================...
- Wed Apr 29, 2015 7:03 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
Okay, so another problem to help me debug :) Essentially, Mahi's fix works sort of. The map now changes and anyone not on the server before the map change can play. However anyone on the server before the map change will crash their client when they try to join a team that isn't spectating. Any idea...
- Sun Apr 26, 2015 4:56 pm
- Forum: Plugin Development Support
- Topic: Building VC Project
- Replies: 1
- Views: 2150
Building VC Project
Hey, haven't done this for a while and have seemed to get an error. I have followed everything on the Wiki tutorial however building the Visual Studio project using the batch file always ends in this error. I have tried running it as Admin, and have ensured all permissions are available to edit the ...
- Wed Apr 22, 2015 5:44 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
After about 10 hours of trying to fix this found finally a way :) Well to be honest not really a fix just a work around but it seems to sort all my problems. Have posted below to show. Give credit to Muerte for the idea :) ## ## ## from core.command import _core_command from events import Event from...
- Sat Apr 11, 2015 9:09 pm
- Forum: Plugin Development Support
- Topic: point_hurt: cs go
- Replies: 28
- Views: 17932
Malina, every time you force damage using a point_hurt entity the engine will fire another player_hurt event. So therefore if you have the point_hurt being activated upon a take damage event, then you will cause an infinite loop until the player dies. You need to check the "weapon" argument inside t...
- Sat Apr 11, 2015 9:35 am
- Forum: Plugin Development Support
- Topic: Cs:go signatures
- Replies: 6
- Views: 4878
Malina, it is better to use the offsets provided inside the INI files. They create virtual functions that you can hook onto so no need to create your own as they already exist in SP. [virtual_function] # _ZN11CBaseEntity18PassesDamageFilterERK15CTakeDamageInfo [[take_damage]] offset_linux = 65 offse...
- Tue Mar 31, 2015 10:01 pm
- Forum: Plugin Development Support
- Topic: CSGO: strict weapon
- Replies: 19
- Views: 12489
This works for me, does what I think you wanted it to. ## ## ## from entities.helpers import index_from_pointer from entities.helpers import index_from_edict from events import Event from filters.players import PlayerIter from filters.entities import EntityIter from memory.hooks import PreHook from ...
- Tue Mar 31, 2015 9:58 pm
- Forum: Plugin Development Support
- Topic: CSGO: strict weapon
- Replies: 19
- Views: 12489
- Tue Mar 31, 2015 9:36 pm
- Forum: Plugin Development Support
- Topic: CSGO: strict weapon
- Replies: 19
- Views: 12489
- Thu Mar 26, 2015 10:44 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
I have absolutely no clue how to fix this so I have just made a small fix for the meantime. I know it isn't very efficient, and probably a bad idea, so don't judge please. I just need some sort of minor fix so I can test server with people on :D ## ## ## from os.path import dirname from engines.serv...
- Tue Mar 24, 2015 9:25 am
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
Thanks for the help everyone however this hasn't seemed to of fixed the problem. I have had a look through the code and can't see any issues like you describe Doldol. L'In, I have had -condebug on all the time, so the console.log below. Sorry there a couple of python errors because I was seeing if t...
- Mon Mar 23, 2015 10:52 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
- Mon Mar 23, 2015 10:25 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
- Mon Mar 23, 2015 10:23 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
The problem is inside Hero Wars, however there is a lot to check, so not to sure where to start.
Hero Wars
Hero Wars
- Mon Mar 23, 2015 10:16 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
- Mon Mar 23, 2015 9:35 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
Np, this is the shortest script that still causes the problem. Even with only this loaded I still get crashes ;s ## ## ## from commands import CommandReturn from commands.say import SayFilter from messages import SayText2 from paths import PLUGIN_PATH from translations.strings import LangStrings ## ...
- Mon Mar 23, 2015 9:20 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 22116
Crashes upon map change.
Hey, have been playing with SP for a while now and have come across quite a large problem when using my dedicated server. The server is running Linux and am using the latest March 8th release. Server is running currently CSGO and CSS servers, however this problem only occurs on CSGO. Basically anyti...
- Sun Mar 15, 2015 6:40 pm
- Forum: Plugin Development Support
- Topic: _basetypes not found in newest release
- Replies: 2
- Views: 2500
- Sun Mar 15, 2015 6:06 pm
- Forum: Plugin Development Support
- Topic: _basetypes not found in newest release
- Replies: 2
- Views: 2500
_basetypes not found in newest release
[SP] Caught an Exception: Traceback (most recent call last): File '../addons/source-python/packages/source-python/plugins/manager.py', line 72, in __missing__ instance = self.instance(plugin_name, self.base_import) File '../addons/source-python/packages/source-python/plugins/instance.py', line 82, ...