Search found 542 matches

by BackRaw
Tue Aug 28, 2012 9:34 pm
Forum: General Discussion
Topic: Easy Way to port an existing Eventscripts Addon
Replies: 10
Views: 9429

I would love if you could port it... I really do love this addon... ///////////////////////////////////////////////////// //Ichthys Elimination Mod for Mattie's Eventscripts// //------------http://eventscripts.com--------------// ///////////////////////////////////////////////////// // \\ //About\\...
by BackRaw
Tue Aug 28, 2012 2:24 pm
Forum: Whatever
Topic: Forum: awards..
Replies: 4
Views: 5223

hahahahaha the forum does bad to me :(
by BackRaw
Tue Aug 28, 2012 2:27 am
Forum: Whatever
Topic: Forum: awards..
Replies: 4
Views: 5223

Forum: awards..

Hey,

I just got the "award" I killed most discussions!. Is this a bad or good thing? haha
by BackRaw
Fri Aug 24, 2012 10:11 pm
Forum: Plugin Development Support
Topic: Inherit from a C++ exposed class?
Replies: 2
Views: 3980

Well you could always just test it? If it doesnt work you could always do something like this: class MyPlayer(object): def __init__(self, *args): '''Called when a server-var is initilized.''' self.IPlayerInfo = blah def __getattr__(self, name): '&...
by BackRaw
Fri Aug 24, 2012 12:28 am
Forum: Plugin Development Support
Topic: Inherit from a C++ exposed class?
Replies: 2
Views: 3980

Inherit from a C++ exposed class?

Hi guys, Is there a way to inherit from a C++ exposed class in Python? Take this for example from Source import Player class _Player(Player.IPlayerInfo): # or something else, I can't get an overview of the C++ sources somehow.. def __init__(self, player_edict): Player.IPlayerInfo...
by BackRaw
Fri Aug 24, 2012 12:18 am
Forum: Plugin Development Support
Topic: Retreiving 'CBasePlayer.m_iFOV' ?
Replies: 21
Views: 19315

Basicly what i want to retrieve about a player is, is he zoomed in on sniper, is he crouching or is he in the air on css i used these to retrieve it :/ I guess your-name-here or some other C++ writer teamed up with him will be creating a playerlib-like library when all the other, more neccessary th...
by BackRaw
Thu Aug 23, 2012 3:32 pm
Forum: Plugin Releases
Topic: GSRPG (German Slaughterhouse RPG) [NOT RELEASED - COMING SOON]
Replies: 8
Views: 9893

Absolute wrote:Yes, but in a different Thread, so it wont make the server stop for 5 seconds.


Woaaahhh, goooood stuff! :D
by BackRaw
Wed Aug 22, 2012 8:46 pm
Forum: Plugin Releases
Topic: GSRPG (German Slaughterhouse RPG) [NOT RELEASED - COMING SOON]
Replies: 8
Views: 9893

Your code would be the same equilevent to: time.sleep(5) print('Hello World 36367376') your execution the run() event where it does code and not starting the timer, like this: x = threading.Timer(5.0, print, ("Hello", "World", 36367376)) x...
by BackRaw
Wed Aug 22, 2012 12:51 am
Forum: Plugin Releases
Topic: GSRPG (German Slaughterhouse RPG) [NOT RELEASED - COMING SOON]
Replies: 8
Views: 9893

The functionality that you need from gamethread is to "jump back" to the thread, alas execute something on the next tick. Because as for some commands, it's not safe to execute them at any time (server will crash). Also with timer (I think it's a thread with a sleep actually, correct me if I am wro...
by BackRaw
Tue Aug 21, 2012 9:23 am
Forum: Plugin Releases
Topic: GSRPG (German Slaughterhouse RPG) [NOT RELEASED - COMING SOON]
Replies: 8
Views: 9893

First of all, nice idea! I got something for you for the gamethread stuff, which is better than the ES gamethread imo: from threading import Timer x = Timer(5.0, print, ("Hello", "World", 36367376)) x.run() I guess we can make something out of this for SP.
by BackRaw
Mon Aug 20, 2012 9:29 pm
Forum: Plugin Development Support
Topic: Read messages while flashed
Replies: 2
Views: 4204

Read messages while flashed

Hi,

would it be possible to send a hudhint or whatever message to a player they can still see after they've been flashed by the script?
by BackRaw
Mon Aug 20, 2012 9:14 pm
Forum: General Discussion
Topic: Playerlib
Replies: 4
Views: 5062

Monday wrote:We have a Player class, but you cannot set any of those items with it yet. (It's still a work in progress)


Will the methods be written in C++ directly? I hope so... :D
by BackRaw
Sun Aug 19, 2012 6:00 pm
Forum: News & Announcements
Topic: Alpha build posted (for real this time)..
Replies: 8
Views: 9537

satoon101 wrote: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


OMG sorry it's my fault... He said generators, not decorators... sorry about that :)
by BackRaw
Sun Aug 19, 2012 5:16 pm
Forum: General Discussion
Topic: sp_load problem
Replies: 11
Views: 9293

LR1 wrote:Yeah but i think if the beta ends you cannot load plugins in secure mode. (like in css)


but they reactivated the css-beta, so why won't they do that with cs:go? ;)
by BackRaw
Sun Aug 19, 2012 5:14 pm
Forum: News & Announcements
Topic: Alpha build posted (for real this time)..
Replies: 8
Views: 9537



You don't get what I'm talking about... your-name-here says there are Player and Entity decorators but you don't decorate a script using the word Player or Entity, do you?
by BackRaw
Sun Aug 19, 2012 2:42 am
Forum: News & Announcements
Topic: Alpha build posted (for real this time)..
Replies: 8
Views: 9537

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 BackRaw
Sun Aug 19, 2012 1:56 am
Forum: News & Announcements
Topic: Alpha build posted (for real this time)..
Replies: 8
Views: 9537

I've posted an alpha build of Source.Python containing our latest changes. What's changed : ⋅ We've exposed the IEffects interface (which is in the Misc). ⋅ We've exposed the Vector class along with assorted methods. ⋅ Added the ServerVar library. ⋅ Added the...
by BackRaw
Sat Aug 18, 2012 4:47 pm
Forum: General Discussion
Topic: sp_load problem
Replies: 11
Views: 9293

If you ask me, I'm not sure... but since this is a Valve Server Plugin, it's always better to install it to a (LAN) server.
by BackRaw
Sat Aug 18, 2012 8:57 am
Forum: Plugin Development Support
Topic: Best way to retrieve steamid / gametag?
Replies: 7
Views: 7823

Tuck wrote:Oh damn i feel stupid the PlayerOfUserid method (think i read about it yesterday) forgot all about that xD

Thanks a bunch :) was just what i was looking for :)


Don't feel stupid^^ feel..... surprised that this works ;)
by BackRaw
Fri Aug 17, 2012 5:49 pm
Forum: API Design
Topic: How about es.fire/es.give ?
Replies: 14
Views: 15465

I know one thing we have discussed is making sp.give (or whatever it ends up being) return an index for the item it created. We have also talked about adding sp.fire (or something) but I don't know if either one has been done yet. (Been sick for a few days :( ) Alright cool, yeah returning somethin...

Go to advanced search