Search found 1776 matches

by satoon101
Sat Jul 14, 2012 9:38 pm
Forum: General Discussion
Topic: Good job!
Replies: 3
Views: 5402

Good to see you were able to get a few minutes to join up, vingt! Those 5 weeks will fly by, hopefully.

Satoon
by satoon101
Sat Jul 14, 2012 5:36 pm
Forum: API Design
Topic: Event system discussion
Replies: 22
Views: 25957

Alright, and in some cases the value is used by any functions e.g. reason in player_disconnect for printing a meassage. Not sure if you have tested this fully or not, but it doesn't seem true by my testing. If I change the 'reason' in the script, it still shows the original disconnect message when ...
by satoon101
Fri Jul 13, 2012 10:31 pm
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 191591

Well, 2 things to look at here. First, we have Python, which most of is consistent in using lower_and_underscore. For the Python-side coders, keeping that consistency is key. Then, we have Valve's code (which is just being wrapped by the plugin) that is CamelCase. For the C++ coders, keeping that co...
by satoon101
Thu Jul 12, 2012 12:26 am
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 191591

Again, this is for the "Python" API. Those differences will help to differentiate between whether code is based in the Python or C++ side.

Also, if you look into Python3.3 modules (or even 2.5.2 which ES uses), you will notice most of them also use this naming style.

Satoon
by satoon101
Wed Jul 11, 2012 1:56 am
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 191591

Coding Style

One thing I learned while working with the GunGame5.1 dev team is that it is very important to all follow the same coding style. This thread is basically an outline of what I believe our style (Python-side) should be for all modules/APIs. I am certain that most of you have heard of PEP 8 , and some ...
by satoon101
Wed Jul 11, 2012 12:05 am
Forum: General Discussion
Topic: Admin System
Replies: 22
Views: 22823

An authorization API is definitely something we will probably want to add in either prior to release or soon after. An admin mod/system (like XA) is not something we wish (at this time) to include with the package. Personally, at this point, I am heavily leaning toward not including "any" addons wit...
by satoon101
Tue Jul 10, 2012 11:59 pm
Forum: API Design
Topic: Event system discussion
Replies: 22
Views: 25957

What's about a simple try-except clause for getting a variable and an isinstance check for setting one? I guess that wouldn't cost much ressources. Also, I agree that a registerForEvent function could be usefull :) And again, what if the try/except works but the variable is "supposed" to be a strin...
by satoon101
Tue Jul 10, 2012 7:12 pm
Forum: API Design
Topic: Event system discussion
Replies: 22
Views: 25957

Well, if we went with the decorators system, libraries (though we are going to use modules instead of libraries for this plugin) will easily be able to use that same functionality to register for an event. Currently, within ES2.1, only 3 events are registered in 2 total libraries. Only 1 of those (p...
by satoon101
Tue Jul 10, 2012 6:08 pm
Forum: Whatever
Topic: Finally!
Replies: 5
Views: 7168

Yeah, the Morbid Blue font is fairly small. ynh is looking into fixing that. For now you can obviously use the Default Style, which has a good sized font.

Satoon
by satoon101
Tue Jul 10, 2012 1:51 am
Forum: API Design
Topic: Event system discussion
Replies: 22
Views: 25957

http://forums.eventscripts.com/viewtopic.php?p=317004#p317004

Look at SuperDave's reply in that thread.

Satoon
by satoon101
Tue Jul 10, 2012 12:44 am
Forum: General Discussion
Topic: Admin System
Replies: 22
Views: 22823

Yeah, again, it would be "up for discussion".

Yes, currently, Source.Python is only being created for CS:GO. Once we get much further in development, we can possibly look to supporting other games.

Satoon
by satoon101
Tue Jul 10, 2012 12:27 am
Forum: General Discussion
Topic: Admin System
Replies: 22
Views: 22823

There is none "planned" at this stage, but if someone, or a group of people worked on one that we thought well enough to add in, it would definitely be up for discussion.

Satoon
by satoon101
Tue Jul 10, 2012 12:18 am
Forum: API Design
Topic: Event system discussion
Replies: 22
Views: 25957

As far as having es.addons.registerForEvent functionality, I would say almost definitely. If we went with a system like the decorators system, where the scripter would have to declare a function/method as an event explicitly, and it was built into the C++ side, then I would say no. Otherwise, I woul...
by satoon101
Sun Jul 08, 2012 4:01 pm
Forum: API Design
Topic: Decorators vs the eventscripts way ..
Replies: 12
Views: 13032

Not everything in the file would be an event - anything imported will also exist within the global namespace. We can easily check to see what module an object is actually created in, which would eliminate this issue. We currently do this within GunGame5.1 , though for Source.Python, this would be b...
by satoon101
Sun Jul 08, 2012 1:41 pm
Forum: API Design
Topic: Decorators vs the eventscripts way ..
Replies: 12
Views: 13032

⋅  Multiple handlers for an event ⋅  Able to use names for functions other than the event name ⋅  Ability to remove a handler I see all 3 of these as highly unnecessary, personally. If one of you wishes, you can make a python-side module that adds these decorators, and...
by satoon101
Sat Jul 07, 2012 3:16 am
Forum: Whatever
Topic: ...
Replies: 12
Views: 13228

Liar!!! raynorpat bot is best bot.

Go to advanced search