Search found 569 matches

by iPlayer
Wed Oct 04, 2017 5:03 am
Forum: Plugin Releases
Topic: Parachute v0.03!
Replies: 44
Views: 62342

Re: Parachute!

Well, the plugin needed to be updated, too (due to the PluginInfo changes - it hasn't been updated since then) Here's the new version # ../addons/source-python/plugins/parachute/parachute.py # ============================================================================ # >> IMPORTS # ===============...
by iPlayer
Tue Oct 03, 2017 4:43 pm
Forum: Plugin Development Support
Topic: game_text
Replies: 1
Views: 2374

Re: game_text

Moved to appropriate forum
by iPlayer
Tue Oct 03, 2017 3:35 pm
Forum: Plugin Releases
Topic: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)
Replies: 30
Views: 44992

Re: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)

You have installed it incorrectly. Admin Map Cycle is not an SP plugin, it's an SPA plugin.
by iPlayer
Mon Oct 02, 2017 7:04 pm
Forum: Plugin Requests
Topic: [HL2:DM] Save Scores
Replies: 10
Views: 18169

Re: [HL2:DM] Save Scores

The error is not critical. It doesn't affect anything. It occurs only when a player disconnects before activating. But such player doesn't have any score to save anyways. You can safely ignore it. But here's the fix: from events import Event from listeners import OnClientDisconnect, OnLevelShutdown ...
by iPlayer
Sun Sep 10, 2017 5:42 am
Forum: Plugin Development Support
Topic: Stop players from changing clan tags
Replies: 1
Views: 2457

Re: Stop players from changing clan tags

Try OnClientSettingsChanged listener. It might fire when a player changes their clan tag. It's just that you'll need to save the old tag and check against the current tag in this listener (or maybe 1 tick later - dunno).
by iPlayer
Thu Aug 31, 2017 3:22 pm
Forum: General Discussion
Topic: trying to make a rest api service inside of csgo server
Replies: 4
Views: 5053

Re: trying to make a rest api service inside of csgo server

SP-CCP doesn't involve websockets in any way. Though connecting web-server with a game-server via websockets is also an option (that was proposed by Doldol). There's no way a pure-pythonic web-server would handle the load as good as, say, nginx or Apache. Making the game-server responsible for the s...
by iPlayer
Wed Aug 30, 2017 6:52 pm
Forum: General Discussion
Topic: trying to make a rest api service inside of csgo server
Replies: 4
Views: 5053

Re: trying to make a rest api service inside of csgo server

Well, MOTDPlayer doesn't start web-server inside of the game server, this stuff is handled from outside. What I'd suggest you to look is SP-CCP . This way you'll be able to connect a web-server with the game-server. As for asyncio... It's possible to launch a uWSGI in asyncio+greenlet mode. Then you...
by iPlayer
Fri Aug 25, 2017 3:57 pm
Forum: Plugin Releases
Topic: [CS:S/CS:GO] DigRats
Replies: 0
Views: 5536

[CS:S/CS:GO] DigRats

[CS:S/CS:GO]DigRats https://github.com/KirillMysnik/SP-DigRats Description This plugins allows creating large (I mean LARGE) breakfloor maps. For example, its reference map ( breakfloor_4096 ) constists of 3474 breakable blocks - that's well above the max edicts limit in the engine. The ideas that ...
by iPlayer
Thu Aug 24, 2017 1:13 am
Forum: Plugin Development Support
Topic: Calling virtual function CBaseTrigger::IsTouching?
Replies: 7
Views: 7036

Re: Calling virtual function CBaseTrigger::IsTouching?

Yeah, that'll be better. The reason I went with function hooks is because I misread the code for StartTouch as if it was only firing the outputs for the first entity.

When in fact it does that for OnStartTouchAll output, but OnStartTouch output is always fired.
by iPlayer
Wed Aug 23, 2017 10:49 pm
Forum: Plugin Development Support
Topic: Calling virtual function CBaseTrigger::IsTouching?
Replies: 7
Views: 7036

Re: Calling virtual function CBaseTrigger::IsTouching?

I'd avoid extra offsets. What you're trying to do can be implemented this way (untested): from entities.dictionary import EntityDictionary from entities.entity import Entity from entities.helpers import index_from_pointer from entities.hooks import EntityCondition, EntityPostHook from memory import ...
by iPlayer
Mon Aug 21, 2017 6:43 am
Forum: Plugin Releases
Topic: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)
Replies: 30
Views: 44992

