Search found 52 matches

by velocity
Sat Mar 04, 2017 10:22 pm
Forum: Plugin Development Support
Topic: Changing entity spawn delay
Replies: 0
Views: 50

Changing entity spawn delay

I'm trying to make grenades "spawn faster" when you throw them, there seem to be a delay from when you press FIRE till the grenade is actually fired, I want to remove/modify the delay. I've been looking at the sourcesdk-2013, but I don't know how to modify it and I'm not sure if I'm lookin...
by velocity
Sat Mar 04, 2017 10:20 pm
Forum: Plugin Development Support
Topic: Current Map
Replies: 2
Views: 60

Re: Current Map

Thanks
by velocity
Sat Mar 04, 2017 11:32 am
Forum: Plugin Development Support
Topic: Current Map
Replies: 2
Views: 60

Current Map

How do I read the current map?
by velocity
Tue Feb 28, 2017 1:36 pm
Forum: Plugin Development Support
Topic: closing menus
Replies: 3
Views: 76

Re: closing menus

But it's never the same menu instance anyway since I'm calling the menu on a function, its a new class object every time right? I understood from EventScripts you give an id aka name for the popup, but apparently not here. So in order for this to work properly I have to save the menu object for ever...
by velocity
Mon Feb 27, 2017 6:52 pm
Forum: Plugin Development Support
Topic: closing menus
Replies: 3
Views: 76

closing menus

in package menus

How do I close the active menu of the user, so I make sure that only 1 menu is open at the time, without saving the class object of every menu for each player?
by velocity
Sun Feb 26, 2017 12:31 pm
Forum: API Design
Topic: menu package
Replies: 1
Views: 84

menu package

When creating a PagedMenu menu = PagedMenu( title='Zones', top_separator='', bottom_separator='', select_callback=some_callback ) it has 8.Back, 9.Next, 0.Close none-highlighted and it displays 'the amount of pages' [1/1], when there is less than 8 items, which is wei...
by velocity
Mon Feb 20, 2017 11:06 pm
Forum: Plugin Development Support
Topic: Chat colors
Replies: 6
Views: 145

Re: Chat colors

:(
by velocity
Sun Feb 19, 2017 8:22 pm
Forum: Plugin Development Support
Topic: Chat colors
Replies: 6
Views: 145

Re: Chat colors

Sure
by velocity
Sun Feb 19, 2017 7:03 pm
Forum: Plugin Development Support
Topic: Chat colors
Replies: 6
Views: 145

Re: Chat colors

Not really a solution, by not writing anything in console at all
by velocity
Sun Feb 19, 2017 5:14 pm
Forum: Plugin Development Support
Topic: Chat colors
Replies: 6
Views: 145

Chat colors

Syntax: Select all

import colors
from messages import SayText

SayText('{}Hello'.format(colors.WHITE)).send()


Simple code and it works, but how do I avoid FFF000F in console?
by velocity
Thu Feb 16, 2017 6:14 pm
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 546

Re: Threaded MySQL 2.0.0 (Updated)

by velocity
Thu Feb 16, 2017 9:56 am
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 546

Re: Threaded MySQL 2.0.0 (Updated)

But it looks like its currently not possible that it returns the dict back instead of calling a callback? Thats what I realy need. Greetings I'm not sure what you mean, but you must have a callback, since it's threaded, it cannot return directly back from where you are calling the function in your ...
by velocity
Thu Feb 16, 2017 12:48 am
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 546

Re: Threaded MySQL 2.0.0 (Updated)

Hey, I decided to give youre package a try. Currently building it up right now, but Im wondering what does 'commit_before_save' on close() mean. Will it execute all "queries" in the queue before closing the connection or something else? Oh yes.. You are exactly right. What you are seeing ...
by velocity
Wed Feb 15, 2017 4:25 pm
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 546

Re: Threaded MySQL 2.0.0 (Updated)

It should be better now.
by velocity
Wed Feb 15, 2017 1:54 pm
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 546

Re: Threaded MySQL

Yes, sir, I am soon finished with the rework. I'm totally listening to all of you guys. I will post an update later here today, where I have implemented GameThread.
by velocity
Wed Feb 15, 2017 11:20 am
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 546

Re: Threaded MySQL

Alright!!!!!!!! I will be re-coding it now, but in my defense IT REALLY doesn't lag.
by velocity
Wed Feb 08, 2017 2:21 pm
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 546

Re: Threaded MySQL

Actually, this isn't really threaded as Delay and Repeat are used, which are executed in the same thread. So, this will probably just delay the lag. You need to utilize GameThread to create real threads. First of all, it will prevent lag 100%. Delaying every single query is a good solution because ...
by velocity
Wed Feb 08, 2017 12:13 am
Forum: Module/Package Submissions
Topic: Threaded MySQL
Replies: 15
Views: 546

Threaded MySQL

Threaded MySQL ** UPDATE 15-02-2017** Now uses GameThread instead of Repeat and Delay Delaying the queue is still possible tho, through TSQL.wait(5) # Seconds If your server requires a remote connection to a database, stacked up queries can cause noticeable lag in your game server (freezing...
by velocity
Sat Jan 21, 2017 9:38 am
Forum: General Discussion
Topic: SourcePython and EventScripts
Replies: 2
Views: 137

SourcePython and EventScripts

Sourcepython cannot run together with EventScripts. The server won't start

Specs
Linux
Counter-Strike: Source
by velocity
Sun Jan 08, 2017 7:55 am
Forum: Plugin Development Support
Topic: MoveType
Replies: 11
Views: 348

Re: MoveType

Yeah it's not working, how you suggest I do with hooking Entity.post_think?

Go to advanced search