Search found 1776 matches

by satoon101
Wed Aug 29, 2012 1:13 pm
Forum: API Design
Topic: How about es.fire/es.give ?
Replies: 14
Views: 15540

I think we plan on having dynamic function calling, like SPE, so "give" will probably be GiveNamedItem.

Satoon
by satoon101
Wed Aug 29, 2012 1:11 pm
Forum: General Discussion
Topic: paths.py and players/__init__.py contain failure code !
Replies: 4
Views: 4716

Ummm, we added the "path" module the other day, so those are actually correct, as we don't use os.path to join anymore.

Satoon
by satoon101
Wed Aug 29, 2012 3:12 am
Forum: Whatever
Topic: What I learned with CS:GO server's
Replies: 15
Views: 14428

Just a heads up, but apparently they are changing the system a bit. Not too sure exactly what all will be changing, but I just hope they make it a lot easier for server operators to use. I am no longer subscribed to the mailing list, so I do not have access to all the goings-on mentioned during this...
by satoon101
Wed Aug 29, 2012 1:08 am
Forum: General Discussion
Topic: SP doesn't include "time" Python module?
Replies: 5
Views: 5436

Hmmm, must be a Linux issue. We'll have to look into it.

Satoon
by satoon101
Wed Aug 29, 2012 12:58 am
Forum: General Discussion
Topic: SP doesn't include "time" Python module?
Replies: 5
Views: 5436

Strange... Works for me... Maybe try re-uploading your engines folder.

Satoon
by satoon101
Tue Aug 28, 2012 3:58 pm
Forum: Plugin Releases
Topic: Spawnprotection
Replies: 18
Views: 17564

I think he was more showing how you would need to add the EasyPlayer import than just giving a whole script. You would also need to import Timer and Event, which are already included in the script itself.

Satoon
by satoon101
Tue Aug 28, 2012 3:40 pm
Forum: Plugin Releases
Topic: Spawnprotection
Replies: 18
Views: 17564

It was committed yesterday, but is not included in the latest download.

Satoon
by satoon101
Tue Aug 28, 2012 2:05 pm
Forum: Plugin Development Support
Topic: Basic script help
Replies: 22
Views: 19765

This plugin will not be designed to do ultra hand-holding like ES did. Some things will become easier, others will be a little harder, plus we plan to add extended functionality that was never available in ES. The only thing "harder" about the above script than the ES version is that you have to get...
by satoon101
Tue Aug 28, 2012 2:00 pm
Forum: General Discussion
Topic: A Hooks Library?
Replies: 5
Views: 6165

This seems very silly to me. What exactly would be the point of including this? Maybe your example is confusing me, but it seems pointless. Also, 2 things with your first bit of code. First, in future versions (committed changes last night), it will be:[python]from events import Event[/python] Secon...
by satoon101
Tue Aug 28, 2012 12:44 am
Forum: Whatever
Topic: Bots spawning together
Replies: 2
Views: 3747

How many players are spawning at the same time? I would imagine it "could" be because there are not enough spawn points.

Satoon
by satoon101
Mon Aug 27, 2012 8:55 pm
Forum: Plugin Development Support
Topic: Basic script help
Replies: 22
Views: 19765

Ahh, oops, good catch. I do use "player" to get the index. I accidentally used "userid" in the Echo line, instead of the "index". Due to the fact that Recipient Filters use indexes, you need to pass either a player index, a list of player indexes, or a proper PlayerIter filter to the messaging syste...
by satoon101
Sun Aug 26, 2012 11:38 pm
Forum: General Discussion
Topic: DumpServerClasses output
Replies: 7
Views: 9637

DumpServerClasses output

I thought I would sticky a thread here with the output of Entity.DumpServerClasses() so that everyone would have quick access to it. I will try my best to keep it updated, and add new games once we start supporting them.

Satoon
by satoon101
Sun Aug 26, 2012 9:12 pm
Forum: Plugin Releases
Topic: Spawnprotection
Replies: 18
Views: 17564

Nice script! You can steal all the formatting you want from me, I encourage it. One pointer, though, for the script. Since you use player_spawn, you should only give spawn protection to the player that spawned. If you only want to give beginning of round spawn protection, you should use round_freeze...
by satoon101
Sun Aug 26, 2012 7:59 pm
Forum: Plugin Development Support
Topic: Delays
Replies: 8
Views: 7958

Well: ("CBaseAnimating.m_nHitboxSet") This is not a tuple: >>> type(("CBaseAnimating.m_nHitboxSet")) <class 'str'> >>> type(("CBaseAnimating.m_nHitboxSet", )) <class 'tuple'> So, you are basically passing a string,...
by satoon101
Sun Aug 26, 2012 7:28 pm
Forum: Plugin Development Support
Topic: Delays
Replies: 8
Views: 7958

You are executing the code directly instead of passing arguments. Instead of: prot_delay = Timer(10.0, entity.SetPropInt("CBaseAnimating.m_nHitboxSet", 0)) Use: prot_delay = Timer(10.0, entity.SetPropInt, ("CBaseAnimating.m_nHitboxSet", 0)) Satoon
by satoon101
Sun Aug 26, 2012 6:04 pm
Forum: Plugin Development Support
Topic: Basic script help
Replies: 22
Views: 19765

Yes, agreed, we do need to add a syntax button. There are other issues with the syntax blocks that need investigated as well. For now, though, to use Python syntax blocks, just use [python][/python]

Satoon
by satoon101
Sun Aug 26, 2012 11:58 am
Forum: Plugin Development Support
Topic: Basic script help
Replies: 22
Views: 19765

Strange that you used PHP syntax highlighting instead of Python, but in SP, it would look like: from Source import Player from Source import Engine from events.decorator import Event from messages import Echo @Event def player_activate(GameEvent): userid = GameEvent.GetInt('userid...
by satoon101
Fri Aug 24, 2012 12:52 am
Forum: General Discussion
Topic: Source Python no longer working?
Replies: 6
Views: 6803

Is this on a Windows or Linux server? It still works fine, even after today's update, on my Windows server.

Satoon
by satoon101
Fri Aug 24, 2012 12:17 am
Forum: Whatever
Topic: I saw this...
Replies: 1
Views: 3386

They won't be directly portable. You will need to update the scripts to use our API. There are still quite a few things you cannot do with this plugin. It is a work in progress, and we will be adding more as we go along. Everything you could do with ES you will be able to do with Source.Python. Satoon
by satoon101
Wed Aug 22, 2012 2:24 pm
Forum: General Discussion
Topic: The "path" module
Replies: 0
Views: 3832

The "path" module

Just wanted to throw out a quick update that I just added a Python3 version of the "path" module. I already fixed one issue with it (isdir), but there definitely could be more. If you find any issues when using it, please post here and we will get it fixed as quickly as possible.

Satoon

Go to advanced search