Skip to content

Commit

Permalink
n
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Feb 2, 2024
1 parent 61a3c78 commit 6f13462
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- name: Windows
os: windows-latest
target: Win32
- name: Android32
os: ubuntu-latest
target: Android32
#- name: Android32
# os: ubuntu-latest
# target: Android32
- name: Android64
os: ubuntu-latest
target: Android64
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(CheatClient VERSION 1.0.0)

file(GLOB SOURCES
src/*.cpp
src/Hacks/*.cpp
#src/Hacks/*.cpp
src/Client/*.cpp
src/Client/*.h
)
Expand Down
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 Icon Effects (RGB Icons)
- Removed the text limit bypasses due to crashes, sorry :/
- **Temporarily** <cr>disabled</c> 32 bit android support due to crashes, when I get my hands on a copy of 32 bit gd i can fix this
- Created an official [Discord Server](https://discord.gg/DfQSTEnQKK)

# 1.0.3
Expand Down
12 changes: 10 additions & 2 deletions src/Client/Window.h
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,11 @@ class $modify (PlayerObject)

return true;
}

TodoReturn createRobot(int p0)
{
PlayerObject::createRobot(p0);
}
};

class $modify (GJBaseGameLayer)
Expand Down Expand Up @@ -969,9 +974,11 @@ class IconEffects : public Window
{
std::stringstream ss;
ss << "selColour";
ss << as<CCNode*>(sender)->getID();
ss << as<CCNode*>(sender)->getID(); // adb push TheSillyDoggo.Cheats.geode /storage/emulated/0/Android/media/com.geode.launcher/game/geode/mods/

log::info("changing colour: {}", ss.str());

int sel = Mod::get()->getSavedValue<int>(ss.str(), as<CCNode*>(sender)->getTag());
Mod::get()->setSavedValue<int>(ss.str(), as<CCNode*>(sender)->getTag());
}

void generateType(CCMenu* menu, int type)
Expand Down Expand Up @@ -1008,6 +1015,7 @@ class IconEffects : public Window
auto chBtn = CCMenuItemSpriteExtra::create(chSpr, menu, menu_selector(IconEffects::changeColour));
chBtn->setID(std::to_string(type));
chBtn->setPosition(dBtn->getPosition() + ccp(0, -30));
chBtn->addChild(CCSprite::createWithSpriteFrameName("GJ_select_001.png"));
menu->addChild(chBtn);
chBtn->setTag(1);

Expand Down
2 changes: 1 addition & 1 deletion src/Hacks/Speedhack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class $modify (CCScheduler)
{
// icon effects value
ColourUtility::update(dt);


if (SpeedhackTop::instance)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Hacks/UnlockHacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class $modify (GameStatsManager)
{
if (type == UnlockType::GJItem)
{
if (id == 18 || id == 20)
if (id == 18 || id == 19 || id == 20)
return true;
}
}
Expand Down

0 comments on commit 6f13462

Please sign in to comment.