Search found 80 matches

by Monday
Mon Sep 03, 2012 5:37 am
Forum: Whatever
Topic: Custom Maps with CS:GO
Replies: 11
Views: 12283

Woody, not only do you have to add a map to a maplist, you have to add the map itself under the "maps" section.
by Monday
Sun Sep 02, 2012 8:44 am
Forum: Plugin Development Support
Topic: Retreiving 'CBasePlayer.m_iFOV' ?
Replies: 21
Views: 19315

I'm not really that much into the player flags why i was asking, I haven't messed around with python's & but the code example i wrote should work ? I am not going to test your code for you. Please test your own code before posting here. Forum Rules If your code has a problem, then come back... But ...
by Monday
Sun Sep 02, 2012 8:42 am
Forum: Plugin Development Support
Topic: Rules of this forum **READ BEFORE POSTING**
Replies: 0
Views: 43510

Rules of this forum **READ BEFORE POSTING**

If you do not follow these rules, you may find your thread deleted or closed. Please follow the rules! ⋅ Search before posting a question! ⋅ Please make sure you test your code before posting about it! If you ask a question about untested code your post/thread may be deleted or ...
by Monday
Sun Sep 02, 2012 8:15 am
Forum: Plugin Development Support
Topic: Retreiving 'CBasePlayer.m_iFOV' ?
Replies: 21
Views: 19315

Tuck wrote:i dont see the difference of using "EasyPlayer or EdictofPlayer" ?

i was asking if it would return the same as it would in es since idk if es gets it as a string to then look into the flags and see if player is in the air or on ground ? :)


Have you tried testing?
by Monday
Sun Sep 02, 2012 7:12 am
Forum: Plugin Development Support
Topic: Retreiving 'CBasePlayer.m_iFOV' ?
Replies: 21
Views: 19315

using EasyPlayer it would be:

Syntax: Select all

SomeGuy = EasyPlayer(userid=a['id'])
SomeGuy.GetPropInt('CBasePlayer.m_fFlags')
by Monday
Sat Sep 01, 2012 8:27 pm
Forum: General Discussion
Topic: entity_edict.cpp question [How to respawn a player]
Replies: 12
Views: 11803

I'd be curious to see someone test this out.
by Monday
Fri Aug 31, 2012 6:14 am
Forum: Whatever
Topic: What I learned with CS:GO server's
Replies: 15
Views: 14348

I've ran CS:S servers for 6 years :) The switch wasn't that hard, though I do find it annoying that they are changing their system up again. (Today's update) Welcome to the site! At least they are consistently inconsistent? I'd rather see them get all this out of the way early rather than 6 weeks f...
by Monday
Fri Aug 31, 2012 12:26 am
Forum: Whatever
Topic: Obama is a redditor?
Replies: 4
Views: 5975

I was coding yesterday damnit!
by Monday
Fri Aug 31, 2012 12:21 am
Forum: Whatever
Topic: Obama is a redditor?
Replies: 4
Views: 5975

Obama is a redditor?

I really don't care what political party you belong to... I give the man props for doing a AMA on reddit.

http://www.reddit.com/user/PresidentObama

Note:
Absolutely no political opinions in this thread! I posted a link because its interesting.
by Monday
Thu Aug 30, 2012 9:42 pm
Forum: General Discussion
Topic: paths.py suggestion
Replies: 5
Views: 6466

Ayuto wrote:I prefer the path module, since it's a even more easier. [python]from path import path

my_file_dir = path(__file__).dirname()[/python]


Yup that works too!
by Monday
Thu Aug 30, 2012 9:40 pm
Forum: Plugin Development Support
Topic: Basic script help
Replies: 22
Views: 19677

Sweet, I nailed it. Thanks for the clarification. Since you are also the one working on most of the documentation so far, can we expect to maybe see a reference page with a listing for where and when player is used vs index? I'm assuming again... but it seems like both values are relevant to the en...
by Monday
Thu Aug 30, 2012 9:21 pm
Forum: Plugin Development Support
Topic: Retreiving 'CBasePlayer.m_iFOV' ?
Replies: 21
Views: 19315

Looks great, but just one question. Why don't you merge all (or most, atleast int, float and long) into one method, instead of multiple same methods with just different type? Since C++ does support function overloading, and Python doesn't even have to know anything about it. That is because of how ...
by Monday
Thu Aug 30, 2012 7:47 pm
Forum: General Discussion
Topic: paths.py suggestion
Replies: 5
Views: 6466

if you want to know the path of your addon.. try this:

Syntax: Select all

from os import path

my_file_dir = path.dirname(path.abspath(__file__))


There are several ways to do it... but this is something that can easily be handled inside python without any libraries.
by Monday
Thu Aug 30, 2012 5:12 pm
Forum: Plugin Development Support
Topic: Basic script help
Replies: 22
Views: 19677

Unless that changed after OB, the server actually counts userids well into the hundreds and apparently never reused them. So userid was unique to the player join event. Again, pretty useless other than a faster 'unique' id than asking the client for the steamid (I'm assuming the server doesn't hold...
by Monday
Thu Aug 30, 2012 2:46 am
Forum: API Design
Topic: How about es.fire/es.give ?
Replies: 14
Views: 15465

I would imagine that would work, but that creates more issues than it solves. I agree that skirting sv_cheats is something that should be done almost never, and I especially do not think anything of that sort belongs "in" the plugin itself. If a script does it, that is fine, but we want to avoid su...
by Monday
Thu Aug 30, 2012 1:49 am
Forum: API Design
Topic: Extended event variables - for player objects and indeces
Replies: 11
Views: 12466

satoon101 wrote:I have no issue with a GetIndexOfUserid being implemented. I do have a huge issue with creating Extended Event variables.

Satoon


I'll agree with this.
by Monday
Thu Aug 30, 2012 1:08 am
Forum: API Design
Topic: Extended event variables - for player objects and indeces
Replies: 11
Views: 12466

Omega, have you seen [wiki]EasyPlayer[/wiki] ?

Syntax: Select all

myPlayer = EasyPlayer(GameEvent.GetInt('userid'))
myPlayer.index
by Monday
Wed Aug 29, 2012 5:51 pm
Forum: API Design
Topic: How about es.fire/es.give ?
Replies: 14
Views: 15465

Absolute wrote:ent_fire? or did they remove that command in csgo?


Looks like that works too!

Code: Select all

ent_fire
Can't use cheat command ent_fire in multiplayer, unless the server has sv_cheats set to 1.
by Monday
Wed Aug 29, 2012 3:44 pm
Forum: API Design
Topic: How about es.fire/es.give ?
Replies: 14
Views: 15465

BackRaw wrote:We're in no hurry ;)


I believe that is how ES does it, it just happens on the cpp side.
by Monday
Wed Aug 29, 2012 8:52 am
Forum: API Design
Topic: How about es.fire/es.give ?
Replies: 14
Views: 15465

You might be able to "give" by turning on sv_cheats 1, using the cheat command, and then turning sv_cheats back to 0 until we get a more elegant solution. I don't have any ideas for fire yet..

Go to advanced search