Why not directly make a web server instead of websockets??
edit:
or maybe i cloud just use redis to put everything i need as cache and then get it using any web app.
but what a bout pubsub thing? instead of websockets?
Search found 14 matches
- Thu Aug 31, 2017 12:58 am
- Forum: General Discussion
- Topic: trying to make a rest api service inside of csgo server
- Replies: 4
- Views: 5170
- Wed Aug 30, 2017 8:16 am
- Forum: General Discussion
- Topic: trying to make a rest api service inside of csgo server
- Replies: 4
- Views: 5170
trying to make a rest api service inside of csgo server
i don't know if its a good idea running a flask app inside my csgo server but if its possible how would i do that?
i was also looking at sanic framework which use asyncio. any ideas?
Thanks.
i was also looking at sanic framework which use asyncio. any ideas?
Thanks.
- Thu May 04, 2017 2:38 am
- Forum: General Discussion
- Topic: Source Python doesnt load after newest CS:GO Update 1.35.7.7
- Replies: 7
- Views: 6419
Re: Source Python doesnt load after newest CS:GO Update 1.35.7.7
Works fine for me! Date : 2017-05-04 02:41:05.922383 OS : Linux-3.16.0-4-amd64-x86_64-with-debian-8.7 Game : csgo SP version : 573 Server plugins: 00: Source.Python, (C) 2012-2016, Source.Python Team. SP plugins: 00: lo3 version : 1.35.7.8/13578 491/6752 secure [G:1:787406]
- Tue Apr 18, 2017 10:13 am
- Forum: Plugin Development Support
- Topic: anyway that i can get IpAddress and Port etc in cs:go?
- Replies: 6
- Views: 5519
Re: anyway that i can get IpAddress and Port etc in cs:go?
I won't comment on the git issue, since it's about not using hostip, but using that's been the most robust way for me. ip = ipaddress.IPv4Address(ConVar("hostip").get_int() & 0xffffffff).exploded host = ConVar("hostport").get_int() tha...
- Sun Apr 16, 2017 12:35 pm
- Forum: Plugin Development Support
- Topic: anyway that i can get IpAddress and Port etc in cs:go?
- Replies: 6
- Views: 5519
anyway that i can get IpAddress and Port etc in cs:go?
hi just want to get those information from my server.
i tried with server_spawn event but port and address return 0 or None for me!
any suggestions
Thanks.
-qwexvf
i tried with server_spawn event but port and address return 0 or None for me!
any suggestions
Thanks.
-qwexvf
- Tue Apr 04, 2017 7:51 pm
- Forum: Plugin Development Support
- Topic: problem with psycopg2
- Replies: 7
- Views: 6154
Re: problem with psycopg2
Did you try it with the 32 Bit version of Python 3.5? Edit: Yes, according to the screenshot you installed it using the 64 Bit version. You will need the 32 Bit version. Thanks mate. everything worked. it took a bit to figure out that i needed 32bit version >< but hopefully i can connect my sweet d...
- Tue Apr 04, 2017 7:32 pm
- Forum: Plugin Development Support
- Topic: problem with psycopg2
- Replies: 7
- Views: 6154
Re: problem with psycopg2
Ayuto wrote:Did you try it with the 32 Bit version of Python 3.5?
Wait... 32bit?... Oook. let me compile it real quick....
- Tue Apr 04, 2017 6:51 pm
- Forum: Plugin Development Support
- Topic: problem with psycopg2
- Replies: 7
- Views: 6154
Re: problem with psycopg2
Have you checked if that file exists? If it exists, the reason could be that Source.Python is using 3.5 and not 3.6. Sorry, i tried 3.5 ~ 3.6 but same ... can you try out? Oh and if i do that in python itrepter it works as i want. Screenshot https://i.gyazo.com/53f0f27901a27789d21382a4da06e7fe.png ...
- Tue Apr 04, 2017 6:47 pm
- Forum: Whatever
- Topic: Hello everyone! i didn't know where to post so here i am!
- Replies: 7
- Views: 16592
Re: Hello everyone! i didn't know where to post so here i am!
Ayuto wrote:Not yet. It's still being worked on.
i see <3 i hope it will be available soon!!!
- Tue Apr 04, 2017 6:42 pm
- Forum: Plugin Development Support
- Topic: problem with psycopg2
- Replies: 7
- Views: 6154
Re: problem with psycopg2
Looks like you are missing the _psycopg module. Thats what i thought so to make it clear. thats what i did pip install psycopg2 cp -a /home/vagrant/.pyenv/versions/3.6/lib/python3.6/site-packages/psycopg2 /home/csgo/csgo-test/csgo/addons/source-python/packages/site-packages/. anything i'm missing ?
- Tue Apr 04, 2017 5:50 pm
- Forum: Whatever
- Topic: Hello everyone! i didn't know where to post so here i am!
- Replies: 7
- Views: 16592
Re: Hello everyone! i didn't know where to post so here i am!
satoon101 wrote: the Project Manager, coupled with the future sp install/update commands, will help make installing those on servers much easier.
is it available feature?
- Tue Apr 04, 2017 5:05 pm
- Forum: Plugin Development Support
- Topic: problem with psycopg2
- Replies: 7
- Views: 6154
problem with psycopg2
has anyone ever tried to work with peewee + psycopg? Source Code from playhouse.postgres_ext import PostgresqlExtDatabase psql_db = PostgresqlExtDatabase('csgo', user='csgo', password='csgo') Error code [SP] Caught an Exception: Traceback (most recent call last...
- Fri Mar 24, 2017 7:34 am
- Forum: Whatever
- Topic: Hello everyone! i didn't know where to post so here i am!
- Replies: 7
- Views: 16592
Re: Hello everyone! i didn't know where to post so here i am!
Sorry for the late. Thanks for you reply! Seems like this is a amazing project!!!. Well, about the python is slow i worked a lot with web frameworks and it was really slow i think it was about 2000 request per seconds... with C i could handle over 1000000 lol don't even try... but i i don't really c...
- Wed Mar 22, 2017 2:55 am
- Forum: Whatever
- Topic: Hello everyone! i didn't know where to post so here i am!
- Replies: 7
- Views: 16592
Hello everyone! i didn't know where to post so here i am!
Hello everyone. first i'm totally new to this form. i hope any of you could give me an advice! currently i'm working on Python project for Backend which is web server etc. mostly flask and pyramid. and i'm going to start with making plugins for csgo and i was thinking if i could make plugins in pyth...