MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

More Cheat Shortcuts

by darkhorus Posted 14th Feb 2017 at 1:04 AM - Updated 22nd Apr 2021 at 11:38 PM by darkhorus
 
143 Comments / Replies (Who?) - 105 Feedback Posts, 37 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 6 of 6
Field Researcher
Original Poster
#126 Old 27th May 2020 at 2:46 PM
Quote: Originally posted by yuriko_ero
This mod doesn't seem to work, I am on game build version 1.62.67.1020.

After downloading, make sure to unpack the zip file and then just put the shortcuts folder directly under the Mods folder. Also, make sure Script Mods are enabled in the game options. It should work.
Field Researcher
#127 Old 25th Jun 2020 at 2:20 PM
Quote: Originally posted by Stephzink
I'm having trouble getting this mod to work. I have the Script mod checked in options, but when I enable cheats in my game, I'm not seeing any options. I unzipped this mod and placed the whole shortcuts folder into the mods folder.

Was this the correct thing to do?

Thanks!

A script mod needs to be directly in the mods folder or only one folder depth, so take the shortcuts folder out of the zip. If you just unzip the file the script file will be 2 folders down the folder hierarchy .
The mod works when you bring up the CTRL shift alt window as the cheat codes are all now shortened. There is a list of all the new codes in the folder. It's a great mod, just typing in "mo y" to get moveobjects up and going save a lot of time!!
Instructor
#128 Old 10th Aug 2020 at 10:51 AM
I have BG-NN and this doesn't seem to work
If I unzip this this looks to be more folders than nessary (2)
I dragged and dropped. This wasn't explained for dragging and dropping process ┐( ∵ )┌

NOTICE
If you notice this notice you will notice that this notice is not worth noticing.
Instructor
#129 Old 10th Aug 2020 at 10:55 AM
Default I didn't do this⟵(o_O)
Quote: Originally posted by rorsdors
A script mod needs to be directly in the mods folder or only one folder depth, so take the shortcuts folder out of the zip. If you just unzip the file the script file will be 2 folders down the folder hierarchy .
The mod works when you bring up the CTRL shift alt window as the cheat codes are all now shortened. There is a list of all the new codes in the folder. It's a great mod, just typing in "mo y" to get moveobjects up and going save a lot of time!!


☞ ̄ᴥ ̄☞No wonder ⟵(o_O)

NOTICE
If you notice this notice you will notice that this notice is not worth noticing.
Field Researcher
#130 Old 22nd Aug 2020 at 12:32 PM Last edited by Minaki : 22nd Aug 2020 at 12:46 PM.
I can't seem to get this mod to work for me. I've tried:

\Mods\shortcuts\Scripts\[files] (old mods format)
\Mods\Scripts\[files] (new mods format)

And none of them works for me; I just keep getting a "Unable to execute command" message in the console.
I have not changed the names of any files in this mod, I have script mods enabled in the settings and all my mods seem to work except this one.

Can the people who claim this mod is working fine for them please share the exact path they're using?
Test Subject
#131 Old 23rd Aug 2020 at 12:41 AM
Quote: Originally posted by Minaki
I can't seem to get this mod to work for me. I've tried:

\Mods\shortcuts\Scripts\[files] (old mods format)
\Mods\Scripts\[files] (new mods format)

And none of them works for me; I just keep getting a "Unable to execute command" message in the console.
I have not changed the names of any files in this mod, I have script mods enabled in the settings and all my mods seem to work except this one.

Can the people who claim this mod is working fine for them please share the exact path they're using?


i used the first path option you listed and the mod only worked once I typed in Testingcheats on first. hope that fixes it for you
Field Researcher
Original Poster
#132 Old 2nd Sep 2020 at 7:33 PM
Quote: Originally posted by AWESOMEGAMER
I have BG-NN and this doesn't seem to work
If I unzip this this looks to be more folders than nessary (2)
I dragged and dropped. This wasn't explained for dragging and dropping process ┐( ∵ )┌

You need to unzip the downloaded file, then just place the shortcuts folder into the Mods folder. Make sure Script Mods are enabled in the game options.
Field Researcher
Original Poster
#133 Old 2nd Sep 2020 at 7:40 PM
Quote: Originally posted by Minaki
I can't seem to get this mod to work for me. I've tried:

\Mods\shortcuts\Scripts\[files] (old mods format)
\Mods\Scripts\[files] (new mods format)

