Upvote Upvoted 88 Downvote Downvoted
1 2
TF2 Web Spectator
31
#31
2 Frags +

vtable, it was originally based on the SourceTV2D SourceMod plugin, so I started with that and just removed CS:S stuff, added in TF2 stuff, and remade omp's hud in canvas for a proof of concept. The reason I'm moving away from it is because SourceMod tries to hook into pretty much everything when it starts up. While that's good for SourceMod in general, it means server updates that break some obscure part of SourceMod also breaks all plugins until a new version is out. See Lange dealing with "MGEMod isn't broken, update SourceMod" every now and again, for example.

By doing it as a VSP and hooking into only what's needed, there is a smaller chance of an update breaking it. It also means server admins only have to put one plugin into place, rather than get Metamod, then Sourcemod, then this on top.

Just added in your suggestions shadowmatter, tyvm for flagging it up.

vtable, it was originally based on the SourceTV2D SourceMod plugin, so I started with that and just removed CS:S stuff, added in TF2 stuff, and remade omp's hud in canvas for a proof of concept. The reason I'm moving away from it is because SourceMod tries to hook into pretty much everything when it starts up. While that's good for SourceMod in general, it means server updates that break some obscure part of SourceMod also breaks all plugins until a new version is out. See Lange dealing with "MGEMod isn't broken, update SourceMod" every now and again, for example.

By doing it as a VSP and hooking into only what's needed, there is a smaller chance of an update breaking it. It also means server admins only have to put one plugin into place, rather than get Metamod, then Sourcemod, then this on top.

Just added in your suggestions shadowmatter, tyvm for flagging it up.
32
#32
1 Frags +

I see. The downside of doing it as a VPS is that you have to deal with all kinds of silliness in Valve's APIs, and if a server update breaks some obscure part of your plugin, you have to fix it yourself, which can be quite… entertaining.

Anyway, I'm messing around with the code, I got OS X builds working and will create pull requests if I add or fix anything important. By the way, it is generally not a good idea use libstdc++ in server plugins, because of ABI compatibility issues with different Linux distros. Instead of std::vector you can use Valve's CUtlVector (see the non-whitespace changes in https://github.com/reubenmorais/webspec/commit/4ec23407f2193d4ea5d40d7ac2325b1c285289ae).

I see. The downside of doing it as a VPS is that you have to deal with all kinds of silliness in Valve's APIs, and if a server update breaks some obscure part of your plugin, you have to fix it yourself, which can be quite… entertaining.

Anyway, I'm messing around with the code, I got OS X builds working and will create pull requests if I add or fix anything important. By the way, it is generally not a good idea use libstdc++ in server plugins, because of ABI compatibility issues with different Linux distros. Instead of std::vector you can use Valve's CUtlVector (see the non-whitespace changes in https://github.com/reubenmorais/webspec/commit/4ec23407f2193d4ea5d40d7ac2325b1c285289ae).
33
#33
2 Frags +

No idea what you guys are talking about but I just wanna say awesome work bluee, your name should be in some sort of blue

also my take on names being mashed together in the minimap when they stand next to eachother, if enough players are standing next to eachother the caster should look there anyways.

ALSO, is there any way to make the minimap be centerd closer and then have it in the lower riht, kinda like MOBAs

No idea what you guys are talking about but I just wanna say awesome work bluee, your name should be in some sort of blue


also my take on names being mashed together in the minimap when they stand next to eachother, if enough players are standing next to eachother the caster should look there anyways.


ALSO, is there any way to make the minimap be centerd closer and then have it in the lower riht, kinda like MOBAs
34
#34
0 Frags +
vtableI see. The downside of doing it as a VPS is that you have to deal with all kinds of silliness in Valve's APIs, and if a server update breaks some obscure part of your plugin, you have to fix it yourself, which can be quite… entertaining.

The benefit would be you don't have to wait for SM to update if you update first too. I also like VSPs for not having to install SM with it.

[quote=vtable]I see. The downside of doing it as a VPS is that you have to deal with all kinds of silliness in Valve's APIs, and if a server update breaks some obscure part of your plugin, you have to fix it yourself, which can be quite… entertaining.[/quote]
The benefit would be you don't have to wait for SM to update if you update first too. I also like VSPs for not having to install SM with it.
35
#35
5 Frags +

Making it VSP also makes ESEA more likely to adopt it if we choose to try and make that happen in the future.

Making it VSP also makes ESEA more likely to adopt it if we choose to try and make that happen in the future.
36
#36
0 Frags +

you and john should have beautiful babies

you and john should have beautiful babies
37
#37
2 Frags +

afaik he only has eyes for lange

http://static-cdn.jtvnw.net/jtv_user_pictures/chansub-global-emoticon-c41c5c6c88f481cd-21x18.png

and vtable's doing good work, adding his changes when he's finished

afaik he only has eyes for lange [img]http://static-cdn.jtvnw.net/jtv_user_pictures/chansub-global-emoticon-c41c5c6c88f481cd-21x18.png[/img]

and vtable's doing good work, adding his changes when he's finished
38
#38
0 Frags +

I know a bit of web design/ javascripting I know about the canvas drawing as well. I wouldn't mind helping out on the web site part at all.

I dabbled in C++ and made a little library check out for books that organized names/ books/ dates/ address/ phone numbers all in their own text file in a specified folder. About the biggest thing I made in c++ so I don't know if I can really help out a whole lot, but I can try.

Add me on Steam if you want me to try and help a bit.

Best of luck on the project, sounds like an epic idea to work on.

I know a bit of web design/ javascripting I know about the canvas drawing as well. I wouldn't mind helping out on the web site part at all.

I dabbled in C++ and made a little library check out for books that organized names/ books/ dates/ address/ phone numbers all in their own text file in a specified folder. About the biggest thing I made in c++ so I don't know if I can really help out a whole lot, but I can try.

Add me on Steam if you want me to try and help a bit.

Best of luck on the project, sounds like an epic idea to work on.
39
#39
0 Frags +
blueeafaik he only has eyes for lange http://static-cdn.jtvnw.net/jtv_user_pictures/chansub-global-emoticon-c41c5c6c88f481cd-21x18.png

and vtable's doing good work, adding his changes when he's finished

you didn't hear this from me but john has eyes for a lot of people ;)

[quote=bluee]afaik he only has eyes for lange [img]http://static-cdn.jtvnw.net/jtv_user_pictures/chansub-global-emoticon-c41c5c6c88f481cd-21x18.png[/img]

and vtable's doing good work, adding his changes when he's finished[/quote]

you didn't hear this from me but john has eyes for a lot of people ;)
40
#40
4 Frags +
blueeand vtable's doing good work, adding his changes when he's finished

Thanks! :)

FWIW, my plans for now are:
1) Get my VPS running again so I can test in a real server
2) Make sure I didn't break Linux/Windows with the OS X changes
3) Create a public instance so other people can test/give feedback
4) Binary WebSockets in client and server
5) Sigscanning instead of offsets

