Search found 1776 matches

by satoon101
Thu May 18, 2023 6:53 pm
Forum: Plugin Requests
Topic: Bots/AI to shooting each other when ffa is on
Replies: 2
Views: 14993

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 # ====================================================================...
by satoon101
Tue May 16, 2023 11:11 pm
Forum: Plugin Requests
Topic: free for all
Replies: 4
Views: 16414

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 # ====================================================...
by satoon101
Tue May 16, 2023 5:39 pm
Forum: Plugin Requests
Topic: free for all
Replies: 4
Views: 16414

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
by satoon101
Mon Apr 24, 2023 11:20 pm
Forum: Plugin Development Support
Topic: [CS:S/CS:GO] FTPLIB
Replies: 2
Views: 9597

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.
by satoon101
Tue Mar 21, 2023 5:56 pm
Forum: Plugin Development Support
Topic: [Cs:s] SpawnPoints
Replies: 7
Views: 10783

Re: [Cs:s] SpawnPoints

Your ini file above used tx not just x.
by satoon101
Mon Mar 20, 2023 5:31 pm
Forum: Plugin Development Support
Topic: [Cs:s] SpawnPoints
Replies: 7
Views: 10783

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...
by satoon101
Mon Dec 05, 2022 5:56 pm
Forum: Plugin Development Support
Topic: [CS:S] how to set team score properly?
Replies: 3
Views: 2614

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...
by satoon101
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: 5410

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.
by satoon101
Tue Jun 14, 2022 4:03 pm
Forum: Plugin Development Support
Topic: [Cs:s] Insta Bomb Defuse
Replies: 2
Views: 2783

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...
by satoon101
Fri Feb 18, 2022 11:56 pm
Forum: Plugin Development Support
Topic: [HL2:DM] Entity View
Replies: 3
Views: 3141

Re: [HL2:DM] Entity View

I'm not sure what to tell you. It works perfectly fine when I test it.
by satoon101
Sat Feb 12, 2022 12:08 am
Forum: Plugin Requests
Topic: HL2:DM BotChat
Replies: 3
Views: 3192

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.
by satoon101
Mon Jan 24, 2022 11:02 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21490

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.
by satoon101
Mon Jan 24, 2022 6:47 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21490

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.
by satoon101
Sat Jan 22, 2022 1:23 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21490

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.
by satoon101
Sat Dec 11, 2021 2:14 pm
Forum: Plugin Development Support
Topic: Creating a BeamRingPoint?
Replies: 4
Views: 5078

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...
by satoon101
Sat Dec 11, 2021 1:58 pm
Forum: Plugin Requests
Topic: HL2:DM SNOW
Replies: 7
Views: 4626

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.
by satoon101
Sat Dec 11, 2021 1:56 pm
Forum: Plugin Development Support
Topic: Creating a BeamRingPoint?
Replies: 4
Views: 5078

Re: Creating a BeamRingPoint?

What is player.position? I think I remember having to increment the z value of the player's origin with BeamRingPoint, otherwise the effect was in the ground.

Syntax: Select all

center = player.origin
center.z += 10
te.center = center
by satoon101
Fri Dec 10, 2021 11:09 pm
Forum: Plugin Requests
Topic: HL2:DM SNOW
Replies: 7
Views: 4626

Re: HL2:DM SNOW

Not that this can't be done, but I am certain there was already a thread on here where it was tried previously and we ran into issues. Just search for "snow" and I'm sure you'll find it.
by satoon101
Tue Nov 09, 2021 7:07 pm
Forum: Plugin Requests
Topic: HL2DM-scoreboard and stats
Replies: 39
Views: 59098

Re: HL2DM-scoreboard and stats

Change '%a, %m.%y. %H:%M:%S' to '%a, %m.%y. %I:%M:%S%p'

If you don't want the AM/PM, remove the %p at the end.

For reference: https://docs.python.org/3/library/time. ... e.strftime

Go to advanced search