You can, for example, make your server run sockets and requests as to your wish. (Use the unendless world of python packages)
Only downside is, that your server has to be running for this. In case its down, and you kind of want to restart it via an API, it wont work.
Search found 416 matches
- Sat Mar 02, 2019 2:47 pm
- Forum: General Discussion
- Topic: [CS:GO] How to add API in gameserver
- Replies: 5
- Views: 4598
- Wed Nov 07, 2018 11:01 pm
- Forum: Plugin Development Support
- Topic: ConVar Value Type Restriction
- Replies: 1
- Views: 3594
ConVar Value Type Restriction
Hey,
Is there currently a way to restrict the value of a ConVar to a specific value type?
Currently I'm using a server_cvar Hook to check for valid FLOAT value and cache it meanwhile. Something like "type:float" woulda be hella cool, without needing to store it under a seperate variable.
Is there currently a way to restrict the value of a ConVar to a specific value type?
Currently I'm using a server_cvar Hook to check for valid FLOAT value and cache it meanwhile. Something like "type:float" woulda be hella cool, without needing to store it under a seperate variable.
- Wed Nov 07, 2018 10:30 pm
- Forum: Plugin Development Support
- Topic: [CS:GO] HintText
- Replies: 5
- Views: 6614
Re: [CS:GO] HintText
I saw many using the "<pre>" tag. Apparently it makes the font size visible and makes /t work again.
- Sat Oct 20, 2018 11:46 am
- Forum: Plugin Development Support
- Topic: See open menus
- Replies: 6
- Views: 6283
Re: See open menus
I'm actually realy interested in knowing if the current opened menu object for a player is stored in the client data. Personally, I had problems with sm and sp menus where they stack on each other while the active listener is still on the hidden menu. Edit: Dont hold my words for correct, but I can ...
- Thu Aug 09, 2018 12:52 am
- Forum: Plugin Releases
- Topic: [CSGO] Floating Damage Numbers
- Replies: 22
- Views: 73398
Re: [CSGO] Floating Damage Numbers
Awesome Plugin!
Reminds me heavily from fortnite. :)
Reminds me heavily from fortnite. :)
- Mon Jul 30, 2018 6:15 pm
- Forum: Plugin Development Support
- Topic: Csgo motd
- Replies: 21
- Views: 20882
Re: Csgo motd
You must use -panorama in start parameter right? If so, theres no way to fix this issue with the panorama hud.
- Mon Jul 30, 2018 11:48 am
- Forum: Plugin Development Support
- Topic: Csgo motd
- Replies: 21
- Views: 20882
Re: Csgo motd
Hey, you should definitely read this thread because CS:GO is not showing a motd unless you use a workaround with javascript. Im not sure, but I think I heard something about the dead of CS:GO motd because the way they changed the motd in the recent patch. (You can only put a url in the motd file...)...
- Tue May 29, 2018 2:29 pm
- Forum: Plugin Development Support
- Topic: Draw Crosshair
- Replies: 5
- Views: 5023
Re: Draw Crosshair
Hey, I think theres currently no cvar which draws the crosshair for scouts or when you are disarmed. But there are probably some try-around ways: 1. Create an Screenoverlay with a custom crosshair and send it to the player if he equiped that weapon 2. (FOR DISARMED ONLY) Give the player a weapon whi...
- Sat May 19, 2018 8:54 pm
- Forum: Plugin Development Support
- Topic: SP's update changes
- Replies: 8
- Views: 6342
Re: SP's update changes
Im not exactly sure, but I remember that I've always had to convert the Vector into a QAngle with:
Syntax: Select all
angles = Vector(0, 0, 0)
new_angles = QAngle(*angles)
- Tue May 08, 2018 3:19 pm
- Forum: Plugin Development Support
- Topic: how to catch the halftime
- Replies: 5
- Views: 4591
Re: how to catch the halftime
How about adding this:
You can use the Syntax Highlighting for Python code instead of block code.
Syntax: Select all
@Event('cs_intermission')
def cs_intermission(game_event):
global rounds_played
rounds_played = 0
You can use the Syntax Highlighting for Python code instead of block code.
- Fri May 04, 2018 3:50 am
- Forum: Plugin Development Support
- Topic: Remove Weapon on Disconnect
- Replies: 3
- Views: 3207
Remove Weapon on Disconnect
Hey,
how can you remove the weapon a player dropped on disconnect?
how can you remove the weapon a player dropped on disconnect?
- Tue Apr 24, 2018 3:33 pm
- Forum: Plugin Development Support
- Topic: SourceTV Listener
- Replies: 22
- Views: 14644
Re: SourceTV Listener
I agree with you @12jdlovins, you can also replace tv_autorecord by simply tv_record <> on map start. Not sure if its a trouble still, but the most important feature I needed from the demo was the tick counter to save certain actions and make it easier for the player to directly skip to a specific t...
- Tue Apr 24, 2018 12:29 am
- Forum: Plugin Development Support
- Topic: SourceTV Listener
- Replies: 22
- Views: 14644
Re: SourceTV Listener
You dont need it, but its the official way to also hook auto-created demos, or user generated ones.
- Mon Apr 23, 2018 5:47 pm
- Forum: Plugin Development Support
- Topic: SourceTV Listener
- Replies: 22
- Views: 14644
Re: SourceTV Listener
How would that work, also for CS:GO for example?
I tried to choose CS:S for now, and entered CHLTVDemoRecorder, found actually something but how do I get the offset?
I tried to choose CS:S for now, and entered CHLTVDemoRecorder, found actually something but how do I get the offset?
- Sun Apr 22, 2018 1:19 am
- Forum: Plugin Development Support
- Topic: trigger creation
- Replies: 4
- Views: 4907
Re: trigger creation
An Update: I helped him trying to figure out the problem and it ended up Entity.spawn() being the problem. I noticed, in my code above, setting the spawn() BEFORE setting the model or AFTER setting maxs/mins, it doesnt "spawn". It actually calls OnEntitySpawned Listener but hooking start_t...
- Sat Apr 21, 2018 9:14 pm
- Forum: Plugin Development Support
- Topic: trigger creation
- Replies: 4
- Views: 4907
Re: trigger creation
Hey Malt, nice to see you here! My guess would be, that your vectors arent a Vector Instance, which might would lead the trigger to be spawned but not on the right position. So try to convert your vectors to a Vector. from mathlib import Vector my_vector = Vector(x, y, z) You can also simpli...
- Sat Apr 21, 2018 1:25 pm
- Forum: Plugin Development Support
- Topic: SourceTV Listener
- Replies: 22
- Views: 14644
Re: SourceTV Listener
Can someone maybe check the offsets/signatures for CS:S Windows/Linux and CS:GO Windows/Linux?
Additionally how are you doing that? Is there any program for that?
Additionally how are you doing that? Is there any program for that?
- Sat Apr 21, 2018 1:22 pm
- Forum: News & Announcements
- Topic: Source.Python update command
- Replies: 7
- Views: 39535
Re: Source.Python update command
Thats awesome, well done!
For future reference, we just have to write "sp update" to get the latest build? Do we still have to follow the update steps and delete all directories mentioned here: http://wiki.sourcepython.com/general/updating.html
For future reference, we just have to write "sp update" to get the latest build? Do we still have to follow the update steps and delete all directories mentioned here: http://wiki.sourcepython.com/general/updating.html
- Wed Apr 18, 2018 2:26 pm
- Forum: General Discussion
- Topic: Download only bz2 files without checking for the orig.
- Replies: 6
- Views: 6161
Re: Download only bz2 files without checking for the orig.
I think its kind of hardcoded into the game. On connect it checks the "Downloadables Table" and checks for each player if the chosen file already exist on the player's harddrive or if it has to be downloaded from either the server or a fast download server. I think he means to skip the &qu...
- Wed Apr 11, 2018 10:39 am
- Forum: Plugin Development Support
- Topic: Block Player Buttons
- Replies: 10
- Views: 6984
Re: Block Player Buttons
I'm not able to check it right now, but you can find the m_flNextSecondaryAttack via:
Syntax: Select all
for x in entity.properties:
print(x)