[quote=bluee]and vtable's doing good work, adding his changes when he's finished[/quote]

Thanks! :)

FWIW, my plans for now are:
1) Get my VPS running again so I can test in a real server
2) Make sure I didn't break Linux/Windows with the OS X changes
3) Create a public instance so other people can test/give feedback
4) Binary WebSockets in client and server
5) Sigscanning instead of offsets
41
#41
1 Frags +

You are amazing for making this, thank you so much.

You are amazing for making this, thank you so much.
42
#42
1 Frags +

Having not seen the live demo I don't know how captivating the action is when shown in top down view, but I've hoped for something like this for a while for mobile users or people on limited bandwidth. Combining this with a mumble cast would be an acceptable substitute to a stream in those situations, for me at least.

I've often tuned into big matches on mumble on 3G when away from my computer and this would make it much better.

Also, an idea for reducing clutter. Replace the class portraits with numbered class icons. Eg a Scout icon with a subscript 1 or 2, and then reuse that unique icon on the map. Then the individual icons can be matched to the player health bars without having to draw their name a second time.

Having not seen the live demo I don't know how captivating the action is when shown in top down view, but I've hoped for something like this for a while for mobile users or people on limited bandwidth. Combining this with a mumble cast would be an acceptable substitute to a stream in those situations, for me at least.

I've often tuned into big matches on mumble on 3G when away from my computer and this would make it much better.

Also, an idea for reducing clutter. Replace the class portraits with numbered class icons. Eg a Scout icon with a subscript 1 or 2, and then reuse that unique icon on the map. Then the individual icons can be matched to the player health bars without having to draw their name a second time.
43
#43
0 Frags +

Looks fucking awesome, don't really know what it's for as such, but just as a technical feat it's cool as hell.

Looks fucking awesome, don't really know what it's for as such, but just as a technical feat it's cool as hell.
44
#44
0 Frags +

#42, the current version runs in any mobile browser that supports Canvas, which the majority do now. Performance isn't great though, but since it's open source there's nothing stopping somebody from making a native app with mumble listening built-in. And I like the icon idea a lot.

#43, it started from me playing around with HTML5 and SourceMod, based on stuff jimbomcb had done. When I got to doing the HUD I based it off omp's TFTV branch and thought, "This would actually be neat for casters to have during matches"
Went to Lange about it and he liked it, so I got to work. Sal saw a screenshot in another thread and gave birth to the idea of a shrunken, no-HUD version which could be brought up on stream as a minimap or overview.

#42, the current version runs in any mobile browser that supports Canvas, which the majority do now. Performance isn't great though, but since it's open source there's nothing stopping somebody from making a native app with mumble listening built-in. And I like the icon idea a lot.

#43, it started from me playing around with HTML5 and SourceMod, based on stuff jimbomcb had done. When I got to doing the HUD I based it off omp's TFTV branch and thought, "This would actually be neat for casters to have during matches"
Went to Lange about it and he liked it, so I got to work. Sal saw a screenshot in another thread and gave birth to the idea of a shrunken, no-HUD version which could be brought up on stream as a minimap or overview.
45
#45
0 Frags +

This got bluee player of the week for Kritzkast. Pretty cool stuff you're doing. Keep up the good work.

This got bluee player of the week for Kritzkast. Pretty cool stuff you're doing. Keep up the good work.
1 2
Please sign in through STEAM to post a comment.