Search found 1256 matches
- Sat Jul 09, 2016 9:56 am
- Forum: API Design
- Topic: [CS:GO] Playing sounds
- Replies: 14
- Views: 33995
Re: [CS:GO] Playing sounds
Yes, feel free to go ahead and propose a PR, as well. But my only concern here is that the sample attribute should reflect the value you passed on initialization and should be the same "scheme" for all engine/game.
- Sat Jul 09, 2016 9:45 am
- Forum: API Design
- Topic: [CS:GO] Playing sounds
- Replies: 14
- Views: 33995
Re: [CS:GO] Playing sounds
I didn't read that article but, I would not go for the implementation you proposed. The sample attribute shouldn't be overriden. I would rather override "play" and makes sure the asterix is added to the path before being sent to the engine. I will make some testings to see if that is possi...
- Sat Jul 09, 2016 9:37 am
- Forum: Plugin Development Support
- Topic: OnLevelShutdown and OnLevelInit
- Replies: 4
- Views: 3347
Re: OnLevelShutdown and OnLevelInit
I might get it wrong, but does OnLevelShutdown fire at the same time with cs_win_panel_match event in CS:S/CS:GO? No. That event is fired when the final scoreboard is sent to clients while that listener is called when it close (before Host_Changelevel gets called). And sometime is called again righ...
- Sat Jul 09, 2016 8:03 am
- Forum: API Design
- Topic: [CS:GO] Playing sounds
- Replies: 14
- Views: 33995
Re: [CS:GO] Playing sounds
Placing your custom sounds into the "../sound/music/" directory used to work just fine.
- Sat Jul 09, 2016 1:42 am
- Forum: Plugin Development Support
- Topic: OnLevelShutdown and OnLevelInit
- Replies: 4
- Views: 3347
Re: OnLevelShutdown and OnLevelInit
I went ahead and added a OnMapEnd listener which will never gets called more than once per map change.
- Sat Jul 09, 2016 1:02 am
- Forum: Plugin Development Support
- Topic: OnLevelShutdown and OnLevelInit
- Replies: 4
- Views: 3347
- Fri Jul 08, 2016 1:10 pm
- Forum: Plugin Development Support
- Topic: Howto do Threading the right way in SP?
- Replies: 11
- Views: 7807
Re: Howto do Threading the right way in SP?
I was also able to reproduce the issue you described on the other thread (being stuck on respawn) by respawning instantly into the player_death event. That proves the event is called prior the life state, etc. are set on the player.
- Fri Jul 08, 2016 1:03 pm
- Forum: Plugin Development Support
- Topic: Howto do Threading the right way in SP?
- Replies: 11
- Views: 7807
Re: Howto do Threading the right way in SP?
Waiting a frame is fixing the crash for me:
My guess here is a conflict between dead/respawn where the event is called before the dead logic being done executing.
Syntax: Select all
Delay(0, t.start)
My guess here is a conflict between dead/respawn where the event is called before the dead logic being done executing.
- Fri Jul 08, 2016 11:13 am
- Forum: Plugin Development Support
- Topic: Howto do Threading the right way in SP?
- Replies: 11
- Views: 7807
Re: Howto do Threading the right way in SP?
Delay should not freeze your OnTick listener (since that class "rely" on that listener internally), what is your complete code?
- Wed Jul 06, 2016 8:39 pm
- Forum: Plugin Development Support
- Topic: [CSGO] Howto respawn a player?
- Replies: 21
- Views: 12593
Re: [CSGO] Howto respawn a player?
satoon101 wrote:We should probably add your dead and team checks to the respawn method itself.
I don't think we should take care of those checks to be honnest. Respawning should works on all players (teleported back to spawn, ammo reset, etc.) whether they are already spawned or not.
- Wed Jun 29, 2016 5:07 pm
- Forum: Plugin Development Support
- Topic: [CS:S] m_flStamina not found
- Replies: 3
- Views: 3462
Re: [CS:S] m_flStamina not found
To get a list of networkable properties for a specific game, run the following command: sp dump server_classes <file name> And a list of non-networkable ones with the following command: sp dump datamaps <file name> Both will creates a file in the .../logs/source-python/ directory. For example, here ...
- Mon Jun 27, 2016 10:47 am
- Forum: Plugin Development Support
- Topic: [CSGO] Howto respawn a player?
- Replies: 21
- Views: 12593
Re: [CSGO] Howto respawn a player?
I'm not able to reproduce your issue. Always able to move once respawned using Player.respawn().
- Sun Jun 26, 2016 6:49 pm
- Forum: Plugin Development Support
- Topic: [CSGO] Howto respawn a player?
- Replies: 21
- Views: 12593
Re: [CSGO] Howto respawn a player?
What OS? And do you run any other plugins?
- Sun Jun 26, 2016 2:55 pm
- Forum: Plugin Development Support
- Topic: [CSGO] Howto respawn a player?
- Replies: 21
- Views: 12593
Re: [CSGO] Howto respawn a player?
He mentionned a server crash, maybe we need to update the signature of CCSPlayer::RoundRespawn. Though, we could see if we can replace it with Player.spawn() - less signatures to maintain, the better.
- Thu Jun 23, 2016 5:33 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 58696
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
For future reference, Using the following code fixed his issue: # ============================================================================= # >> IMPORTS # ============================================================================= # Source.Python from engines.server import engine_server from f...
- Thu Jun 23, 2016 8:12 am
- Forum: Plugin Releases
- Topic: *discontinued* ArcAdmin
- Replies: 4
- Views: 7039
Re: (alpha) arcadmin
Looks good from the video so far, nice work!
- Tue Jun 21, 2016 11:00 am
- Forum: Plugin Releases
- Topic: RPG:GO
- Replies: 5
- Views: 6840
Re: RPG:GO
Tried it with bots on a CS:S server and it is working great. Good job! However, the fact that I get more XP glocking bots in the legs, than headshotting them with a riffle makes no sense to me. XP earned into player_hurt should be adjusted by the damage done, imo. EDIT: Found an exploit. Upgrading H...
- Tue Jun 21, 2016 2:37 am
- Forum: Plugin Development Support
- Topic: How to get value of Server.time?
- Replies: 2
- Views: 2558
Re: How to get value of Server.time?
Server is the class, not an object.
Notice the first letter.
Syntax: Select all
from engines.server import server
time = server.time
print(time)
- Sat Jun 18, 2016 5:06 am
- Forum: General Discussion
- Topic: Can't load SP on Windows
- Replies: 2
- Views: 2846
- Mon Jun 13, 2016 12:51 am
- Forum: General Discussion
- Topic: VTable Dumper
- Replies: 1
- Views: 2449
VTable Dumper
Ran accross this tool by Asher Baker and wanted to share it here.