Search found 1803 matches

by satoon101
Mon Dec 10, 2012 11:14 pm
Forum: General Discussion
Topic: Wiki
Replies: 4
Views: 9823

Hi! Yes, the wiki is empty and I'm searching for basic commands and import's.... Like chat or Hp or..... Again, unfortunately, our web designer has been extremely busy lately, and unable to re-implement what we already had in the wiki. Hopefully he gets a chance fairly soon. If you have specific qu...
by satoon101
Sun Dec 09, 2012 9:45 pm
Forum: Plugin Development Support
Topic: Damaging player via point_hurt
Replies: 6
Views: 12510

"Damage", itself, is not a "feature" that can be implemented. I have not had a chance to look into the best way to accomplish this, as of yet. There is no ETA on "any" features/abilities of this plugin. Things get done when they get done. And no, the ability to damage a player is definitely not "eas...
by satoon101
Sun Dec 09, 2012 9:41 pm
Forum: Plugin Development Support
Topic: edict_t.GetKeyValue() problem
Replies: 6
Views: 11702

You would think that the value "should" be 1.0, but it isn't. That is not the fault of the plugin, however, as that will be the same value no matter what plugin you are using. It is simply the value Valve sets it to. On another note, if you set a player's gravity to 0.0 after having changed it to an...
by satoon101
Wed Dec 05, 2012 2:36 pm
Forum: General Discussion
Topic: Download brokan
Replies: 3
Views: 10701

The downloads page was never fully completed anyway. Our web hotshot has been pretty busy lately, and has not had time to reimplement everything that we lost before the site went down last month. Hopefully he can get some time fairly soon to do that and continue working on implementing the rest of t...
by satoon101
Wed Dec 05, 2012 4:23 am
Forum: Plugin Development Support
Topic: Players transparency
Replies: 12
Views: 31503

The issue with that is that if you need them multiple times, you end up wasting the time to retrieve them. If you are not worried about any minimal speed difference, then I really don't see what the issue would be with storing those values on instanciation. Also, we require the index to get an insta...
by satoon101
Wed Dec 05, 2012 4:15 am
Forum: Plugin Development Support
Topic: Players transparency
Replies: 12
Views: 31503

I have tried a few changes to get this working, but no matter what I try, I cannot seem to get the alpha value to matter. I will continue to research this myself, but if someone figures it out, please post here so we all know.

Satoon
by satoon101
Wed Dec 05, 2012 4:12 am
Forum: Plugin Development Support
Topic: Players transparency
Replies: 12
Views: 31503

I hope you realize that PlayerEntity is essentially the same thing as your player class. Instead of "entity", we use "edict", since it is the player's edict. Also, in __getattr__, we utilize both the edict and IPlayerInfo instances to see if the attribute is a method of either of...
by satoon101
Tue Dec 04, 2012 11:06 pm
Forum: Plugin Development Support
Topic: Players transparency
Replies: 12
Views: 31503

You can try with the BaseEntity property "color". I haven't figured out why it isn't working, yet, as I haven't had a lot of time to work on it. from events import Event from filters.players import PlayerIter from players.entity import PlayerEntity @Event def player_say(GameEvent):...
by satoon101
Tue Dec 04, 2012 7:23 pm
Forum: Plugin Development Support
Topic: UserMessage Menu
Replies: 15
Views: 43345

Once we get dynamic function hooking, we can try to see if we can hook the slotx commands. I would also love to find a "proper" way to close menus, which used to be possible before the OrangeBox update in ES' popuplib.

Satoon
by satoon101
Tue Dec 04, 2012 7:21 pm
Forum: Plugin Development Support
Topic: UserMessage Menu
Replies: 15
Views: 43345

It works with 0 if you bind your 0 key to "menuselect 0"... Otherwise, it doesn't seem to work properly.

Satoon
by satoon101
Tue Dec 04, 2012 4:59 pm
Forum: General Discussion
Topic: Command crashes with object methods.
Replies: 3
Views: 9215

Nevermind what I said, I got it to work just fine. The latest update works for the following: from commands.server import ServerCommand from commands.client import ClientCommand @ClientCommand('jointeam') def jointeam_hook(entity, command): print('JOIN TEAM!!!'...
by satoon101
Tue Dec 04, 2012 3:05 pm
Forum: General Discussion
Topic: Performace like ES2 or SourcePawn
Replies: 5
Views: 13849

Since the plugin is still in development, and many things still need to be added to both the C++ side and Python side, it would be almost pointless to have a highlighter. For now, simply use the Python highlighter, as it should suffice. If someone wants to make a basic highlighter, we can try to kee...
by satoon101
Sun Dec 02, 2012 1:52 pm
Forum: Code examples / Cookbook
Topic: Stripping weapons
Replies: 45
Views: 405292

Yeah, sorry, just threw that example together real quick last night. Fixed in post above.

Satoon
by satoon101
Sun Dec 02, 2012 2:47 am
Forum: Plugin Development Support
Topic: dyncall question
Replies: 3
Views: 8458

Yes, it most certainly is. I certainly cannot wait until they are implemented as well as getting/setting offsets directly.

Satoon
by satoon101
Sun Dec 02, 2012 2:25 am
Forum: Plugin Development Support
Topic: dyncall question
Replies: 3
Views: 8458

In order to stop players from picking weapons up, we need Dynamic Function "Hooking", which is not implemented, yet. The arguments you need to pass are just like in this example: http://www.sourcepython.com/showthread.php?205-Stripping-weapons&p=980&viewfull=1#post980 Using a PlayerEntity (or BaseEn...
by satoon101
Sun Dec 02, 2012 1:36 am
Forum: General Discussion
Topic: Player of edict_t instance?
Replies: 1
Views: 5622

You actually just help me realize there was a bug in my players.helpers module. Once I fix that, you should be able to use:

Syntax: Select all

from players.helpers import playerinfo_from_edict

player = playerinfo_from_edict(edict)
Not sure why you think that seems "messy", though...

Satoon
by satoon101
Sun Dec 02, 2012 1:28 am
Forum: Code examples / Cookbook
Topic: Stripping weapons
Replies: 45
Views: 405292

GiveNamedItem is already implemented. The post that I created about that has obviously disappeared, since the site went down. It went something like this: ⋅ Using Binutils directly: from os import name as os_name from Source import Binutils from events import Event from players.helpers imp...
by satoon101
Sun Dec 02, 2012 1:03 am
Forum: General Discussion
Topic: Command crashes with object methods.
Replies: 3
Views: 9215

I have actually (locally) rewritten the Python API for command registration. To enable auto returning CONTINUE, I use a method of the instanciating class to call the actual registered callback. Currently, though, it actually calls the unregister method. I think there is something a bit off about the...
by satoon101
Sun Dec 02, 2012 12:59 am
Forum: News & Announcements
Topic: Messaging system changes
Replies: 19
Views: 75148

Just like the actual name used by the engine, it's HintText. For CS:GO, HintText and KeyHintText are the exact same thing. In OrangeBox games, the KeyHintText is on the right side of the screen.

Satoon
by satoon101
Sat Dec 01, 2012 1:40 am
Forum: News & Announcements
Topic: Messaging system changes
Replies: 19
Views: 75148

To be more help, you really need to think of these messages as "objects". A SayText2 instance has 4 attributes, of which, currently you only need to worry about 3: from messages import SayText2 # Let's create a message that uses -1 for the index, and will be sent to dead terrorists # I...

Go to advanced search