Search found 1197 matches

by Ayuto
Thu Apr 18, 2019 5:28 am
Forum: General Discussion
Topic: ES/Python Traceback
Replies: 10
Views: 109

Re: ES/Python Traceback

It would have been good to know that in the very beginning. Is the last error perhaps also caused by modifications on your own? Because I had a quick glance at the original code, which seems to be correct.
by Ayuto
Wed Apr 17, 2019 5:39 pm
Forum: General Discussion
Topic: ES/Python Traceback
Replies: 10
Views: 109

Re: ES/Python Traceback

Do you want to share the solution? That might also help others.
by Ayuto
Mon Apr 15, 2019 4:15 pm
Forum: General Discussion
Topic: ES/Python Traceback
Replies: 10
Views: 109

Re: ES/Python Traceback

Seems like it's completely missing the translations. Even the fallback language (en).
by Ayuto
Sun Apr 14, 2019 6:32 pm
Forum: General Discussion
Topic: Cannot create Jupyter Notebook for Python 3.6
Replies: 12
Views: 204

Re: Cannot create Jupyter Notebook for Python 3.6

Something like this should work:
python3.6 -m pip install torch torchvision --upgrade

It's all on Google and the PyTorch website.
by Ayuto
Sat Apr 13, 2019 6:07 pm
Forum: General Discussion
Topic: Cannot create Jupyter Notebook for Python 3.6
Replies: 12
Views: 204

Re: Cannot create Jupyter Notebook for Python 3.6

Simply use pip to update to the latest version. And yes, you can have multiple versions of a package.
by Ayuto
Sat Apr 13, 2019 9:01 am
Forum: General Discussion
Topic: Cannot create Jupyter Notebook for Python 3.6
Replies: 12
Views: 204

Re: Cannot create Jupyter Notebook for Python 3.6

Seems like torch._six doesn't provide nan. But it should actually provide it in the latest version. fastai.vision import * imports torch while import fastai doesn't. That's why the one is working and the other isn't.

Try updating your torch package.
by Ayuto
Sat Apr 13, 2019 8:51 am
Forum: Plugin Development Support
Topic: Hook ProcessVoiceData
Replies: 4
Views: 196

Re: Hook ProcessVoiceData

If you just need this for Linux/TF2, I would use the symbol. Then you will probably never need to care about updates again: import memory from memory import DataType from memory import Convention from memory.hooks import PreHook from core import PLATFORM from players import Client if PLATFORM != ...
by Ayuto
Fri Apr 12, 2019 3:47 pm
Forum: General Discussion
Topic: Sourcepython python support
Replies: 7
Views: 171

Re: Sourcepython python support

We need to make sure 3.7 or 3.8 doesn't require a higher GLIBC version. Otherwise SP wouldn't run anymore on servers with GLIBC <= 2.17. We already had that problem in the past, because many game servers are running on old systems and the hosters don't update them.
by Ayuto
Tue Apr 09, 2019 7:52 pm
Forum: Plugin Development Support
Topic: Hook ProcessVoiceData
Replies: 4
Views: 196

Re: Hook ProcessVoiceData

For which game do you need this?
by Ayuto
Tue Apr 09, 2019 4:42 pm
Forum: General Discussion
Topic: Cannot create Jupyter Notebook for Python 3.6
Replies: 12
Views: 204

Re: Cannot create Jupyter Notebook for Python 3.6

No, "python" proably just starts a different version. You can see the version by using the following command:

Code: Select all

python -V
To make sure you start ipykernel using Python 3.6, use the following command:

Code: Select all

sudo python3.6 -m ipykernel install -- name Python3.6
by Ayuto
Mon Apr 08, 2019 3:24 pm
Forum: General Discussion
Topic: Cannot create Jupyter Notebook for Python 3.6
Replies: 12
Views: 204

Re: Cannot create Jupyter Notebook for Python 3.6

python3.6 -m pip install ipykernel
by Ayuto
Sun Apr 07, 2019 5:57 pm
Forum: General Discussion
Topic: Cannot create Jupyter Notebook for Python 3.6
Replies: 12
Views: 204

Re: Cannot create Jupyter Notebook for Python 3.6

Seems like you din't install ipykernel. You can do that using pip.
by Ayuto
Sat Apr 06, 2019 6:57 pm
Forum: General Discussion
Topic: Sourcepython python support
Replies: 7
Views: 171

Re: Sourcepython python support

That will certainly happen someday, but there is no ETA. Is there a feature you would like to use from Python 3.7 or did you ask just out of curiosity?
by Ayuto
Wed Apr 03, 2019 7:42 pm
Forum: Development Status Updates
Topic: Development status update (March 2019)
Replies: 0
Views: 116

Development status update (March 2019)

It's time for another development status update! :smile: ⋅ Fixes: ⋅  Fixed effect hooks for engines that don't rely on CBaseTempEntity::Create(). ⋅  Removed CTEFireBullets.weapon_id alias for CS:GO. ⋅ Additions: ⋅  Added CBaseCombatCharacter::OnTakeD...
by Ayuto
Wed Apr 03, 2019 5:25 pm
Forum: Plugin Development Support
Topic: Ayuto - EventScripts-Emulator - RecursiveCopyKeyValues
Replies: 3
Views: 282

Re: Ayuto - EventScripts-Emulator - RecursiveCopyKeyValues

Version 685 of Source.Python now exposes recursive_copy, so that issue should be fixed.
by Ayuto
Tue Apr 02, 2019 7:27 pm
Forum: General Discussion
Topic: install pip 3.6
Replies: 3
Views: 106

Re: install pip 3.6

There are multiple ways:
pip install <package to install>
pip3 install <package to install>
pip3.6 install <package to install>
python3.6 -m pip install <package to install>
by Ayuto
Tue Apr 02, 2019 7:21 pm
Forum: General Discussion
Topic: Sourcepython python support
Replies: 7
Views: 171

Re: Sourcepython python support

Yes, you can see that if you start your server with +developer 1 or if you look at the wiki. Of course, the wiki could be outdated, but +developer 1 will always show the correct version. It will print something like this during start up: [Source.Python] Python version 3.6.1 (default, Jun 4 2017, 19:...
by Ayuto
Tue Apr 02, 2019 8:35 am
Forum: General Discussion
Topic: install pip 3.6
Replies: 3
Views: 106

Re: install pip 3.6

The command is incomplete. pip is a tool to install site-packages. You need to tell pip what it should install:
python3.6 -m pip install <package to install>

If you want to upgrade pip, run the following command:
python3.6 -m pip install --upgrade pip
by Ayuto
Sat Mar 30, 2019 10:38 am
Forum: General Discussion
Topic: Left 4 Dead 1 Support
Replies: 9
Views: 2980

Re: Left 4 Dead 1 Support

I don't think so, sorry.
by Ayuto
Sat Mar 30, 2019 10:35 am
Forum: Plugin Development Support
Topic: CSGO: Bot waypoints real time manipulation
Replies: 1
Views: 110

Re: CSGO: Bot waypoints real time manipulation

There is CCSBot::MoveTo, which forces a bot to run to a specific point using either the fastest route or safest route.

I have some old code on my pastebin, which was working fine for CS:S:

Go to advanced search