Search found 53 matches

by MrMalina
Thu Aug 06, 2020 4:30 pm
Forum: General Discussion
Topic: Installation and configuration sourcepython
Replies: 7
Views: 5005

Re: Installation and configuration sourcepython

Not everywhere.
There are places where it is slower, for example: PreHook set_transmit/SetClientListening in source.python is much slower than in sourcepawn. In other cases, everything is fine. This is what I worked with, other people can give other examples.
by MrMalina
Thu Aug 06, 2020 3:06 pm
Forum: General Discussion
Topic: Installation and configuration sourcepython
Replies: 7
Views: 5005

Re: Installation and configuration sourcepython

Installation information is available on the wiki: http://wiki.sourcepython.com/general/installation.html
by MrMalina
Thu Aug 06, 2020 8:52 am
Forum: General Discussion
Topic: Installation and configuration sourcepython
Replies: 7
Views: 5005

Re: Installation and configuration sourcepython

Hey. You can type "sp" in the console to make sure source.python works. Example: https://ibb.co/RjXxnHh To see a list of running plugins, you can type this command: "sp plugin list" Example: https://ibb.co/6Bcrfn7 And another question - Counter-Strike:Source sourcepython will wor...
by MrMalina
Wed Nov 09, 2016 5:26 pm
Forum: General Discussion
Topic: SayText2 crash
Replies: 2
Views: 3281

SayText2 crash

Hello, I installed the latest version of sp (build 490) of 6 November. Operating System: Windows, game - CS: GO. When you use function SayText2 server crash, the code below: from events import Event from messages import SayText2 from players.helpers import index_from_userid @Event("player_s...
by MrMalina
Tue May 10, 2016 2:08 pm
Forum: General Discussion
Topic: Ammoprop & get_proprty_char
Replies: 2
Views: 3303

Ammoprop & get_proprty_char

Hello, the following code results in an error: @Event("player_say") def player_say(args): index = index_from_userid(args.get_int("userid")) player = Player(index) weapon = player.get_primary() print("weapon", weapon) weapon = Weapon(weapon) ammoprop = weapon.ammoprop ht...
by MrMalina
Sat Apr 23, 2016 5:18 pm
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9244

Re: SP does not work CS:GO

On linux running, on windows give error.
by MrMalina
Sat Apr 23, 2016 7:53 am
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9244

SP does not work CS:GO

After today's update CS: GO SP (Revision as of April 20, 2016) gives this error:

Image
Image
by MrMalina
Wed Mar 02, 2016 3:19 pm
Forum: General Discussion
Topic: SP Lags?
Replies: 12
Views: 9905

Second video:
by MrMalina
Wed Mar 02, 2016 3:18 pm
Forum: General Discussion
Topic: SP Lags?
Replies: 12
Views: 9905

Hello, I'm also have this problem. Here it is some video about this issue:
by MrMalina
Sun Feb 14, 2016 11:49 am
Forum: General Discussion
Topic: SendNetMsg Error
Replies: 13
Views: 10061

Good afternoon, I have wrote this code: # ====================================================================== # >> IMPORTS # ====================================================================== # Source Python from commands import CommandReturn from messages import SayText2 from commands.client...
by MrMalina
Sat Dec 05, 2015 2:25 pm
Forum: Plugin Development Support
Topic: pip checker
Replies: 1
Views: 2389

Ok, i figured it out myself, thanks.
Here, it might be useful:
http://pastebin.com/CSWcmgge
by MrMalina
Sat Dec 05, 2015 1:47 pm
Forum: Plugin Development Support
Topic: pip checker
Replies: 1
Views: 2389

pip checker

One time i downloaded this bat file to check python code:
http://pastebin.com/4H6byxUs
Is it possible to save output into another file?

i tried to enable this command --files-output=y, but it doesn\'t help.
Also i deleted --rcfile "%CD%"/.pylintrc.
by MrMalina
Fri Dec 04, 2015 2:57 pm
Forum: Plugin Development Support
Topic: Command decorators
Replies: 1
Views: 2373

Command decorators

Hello. I have tried to use two decorators to declare "say" and "client" commands: from commands import CommandReturn from commands.say import SayCommand from commands.client import ClientCommand from commands.server import ServerCommand @ClientCommand("pony") @S...
by MrMalina
Fri Nov 06, 2015 7:24 pm
Forum: API Design
Topic: SayFilters and SayCommands
Replies: 27
Views: 61780

In the first message of this topic is an example: from commands.say import SayFilter from commands.say.command import SayCommandDictionary @SayFilter def say_filter(index, teamonly, CCommand): # Get the text used # The entire text is in argument 1, since it is encased in "" text = ...
by MrMalina
Thu Nov 05, 2015 6:28 pm
Forum: API Design
Topic: SayFilters and SayCommands
Replies: 27
Views: 61780

And what an analog command SayCommandDictionary in the current sp version?
by MrMalina
Sun Oct 11, 2015 6:31 pm
Forum: Plugin Development Support
Topic: clan_tag
Replies: 1
Views: 2542

clan_tag

Good evening. I tried to identify clantag player. I found the value of offset, added them to the data\source-python\entities\csgo\cssplayer.ini: [instance_attribute] [[clan_tag]] offset_linux = 29 offset_windows = 12 type = STRING_ARRAY If you use the following code, an error. Code: @Event('...
by MrMalina
Sat Oct 10, 2015 9:34 am
Forum: General Discussion
Topic: SendNetMsg Error
Replies: 13
Views: 10061

Aso when this mistake appear in console, messages output through SayText2 command doesn't work.
by MrMalina
Sun Oct 04, 2015 2:04 pm
Forum: General Discussion
Topic: Delays MemoryError
Replies: 4
Views: 4532

As server is located on my laptop, i can say that server takes about 600-800mb ram. Server worked for 10 minutes and weird error occured. I cant say anything about recursion as i don't know what code caused this error. Error started spamming console really fast and bacause of that is was impossible ...
by MrMalina
Sat Oct 03, 2015 9:01 pm
Forum: General Discussion
Topic: Delays MemoryError
Replies: 4
Views: 4532

Delays MemoryError

At some point in the server console, it began flooding the error. I can not say after that it arrived.
The attachment Скриншот 2015-10-03 23.45.40.jpg is no longer available


http://hostingkartinok.com/show-image.php?id=ad17950932f247b03b486a625ea6037a

sp_version - 58.
by MrMalina
Sun Jul 26, 2015 2:25 pm
Forum: Plugin Development Support
Topic: EntityPreHook bump_weapon lags
Replies: 8
Views: 7011

Well, I tried to change a little code: @EntityPreHook('player', 'bump_weapon') def pre_bump_weapon(args): index = index_from_pointer(args[0]) edict = edict_from_pointer(args[1]) if not edict.get_class_name() in "weapon_awp": return Tr...

Go to advanced search