Search found 1481 matches

by satoon101
Thu Jul 13, 2017 12:46 am
Forum: Plugin Releases
Topic: [CS:S/CS:GO/HL2DM] Map Cycle
Replies: 19
Views: 1785

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

The only issue I've encountered is that it uses ESC menus instead of radio menus (probably due to the fact that SP forwards PagedESCMenu for PagedMenu when it's available, so I'll probably hard-code the PagedRadioMenu class in there). It's actually the opposite. The RadioMenus are used unless they ...
by satoon101
Sat Jul 01, 2017 1:43 pm
Forum: Plugin Releases
Topic: Dissolver v1.3
Replies: 19
Views: 1063

Re: Dissolver v1.3

Release 1.3 is now available in the first post. Please try that and let me know if you have any further issues.
by satoon101
Fri Jun 30, 2017 3:11 pm
Forum: Plugin Development Support
Topic: menus in CSGO
Replies: 11
Views: 158

Re: menus in CSGO

If you want to ask for user input you can also try out messages.dialog. I don't know if those classes are working in csgo. The last I checked, none of the Dialog (ESC) messages work in CS:GO. They have been adding support for other messages, like HudMsg, but I don't think any of the ESC messages ha...
by satoon101
Tue Jun 27, 2017 2:02 am
Forum: General Discussion
Topic: Menu not working
Replies: 3
Views: 69

Re: Menu not working

