Search found 1776 matches

by satoon101
Tue Aug 21, 2012 4:46 am
Forum: Plugin Development Support
Topic: Read messages while flashed
Replies: 2
Views: 4204

Well, since we cannot test flashing a player within a script, currently, you could test with an actual flashbang. Also, are you talking about a flash from a flashbang, or possibly a Fade usermessage? You would need to test this yourself to find out the result. I would imagine that a flash from a fla...
by satoon101
Tue Aug 21, 2012 4:41 am
Forum: Plugin Development Support
Topic: Threading, in addons
Replies: 9
Views: 9119

Unloading a script unloads all modules within the scripts structure as well. We have designed Source.Python that way for a reason. This allows scripts (and their modules) to be updated, and when re-loaded, update properly by being re-imported. I guess overall, I am not really sure why you are using ...
by satoon101
Sun Aug 19, 2012 5:48 pm
Forum: Plugin Development Support
Topic: importing another .py file from same folder?
Replies: 12
Views: 11088

The addon's namespace is not one that can, by default, be imported directly from. You need to use:[python]from <addon> import sql[/python]Satoon
by satoon101
Sun Aug 19, 2012 5:34 pm
Forum: Plugin Development Support
Topic: importing another .py file from same folder?
Replies: 12
Views: 11088

What exactly are you trying to do? A lot more info would help us understand your specific issue. And, you do not need __init__.py files for Python3.3.

Satoon
by satoon101
Sun Aug 19, 2012 5:18 pm
Forum: News & Announcements
Topic: Alpha build posted (for real this time)..
Replies: 8
Views: 9535

Where did he say "decorator"? And no, I honestly have no idea what you are talking about. Each uses a "generator" that iterates over the players/entities instead of returning a list.

Satoon
by satoon101
Sun Aug 19, 2012 3:28 pm
Forum: General Discussion
Topic: sp_load problem
Replies: 11
Views: 9293

It loads fine on my client, but it doesn't seem to actually "do" anything. I can load a script, and the __pycache__ folder is created for that script, but the effects of the script do not show on the client.

Satoon
by satoon101
Sun Aug 19, 2012 12:40 pm
Forum: News & Announcements
Topic: IEffects library now available!!!
Replies: 18
Views: 18142

I have been having 1 issue with it, but I cannot figure out what is causing it. If "I" kill someone, the beam does not show, but if anyone else gets a kill, it shows. This is tested with just me vs bots, not sure if that has anything to do with it either.

Satoon
by satoon101
Sun Aug 19, 2012 2:21 am
Forum: News & Announcements
Topic: Alpha build posted (for real this time)..
Replies: 8
Views: 9535

from Source import Player from Source import Entity from Source import Engine for player in Player.Players(): print(player.GetName()) print(player.GetNetworkIDString()) for entity in Entity.Entities('weapon_'): print(entity.GetClassName...
by satoon101
Sun Aug 19, 2012 2:12 am
Forum: General Discussion
Topic: Release threads for upcoming addons?
Replies: 1
Views: 3507

Certainly, you can do that. The first addon uploaded doesn't even work anymore, and it is still listed. Until we actually have an Addon Manager, creating a thread about it, then updating the thread once you have a release is perfectly fine.

Satoon
by satoon101
Sun Aug 19, 2012 12:33 am
Forum: News & Announcements
Topic: IEffects library now available!!!
Replies: 18
Views: 18142

DreTaX14 wrote:Do you have that sprite file?
You do not need that specific sprite on the server. It is located, for clients, in their pak01_dir.vpk file, if you wish to reference it.

Satoon
by satoon101
Sat Aug 18, 2012 12:35 am
Forum: Plugin Releases
Topic: MostDamage v1.3
Replies: 23
Views: 28033

One thing to note is that if you get an achievement at the end of a round, you will not see the message, as the achievement will be sent over top of it. I wanted to use a different location for the message, but unfortunately, KeyHintText is the exact same as HintText right now in CS:GO... Also, this...
by satoon101
Fri Aug 17, 2012 10:43 am
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 189331

Are you certain? Mine created the __pycache__ folder. You do not need to run the setup.py at all. Ok, try this. Copy the pep8.py (and only that one file) to your C:\Python32\Lib\site-packages\ folder. Then, in IDLE, use import pep8 and that will definitely create the __pycache__ folder inside the si...
by satoon101
Fri Aug 17, 2012 10:38 am
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 189331

I personally think mine looks cleaner. I also do not like the separation without a comment explaining the separation.

Satoon
by satoon101
Fri Aug 17, 2012 10:36 am
Forum: Whatever
Topic: Effect Lib
Replies: 3
Views: 5287

Yes, you can certainly use it: http://www.sourcepython.com/forums/showthread.php?91-IEffects-library-now-available !!! Look at my example script in that thread. Also, the arguments for each is listed in order (with the type that each value needs to be passed) at the top of that thread. Satoon
by satoon101
Fri Aug 17, 2012 2:04 am
Forum: General Discussion
Topic: Can we get permission to comment on news?
Replies: 2
Views: 3730

We'll have to discuss this internally. For now, you can obviously just make a new thread about it.

Satoon
by satoon101
Fri Aug 17, 2012 12:27 am
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 189331

Hhhmmm... I find these ones veeeeeeeeery ugly: # Python Imports # OS from os.path import dirname from os.path import join # Source.Python Imports ... Why not just leave it to that? # Python Imports from os.path import dirname from os.path import join # Source.Python Imports ... Looks easier to read...
by satoon101
Fri Aug 17, 2012 12:22 am
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 189331

Quick question i've tried a half hour now to get the syntax checker for PEP8 to work but, can't seem to figure it out >_> http://pypi.python.org/pypi/pep8/#downloads downloaded it and unpacked dont know where to execute the commands tried to run the pep8.py from the dir but in idle it errors with T...
by satoon101
Thu Aug 16, 2012 5:52 am
Forum: News & Announcements
Topic: IEffects library now available!!!
Replies: 18
Views: 18142

IEffects library now available!!!

Development on the plugin is going strong. We now have the ability to use the IEffects class: ⋅ Beam: ⋅ Start (Vector) ⋅ End (Vector) ⋅ nModelIndex (index - use GameEngine.PrecacheModel) ⋅ mHaloIndex (index - use GameEngine.PrecacheModel) ⋅ ...
by satoon101
Wed Aug 15, 2012 3:55 pm
Forum: Whatever
Topic: cs:go weapon list of all the weapon names in the game?
Replies: 12
Views: 13114

I updated my previous post, probably after you already read it. Yes, knifegg is the golden knife that you get on the last level of Arsenal: ArmsRace (GunGame DeathMatch).

Satoon

Go to advanced search