Search found 141 matches

by stonedegg
Sat Apr 09, 2016 11:40 am
Forum: Whatever
Topic: Spam attack?
Replies: 4
Views: 3551

Could you add this captcha, it's the safest there is: https://www.vbulletin.org/forum/showthread.php?t=257294
by stonedegg
Fri Apr 01, 2016 12:53 pm
Forum: Plugin Development Support
Topic: How to block the 'Fire in the hole.' sound in CSS?
Replies: 10
Views: 5070

Oh true, I forgot that..
by stonedegg
Thu Mar 31, 2016 9:38 pm
Forum: Plugin Development Support
Topic: How to block the 'Fire in the hole.' sound in CSS?
Replies: 10
Views: 5070

Radio commands are console commands after all, you can always block them with @commands.client.ClientCommandFilter (would also block the message tho, but you can make a custom SayText for that). I'm not sure what the exact command for "Fire in the hole" is, but you can simply find it out by printing...
by stonedegg
Tue Mar 22, 2016 2:52 pm
Forum: General Discussion
Topic: Missing VCRUNTIME140.dll
Replies: 4
Views: 3907

The DLL was installed to c:\windows\system32, which is in my PATH environment variable.

Solution: I installed the 64bit version of vcruntime.dll, but SP uses the 32bit version of python. Uninstalling the 64bit version of the DLL and installing the 32bit version worked fine. SP loads again.
by stonedegg
Tue Mar 22, 2016 1:40 pm
Forum: General Discussion
Topic: Missing VCRUNTIME140.dll
Replies: 4
Views: 3907

Missing VCRUNTIME140.dll

Hello, I just updated my server to use the latest SP version and when SP loads I'm getting this srcds system error: https://i.gyazo.com/b2f78d62de22b28de1ff304d10be1746.png The error says that vcruntime140.dll is missing. I've googled this and other python 3.5 related issues pointed me to install th...
by stonedegg
Mon Mar 07, 2016 12:00 pm
Forum: Plugin Development Support
Topic: Spawning a 'ghost entity'
Replies: 10
Views: 5266

In case you did not know, csgo has a ghost model and you can simply spawn it as a prop_dynamic (models/ghost/ghost.mdl).

https://i.gyazo.com/a47839f4a90ed57c15414acfcba1989d.png
by stonedegg
Fri Mar 04, 2016 3:50 pm
Forum: General Discussion
Topic: Trouble loading plugin (sqlite import error)
Replies: 4
Views: 3216

Copy/Paste libsqlite3.so.0 in either /server/bin/ or /server/csgo/bin/ (I don't remember exactly which folder it was). You can find it in /server/csgo/addons/source-python/Python3/plat-linux/.
by stonedegg
Mon Dec 28, 2015 2:25 pm
Forum: Plugin Development Support
Topic: PreEvent player_jump
Replies: 6
Views: 3310

Be sure you have 2 different function names for Event and PreEvent. If you have registered an Event with the function jump_event, you may not use jump_event for PreEvent, instead name it pre_jump_event or something.
by stonedegg
Sun Dec 06, 2015 6:16 am
Forum: Plugin Development Support
Topic: SourceMod Access
Replies: 4
Views: 2957

Servercommands is probably the thing you are looking for. You can run python code in a servercommand registered by SP that is executed by a SM plugin, or the other way around.
by stonedegg
Tue Nov 17, 2015 4:04 pm
Forum: Plugin Development Support
Topic: Csgo motd
Replies: 21
Views: 11733

Thanks
by stonedegg
Tue Nov 17, 2015 3:34 pm
Forum: Plugin Development Support
Topic: Csgo motd
Replies: 21
Views: 11733

Ayuto wrote:A better workaround would be to write a temporary file on your server and send that instead of the actual website.


How do you send that?
by stonedegg
Tue Nov 17, 2015 2:32 pm
Forum: Plugin Development Support
Topic: Csgo motd
Replies: 21
Views: 11733

The problem is that this is not a solution, but a workaround. You will first need to open another website to get to the website you actually want to go, making it a bit more tricky if you have a plugin that let's you open a players' steam profile and not the same website every time. Sourcemod can do...
by stonedegg
Tue Nov 17, 2015 1:13 pm
Forum: Plugin Development Support
Topic: Csgo motd
Replies: 21
Views: 11733

I tried to open a motd window in csgo now again with the recent messages update, but it's still not working properly. In my testing code I found out that the motd panel actually opens, but it's hidden even tho "show" is set to True. The website I'm using opens a new browser tab/window whic...
by stonedegg
Mon Oct 05, 2015 10:56 am
Forum: Code examples / Cookbook
Topic: Interactive python interpreter!
Replies: 6
Views: 17910

Ayuto wrote:GODJonez made an ES addon that didn't freeze the server. You might want to take a look at it.


Uh, that looks like a tough task, especially cause I've never done anything with sockets before in python. I'll might give it a try once I got more time, but for now this one should serve. :)
by stonedegg
Mon Oct 05, 2015 12:18 am
Forum: Code examples / Cookbook
Topic: Interactive python interpreter!
Replies: 6
Views: 17910

Yea I tested that, but it freezes the server. I mainly created this to interactively test code using the SP api.
by stonedegg
Sun Oct 04, 2015 12:07 am
Forum: Code examples / Cookbook
Topic: Interactive python interpreter!
Replies: 6
Views: 17910

Interactive python interpreter!

I've made a really small and simple plugin which lets you execute python code in the server/client console via server commands. This can be very useful for plugin developers to quickly test some code. Examples: Enter the following in the server console or ingame in your client console with rcon in f...
by stonedegg
Fri Oct 02, 2015 2:14 pm
Forum: Plugin Releases
Topic: Source.Python Dissolver!
Replies: 18
Views: 9545

Put this to the imports in the header of dissolver.py: from listeners.tick import tick_delays Change Line 123 to this: tick_delays.delay(<seconds>, dissolver_entity.dissolve, ragdoll_classname) And replace <seconds> with the the number of seconds you want to delay the dissolving.
by stonedegg
Sat Sep 26, 2015 10:23 pm
Forum: Plugin Development Support
Topic: CSGO: default weapon
Replies: 19
Views: 9434

Update your offsets in \addons\source-python\data\source-python\entities\csgo\CBasePlayer.ini which I posted here: https://github.com/Source-Python-Dev-Team/Source.Python/issues/72 Or wait for an official upate. The code is working now, I've tested it, but you need to take my latest edit because I f...
by stonedegg
Sat Sep 26, 2015 3:22 pm
Forum: Plugin Development Support
Topic: CSGO: default weapon
Replies: 19
Views: 9434

That is really odd.. Can you try this code please: from events import Event from entities.entity import Entity from filters.players import PlayerIter from listeners import LevelInit from listeners.tick import tick_delays last_winner = 0 default_weapons = { 't': ['weapon_glock', '...
by stonedegg
Sat Sep 26, 2015 11:53 am
Forum: Plugin Development Support
Topic: CSGO: default weapon
Replies: 19
Views: 9434

If you use this code for reference that it's not working, then I'm not surprised. player_activate fires when the player has finished loading the map, but still is in the loading screen. You can't give a weapon to a player that did not spawn yet. Use player_spawned event for that. But did you test my...

Go to advanced search