Coder Social home page Coder Social logo

slide's Introduction

slide

An enhanced version of the Counterstrike "gamemode" slide

slide's People

Contributors

lexicality avatar tjtwl avatar

Stargazers

loathing avatar

Watchers

James Cloos avatar  avatar

slide's Issues

Add help screen

When the user first joins / presses F1 we should explain wtf is going on with pics

  • Don't step on mines
  • Don't run into things
  • Use W to speed up to get over some jumps
  • Use S to slow down to get around obstacles
  • Use crouch jump to get over some things that normal jumps can't

LFS 404 error

When I try to pull a bunch of the maps aren't downloaded. The logs below are generated.

This ticket tells me git-lfs/git-lfs#3544 @Lexicality needs to do something to fix this

git-lfs/2.11.0 (GitHub; windows amd64; go 1.14.2; git 48b28d97)
git version 2.28.0.windows.1

$ git-lfs.exe filter-process
Error downloading object: content/maps/slide_aquatic_v1.bsp (b887d3b): Smudge error: Error downloading content/maps/slide_aquatic_v1.bsp (b887d3b9864b493c5687d3ad04f9103b21c9c127594da6430f8d7a722c84840f): [b887d3b9864b493c5687d3ad04f9103b21c9c127594da6430f8d7a722c84840f] Object does not exist on the server: [404] Object does not exist on the server

[404] Object does not exist on the server
[b887d3b9864b493c5687d3ad04f9103b21c9c127594da6430f8d7a722c84840f] Object does not exist on the server
github.com/git-lfs/git-lfs/errors.newWrappedError
	d:/a/git-lfs/git-lfs/errors/types.go:198
github.com/git-lfs/git-lfs/errors.Wrapf
	d:/a/git-lfs/git-lfs/errors/errors.go:85
github.com/git-lfs/git-lfs/tq.(*TransferQueue).enqueueAndCollectRetriesFor
	d:/a/git-lfs/git-lfs/tq/transfer_queue.go:607
github.com/git-lfs/git-lfs/tq.(*TransferQueue).collectBatches.func1
	d:/a/git-lfs/git-lfs/tq/transfer_queue.go:453
runtime.goexit
	go/src/runtime/asm_amd64.s:1373
Error downloading content/maps/slide_aquatic_v1.bsp (b887d3b9864b493c5687d3ad04f9103b21c9c127594da6430f8d7a722c84840f)
github.com/git-lfs/git-lfs/errors.newWrappedError
	d:/a/git-lfs/git-lfs/errors/types.go:198
github.com/git-lfs/git-lfs/errors.Wrapf
	d:/a/git-lfs/git-lfs/errors/errors.go:85
github.com/git-lfs/git-lfs/lfs.(*GitFilter).downloadFile
	d:/a/git-lfs/git-lfs/lfs/gitfilter_smudge.go:115
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
	d:/a/git-lfs/git-lfs/lfs/gitfilter_smudge.go:76
github.com/git-lfs/git-lfs/commands.smudge
	d:/a/git-lfs/git-lfs/commands/command_smudge.go:127
github.com/git-lfs/git-lfs/commands.filterCommand
	d:/a/git-lfs/git-lfs/commands/command_filter_process.go:120
github.com/spf13/cobra.(*Command).execute
	go/pkg/mod/github.com/spf13/[email protected]/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
	go/pkg/mod/github.com/spf13/[email protected]/command.go:852
github.com/spf13/cobra.(*Command).Execute
	go/pkg/mod/github.com/spf13/[email protected]/command.go:800
github.com/git-lfs/git-lfs/commands.Run
	d:/a/git-lfs/git-lfs/commands/run.go:103
main.main
	d:/a/git-lfs/git-lfs/git-lfs.go:33
runtime.main
	go/src/runtime/proc.go:203
runtime.goexit
	go/src/runtime/asm_amd64.s:1373
Smudge error
github.com/git-lfs/git-lfs/errors.newWrappedError
	d:/a/git-lfs/git-lfs/errors/types.go:198
github.com/git-lfs/git-lfs/errors.NewSmudgeError
	d:/a/git-lfs/git-lfs/errors/types.go:284
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
	d:/a/git-lfs/git-lfs/lfs/gitfilter_smudge.go:85
github.com/git-lfs/git-lfs/commands.smudge
	d:/a/git-lfs/git-lfs/commands/command_smudge.go:127
github.com/git-lfs/git-lfs/commands.filterCommand
	d:/a/git-lfs/git-lfs/commands/command_filter_process.go:120
github.com/spf13/cobra.(*Command).execute
	go/pkg/mod/github.com/spf13/[email protected]/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
	go/pkg/mod/github.com/spf13/[email protected]/command.go:852
github.com/spf13/cobra.(*Command).Execute
	go/pkg/mod/github.com/spf13/[email protected]/command.go:800
github.com/git-lfs/git-lfs/commands.Run
	d:/a/git-lfs/git-lfs/commands/run.go:103
main.main
	d:/a/git-lfs/git-lfs/git-lfs.go:33
runtime.main
	go/src/runtime/proc.go:203
runtime.goexit
	go/src/runtime/asm_amd64.s:1373

Current time in UTC: 
2020-10-06 10:46:27

