Releases: cityrpg/CityRPG
v1.2.0 - CityRPG in 2023
- You no-longer need to be an Arms Dealer to sell axes and pickaxes.
- Certain weapons now have higher restriction levels. By default, this only applies to Guns Akimbo, which is considered "highly restricted". Such items cannot be sold by Arms Dealers, only Store Managers and CEOs (higher edu. levels).
- Shop owners now get notifications if someone tries to buy an item they are not licensed to sell.
- If you try to buy an item that the seller is not licensed to sell, you now get the "not licensed" message immediately, instead of prompting you and having to click "yes".
- Added a pref, "Allow building between lots", that allows players to build in-between lots that they own. This is disabled by default because it can cause brick ownership "pollution" if a player attempts to sell a lot with in-between bricks.
- Lot limits are now enforced when buying new or pre-owned lots. You can see how many you own and the max at the real estate office. [921145c]
- Fixed being able to buy an item you already have in your inventory at a shop. [698639f]
- Fixed Grocer and Arms Dealer not being able to sell clothes. [1b2c2bf]
- Fixed criminals not showing properly at the police brick. Fix contributed by @slowtahoe on GitHub. [93d8421]
Hosting Info
- Added a new pref section and pref: Styling -> Text Color - Primary. This pref lets you change the accent/highlighting color for all messages coming from CityRPG.
- You can now change the starting price for unclaimed lots under "Economy" in server prefs.
- Fixed various console warnings when the gamemode loads.
- Removed the unused "Max Economy Percentage" pref.
Developer Info
Jobs Changes
- A new field for jobs has been added, sellRestrictedItemsLevel. This defines the 'restriction level' of an item, with 0 being unrestricted (sellable by all), 1 being restricted (weapons, dangerous items), and 2 being highly restricted (extra dangerous items). Higher levels may be implemented in the future.
- In favor of the new sellRestrictedItemsLevel, the
sellItems
field is now deprecated. When creating new jobs, you should use the sellRestrictedItemsLevel option instead. - This option is automatically filled if you continue to use sellItems. The equivalents are: If sellItems is false, sellRestrictedItemsLevel is 0. if sellItems is true, sellRestrictedItemsLevel is 1.
- Weapons with a restriction level of 2 (or above if higher levels are implemented in the future)
- In favor of the new sellRestrictedItemsLevel, the
v1.1.1 - Hotfix
- Fixed being able to trigger admin mode as a non-admin.
v1.1.0
- Fixed and brought back the sellClothes event. Changing jobs overrides your outfit with the new job's uniform for now.
- Fixed health/money HUD being missing after using duplicator.
- Fixed health/money HUD being missing after using weapons with Tier+Tactical ammo.
- Fixed being able to buy broken lots for free.
Hosting Info
- Demerits incurred are now logged. Logs only include the amount for now, as this is all that the demerits function handles.
- Added support for the ToolGun (Tool_ToolGun). This item will override the hammer, wrench, and printer as job spawn items when enabled.
- Removed certain optional add-ons from loading with the game-mode as their handling is initialized after add-ons load. This may affect the load order of your server's add-ons.
v1.0.0 - Mail Mod Support
- Added simple optional support for the Mail System by [GSF]Ghost. This can be activated by installing and enabling System_Mail. With this add-on enabled, players can sell the letter, note, and postcard items via item shops.
- Lowered the required players for an election to 8 and the required players to impeach the mayor to 6.
- Fixed menus preventing you from using chat.
- Fixed being able to delete your lot with /cut.
- Fixed vehicle spawn purchase not deducting money.
- Fixed "This vendor is not liscensed" typo.
Hosting Info
- Lot sales (both unclaimed and player-based) are now logged with the amount of money spent.
- Fixed the gamemode not configuring tier+tactical ammo correctly when there is no prefs mod.
Developer Info
- An additional argument has been added to the
City_RegisterItem
function. This arg allows you to make the item sell-able by any player regardless of their job. This can be used to add items that aren't considered weapons.
- Renamed $CityRPG::prices::weapon::* namespaces to $City::Item::*.
v0.3.2
- Lowered the price of vehicle spawns from $2500 to $1000
- Moved lots to the Baseplate tab of the bricks menu. This has some helpful side effects such as preventing accidentally supercutting lots
- Fixed the following issues, which were caused by an internal rework of player data handling done in the Interactions Update (v0.3.0):
- Fixed being unable to sell lumber
- Fixed /reincarnate not being able to detect your money
- Fixed scores in the player list showing the wrong amounts for net worth
- Fixed not spawning at the correct spawn point for your job
- Fixed dropping money if killed while in jail
- Fixed not being demoted for doing crimes as an official (police officer, etc.)
- Fixed the doJobTest event not matching jobs correctly
Hosting Info
- Changed the wording of "Open admin menu" to "Lot admin" to reduce confusion with the main admin menu
- Fixed lots failing to save on server shutdown on a dedicated server
September 2022 Patch - v0.3.1
- Added support for new weapon packs. If enabled, these items are sell-able in-game with the
sellItem
event.- Tier+Tactical Tier 1 (Weapon_Package_Tier1)
- Tier+Tactical Tier 1A (Weapon_Package_Tier1)
- Tier+Tactical Tier 2 (Weapon_Package_Tier2)
- Tier+Tactical Tier 2A (Weapon_Package_Tier2A)
- Replaced the /yes and /no prompts with actual yes/no dialog boxes
- Fixed warning message meant for the host going to the first person that joins on a dedicated server
- Fixed issues placing, purchasing and editing lots
Hosting Info
- Added a new pref, "Disable Default Weapons", that will disable the default game weapons like the Gun from being sold in shops. This is ideal for using custom weapon packs. Beware: This does not prevent jobs from spawning with these weapons. For that, you will need a custom job pack
- While in Admin Mode, you are now shown the ID of any lots you walk over
- Added an admin sub-menu to the actions menu
Package Contents
There are a couple different "packages" you can download and extract into your game's Add-Ons folder.
GameMode_CityRPG4.zip is just the game-mode itself. This .zip file gets placed directly in your Add-Ons folder. If you are missing any add-ons from the minimal package, you will not be able to launch the game-mode.
The minimal package contains the following add-ons: GameMode_CityRPG4, Event_DayNightCycle, Player_DifferentSlotPlayers, Tool_ChangeOwnership
The complete package contains the following add-ons: GameMode_CityRPG4, Event_DayNightCycle, Player_DifferentSlotPlayers, Server_NewBrickTool, Tool_ChangeOwnership, Tool_NewDuplicator, Weapon_Shotgun, Weapon_Sniper_Rifle
Interactions Update - v0.3.0
What's New
This is a quality-of-life update that includes cumulative changes and fixes.
Job Improvements
The jobs menu and commands have been improved. Job sign-ups now give you more details about the qualifications and perks, and you can now type partial names when signing up for a job.
Event Changes
- New event: onLotFirstEntered
- onEnterLot and onLeaveLot events renamed to onLotEntered and onLotLeft
Center Print Menus (Experimental)
The chat-based menus have migrated to a new experimental menu system. You can now navigate through menus using the build keys to move up and down and select an option. This applies to the bank, real estate, lot menus, and all other in-game menus. For things that require text input, you must still type in chat.
Actions Menu
There is a new, central menu that can be used to access various general functions for CityRPG. This menu allows you to view your stats and access the Mayor menu if you are the mayor.
Mayor Menu
The mayor now has their own panel that they can access through the player menu. This gives the Mayor easier access to their special powers, pardons and record clearing.
Full Changelog
- Added a "Wrench lot" option to the /lot menu for lot owners. This option pulls up the wrench menu so you can more easily access events for the lot.
- Renamed the "onEnterLot" and "onLeaveLot" events to "onLotEntered" and "onLotLeft" for clarity.
- Added the "onLotFirstEntered" input event. This event triggers when someone enters your lot for the first time.
- The number of unique lots you visit is now tracked under /stats.
- When you update a lot (i.e. name change, ownership change, list for sale), the new info is now displayed to yourself and anyone on the lot.
- You can now type in a partial name when signing up for a job.
- If you attempt to sign up for a job that you are not qualified for, you will now see all of the missing qualifications--rather than only the first one detected by the game.
- When you change jobs, you will now see a series of messages detailing what changes with your new job.
- /dropMoney no-longer limits you to a minimum of $50. Instead, there is now a limit to how many cash drops you can have in the world at once.
- Updated the Arms Dealer job description for clarity.
- Pardoning players as the Mayor no-longer costs money in the form of direct payment. Instead, there is a cost to the economy, relative to the prisoner's remaining sentence. A prompt is displayed to explain the cost before pardoning.
- /pardon now requires admin mode to be activated if the player is not the Mayor.
- Lot management settings (renaming, etc.) have moved to a separate "Lot management" option to reduce clutter.
Bugfixes
- Fixed the mayor brick not responding if an unknown player name is entered.
- Fixed the mayor election messages continuing after changing game-modes.
- Fixed "Unable to find function serverCmdClearImpeach" console errors.
- Fixed "Your account will not be reset" message after resetting account.
Changes for Hosting
- The way jobs are set up has been reworked. Any custom jobs mods will need to be updated to use the new functions and standards for jobs in CityRPG 4. All jobs in existing saves will be reset, and players will need to re-sign up for their desired jobs.
- Added a "Wrench lot" option to the lot admin menu. This is the same option available to lot owners under their management menu.
- Fixed "Incorrect amount of arguments!" console error on startup.
- The Sniper and Shotgun are now optional add-ons. They will remain in the Full package for now, however the Minimal package excludes them.
v0.2.1 - Real Estate Bug Hotfix
Fixed an exploit where players could "buy" the real estate brick as a lot, granting them ownership of the bricks connected to it.
Job Trees, Radio, & Real Estate Improvements
What's New
Real estate
The real estate office is back. Real estate has been rewritten, hooking into the existing lot system established in Alpha 1. This means quick, seamless lot sales. You can visit the real estate office to view city-wide stats, manage and list your own lots, or purchase someone else's lot listing.
Job tracks & radio
Jobs are now sorted into individual job trees. They show up individually in the jobs menu and have their own team chat. Team chat now functions as a radio that you can use to communicate with other players within your job track. For example, all Police jobs now have a single police radio.
Bugfixes
This update contains plenty of bugfixes and general polish. See below for the full changes.
Full Changelog
- Re-organized the bricks menu to place important non-admin bricks at the top
- Overhauled the job viewer menu - Jobs are now organized into job tracks.
- Updated the job descriptions for several existing jobs.
- Cash now displays with formatting in the HUD. (For example, you will see "$10,000" instead of "10000"). This currently only applies to the HUD and a select few other areas.
- Vehicles no-longer take damage or explode unless either the driver or a passenger is wanted.
- Official jobs now have formal titles, such as Police Officer ("Officer (playername)"). Your job title is shown under stats and in your respective department.
- Players no-longer show as typing in chat when interacting with menus.
- Brick_ModTer_InvertedPack is now enabled with the game-mode by default.
- Bot holes are now enabled by default, and Event_Bot_Relay is now optionally enabled by the game-mode.
- Removed unused add-ons from the default game-mode: Player_Leap_Jet, Player_Quake
- The spawnProjectile and spawnExplosion events are no-longer disabled for players. This comes under the restriction that evented explosions do no damage to players, vehicles, bots, or bricks that belong to other players.
- Added new input events for info bricks (ATMs, bank bricks, etc.): onMenuOpen, onMenuInput, and onMenuClose.
- The boundaries of a lot now include the brick itself. This means you can now have ModTer bricks that dip into the lot brick
- The /clearBricks command is now disabled to prevent lot bricks from being deleted.
- The /reset command now displays a confirmation prompt before resetting your profile.
- Updated the default Blocko Town map: Added more spawns and improved the lot layout.
- Corrected typo in "Hunter cramps seize..."
Changes for Hosting
- The way lots work has seen another overhaul. Changes have been made to the way lots are stored, both in your .bls saves and in the config folder. Old lot saves are not compatible and will load as Unclaimed lots.
- Added Admin Mode, a new toggle for Council Member and its features. Admin mode disables building restrictions, hunger effects, and makes the admin invincible.
- The game-mode package is now split into two releases, Full and Minimal--Full is a package for hosting a very simple, playable CityRPG, and Minimal acts as a toolkit for setting up a customized CityRPG server.
- Admins must now be in Admin Mode/Council Member in order to bypass building restrictions. This includes brick placement, item spawning, and many other cases.
- Added Server_NewBrickTool as an optional add-on in the Full configuration.
- Added "/admin", a new central menu for admin commands
- The "Clear record" option no-longer shows up at the police station if you do not have a criminal record.
- Player_DifferentSlotPlayers is now required, taking the place of the built-in playertype.
- Admins can now add ML tags to a lot name when force renaming.
- The lot admin menu now shows lot owner information and the lot's brick ID.
- Playertype now changes immediately when changing jobs.
- Hunger effects no-longer apply while admin mode is active.
- Added a back button to the Lot Admin menu.
- Restricted the following events from Event_Zones: setZone, setZoneVelocityMod.
- Fixed the multi-client check having the potential to kick the host from the game, breaking their game entirely. Note that this can still happen if the default game's multi-client check is enabled in the current version of Blockland.
- The directory for save files has moved to config/server/CityRPG4_A2.
- The game-mode now detects if the active save file is from an older version of CityRPG and displays a warning about compatibility accordingly.
- Fixed settings not registering correctly when Blockland Glass is disabled.
Bugfixes
- Internally reworked a lot more code -- most notably including menus and processing of bricks on plant/load. The new reworked menus fix compatibility issues with the latest version of Blockland.
- Fixed the missing icon for the Knife item.
- Added Item_Skis to the required add-ons. (Ski code is used for taser and hunger effects; errors would occur if skis were disabled for whatever reason)
- You can no-longer vote or sign up for an election while wanted.
- Fixed certain instances of the damage % on the HUD not updating.
- Fixed blank values under the /stats command.
- Fixed admins being able to spawn items (via override) only on an admin's bricks.
- Fixed the economy bugging out and moving rapidly with higher player counts.
Alpha 1 Patch (0.1.1)
- Added a new default CityRPG build.
- Replaced the default colorset with Trueno's Colorset
- Drastically optimized the antiquated data saver. CPU usage and response times have significantly improved, fixing instances of the server choking with higher player counts and/or larger maps. This is only a band-aid fix until the saver is replaced, but it brings significant performance improvements.
- The game-mode now modifies the doPlayerTeleport add-on if it is enabled; the "Relative" option is disabled to prevent players from phasing through walls with it.