Search found 569 matches
- Sun May 07, 2017 5:02 pm
- Forum: Plugin Development Support
- Topic: [CSGO] Need help to spawn and move entity
- Replies: 10
- Views: 9059
Re: [CSGO] Need help to spawn and move entity
If you need a linear movement between two points, I'd recommend looking towards func_movelinear entity: import math from entities.entity import Entity from mathlib import Vector def vec2angle(vec): atan = math.degrees(math.atan(coord_eye_vec.y / coord_eye_vec.x)) if coord_eye...
- Sun May 07, 2017 12:29 pm
- Forum: Plugin Development Support
- Topic: [CSGO] Need help to spawn and move entity
- Replies: 10
- Views: 9059
Re: [CSGO] Need help to spawn and move entity
Do you want your entity to move over time in some direction?
- Sat May 06, 2017 8:53 pm
- Forum: Plugin Releases
- Topic: [CS:GO/OrangeBox] Bad SetLocalAngles(...) fix
- Replies: 17
- Views: 18233
Re: [CS:GO/OrangeBox] Bad SetLocalAngles(...) fix
Replaced symbol with a signature on CS:GO Linux.
- Sat May 06, 2017 8:43 pm
- Forum: Plugin Releases
- Topic: [CS:S] Prop_Physics Enforcer
- Replies: 0
- Views: 5007
[CS:S] Prop_Physics Enforcer
[CS:S] Prop_Physics Enforcer https://pastebin.com/14yYxZse Description If you're tired of the screwed up physics all across the official CS:S maps, you'll probably like this plugin. Especially if you're familiar with all the pain the following screenshot implies: http://i.imgur.com/9ICclYZ.jpg It r...
- Fri May 05, 2017 5:47 pm
- Forum: General Discussion
- Topic: Client crashing on connect
- Replies: 7
- Views: 6384
Re: Client crashing on connect
not post anything, anymore
Why don't you stick to what you said? ;) ?
- Fri May 05, 2017 3:09 pm
- Forum: General Discussion
- Topic: Client crashing on connect
- Replies: 7
- Views: 6384
Re: Client crashing on connect
Okay, we've narrowed down the issue and the reason for the error (in this particular case) was the SetTransmit hook.
See also: https://forums.sourcepython.com/viewtopic.php?p=10273#p10273
See also: https://forums.sourcepython.com/viewtopic.php?p=10273#p10273
- Fri May 05, 2017 3:05 pm
- Forum: Code examples / Cookbook
- Topic: Making certain entities invisible to certain players
- Replies: 9
- Views: 42813
Re: Making certain entities invisible to certain players
Updated the first post. Added the following check to the hook: # We always transmit the player to himself. If we don't, bad things happen. if player.index == entity.index: return None In all games "bad things" is player not being able to see themselves moving, i.e. they will be stuck o...
- Thu May 04, 2017 4:45 pm
- Forum: General Discussion
- Topic: Client crashing on connect
- Replies: 7
- Views: 6384
Re: Client crashing on connect
Try adding GoTV on your server. Add this to your launch line:
This problem has been following many SM scripters, as well. GoTV seems to fix the issue.
Code: Select all
+tv_enable 1 +tv_maxclients 0 +tv_allow_camera_man 0 +tv_allow_static_shots 0
This problem has been following many SM scripters, as well. GoTV seems to fix the issue.
- Tue May 02, 2017 10:01 am
- Forum: Plugin Releases
- Topic: [CS:GO/OrangeBox] Bad SetLocalAngles(...) fix
- Replies: 17
- Views: 18233
Re: [CS:GO/OrangeBox] Bad SetLocalAngles(...) fix
Ah. Got it. CS:GO on linux doesn't have server_srv.so like other games, it's just server.so.
I've disabled _srv suffix check for CS:GO, should work fine now (if the signatures are still up to the date).
I've disabled _srv suffix check for CS:GO, should work fine now (if the signatures are still up to the date).
- Fri Apr 28, 2017 12:53 pm
- Forum: Plugin Releases
- Topic: [ANY] Entity AntiSpam
- Replies: 0
- Views: 5187
[ANY] Entity AntiSpam
[ANY] Entity AntiSpam https://github.com/KirillMysnik/SP-Ent-AntiSpam Description This plugin measures average server framerate every 5 seconds (by default) and does some checks if it drops below a certain value. The checks it does is basically searching piles of physics collideables that might cau...
- Fri Apr 28, 2017 8:57 am
- Forum: Plugin Development Support
- Topic: Hook Player Weapon Equip
- Replies: 4
- Views: 4536
Re: Hook Player Weapon Equip
If you crash in a post-hook but everything seems to work fine in a pre-hook, this might be related.
- Thu Apr 27, 2017 1:48 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] sound
- Replies: 28
- Views: 20923
Re: [HL2:DM] sound
Nope, sorry. Maybe somebody else.
But I'd recommend you to consult whoever wrote that plugin. Simply because reading somebody else's code is harder than reading your own code. You'd make things easier for everyone.
But I'd recommend you to consult whoever wrote that plugin. Simply because reading somebody else's code is harder than reading your own code. You'd make things easier for everyone.
- Thu Apr 27, 2017 1:41 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] sound
- Replies: 28
- Views: 20923
Re: [HL2:DM] sound
Whoever wrote that line in the first place made a mistake. That line cannot be correct. https://github.com/Source-Python-Dev-Team/Source.Python/blob/0834c5811020b29b10238f1a6e230da3fd639df4/addons/source-python/packages/source-python/entities/_base.py#L691 The third argument should be iterable. Whil...
- Thu Apr 27, 2017 1:32 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] sound
- Replies: 28
- Views: 20923
Re: [HL2:DM] sound
Why do I feel like this line
should be raising exceptions?
Do you get exceptions?
Syntax: Select all
player.delay(duration, remove_overlay, (index))
should be raising exceptions?
Do you get exceptions?
- Wed Apr 26, 2017 9:10 am
- Forum: Plugin Development Support
- Topic: Creating Player Hat
- Replies: 4
- Views: 4786
Re: Creating Player Hat
4. When parented to a player they should disappear when the player entity dies due to being parented. Is this not happening? Well, when an entity gets removed, its "children" get teleported to (0, 0, 0). But the thing is that the player entity is never removed (only when player disconnect...
- Tue Apr 25, 2017 8:56 pm
- Forum: Plugin Releases
- Topic: [TF2, linux] PLRBots
- Replies: 1
- Views: 4990
Re: [TF2, linux] PLRBots
PLRBots update
The plugin now supports more accurate bot class balancing when a Class Limit plugin is available
The plugin now supports more accurate bot class balancing when a Class Limit plugin is available
- Tue Apr 25, 2017 8:48 pm
- Forum: Plugin Releases
- Topic: [TF2] Class Limit
- Replies: 0
- Views: 5417
[TF2] Class Limit
[TF2] Class Limit https://github.com/KirillMysnik/sp-tf2-classlimit Description This plugin will help keep classes balanced by forbidding them from joining when they're full and switching extra players to other classes. Configuration Copy ../cfg/source-python/class_limit/limits/default.json to defa...
- Tue Apr 25, 2017 2:06 pm
- Forum: Plugin Releases
- Topic: [ANY] DeadChat
- Replies: 14
- Views: 13034
Re: [ANY] DeadChat
DeadChat update Works perfectly on bitbuf games and successfully crashes on CS:GO (see Source-Python-Dev-Team/Source.Python#194 ) Fixed a bug with dupe chat messages when HLTV is on the server (see Source-Python-Dev-Team/Source.Python#185 ) Dedicated separate files to signatures / offsets Updated s...
- Tue Apr 25, 2017 10:18 am
- Forum: Plugin Releases
- Topic: [ANY] Infinite Jumping (aka AutoBHop)
- Replies: 6
- Views: 9876
Re: Infinite Jumping (aka AutoBHop)
Infinite Jumping v1.0.2
New style info
New style info
This plugin now sets sv_enablebunnyhopping 1 and sv_airaccelerate 9999 on its own - this decision is made because apparently these two cvars are protected (locked) in some games, so you can't set them via config files.
- Tue Apr 25, 2017 9:51 am
- Forum: Plugin Development Support
- Topic: Is current date between 2 dates
- Replies: 9
- Views: 7613
Re: Is current date between 2 dates
My approach from time import struct_time def _build_struct(year, month, day, hour, minute, second): return struct_time((year, month, day, hour, minute, second, 0, 0, 0)) def build_yearless_struct(month, day, hour, minute, second): return _build_struct(0, month, da...