Re: [CS:S/CS:GO/HL2DM] Map Cycle

Map Cycle 2.2 release
This release fixes a couple of bugs and introduces support for SPA Map Cycle - Source.Python Admin custom plugin.
by iPlayer
Mon Aug 21, 2017 6:37 am
Forum: Plugin Releases
Topic: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)
Replies: 30
Views: 44992

Re: [CS:S/CS:GO/HL2DM] Map Cycle

Painkiller, try the latest version of the plugin. I've fixed a race condition that might have been causing your issue. And by the way, I'd set mc_instant_change_level 1 on HL2DM, because I suspect there's no other opportunity to change the map besides when it won the voting (I mean no round ends etc).
by iPlayer
Mon Aug 21, 2017 3:06 am
Forum: Code examples / Cookbook
Topic: Two ways to give a weapon + something about CS:GO weapons
Replies: 21
Views: 58297

Re: Two ways to give a weapon + something about CS:GO weapons

This seems redundant to me. We should rather rename Entity.team to Entity,team_index in order to avoid duplicate with different behaviors from derived class. Splitting it into team_index and team is definitely better than having to instantiate an Entity when you already possess a Player instance. B...
by iPlayer
Mon Aug 21, 2017 1:33 am
Forum: Code examples / Cookbook
Topic: Two ways to give a weapon + something about CS:GO weapons
Replies: 21
Views: 58297

Two ways to give a weapon + something about CS:GO weapons

Approach #1. give_named_item As it seems, not everybody knows that this function returns a pointer that you can use to gain control of the created weapon. from commands.typed import TypedSayCommand from memory import make_object from messages import SayText2 from players.entity import Player from w...
by iPlayer
Sun Jul 23, 2017 11:18 pm
Forum: Custom Packages
Topic: MOTDPlayer v2
Replies: 5
Views: 38963

Re: MOTDPlayer v2

Apparently one of the CS:GO updates broke MoTD screens in that game. More info: ⋅  [CS:GO] "Invalid auth" on second and further screens Today I've discovered that only the first opened MoTD screen loads successfully. All futher ones get denied by MOTDPlayer with "Invalid au...
by iPlayer
Fri Jul 21, 2017 6:11 pm
Forum: Plugin Releases
Topic: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)
Replies: 30
Views: 44992

Re: [CS:S/CS:GO/HL2DM] Map Cycle

EDIT: Please also post here your cfg/source-python/map_cycle/mapcycle.json
by iPlayer
Thu Jul 20, 2017 6:59 pm
Forum: Whatever
Topic: Free games!!
Replies: 43
Views: 100352

Re: Free games!!

Thanks to L'In20Cible
Shadow Warrior: Special Edition
by iPlayer
Mon Jul 17, 2017 7:50 pm
Forum: Plugin Releases
Topic: Hero Wars (Alpha)
Replies: 35
Views: 41190

Re: Hero Wars (Alpha)

rafau94 wrote:I assume project is dead since your repo is down ?

I believe it's reincarnated as Warcraft-SP
by iPlayer
Sat Jul 15, 2017 11:53 am
Forum: Plugin Releases
Topic: [CS:S/CS:GO/HL2DM] Map Cycle (+SPA support)
Replies: 30
Views: 44992

Re: [CS:S/CS:GO/HL2DM] Map Cycle

Upload your cfg/source-python/map_cycle/main.cfg or post it here. If posting here, please be sure to wrap it into

Code: Select all

[code][/code]
!

EDIT: Please also post here your cfg/source-python/map_cycle/mapcycle.json
by iPlayer
Fri Jul 14, 2017 11:23 pm
Forum: Custom Packages
Topic: [CS:S/CS:GO] ConnectFilter
Replies: 0
Views: 17019

[CS:S/CS:GO] ConnectFilter

[CS:S/CS:GO] ConnectFilter https://github.com/KirillMysnik/SP-ConnectFilter Description This custom package provides ConnectFilter decorator that will allow you to reject clients on early stages of the connection process. Huge thanks to Ayuto for diving into Source authentication and finding out ho...

Go to advanced search