Search found 241 matches

by Mahi
Sun Sep 25, 2016 5:13 pm
Forum: Plugin Development Support
Topic: Need help to decide which cooldown method is best
Replies: 10
Views: 9361

Re: Need help to decide which cooldown method is best

Well, say for example, upon 'player_attack' (which activates automatically whenever you attack someone) you gather one "blood stack" with a maximum of one stack every 5 seconds (player_attack method needs 5 second cooldown), and then upon player_victim (which activates automatically whenev...
by Mahi
Sun Sep 25, 2016 4:16 pm
Forum: Plugin Development Support
Topic: Need help to decide which cooldown method is best
Replies: 10
Views: 9361

Re: Need help to decide which cooldown method is best

A skill can be activated via any event (including user "activating" it manually via console commands), so @callback('player_spawn') might have different cooldown than @callback('player_jump')
by Mahi
Sun Sep 25, 2016 3:08 pm
Forum: Plugin Development Support
Topic: Need help to decide which cooldown method is best
Replies: 10
Views: 9361

Re: Need help to decide which cooldown method is best

I was thinking of similar Cooldown class as yours, but for my implentation each skill has its own dict, not one dict for all skills. This allows different methods of the skill to have different cooldowns. But most people seem to agree to use the first method, I guess that's it then :)
by Mahi
Sun Sep 25, 2016 11:54 am
Forum: Plugin Development Support
Topic: Need help to decide which cooldown method is best
Replies: 10
Views: 9361

Need help to decide which cooldown method is best

I'm back to working on my warcraft mod, and I want it to be as perfect as possible. I'm now going to make the final decision on how the cooldowns should be handled for the skills. I am not looking into performance or anything, all I want is a balance between readable/easy-to-understand (I want begin...
by Mahi
Fri Sep 23, 2016 3:34 pm
Forum: Plugin Development Support
Topic: Error when trying to use Player's metaclass with SQLAlchemy's
Replies: 17
Views: 13301

Re: Error when trying to use Player's metaclass with SQLAlchemy's

Bump :( Still running into the same issue, no matter how I mix the inits, nothing works...
by Mahi
Sat Sep 17, 2016 1:25 pm
Forum: Whatever
Topic: Add more fonts to fonts selection list
Replies: 7
Views: 8100

Re: Add more fonts to fonts selection list

I'm personally more with iPlayer here. While it's important for some to be able to precisely customize the looks of the text, I believe those are the minority and most of us are fine with "this part should look like code" instead of choosing the exact font. I'm still not against having the...
by Mahi
Tue Sep 06, 2016 5:36 pm
Forum: Plugin Releases
Topic: Hero Wars (Alpha)
Replies: 35
Views: 41485

Re: Hero Wars (Alpha)

Still a few days to go, but thanks! :)
by Mahi
Tue Sep 06, 2016 1:42 pm
Forum: Plugin Releases
Topic: Hero Wars (Alpha)
Replies: 35
Views: 41485

Re: Hero Wars (Alpha)

Also Doldol, and anyone else still interested in this project, my military service will end in eight days and while I'm quite likely going to spend the first week or so mostly with my friends and family, I will be back on the project (hopefully other projects and even SP too) in no time! It's been l...
by Mahi
Fri Sep 02, 2016 12:42 pm
Forum: Whatever
Topic: Does anyone use PyCharm?
Replies: 16
Views: 14129

Re: Does anyone use PyCharm?

I suggest you google... :p
by Mahi
Sun Aug 21, 2016 11:15 am
Forum: Plugin Development Support
Topic: Error when trying to use Player's metaclass with SQLAlchemy's
Replies: 17
Views: 13301

Re: Error when trying to use Player's metaclass with SQLAlchemy's

Thanks for the answer! I'm currently on a trip so I can't test this, but yeah I also thought it had something to do with the inits' arguments being mixed up. you should know that only the first found __init__ is going to get called anyway. This is why there should always be a super() call in overrid...
by Mahi
Wed Aug 17, 2016 3:48 pm
Forum: Plugin Development Support
Topic: player.velocity csgo linux crash
Replies: 9
Views: 6989

Re: player.velocity csgo linux crash

Wow sorry I missed that, I'm becoming blind (unless he edited it afterwards)...
by Mahi
Wed Aug 17, 2016 3:22 pm
Forum: Plugin Development Support
Topic: player.velocity csgo linux crash
Replies: 9
Views: 6989

Re: player.velocity csgo linux crash

Why do you stick with an outdated version? Updating alone would probably fix this....
by Mahi
Wed Aug 17, 2016 3:06 pm
Forum: Plugin Development Support
Topic: Error when trying to use Player's metaclass with SQLAlchemy's
Replies: 17
Views: 13301

Re: Error when trying to use Player's metaclass with SQLAlchemy's

That's because it's blocking Player and Base metaclasses' .__init__'s from being called :P

Edit: To clarify, I obviously need the two base metaclasses' __init__'s to be called.
by Mahi
Wed Aug 17, 2016 10:28 am
Forum: Plugin Development Support
Topic: Error when trying to use Player's metaclass with SQLAlchemy's
Replies: 17
Views: 13301

Error when trying to use Player's metaclass with SQLAlchemy's

Here's the error: [SP] Caught an Exception: Traceback (most recent call last): File '..\addons\source-python\packages\source-python\events\listener.py', line 92, in fire_game_event callback(game_event) File '..\addons\source-python\plugins\testplugin\testplugin.py', line 17, in on_jump player = TPla...
by Mahi
Wed Aug 10, 2016 10:54 am
Forum: Plugin Requests
Topic: [TF2] Switch Team on death (For red only)
Replies: 12
Views: 10635

Re: [TF2] Switch Team on death (For red only)

I'm pretty sure there's an error in those lines, may we see them?

Also, what do you mean import sourcemod? I don't think Source.Python can import SM..
by Mahi
Wed Aug 10, 2016 10:52 am
Forum: Plugin Requests
Topic: [TF2] Switch Team on death (For red only)
Replies: 12
Views: 10635

Re: [TF2] Switch Team on death (For red only)

It says line 9 in your stack trace:

Code: Select all

  File '../addons/source-python/plugins/REDSWITCH/REDSWITCH.py', line 9
    from commands.typed import TypedServerCommand

This is line 1 in quartata's code, what did you add before the line 9?
by Mahi
Wed Aug 10, 2016 10:25 am
Forum: Plugin Requests
Topic: Ranking/Statistics System
Replies: 13
Views: 10951

Re: Ranking/Statistics System

It's technically working already. I mean, there's only one menu which displays your own stats, and doesn't display your actual rank out of all the ranks on the server... But it can be loaded and used! Honestly I just wanted to say that I have little to no experience about the web side, so I pretty m...
by Mahi
Tue Aug 09, 2016 8:22 am
Forum: Plugin Requests
Topic: Ranking/Statistics System
Replies: 13
Views: 10951

Re: Ranking/Statistics System

La Muerte wrote:I'd like to request an in-game feature-rich Ranking/ Statistics System for CS:GO based of on GameME/ HLstatsX:CE

I believe gameME already works on CS:GO, and it's very hard to compete with it... I'll start working on something! https://github.com/Mahi/RankMe
by Mahi
Thu Jul 07, 2016 9:20 am
Forum: Plugin Releases
Topic: RPG:GO
Replies: 5
Views: 6779

Re: RPG:GO

First beta release (v0.1.0) is now available: https://github.com/Mahi/RPG-SP/releases/tag/v0.1.0
It should be mostly bug free, but quite likely isn't.

Any improvements or suggestions are more than welcome :)
by Mahi
Thu Jun 30, 2016 6:22 am
Forum: Plugin Releases
Topic: RPG:GO
Replies: 5
Views: 6779

Re: RPG:GO

The plugin is reaching a beta stage really soon, now that I've added translations too: https://github.com/Mahi/RPG-SP/pull/6 Any help with translating the plugin to multiple languages (I'll do Finnish myself later on) would be more than appreciated! :) Surely I can't demand anything, but if anyone h...

Go to advanced search