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>>{
|
)->crate::compat_worker::QNWorker<'a,TimedInstruction<Instruction>>{
|
||||||
let physics=crate::physics::PhysicsContext::default();
|
let physics=crate::physics::PhysicsContext::default();
|
||||||
//load bot
|
//load bot
|
||||||
let file=std::fs::File::open("/home/quat/strafesnet/roblox_bot_file/files/bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d").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(file)).unwrap();
|
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(
|
let mut interpolator=PlayBacker::new(
|
||||||
physics,
|
physics,
|
||||||
bot_file.read_all().unwrap(),
|
bot_file.read_all().unwrap(),
|
||||||
|
Loading…
Reference in New Issue
Block a user