Search found 159 matches

by Predz
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...
by Predz
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 # ==============================================================...
by Predz
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...
by Predz
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 ...
by Predz
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...
by Predz
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...
by Predz
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...
by Predz
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 ...
by Predz
Tue Mar 31, 2015 9:58 pm
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12489

Also, the "drop_weapon" virtual function uses the arguments of "POINTER, POINTER, POINTER" so therefore parse, "<pointer>, None, None" instead.
by Predz
Tue Mar 31, 2015 9:36 pm
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12489

Just started playing with this myself, and it seems to me that the "weapon_indexes" method is not returning anything at the moment. All I get is a empty list returned.
by Predz
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...
by Predz
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...
by Predz
Mon Mar 23, 2015 10:52 pm
Forum: General Discussion
Topic: Crashes upon map change.
Replies: 36
Views: 22116

I have removed everything apart from default SP and default Hero Wars, with them both loaded. And the crash still persists. Happens any time a map changes, however I have tried running Hero Wars by loading CSGO with the "insecure" command, and it changes map fine. So I am really confused.
by Predz
Mon Mar 23, 2015 10:25 pm
Forum: General Discussion
Topic: Crashes upon map change.
Replies: 36
Views: 22116

So taking a look at Satoon's link. Line 495 in hw.py could be the issue?

Edit: Still crashes.
by Predz
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
by Predz
Mon Mar 23, 2015 10:16 pm
Forum: General Discussion
Topic: Crashes upon map change.
Replies: 36
Views: 22116

KK Sorry, HW was loaded when I was testing and the problem lies in HW, just me not paying attention to my logs ;s I have found this but I have no clue what it means. [SP] Loading plugin 'hw'... [SP] Successfully loaded plugin 'hw'. ---- Host_Changelevel ---- *** Map Load: de_dust: Ma...
by Predz
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 ## ...
by Predz
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...
by Predz
Sun Mar 15, 2015 6:40 pm
Forum: Plugin Development Support
Topic: _basetypes not found in newest release
Replies: 2
Views: 2500

Thank you!

Didn't realize this change had happened, but makes sense :D
by Predz
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, ...

Go to advanced search