And none of them works for me; I just keep getting a "Unable to execute command" message in the console.
I have not changed the names of any files in this mod, I have script mods enabled in the settings and all my mods seem to work except this one.

Can the people who claim this mod is working fine for them please share the exact path they're using?

The first path is correct - just unzip the downloaded file and place the shortcuts folder (with everything under it, exactly as it comes) into the Mods folder.

Keep in mind too that for a lot of the cheats, you now also need TwistedMexi's AllCheats Mod in order for them to work in the first place, since Maxis disabled a lot of them.
Test Subject
#134 Old 7th Sep 2020 at 3:56 AM
I have this mod installed and working perfectly but I'd like to modify the shortcut 'uall' to include the cheat bb.showliveeditobjects. Right now, no shortcut in the mod includes that cheat and I have to type it out every time.

Does anyone know how to do that? I tried editing the py file but it crashed my game and had to revert to the unedited version.

The error I got is
>EOL while scanning string literal (shortcuts.py, line 163) (SyntaxError: EOL while scanning string literal (shortcuts.py, line 163))
Field Researcher
Original Poster
#135 Old 14th Sep 2020 at 4:28 PM
Quote: Originally posted by inticastro
I have this mod installed and working perfectly but I'd like to modify the shortcut 'uall' to include the cheat bb.showliveeditobjects. Right now, no shortcut in the mod includes that cheat and I have to type it out every time.

Does anyone know how to do that? I tried editing the py file but it crashed my game and had to revert to the unedited version.

The error I got is
>EOL while scanning string literal (shortcuts.py, line 163) (SyntaxError: EOL while scanning string literal (shortcuts.py, line 163))

I added it in for you. Replace your existing .py file with this one.
Attached files:
File Type: zip  shortcuts.zip (7.7 KB, 131 downloads)
Test Subject
#136 Old 31st Mar 2021 at 6:22 AM
Quote: Originally posted by darkhorus
I added it in for you. Replace your existing .py file with this one.


You never responded to me:

https://modthesims.info/download.ph...017#post5589017
Field Researcher
Original Poster
#137 Old 21st Apr 2021 at 6:56 PM Last edited by darkhorus : 22nd Apr 2021 at 2:38 PM.
Quote: Originally posted by Felice
You never responded to me:

https://modthesims.info/download.ph...017#post5589017

Apologies. Things started to pick up for me around that time, get really busy. I was thinking of getting back to you, but never got to it, and then just forgot. Thanks for the reminder!

I'm currently in the process of rewriting, which is coming together slowly, but surely. I'm not happy with some of the shortcuts. So many new packs have come out too since I last updated this, so I'm way behind!

I'm definitely willing to hear your thoughts and ideas. Feel free to send me a PM!
Test Subject
#138 Old 13th May 2021 at 8:13 PM Last edited by Felice : 2nd Jun 2021 at 1:34 AM.
Quote: Originally posted by darkhorus
Apologies. Things started to pick up for me around that time, get really busy. I was thinking of getting back to you, but never got to it, and then just forgot. Thanks for the reminder!

I'm currently in the process of rewriting, which is coming together slowly, but surely. I'm not happy with some of the shortcuts. So many new packs have come out too since I last updated this, so I'm way behind!

I'm definitely willing to hear your thoughts and ideas. Feel free to send me a PM!

With both of us apparently being irregular with reading this thread or updating the mod, I think it'd be better if I just upload my version here and you can look over it whenever you have time, while other people can use my changes right away.

If you approve of the changes, feel free just to put this version on your download page. I don't really care about being credited; I just wanted to share my tweaks. Also, if there's some stuff you've been thinking about doing and haven't had the time, let me know and maybe I can do the scutwork to get it out for people to use. My energy for programming comes in rare fits and starts but it'd be nice to have something to use it on when it's available.

