Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Jan 26, 2024
1 parent eea697a commit ab87bfd
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Added character filter and character limit bypass
- Fixed balls duplicating
- Added No Particles, No Shaders, Text Limit Bypass, Text Character Bypass and Speedhack Music

# 1.0.1

Expand Down
2 changes: 1 addition & 1 deletion src/Client/ClientSetup.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ClientUtils

speedhack->modules.push_back(new SpeedhackTop());
speedhack->modules.push_back(new Module("Enabled", "speedhack-enabled", "Is the speedhack enabled?"));
//speedhack->modules.push_back(new Module("Speedhack Music", "speedhack-music"));
speedhack->modules.push_back(new Module("Speedhack Music", "speedhack-music", "Speedhack all sound by your speed modifier", true));

(reinterpret_cast<SpeedhackTop*>(speedhack->modules.front()))->format = "%x";

Expand Down
28 changes: 28 additions & 0 deletions src/Hacks/ForceVisibility.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#include <Geode/Geode.hpp>
#include <Geode/modify/CCNode.hpp>
#include <Geode/modify/GameObject.hpp>
#include "../Client/Client.h"

using namespace geode::prelude;

class $modify (GameObject)
{
virtual void setVisible(bool visible)
{
if (Client::GetModuleEnabled("obj-vis"))
GameObject::setVisible(true);
else
GameObject::setVisible(visible);
}
};

class $modify (CCNode)
{
virtual void setVisible(bool visible)
{
if (Client::GetModuleEnabled("node-vis"))
CCNode::setVisible(true);
else
CCNode::setVisible(visible);
}
};
8 changes: 8 additions & 0 deletions src/Hacks/Speedhack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,19 @@ class $modify (CCScheduler)

if (v > 99999)
v = 99999;

FMOD::ChannelGroup* masterGroup;
FMODAudioEngine::sharedEngine()->m_system->getMasterChannelGroup(&masterGroup);
masterGroup->setPitch(Client::GetModuleEnabled("speedhack-music") ? v : 1);

CCScheduler::update(dt * v);
return;
}
}

FMOD::ChannelGroup* masterGroup;
FMODAudioEngine::sharedEngine()->m_system->getMasterChannelGroup(&masterGroup);
masterGroup->setPitch(1);

CCScheduler::update(dt);
}
Expand Down
14 changes: 12 additions & 2 deletions src/ShopBypass.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
#include <Geode/Geode.hpp>
/*#include <Geode/Geode.hpp>
#include <Geode/modify/GJStoreItem.hpp>
#include "Client/Client.h"
using namespace geode::prelude;
using namespace geode::prelude;
class $modify (GJStoreItem)
{
bool init(int p0, int p1, int p2, int p3, ShopType p4)
{
log::info("p0 {}, p1: {}, p2: {}, p3: {}", p0, p1, p2, p3);
return GJStoreItem::init(p0, p1, p2, p3, p4);
}
};*/

0 comments on commit ab87bfd

Please sign in to comment.