PDA

View Full Version : Source Tool Assist plugin



CRASH FORT
07-23-2016, 09:47 PM
This is a SM plugin I've made to allow tool assisted runs.

Showcase video:

http://www.youtube.com/watch?v=pkILt1DNcMI

If you want to make TAS videos then this is for you.

Does work with multiple players and host_timescale. Includes rewinding, replay bots, saving and loading, timeline manipulation.

Download
https://github.com/CRASHFORT/SourceToolAssist/releases

Readme
https://github.com/CRASHFORT/SourceToolAssist

Masog
07-24-2016, 03:44 AM
amazing man

Beetle179
07-24-2016, 09:29 PM
this is legit so sick

fakeDemon
07-24-2016, 10:13 PM
this is legit so sick

Beetle going to make TAS videos??!?!?!?!

Juxtapo
07-24-2016, 11:04 PM
I'm planning on making a compilation for SurfCinema of TAS runs, so if anyone makes a well optimized TAS run and wants it included or wants to use my server for TASing a map let me know!

Silverthing
08-05-2016, 09:08 AM
Oh I didn't even notice this, probably because you were too swift.. Thanks mayne.

CRASH FORT
08-06-2016, 12:45 AM
I've fine adjusted things and added timing and zones / checkpoints for the bots now. I guess it's done or something soon.

Red
09-07-2016, 04:21 PM
I've fine adjusted things and added timing and zones / checkpoints for the bots now. I guess it's done or something soon.

guess im a little confused but is this going to be released to the public or is this going to be a private thing?

btw looks sick

CRASH FORT
09-07-2016, 08:58 PM
It will be public, I can finish it up eventually. I've had other things to work on.

WeazR
09-08-2016, 05:11 AM
Looks dope man!

CRASH FORT
09-13-2016, 05:04 PM
I have released this now here https://github.com/CRASHFORT/SourceToolAssist/releases. There may be problems in it because SourcePawn is not my thing and it's very difficult to test. You can use multiple players but there is only 1 bot at the moment.

I will write how to use it on the repository page.

fakeDemon
09-14-2016, 03:37 PM
Sweet! :D

whirlreckir349
09-14-2016, 04:11 PM
how to use:

bind a key to +sm_rewind (this will be your rewind key)
bind a key to +sm_fastforward (this will be your fastforward key)

set zones with !zone_edit
open menu with !segmentreplay

Red
09-14-2016, 06:59 PM
yeah but not sure what to use for the database in sourcemod, the zones arent actually saving so neither are the bots

CRASH FORT
09-14-2016, 11:05 PM
Everything is saved and loaded on the server in the structure "cstrike\Source Tool Assist\". There it creates directories called "Replays" and "Zones" appropriately when things are saved or loaded.

They call me queer
09-16-2016, 12:10 AM
i will smash you all

Red
09-18-2016, 05:20 PM
Got the hand of the plugin, it's running great man this is awesome, now i just need to find a 1-tick perfect strafer :/ wish me luck, would honestly probably be easier to code than get one from another person but i know nothing

CRASH FORT
09-18-2016, 07:07 PM
You can just change host_timescale.

vtecboost
09-18-2016, 10:20 PM
awesome plugin mate made an acc to say thanks

gonna be able to test so much shit with this on skyworld

https://www.youtube.com/watch?v=0YwHfxap0jY - sinsane shortcut i theorized a while ago

Red
09-30-2016, 04:33 PM
Ive definitely got the hang of this now, ended up doing this run (https://www.youtube.com/watch?v=dC-dUmgINiE) which im happy with atm might go back and try to see if i can improve it.

If you couldnt tell i found a perfect strafer, so im happy. :D

Also is there any reason you chose to make all the zones purple instead of the common green/red for starts and ends? I changed the colors cause it kind of messed with me for some odd reason, i would love to make the checkpoint zones invisible but then you cant see the outline when you are placing them.

Edit: went back and reran the map and got a 4:00.400 time 16 seconds faster than the run above, i sent the demo to SourceJumps to see if they would accept it ;) wish me luck lol

CRASH FORT
09-30-2016, 04:54 PM
Very nice run.

Making the zones optionally visible could be an option but there are more important things about this plugin right now, and that is after some hours of use it tends to crash. Both SM and SP is very painful to work with so this project is not very fun for me.

Red
09-30-2016, 05:14 PM
SP is very painful to work with so this project is not very fun for me.

Alright thanks for the quick response and ive never used the plugin for long periods like that before, so i haven't had that crash good to know though ill be saving the runs more often now.

Thanks for making this, you're awesome man. I've always been annoyed by CS:S TASing because most of the plugins to do it are private like the perf strafer i received, so im glad to see someone making a plugin like this.

Tenno
10-01-2016, 05:58 AM
L 10/01/2016 - 13:52:31: [SM] Exception reported: Client index 0 is invalid
L 10/01/2016 - 13:52:31: [SM] Blaming: surf_segmentplay.smx()
L 10/01/2016 - 13:52:31: [SM] Call stack trace:
L 10/01/2016 - 13:52:31: [SM] [0] GetUserAdmin
L 10/01/2016 - 13:52:31: [SM] [1] Line 10, STA\Permissions.inc::PlayerHasPermissionToUse()
L 10/01/2016 - 13:52:31: [SM] [2] Line 22, STA\Permissions.inc::HandlePlayerPermission()
L 10/01/2016 - 13:52:31: [SM] [3] Line 840, C:\Github\SourceToolAssist\Source\surf_segmentplay .sp::STA_FastForwardUp()


I'm getting this error when trying to use most of the commands. Can't figure out what's wrong, any tips?

CRASH FORT
10-01-2016, 12:08 PM
Are you using a SRCDS server or an insecure listen server?

Tenno
10-01-2016, 12:36 PM
I just created a server ingame and with -insecure. Should I try SRCDS?

CRASH FORT
10-01-2016, 01:24 PM
Yes it's only meant to be used with SRCDS, the problem with an insecure listen server is that the server and local client are both at index 0.

Red
11-12-2016, 12:36 AM
Would it be possible for you to make this text 226 effected by the cl_drawhud command at some point? Just a QoL thing.

CRASH FORT
11-12-2016, 08:51 AM
Yeah I have a lot of changes in mind but I've decided that if I work on this again I'll make it a completely native server plugin instead without SourceMod.

Hardex
08-14-2017, 04:22 PM
Having the same issue as Tenno. Using SRCDS.

http://i.imgur.com/blHQCaU.png