Search found 185 matches

by arawra
Wed Oct 07, 2020 6:28 pm
Forum: API Design
Topic: Looking for suggestions
Replies: 0
Views: 912

Looking for suggestions

For the D&D plugin I am working on, one of the available features is that players can "cast spells". The way that this works is a player binds a ClientCommand and supplies the necessary arguments. I am working to improve the current system I have because... well its trash. Here is a pr...
by arawra
Fri Oct 02, 2020 11:20 am
Forum: API Design
Topic: Site package suggestion
Replies: 0
Views: 472

Site package suggestion

I know theres been a lot of talk about getting pip to work within Source-Python and a lot of discussion about SQL packages and the like (as well as the performance of them). What would be your guys' thoughts about including the requests package natively? For my use cases the overhead of sending data...
by arawra
Fri Oct 02, 2020 11:14 am
Forum: Plugin Releases
Topic: D&D 5e CSGO
Replies: 4
Views: 628

Re: D&D 5e CSGO

Update 1.3.0

Developed a RESTful API to be able to post player information to remote servers. Embedded `requests` site-package to be able to make remote calls to the API.
by arawra
Mon Sep 28, 2020 9:40 am
Forum: Plugin Releases
Topic: D&D 5e CSGO
Replies: 4
Views: 628

Re: D&D 5e CSGO

Update 1.2.0

All base races now have a benefit (none have any detriment other than opportunity cost)
by arawra
Mon Sep 28, 2020 6:31 am
Forum: Plugin Releases
Topic: D&D 5e CSGO
Replies: 4
Views: 628

Re: D&D 5e CSGO

VinciT wrote:I really dig the blade barrier effect you've made - very cool stuff. :grin:


I just want to say, I ^&Y*FSE* love trig :vomit:
by arawra
Sun Sep 27, 2020 5:06 pm
Forum: Plugin Releases
Topic: D&D 5e CSGO
Replies: 4
Views: 628

D&D 5e CSGO

D&D 5e! Inspired by Jeff's old mod, this is a brand new mod based around Dungeons & Dragons 5th Edition. The new wiki can be found here: http://dndcsgo.com/ Note: this is a WORK IN PROGRESS http://github.com/xxauroraxx/dnd5e Server Hosting The mod Address: 68.232.160.229 Port: 23010 In D&am...
by arawra
Sun Sep 27, 2020 9:37 am
Forum: Plugin Development Support
Topic: Pretty sure I found a bug, looking to see if it can be replicated
Replies: 11
Views: 326

Re: Pretty sure I found a bug, looking to see if it can be replicated

Sent.

Files are still uploading, so maybe give it 15m.
by arawra
Sun Sep 27, 2020 9:24 am
Forum: Plugin Development Support
Topic: Pretty sure I found a bug, looking to see if it can be replicated
Replies: 11
Views: 326

Re: Pretty sure I found a bug, looking to see if it can be replicated

An exception was raised without printing my statement. I did supply the default arguments explicitly, and the function returns without exception. from engines.precache import Model from players.entity import Player from listeners.tick import Delay from commands.client import ClientCommand from memor...
by arawra
Sun Sep 27, 2020 9:14 am
Forum: Plugin Development Support
Topic: Pretty sure I found a bug, looking to see if it can be replicated
Replies: 11
Views: 326

Re: Pretty sure I found a bug, looking to see if it can be replicated

That prototype is correct. If you add a debug message at the top of ../players/engines/csgo/__init__.py#L168-L174 does it gets printed? [Source.Python] Loading... ---------------------------------------- ---------------------------------------- ---------------------------------------- -------------...
by arawra
Sun Sep 27, 2020 9:03 am
Forum: Plugin Development Support
Topic: Pretty sure I found a bug, looking to see if it can be replicated
Replies: 11
Views: 326

Re: Pretty sure I found a bug, looking to see if it can be replicated