ENV:
LocalWorkingDir=D:\Games\SteamLibrary\steamapps\common\GarrysMod\garrysmod\gamemodes\slide
LocalGitDir=D:\Games\SteamLibrary\steamapps\common\GarrysMod\garrysmod\gamemodes\slide\.git
LocalGitStorageDir=D:\Games\SteamLibrary\steamapps\common\GarrysMod\garrysmod\gamemodes\slide\.git
LocalMediaDir=D:\Games\SteamLibrary\steamapps\common\GarrysMod\garrysmod\gamemodes\slide\.git\lfs\objects
LocalReferenceDirs=
TempDir=D:\Games\SteamLibrary\steamapps\common\GarrysMod\garrysmod\gamemodes\slide\.git\lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=D:\Games\SteamLibrary\steamapps\common\GarrysMod\garrysmod\gamemodes\slide\.git\lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file
UploadTransfers=basic,lfs-standalone-file
GIT_DIR=D:/Games/SteamLibrary/steamapps/common/GarrysMod/garrysmod/gamemodes/slide/.git
GIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core

Client IP addresses:
fe80::978:c5a5:7989:6410 10.0.75.1
fe80::8d0d:7b74:82fd:4eba 172.27.144.1
fe80::cd4b:8e0f:9c3:8ee 192.168.1.103

Detect when players get stuck

me stuck

] lua =me:GetRunData():GetData()
Remote print: 	1:
Remote print: 			vel	=	-99.907898 1496.669067 -0.000004
Remote print: 			pos	=	-12487.791016 663.007751 52.290134
Remote print: 			rtime	=	320.76864624023
Remote print: 			ang	=	0.000 91.353 0.000
Remote print: 			ctime	=	112.5299987793
Remote print: 	2:
Remote print: 			vel	=	573.739258 1370.696533 204.973892
Remote print: 			pos	=	-12472.485352 951.551514 60.931648
Remote print: 			rtime	=	320.96298217773
Remote print: 			ang	=	0.000 81.821 0.000
Remote print: 			ctime	=	112.72499847412
Remote print: 	3:
Remote print: 			vel	=	592.342834 772.040649 1141.526611
Remote print: 			pos	=	-12324.750977 1162.955200 161.158051
Remote print: 			rtime	=	321.15567016602
Remote print: 			ang	=	0.000 55.413 0.000
Remote print: 			ctime	=	112.91999816895

. . .

Remote print: 	118:
Remote print: 			vel	=	-0.000004 1000.277161 0.000000
Remote print: 			pos	=	1560.031250 -18.064398 64.910713
Remote print: 			rtime	=	343.58065795898
Remote print: 			ang	=	0.000 -96.129 0.000
Remote print: 			ctime	=	135.3450012207
Remote print: 	119:
Remote print: 			vel	=	-0.000001 999.841370 -1.637072
Remote print: 			pos	=	1560.031250 -18.069151 65.041199
Remote print: 			rtime	=	343.77648925781
Remote print: 			ang	=	0.000 -96.129 0.000
Remote print: 			ctime	=	135.53999328613
Remote print: 	120:
Remote print: 			vel	=	-0.000000 999.841858 0.000000
Remote print: 			pos	=	1560.031250 -18.067368 64.991920
Remote print: 			rtime	=	343.97149658203
Remote print: 			ang	=	0.000 -96.129 0.000
Remote print: 			ctime	=	135.73500061035
Remote print: 	121:
Remote print: 			vel	=	-0.000000 1000.277161 0.000000
Remote print: 			pos	=	1560.031250 -18.065592 64.942848
Remote print: 			rtime	=	344.16714477539
Remote print: 			ang	=	0.000 -96.129 0.000
Remote print: 			ctime	=	135.92999267578
Remote print: 	122:
Remote print: 			vel	=	-0.000000 1000.277649 0.000000
Remote print: 			pos	=	1560.031250 -18.063801 64.893364
Remote print: 			rtime	=	344.36215209961
Remote print: 			ang	=	0.000 -96.129 0.000
Remote print: 			ctime	=	136.125
Remote print: 	123:
Remote print: 			vel	=	-0.000000 999.841370 -1.637072
Remote print: 			pos	=	1560.031250 -18.068554 65.023842
Remote print: 			rtime	=	344.5578918457
Remote print: 			ang	=	0.000 -96.129 0.000
Remote print: 			ctime	=	136.31999206543
Remote print: 	124:
Remote print: 			vel	=	-0.000000 999.841858 0.000000
Remote print: 			pos	=	1560.031250 -18.066771 64.974564
Remote print: 			rtime	=	344.75018310547
Remote print: 			ang	=	0.000 -96.129 0.000
Remote print: 			ctime	=	136.51499938965
Remote print: 	125:
Remote print: 			vel	=	-0.000000 1000.277161 0.000000
Remote print: 			pos	=	1560.031250 -18.064995 64.925491
Remote print: 			rtime	=	344.94515991211
Remote print: 			ang	=	0.000 -96.129 0.000
Remote print: 			ctime	=	136.70999145508
] lua =(Vector(1560.031250, -18.064995 ,64.925491)-Vector(1560.031250, -18.068554, 65.023842)):Length()
Remote print: 0.098414902482814
] lua =Vector(1560.031250, -18.064995 ,64.925491):IsEqualTol(Vector(1560.031250, -18.068554, 65.023842),0.1)
Remote print: true
  • Offer to respawn them (discarding run?)
  • Save where they got stuck for analytics (& adding kill triggers?)
  • Maybe stop recording run data while someone is stuck?

Stage support

Some of the maps have ~ kinda ~ have stages with teleporters (eg slide_shoxx_vs_nitro_f2) so it might be helpful to let people respawn at the start of each map segment.

Totally not inspired by some friends making me play some surf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.