The archive below includes your most recent changes along with mine. I edited the list of commands.txt file to include everything new. I also included a changelog about my changes in the shortcuts.py file, which I'll quote here:
Code:
2021-05-11: Further tweaks and additions by Felice, http://modthesims.info/member/felice
    Change:
        shortcuts that turn a mode on or off will toggle the existing mode if the new mode isn't specified
        e.g. "t" by itself toggles testingcheats on or off
    Extend:
        "$ +100" now adds 100 simoleons to household
        "$ -100" now subtracts 100 simoleons from household
        "$ 10000" sets the household to 10000 simeoleons, same as before
        note: this only works with the "$" shortcut and not with the built-in "money" command
    Add:
        "^" works like "$", but adjusts aspiration points instead of simoleons
        can also say "ap" or "points" instead of "^"
        e.g. "^ 0" to set the current sim's aspiration points to 0
             "ap +1000" to add 1000 aspiration points to the current sim
    Add:
        "n" or "nice" gives 100 aspiration points to current sim (aspiration version of "kaching")
    Add:
        "o" or "omg" gives 5000 aspiration points to current sim (aspiration version of "motherlode")
    Add:
        "bl", "buyl", "ble", "buyle", "buylive", "sleo", "showlive" are shortcuts for "bb.showliveeditobjects"
        (just like "bd", "buyd", "bdb", "buydb", "buydebug", "sho", "showobj" are for "bb.showhiddenobjects")
    Add:
        "%" or "roll" to create a random die roll
        "%" rolls 0..100
        "roll 6" rolls 1..6
        "% 5 10" rolls in the range 5..10
    More aliases:
        I sometimes forget what the shortcut for cas.fulleditmode is (it's "cf"!) so I added what I guess:
        "cfe", "cfem", "fem"
    Abbreviate:
        added "ua" and "uam" to the other various existing abbreviations of "unlockall" and "unlockallmoo"
    Misc:
        added more command/error feedback
        formatted command feedback to match maxis in some cases
        added some usage feedback
        cleaned up some code formatting and redundant code
        updated and untabified the readme (tabs in raw text files are unreliable these days)

The archive is set up exactly the same as yours, so people should just follow your install instructions:

Quote:
Installation:

1. Unzip/extract the downloaded .zip file
2. Place the 'shortcuts' folder directly into your Mods folder root
3. Delete the .zip file from before.

!important! DO NOT change the name of the 'Scripts' subfolder within the shortcuts folder; it needs to be named like that! You can, however, change the name of the 'shortcuts' folder itself, but if you do, make sure to also set the .py file to the same name, as they need to be the same name in order for the Mod to function.

Don't forget to enable Script Mods in the game options for this Mod to work!
Attached files:
File Type: zip  More_Cheat_Shortcuts_v3.1_(Felice_edit).zip (17.7 KB, 165 downloads)
Test Subject
#139 Old 16th Jun 2021 at 6:44 PM
Quote: Originally posted by Felice
With both of us apparently being irregular with reading this thread or updating the mod, I think it'd be better if I just upload my version here and you can look over it whenever you have time, while other people can use my changes right away.

If you approve of the changes, feel free just to put this version on your download page. I don't really care about being credited; I just wanted to share my tweaks. Also, if there's some stuff you've been thinking about doing and haven't had the time, let me know and maybe I can do the scutwork to get it out for people to use. My energy for programming comes in rare fits and starts but it'd be nice to have something to use it on when it's available.


thank you so much
Test Subject
#140 Old 1st Feb 2022 at 4:18 AM Last edited by penchaotic : 7th Feb 2022 at 6:09 AM.
Quote: Originally posted by inticastro
The error I got is "EOL while scanning string literal (shortcuts.py, line 163) (SyntaxError: EOL while scanning string literal (shortcuts.py, line 163))"


Make a copy of the downloaded .py file, then open the copy using Notepad++ (as it should auto-detect file encoding and line termination). Go to the end of the document and tap [Enter] a could times, then insert your new code. Here is one of the extra entries I personally have added to my copy of the file. ( NOTE: Make sure the original file is replaced with your copy and make sure your file has the correct "shortcuts.py" filename, and place in its this location:
[Documents]\Electronic Arts\The Sims 4\Mods\shortcuts.py
The game can find the file one level 'deeper', but to minimize potential problems, try this first.
If this does not work for you, try moving the .py file here:
[Documents]\Electronic Arts\The Sims 4\Mods\shortcuts\Scripts\shortcuts.py

@sims4.commands.Command('cheatme', command_type=sims4.commands.CommandType.Live)
def testingcheats(enable:bool=None, _connection=None):
output = sims4.commands.CheatOutput(_connection)
if enable is not None:
if enable:
command = '|testingcheats on'
sims4.commands.client_cheat(command, _connection)
else:
output("Testing Cheats is already enabled!")
else:
output("Testing Cheats ~Enabled~")
command = 'bb.moveobjects on'
sims4.commands.client_cheat(command, _connection)
command = 'bb.ignoregameplayunlocksentitlement true'
sims4.commands.client_cheat(command, _connection)
command = 'bb.enablefreebuild'
sims4.commands.client_cheat(command, _connection)
command = 'freerealestate on'
sims4.commands.client_cheat(command, _connection)
command = 'cas.fulleditmode on'
sims4.commands.client_cheat(command, _connection)
output("CAS Full Edit Mode cheat ~On~")
command = 'bb.showhiddenobjects true'
sims4.commands.client_cheat(command, _connection)
output("Show Hidden Objects cheat is ~On~")
command = 'bb.showliveeditobjects'
sims4.commands.client_cheat(command, _connection)
output("Show Live Edit Objects cheat is ~On~")
Test Subject
THANKS POST
#141 Old 7th Feb 2022 at 6:36 AM
Hi and THANK YOU for maintaining *Scumbumbo*'s "**Copy Any Outfit**" script, shortcuts.py.

What interests me most, at this point, is the following:

[ shortcuts.py ]
output = sims4.commands.CheatOutput(_connection)
output("Household funds set to {}".format(money))

I would like to be able to produce a textual notification in the console after performing a command that does not have a built-in one.

These are the only regular cheats I employ that have any type of 'success' messages showing:

bb.moveobjects on = "MoveObjects cheat is ON"
freerealestate on = "Free Real Estate on"
bb.ignoregameplayunlocksentitlement = "Ignore Gameplay Unlocks cheat is ON"

These have none:

bb.showhiddenobjects
bb.showliveeditobjects
cas.fulleditmode

Any insights are welcome.

REFs:

Outfit Tools - Copy Any Outfit v4
by scumbumbo
Posted Nov 18, 2014 at 3:24 AM, Updated Nov 13, 2018
https://modthesims.info/d/541770

More Cheat Shortcuts
by darkhorus
Posted 13th Feb 2017, Updated Apr 22, 2021
https://modthesims.info/d/590113/
Cheat Shortcuts by plasticbox updated by darkhorus

[CHEAT CODE] COPY OUTFIT
by LeGardePourpre
Posted January 2017, edited December 2021
https://forums.thesims.com/en_us/di...ode-copy-outfit
Instructor
THANKS POST
#142 Old 30th Mar 2023 at 5:03 PM
These are the greatest things in life.
bb.enablefreebuild is not on here :-O wow that is the longest cheat i know of wowzerS
Test Subject
#143 Old 6th Nov 2023 at 5:09 AM
The shortcuts mod is great and I love it! I have been playing it for a while. All my codes worked except one so far, and the situation is weird. Let me explain a bit more details.

I tested the command in 3 different ways. The following three were tested and worked well.

1) From the sims4.commands.client_cheat(command, _connection) function where command is my command to run, such as
sims4.commands.client_cheat("|stats.set_skill_level " + skillName + " 15", _connection)

2) Run command directly from the code, not through sims4.commands.client_cheat, such as