What do you get if you print target.give_named_item.arguments ? My first guess would be that you have a plugin that is registering that pointer without all the required parameters. (_memory.DataType.POINTER, _memory.DataType.STRING, _memory.DataType.INT, _memory.DataType.POINTER, _memory.DataTy...
by arawra
Sun Sep 27, 2020 8:50 am
Forum: Plugin Development Support
Topic: Pretty sure I found a bug, looking to see if it can be replicated
Replies: 11
Views: 326

Re: Pretty sure I found a bug, looking to see if it can be replicated

sp info IMPORTANT: Please copy the full output. -------------------------------------------------------- Checksum : 69ed9b7cbfc55f9465bec8a41d35d8c7 Date : 2020-09-27 08:50:32.871054 OS : Windows-10-10.0.18362 Game : csgo SP version : 700 Github commit : 53f3bb562a2975c828d4c5145e21979859f57731 Ser...
by arawra
Sun Sep 27, 2020 7:59 am
Forum: Plugin Development Support
Topic: Pretty sure I found a bug, looking to see if it can be replicated
Replies: 11
Views: 326

Pretty sure I found a bug, looking to see if it can be replicated

Trying to give a player weapons after setting their model to a chicken, and then back to the original. @ClientCommand('!polymorph') def polymorph(command, index): player = Player(index) target = player.get_view_player() if not target: return mdl = target.model...
by arawra
Sat Sep 26, 2020 9:43 am
Forum: Plugin Development Support
Topic: Setting owner_handle of projectiles
Replies: 4
Views: 258

Re: Setting owner_handle of projectiles

Neither of those are working for me :\ @Event('player_say') def player_say(e): player = Player(index_from_userid(e['userid'])) if e['text'] == 'test': degree = (2*pi)/4 x,y,z = player.get_eye_location() x2,y2,z2 = Vector...
by arawra
Sat Sep 26, 2020 8:29 am
Forum: Plugin Development Support
Topic: Setting owner_handle of projectiles
Replies: 4
Views: 258

Setting owner_handle of projectiles

How would I go about setting the owner of a spawned in entity so that damage can be attributed to the player that spawns in the entity? from players.entity import Player from entities.entity import Entity from events import Event from players.helpers import index_from_userid from engines.precache im...
by arawra
Fri Sep 25, 2020 1:19 pm
Forum: General Discussion
Topic: SQL results to MS Teams using Python in table format
Replies: 5
Views: 400

Re: SQL results to MS Teams using Python in table format

I think I like this formatting a bit better, and iterating over lists is more efficient. df = pd.read_sql(sql_query, conn) results = str(df).split(' ') columns = ['Status', 'Enum', 'Booking Status'] database_table_output = [] for i in range(...
by arawra
Fri Sep 25, 2020 12:53 pm
Forum: General Discussion
Topic: SQL results to MS Teams using Python in table format
Replies: 5
Views: 400

Re: SQL results to MS Teams using Python in table format

There's no "table" in Python. In generic terms, I think you'd want an associative array. Python supports dictionaries, which is a collection of key-value pairs. Keys and values can be of any data type I believe. There may be a more efficient or pythonic way to do this, but implement first ...
by arawra
Wed Sep 23, 2020 12:04 am
Forum: General Discussion
Topic: Installation and configuration sourcepython
Replies: 7
Views: 958

Re: Installation and configuration sourcepython

SuperDarkRPG wrote:Same problem for me


What have you tried so far? What is the output of "sp" in your server console?
by arawra
Sun Sep 20, 2020 7:11 am
Forum: Plugin Development Support
Topic: Show Effect through wall
Replies: 0
Views: 416

Show Effect through wall

Is it possible to show an Effect through a wall to a specific player?

E: Found some effects that work for this purpose.
by arawra
Sun Sep 20, 2020 3:23 am
Forum: Plugin Development Support
Topic: SQLAlchemy and PyMySQL
Replies: 3
Views: 192

Re: SQLAlchemy and PyMySQL

The site provided was the same as I had been using. I tried the 3.0 version of cryptography and it gave a bit more descriptive of a traceback. Turns out I just needed the dependency package, cffi. Now I'm just troubleshooting crashes/lag and DB permissions.
by arawra
Sun Sep 20, 2020 12:39 am
Forum: Plugin Development Support
Topic: SQLAlchemy and PyMySQL
Replies: 3
Views: 192

Re: SQLAlchemy and PyMySQL

So I have gotten the 3.6 builds for cryptography. I went so far as using pyenv to make sure I got a version for 3.6. I suppose I'll try it with the link you provided.

Go to advanced search