forked from StrafesNET/strafe-project
include bot in binary
This commit is contained in:
parent
d8437567ac
commit
ff98a95bdb
@ -336,8 +336,8 @@ pub fn new<'a>(
|
||||
)->crate::compat_worker::QNWorker<'a,TimedInstruction<Instruction>>{
|
||||
let physics=crate::physics::PhysicsContext::default();
|
||||
//load bot
|
||||
let file=std::fs::File::open("/home/quat/strafesnet/roblox_bot_file/files/bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d").unwrap();
|
||||
let mut bot_file=strafesnet_roblox_bot_file::v0::File::new(std::io::BufReader::new(file)).unwrap();
|
||||
let data=include_bytes!("/home/quat/strafesnet/roblox_bot_file/files/bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d");
|
||||
let mut bot_file=strafesnet_roblox_bot_file::v0::File::new(std::io::BufReader::new(std::io::Cursor::new(data))).unwrap();
|
||||
let mut interpolator=PlayBacker::new(
|
||||
physics,
|
||||
bot_file.read_all().unwrap(),
|
||||
|
Loading…
Reference in New Issue
Block a user