import services

returnedSim = services.sim_info_manager().get_sim_info_by_name(firstName, lastName)


3) Directly run on the cheat console, such as

stats.set_skill_level VampireLore 15

The problematic command I want to run is the relationship.add_Bit command:

relationship.add_Bit sim1ID sim2ID relationshipBit

It worked on 3) . For 1) it did not work and gave no message on console. For 2), it did not work either and showed an error message: name 'relationship' is not defined.

As a comparison, I also tried the command:

relationship.introduce_sim_to_all_others

This one works on both 1) and 3), but shows the same error message for 2).

Does anyone encounter similar issues and know a solution? Very much appreciated!
Test Subject
#144 Old 10th Nov 2024 at 3:38 PM
Quote: Originally posted by AWESOMEGAMER
These are the greatest things in life.
bb.enablefreebuild is not on here :-O wow that is the longest cheat i know of wowzerS

Uhh... 😅 ...very late reply, but I feel like that would be a bad idea.

It's a problematic cheat because it gets set globally and can persist from one run of the game to the next. It only gets turned off in an automatic way when certain conditions happen in the game. If you google for "bb.enablefreebuild disable" you'll find tons of people who have entered the cheat and can't get it to go away. Usually they have to do it by switching lots or reloading or even verifying their install, and it doesn't seem to be consistent which will work for any given person. I suspect that certain things work for everyone, but not everyone is technical enough to understand exactly what it is they're supposed to do, so they do it slightly incorrectly and then it doesn't work. I dunno. I just think it'd be a hazard for too many people.

This is one of the ones where, if you don't know what it does, how it works, and the hazards, we shouldn't make it easy for you to do it. 😕
Page 6 of 6