Search found 1779 matches
- Sun Apr 20, 2025 2:12 pm
- Forum: News & Announcements
- Topic: Python 3.13, site packages and other updates
- Replies: 2
- Views: 820
Re: Python 3.13, site packages and other updates
Awesome job!! Thank you for all the hard work!!
- Sun Nov 24, 2024 2:23 am
- Forum: Whatever
- Topic: Eventscripts Broke
- Replies: 15
- Views: 724633
Re: Eventscripts Broke
Very few people had access to the source code for EventScripts. I doubt anyone but Mattie would still have it and be able to compile a new version. And, as far as I understand , he's absolutely not supporting it anymore, so I wouldn't hold my breath that he would build a new version. Did SP also bre...
- Thu May 30, 2024 10:42 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Scope Detecting
- Replies: 7
- Views: 105050
Re: [CS:S] Scope Detecting
Are you sure m_bIsScoped exists?
CS:S Datamaps
CS:S Server Classes
* Edit: looks like it exists for CS:GO:
CS:GO Server Classes
But it doesn't exist in CS:S, so you'll have to find another way.
CS:S Datamaps
CS:S Server Classes
* Edit: looks like it exists for CS:GO:
CS:GO Server Classes
But it doesn't exist in CS:S, so you'll have to find another way.
- Thu May 18, 2023 6:53 pm
- Forum: Plugin Requests
- Topic: Bots/AI to shooting each other when ffa is on
- Replies: 2
- Views: 55697
Re: Bots/AI to shooting each other when ffa is on
All credit goes to L'In20Cible who created this back in the EventScripts days. This is a slightly modified version of GunGame-FFA-Bots . # ============================================================================= # >> IMPORTS # ====================================================================...
- Tue May 16, 2023 11:11 pm
- Forum: Plugin Requests
- Topic: free for all
- Replies: 4
- Views: 61313
Re: free for all
Sorry, it was more for if someone wanted to write it up for you really quick, since I did not have the time. But, I have a few minutes now, so try this: # ============================================================================= # >> IMPORTS # ====================================================...
- Tue May 16, 2023 5:39 pm
- Forum: Plugin Requests
- Topic: free for all
- Replies: 4
- Views: 61313
Re: free for all
I don't have much time right now, but all you would need to do is remove the GunGame specific code from GG-FFA:
https://github.com/GunGame-Dev-Team/Gun ... /gg_ffa.py
https://github.com/GunGame-Dev-Team/Gun ... /gg_ffa.py
- Mon Apr 24, 2023 11:20 pm
- Forum: Plugin Development Support
- Topic: [CS:S/CS:GO] FTPLIB
- Replies: 2
- Views: 50603
Re: [CS:S/CS:GO] FTPLIB
If I am reading this correctly, I think both strings of {file} should be {maps} because file is an open file object.
- Tue Mar 21, 2023 5:56 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] SpawnPoints
- Replies: 7
- Views: 66848
Re: [Cs:s] SpawnPoints
Your ini file above used tx not just x.
- Mon Mar 20, 2023 5:31 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] SpawnPoints
- Replies: 7
- Views: 66848
Re: [Cs:s] SpawnPoints
First, map is a built-in function in Python, so I would avoid using it as a variable name. The issue is that you are looping through all of the keys in maps_path , which from your example is just "maps", and then trying to get maps_path['maps'][ i] where [ i] is "maps". So litera...
- Mon Dec 05, 2022 5:56 pm
- Forum: Plugin Development Support
- Topic: [CS:S] how to set team score properly?
- Replies: 3
- Views: 13443
Re: [CS:S] how to set team score properly?
Yes, those properties are for retrieving and setting data. What I did with GG-Scoreboard was stored the values in a dictionary and set the team scores on both round_start and round_end. https://github.com/satoon101/GunGame-Scoreboard/blob/master/addons/source-python/plugins/gungame/plugins/custom/gg...
- Mon Sep 12, 2022 11:42 pm
- Forum: General Discussion
- Topic: Python 3.6 has reached it's EOL. Any plans to shift to any recent version?
- Replies: 6
- Views: 31870
Re: Python 3.6 has reached it's EOL. Any plans to shift to any recent version?
Python 3.11 is supposed to have a significant speed improvement, but I don't know how much that would affect SP.
- Tue Jun 14, 2022 4:03 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Insta Bomb Defuse
- Replies: 2
- Views: 12601
Re: [Cs:s] Insta Bomb Defuse
You might have to delay it 1 tick instead of doing it directly in the event: from events import Event from entities.entity import Entity from listeners.tick import Delay @Event('bomb_begindefuse') def bomb_begindefuse(game_event): Delay(0, defuse_bomb) def defuse_bomb...
- Tue Feb 22, 2022 9:12 pm
- Forum: API Design
- Topic: Where is the source code ?
- Replies: 6
- Views: 221349
Re: Where is the source code ?
https://github.com/Source-Python-Dev-Te ... aster/src/
You can also check out the wiki:
http://wiki.sourcepython.com/
You can also check out the wiki:
http://wiki.sourcepython.com/
- Fri Feb 18, 2022 11:56 pm
- Forum: Plugin Development Support
- Topic: [HL2:DM] Entity View
- Replies: 3
- Views: 13459
Re: [HL2:DM] Entity View
I'm not sure what to tell you. It works perfectly fine when I test it.
- Sat Feb 12, 2022 12:08 am
- Forum: Plugin Requests
- Topic: HL2:DM BotChat
- Replies: 3
- Views: 13130
Re: HL2:DM BotChat
Unless I am missing something, there are no sounds with this addon. Rewriting it in SP shouldn't be too difficult, though I would definitely reformat the replies db file, probably to json format. I am a little busy this weekend, but if no one else does this, I might give it a go next week.
- Mon Jan 24, 2022 11:02 pm
- Forum: Plugin Development Support
- Topic: configobj.ConfigObjError
- Replies: 21
- Views: 68783
Re: configobj.ConfigObjError
Ok, so the issue is in the ../addons/source-python/data/plugins/lms/database.ini file on the server. Specifically on line #9 in that file.
- Mon Jan 24, 2022 6:47 pm
- Forum: Plugin Development Support
- Topic: configobj.ConfigObjError
- Replies: 21
- Views: 68783
Re: configobj.ConfigObjError
No, the issue has nothing to do with the info.ini file. In the lms.py file, there is likely a line that starts with db_path =
Could you post that line here so we can see which file is causing this error.
Could you post that line here so we can see which file is causing this error.
- Sat Jan 22, 2022 1:23 pm
- Forum: Plugin Development Support
- Topic: configobj.ConfigObjError
- Replies: 21
- Views: 68783
Re: configobj.ConfigObjError
It wouldn't be line 9 of the config.py file. There is a .ini file somewhere that it's reading where line 9 isn't valid. In your lms.py file, what is db_path set to? That path is the location of the .ini file that is causing the error.
- Sat Dec 11, 2021 2:14 pm
- Forum: Plugin Development Support
- Topic: Creating a BeamRingPoint?
- Replies: 4
- Views: 23530
Re: Creating a BeamRingPoint?
I tested your code using my suggestion, but also just using player.origin instead of player.position , and both worked fine. I did have to use a different sprite, though (I used sprites/laser.vmt , since sprites/lghtning.vmt did not work on either of my tests). What game are you testing this on? I a...
- Sat Dec 11, 2021 1:58 pm
- Forum: Plugin Requests
- Topic: HL2:DM SNOW
- Replies: 7
- Views: 20328
Re: HL2:DM SNOW
I was going to take a look at that script and see if I could adapt it for SP, but it says I don't have access.