I imagine this is the reason the newest SP version doesn't load for you: https://forums.sourcepython.com/viewtopic.php?f=10&t=1519#p10527 As for the error you provided, I don't think it has anything to do with any update. It seems to me, from the exceptions you provided, that this line (line 189...
by satoon101
Sun Jun 25, 2017 2:33 pm
Forum: Plugin Releases
Topic: Dissolver v1.3
Replies: 19
Views: 1063

Re: Dissolver v1.2

Yep, I can replicate it now. So, it would seem to be a setup issue, not an issue with the plugin itself. Try setting the dissolver_delay to a lower value if you have deathmatch enabled. If this is for a plugin where there is no set time before the player is respawned (waves or left-click to respawn)...
by satoon101
Sun Jun 25, 2017 2:25 pm
Forum: Plugin Requests
Topic: [HL2:DM] Mini Scoreboard Always display
Replies: 16
Views: 527

Re: [HL2:DM] Mini Scoreboard Always display

Updated post above to include the timeleft.
by satoon101
Sun Jun 25, 2017 1:38 pm
Forum: Plugin Releases
Topic: Dissolver v1.3
Replies: 19
Views: 1063

Re: Dissolver v1.2

Hey, looks like something doesnt work right here. File "..\addons\source-python\plugins\dissolver\dissolver.py", line 115, in _dissolve_ragdoll entity = Entity(index_from_inthandle(inthandle)) OverflowError: can't convert negative value to unsigned int CS:S Windows I cannot seem to replic...
by satoon101
Wed Jun 21, 2017 1:46 pm
Forum: General Discussion
Topic: Python 3.6 support?
Replies: 13
Views: 488

Re: Python 3.6 support?

I think you are misinterpreting the text I quoted. The issue is that for Python 3.7 they removed that file. While our current version does say Python 3.6.1, I am fairly certain it contains the code in the Python master repository that was even committed after the 3.6.1 release. That is fine, as that...
by satoon101
Wed Jun 21, 2017 3:35 am
Forum: General Discussion
Topic: Python 3.6 support?
Replies: 13
Views: 488

Re: Python 3.6 support?

I just noticed the following in the upcoming Python 3.7 changes:
What's New In Python3.7 wrote:
  • A full copy of libffi is no longer bundled for use when building the _ctypes module on non-OSX UNIX platforms. An installed copy of libffi is now required when building _ctypes on such platforms.
by satoon101
Tue Jun 20, 2017 10:06 pm
Forum: General Discussion
Topic: Python 3.6 support?
Replies: 13
Views: 488

Re: Python 3.6 support?

You might need to yum or apt-get install libffi on your Linux system. Is that the entire traceback?
by satoon101
Mon Jun 19, 2017 11:25 pm
Forum: General Discussion
Topic: Python 3.6 support?
Replies: 13
Views: 488

Re: Python 3.6 support?

For those not following the repository on GitHub, SP now uses Python 3.6 (available starting with version 583)!
by satoon101
Mon Jun 19, 2017 6:56 pm
Forum: Plugin Releases
Topic: Dissolver v1.3
Replies: 19
Views: 1063

Re: Dissolver v1.2

@decompile - please replace line 115 with the following and post the output here (note that the 'try' should have 4 leading spaces...we really need to fix that issue on the forums): try: entity = Entity(index_from_inthandle(inthandle)) except OverflowError: print('Invalid int...
by satoon101
Mon Jun 19, 2017 5:52 pm
Forum: Plugin Releases
Topic: Dissolver v1.3
Replies: 19
Views: 1063

Re: Dissolver v1.2

Well, if I remember correctly, inthandles on Linux can be negative, so that wouldn't fix the issue. It seems more like it could be an issue with index_from_inthandle than specifically with this script, but I could be wrong.
by satoon101
Sat Jun 17, 2017 4:31 pm
Forum: Plugin Development Support
Topic: [CSGO] Ammo problem
Replies: 8
Views: 234

Re: [CSGO] Ammo problem

I found the fix, so I'm going to go through all the steps I used to help anyone that has similar issues in the future. Because give_named_item works properly while create does not, I figured it had to be another property that isn't set during create. So, to determine that, I used the following to ga...
by satoon101
Fri Jun 16, 2017 4:53 pm
Forum: Plugin Requests
Topic: [HL2:DM] Mini Scoreboard Always display
Replies: 16
Views: 527

Re: [HL2:DM] Mini Scoreboard Always display

VinciT wrote:I thought PlayerIter created new player objects every time it ran.

It does, but it's not like that takes a long time to do. I prefer to only create roundabout optimizations when it is absolutely necessary.
by satoon101
Fri Jun 16, 2017 2:58 pm
Forum: Plugin Requests
Topic: [HL2:DM] Mini Scoreboard Always display
Replies: 16
Views: 527

Re: [HL2:DM] Mini Scoreboard Always display

Painkiller wrote:At satoon101 The display blinked a bit and it only showed the player at the last place. Timeleft was not displayed.

I fixed those 2 issues in my plugin above. I honestly missed that the "timeleft" was a part of this request. I will look into that one after work tonight.
by satoon101
Fri Jun 16, 2017 12:06 am
Forum: Plugin Requests
Topic: [HL2:DM] Mapchooser Extended
Replies: 12
Views: 295

Re: [HL2:DM] Mapchooser Extended

Yes i have test for a long time thiswork not. What doesn't work about it? I see you haven't posted in that thread any issues you have had with it. Map voting is a pretty big task, and most people don't want to re-invent the wheel when a good one already exists. Also, since he has a repository for i...
by satoon101
Thu Jun 15, 2017 11:58 pm
Forum: Plugin Requests
Topic: [HL2:DM] Mini Scoreboard Always display
Replies: 16
Views: 527

Re: [HL2:DM] Mini Scoreboard Always display

I think that might work, but I really don't think you need to keep track of all the players like that. Retrieving the kills on the fly should work just fine. Maybe something like (untested): from time import time import colors from cvars import ConVar from filters.players import PlayerIter from list...
by satoon101
Tue Jun 13, 2017 7:43 pm
Forum: Plugin Development Support
Topic: A problem with "set_prop_int"
Replies: 2
Views: 110

Re: A problem with "set_prop_int"

Also, that property is already a part of our entity data: https://github.com/Source-Python-Dev-Team/Source.Python/blob/daf06d0532b2be2a2a57b292e18364baec988c10/addons/source-python/data/source-python/entities/CBasePlayer.ini#L23 And, the flags for that property are already stored in an Enum: https:/...
by satoon101
Sat May 27, 2017 11:06 pm
Forum: Plugin Releases
Topic: [ANY] Advertisement plugins
Replies: 9
Views: 322

Re: [ANY] Advertisement plugins

To add to that suggestion, maybe to help denote say vs hint (vs whatever else you might want to support), the strings in the advertisement_server.ini could utilize prefixes: [chat:1] en = "Advert 1." [chat:2] en = "Advert 2." [hint:1] en = "Advert 3." And maybe, instead...

Go to advanced search