● [ITW] GTA Garage Script

Sun Dec 03, 2023 8:05 am
Clan Leader
Top Dog
Nuke Dev / Coder
3019 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 19.0hrs.
Total Played: 579hrs.


  
Must be married.
Reputation: 7330.5
votes: 7
With GTA VI in the works and just over the horizon, I have decided to build a garage system which will allow you to keep track of what vehicles you have where. I am mostly doing this because currently on GTAV I don't know what cars I have and what cars I don't, and I find it really annoying to keep calling the mechanic and going through my garages one by one to see if I own a particular car before I buy it.

This is a low priority scripts, I was hoping that there was something out there already that was a stand-alone system or a program, but I haven't seen anything for it, so I have decided on this. If anyone knows of something, please, by all means, share.

- What will this be?

Well, simple put, this will be a simple script that will allow you to name a garage, then it will have the address that you will need to select, then once you select the garage, it will give you an accurate amount of garage slots for you to put what car you have where. There will also be a search feature that will allow you to search your garages for a specific car. You will also have an option to have your garage available for public viewing or just private, that would be your choice.

That was my thought on the garage. Any thoughts on stuff you would like to see in the module?


Expand
Sat Jan 13, 2024 9:12 pm
Original Poster
Clan Leader
Top Dog
Nuke Dev / Coder
3019 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 19.0hrs.
Total Played: 579hrs.


  
Must be married.
Reputation: 7330.5
votes: 7
Hello everyone. I know I posted this a while ago and gave no updates, well I like to say I have been working on this a bit, and have made some progress.

I will say, I started this project 3 different times because I wanted to try out ChatGPT to see how well it is at making fully developed scripts. Well, I can say this for sure, it is definitely not there, especially if you're trying to make a complex script. If you are trying to make something very simplistic, well, simplistic by most moderate to advanced coders, then it will do those fine, but, when you get a bit more complex, it will do for a bit, then it will confidently keep giving you the same broken code, even when it says, "I apologize for the confusion. Let's try a different approach.". It can get stuck in a loop with that.

So, how did it go. The first two attempts, I tried having ChatGPT do most of the coding and it failed. This 3rd time, I did more of the leg work, but used it to solve issues I had which for the most part, it caught everything, but that was as long as I only gave it sections and not the whole code. I did give it the whole code at first, but then told it I wanted to focus on "these areas", and went from there. I would say, this script was written about 70% by me and 30% ChatGPT.

Now, about the script. There is a lot I still need to do, but these are its features:

  1. Able to save your garage to a text file, which can be uploaded to be edited.
  2. Search feature which will tell you if you have more than 1 and what garages they are in
  3. No database at all. Everything is handled through a .txt file only.
  4. Display page will highlight all cars that are duplicated and there is a number after that car that is highlighted and will tell you if it's the second or 3rd. The first is not highlighted.
  5. All garages are using an accordion system and are all closed until you click on the garage and open them.
  6. Add & remove categories easily
  7. Add and remove cars easily


Currently, I only have this with an example garage which is sort of my garage, (it might have had some alteration due to being used for testing.).
I am going to write a system so it will be tied into some sort of token that is created on your first visit and will be stored like a cookie, but will die in 24 hours and your garage folder will delete after 24 hours of inactivity. I am writing it in a manor where there is no long in, and no others can get into your garage folder to mod it, but, even if they did, it would only be there for 24 hours of no activity and be deleted forever. Because of that, there is that feature to download your garage.

I am also going to write a tutorial page with the script that will explain how to read and edit your garage without using this script if you want to do a fast edit.

[UPDATED] Go to the release page:  
Please login to see this link
Get registered or Log in


If you have suggestions, let me know.


 
Forums ©