Skip to content
  • Shop
  • About the Creator
  • Author BookShelf
  • Black Cat Adventures
  • Newsletter Options
  • Contact Us
  • Privacy Policy
  • Cookie Policy (US)
Kids Hide Away

Kids Hide Away

Specializing in Educational Software

  • Home
  • Shop
    • Free Printable Word Tracker
    • Productivity Timers
      • Productivity Timers – Black
      • Productivity Timers – Lake Erie
      • Productivity Timers – Bubbles
    • RedM Scripts (Tebex)
    • Black Cat Adventures
    • Catch FireFlies, a Free Casual PC Game
    • Stickers
      • KJ’s Cartoons
    • Digital
      • OneNote Digital Planner Stickers – Kaban Board – Authors – Write Chapters
      • Digital Planner Stickers – Publishing Milestones for Authors
      • OneNote Digital Planner Sticker – Kaban Board – Authors – Edit Chapter
    • Apps
      • Space Nebula Timer App (Linux)
      • Space Nebula Timer App (Windows)
      • Forest Timer App (Windows)
      • Forest Timer App (Linux)
      • Big and Bold Timer App (Linux)
      • Big and Bold Timer App (Windows)
      • Bubbles Timer App (Windows)
      • Runes Timer App (Windows)
      • Bubbles Timer App (Linux)
      • Runes Timer App (Linux)
      • Sunset Forest Timer App (Linux)
      • Sunset Forest Timer App (Windows)
  • Indie Game Studio
    • The Wild Ones
    • The Drained
    • CFX/REDM
      • Barrels Version 2
      • Barrels Version 1
      • Crates Version 2
      • Crates Version 1
      • Dressers Version 1
      • Footlocker Version 1
      • Desks Version 1
      • Cupboards Version 1
      • Valentine Green House
    • Ice Hockey Games
      • Hat Trick – Connect 3
      • Power Play – Endless Runner
      • Dream Team – Fantasy Statistics
      • Ice Hockey Games – Practice Skills
      • Offsides – RPG
      • Ice Hockey Games – Tournament Games
    • Capture FireFlies
    • Black Cat Adventures
      • Black Cat Adventures
      • Black Cat Adventures
      • Black Cat Adventures – Manual
      • Black Cat Adventures – Statistics
      • Black Cat Adventures – Demo
    • 2D Games
      • Classic Arcade Games
      • Space Race
    • Educational Games
  • Blog
    • About the Creator
  • Life Long Learner
    • Packt: Python Books
    • Udemy: Python
    • Udemy: C#
    • Udemy: C++
    • Udemy: Android
    • Udemy: Unreal
    • Packt: node.js Books
    • 3ds Max Modeling for Games by Andrew Gahan
  • Recent Courses
    • Domestika: Architectural Sketching with Watercolor and Ink (Project Board)
    • Domestika: Colored Marker Techniques for Manga (Project Board)
    • Domestika: Narrative Techniques for Illustrated Stories (Project Board)
    • Domestika: Watercolor Coloring for Comics and Illustrations
    • Domestika: Urban Sketching: Express Your World in a New Perspective (Project Board)
    • Domestika: Pictorial Sketchbook with Gouache (Project Board)
    • Domestika: Introduction to Colour Psychology: Chromatic Narrative
    • Domestika: Watercolor Techniques for Dreamlike Illustrations
    • Domestika: Illustrated Stories: From Idea to Paper
    • Domestika: Illustration Techniques with Watercolor and Gouache (Project Board)
    • Domestika: Creative Sketching: Fill Your Illustrations with Life and Detail (Project Board)
    • Teachable: HB 90 by Sarra Cannon @ Hearth Breathings
    • Teachable: Publish and Thrive by Sarra Cannon @ Hearth Breathings
    • Teachable: Lindsey the Frugal Crafter
    • Teachable: Alcohol Markers by Lindsey the Frugal Crafter
  • Indie Artist
    • Inktober
      • How to make a comic in 6 days – Day 1
      • How to make a comic in 6 days – Day 2
      • How to make a comic in 6 days – Day 3
      • How to make a comic in 6 days – Day 4
      • How to make a comic in 6 days – Day 5
      • How to make a comic in 6 days – Day 6
  • Author BookShelf
    • Alexander’s Bounty
    • Rebecca’s Scroll
    • Author
  • Melvin’s Games
  • SNHU
    • SNHU: GAM303
    • SNHU: IT140
    • SNHU: GAM305
    • SNHU: GAM415
    • SNHU: GAM465
    • SNHU: GAM495
    • SNHU: GAM312
    • SNHU: GAM207
    • SNHU: GRA220
    • SNHU: GRA211
    • SNHU: GRA310
    • SNHU: IT145
    • SNHU: IT230
    • SNHU: IT312
    • SNHU: IT328
    • SNHU: IT450
    • SNHU: MAT225
    • SNHU: COM-230
    • SNHU: GRA202
  • Contact Us
  • Toggle search form
REDM FAQs

Day 9 – RedM/CFX/VORP Project – (Done) The bank doors are locked. The banker is inside.

Posted on November 22, 2021January 22, 2023 By Southworth Family

To Solve: The bank doors are locked. The banker is inside.

Day 10 (late start)

11pm: So have the references all set up (see other notes).

12am: I’m now configuring Lua and VS Code to work on my system.

1 am to 4 am distracted by documentation for redm and reading about lua.

4 am to 6 am making pumpking pie and cheese cake, it is Thanksgiving afterall. 2021

5:30 am pumpkin pie is in the oven. bake potates are cooling, later to be mashed potatoes. cheese cake is on the stove, the cream cheese is too cold to blend/mix correctly. To be continued after the pie comes out.

Pies are out and cooling, cookies are done. I’m reading documentation. Trying to sort out if Lua is working and installed correctly locally, by testing other folks code and seeing if it works. So far it’s a no. I might just be too tired after 12 hours of coding, reading code, and baking. I’ll come back to this after a nap, and some Thanksgiving dinner. Later.

11/26/2021

The banker loads again. The doors are unlocked. The menu interact loads. “prss space” yada, and it laods the bank menu. The menu buttons that only interact with the pages internal jjava work correctly. However the code that interacts with the server on the second page of each of the bank functions is not responding to clikc. I added print lines to verifiy where the failure starts, and it’s not getting to the area where it excutes the code, so the failure appears at first glance to be in the html page, or the javascript. I’ll come back and look at ths again later.

11/27/2021

Blue’s copy of the server resolved several nonUI issues. The UI for the bank persisted. I tracked it down to these three issues. The first issue was not throwing errors on the previous server files, but on the new files this error was being logged.

[   9730796] [b1436_GTAProce]        CrBrowserMain/ Mixed Content: The page at 'https://cfx-nui-vorp_bank/ui/hud.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://vorp_banks/Withdraw'. This request has been blocked; the content must be served over HTTPS. (https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js:2)

This error means just what it says. All connections back to the server should use “https”. Any code like below should be changed.

 $.post("http://vorp_bank/

The new entry should be.

 $.post("https://vorp_bank/

The next issue was that it wasn’t excuting the code. When I started the project none of the formating for this module matched the standards listed in the cfx documentation for making modules. I reformated the module to match their instructions, and renamed it when I put the updates files on my local server. I failed to update the hud.html file to reflect the change in the name. The error above lists “vorp_banks” (plural) but the directory on my local server is “vorp_bank” (singular).

Side note: The code does not appear to update the hud.html to reflect the bank the player is standing in. That should be updated. (Added to Dragon’s Hollow project list.)

Side note: Code running is my compiled version not the binaries downloaded from git. I can make changes to this module and compile it. It was a good reminder on how to use visual studio, c# and learning about lua and how the two work with json.

Side note: The code does not check to verify the transaction occured succesfully. It just assumes completion. Create a function to verify the update completed successfully. (Added to Dragon’s Hollow project list.)

Side note: Future items will be added there, though I will continue the coding blog here. The other site will be for posting releases, and “story” news from inside the server, like a newspaper would.

— Update —-

We are building the doors locking and unlocking on server start into the ipl scripts for each building. This will not interfer with other scripts that may control the doors after start. As we get a rough draft for each building written we will upload them to the tebex store.

Hits: 55

Blog, Dev-Log, Indie Game Studio, VORP-OpenSource, Work In Progress Tags:cfx, cfxserver, configure, database, install, mods, opensource, path, redm

Post navigation

Previous Post: Day 9 – RedM/CFX/VORP Project – Morning Update
Next Post: Day 9 – RedM/CFX/VORP Project – whitelist error when server.cfg has whitelist off.

Related Posts

HB90 – Q3 – Week 2 – July 2022- 7/27 Author Topics
Devlog: 2019 08 31 Update on Black Cat Adventure Black Cat Adventures
Dev Log – Ice Hockey Themed Connect 3 – Jun 1st – Part 8 Blog
HB90 – Nov 19th – NaNoWrimo – Friday- Blog Author Topics
How do I boost my favorite redm server? Blog
How do I connect to a test server? Blog

Scripts can be purchased at ✨✨tebex✨✨

Blog Categories

  • Author Topics (58)
  • Blog (224)
  • Clark and Parker Academy (6)
  • FAQ (5)
  • Games We Play (17)
  • Home School (1)
  • Homestead and Gardens (4)
  • Indie Artist (34)
  • Indie Game Studio (117)
  • Life Adventures and Memories (8)
  • Life Long Learner (1)

New Products

  • Dark Mode - Weekly Hourly Page - Digital - Undated - Letter Size
    Dark Mode - Weekly Hourly Page - Digital - Undated - Letter Size
  • Light Mode - Weekly Hourly Page - Digital - Undated - Letter Size
    Light Mode - Weekly Hourly Page - Digital - Undated - Letter Size
  • Cozy Mystery Digital Templates for Authors
    Cozy Mystery Digital Templates for Authors
  • Game Development Digital Planner Page for Projects
    Game Development Digital Planner Page for Projects
  • Digital Planner Stickers - Publishing Milestones for Authors
    Digital Planner Stickers - Publishing Milestones for Authors
  • OneNote Digital Planner Sticker - Kaban Board - Authors - Edit Chapter
    OneNote Digital Planner Sticker - Kaban Board - Authors - Edit Chapter
  • OneNote Digital Planner Stickers - Kaban Board - Authors - Write Chapters
    OneNote Digital Planner Stickers - Kaban Board - Authors - Write Chapters
  • Sunset Forest Timer App (Windows)
    Sunset Forest Timer App (Windows)

Events

Subscribe to our newsletter!


Featured Books

Alexander’s Bounty

Alexander’s Bounty

August 1920 Cleveland, Ohio. Detective Alexander Jones

More info →

Rebecca’s Scroll

Rebecca’s Scroll

August 1920 Cleveland, Ohio. Bookstore owner and conservation specialist Rebecca Williams struggles to clear her name after she finds a body in the museum's bronze age gallery. Amid a flood of exhausting police interviews, missing artifacts, angry crowds, magical puzzles, sneaky suspects, and death threats. Will she be the next victim or begin the next great adventure?

More info →

Contact US

Scripts can be purchased at ✨✨tebex✨✨

For assistance, please create a support ticket on our 🎟️🎟️website 🎟️🎟️

Please use the email address you purchased the script with to create the support ticket and account.

[Dragon Code - 💬💬DISCORD💬💬]

[PATREON 🎨🎨KLSANDELS 🎨🎨] for new server installs, custom code requests, tutorials, and early access to scripts and servers.

Game Server List: 👾 🕹️ 💻 Crimson Creek 💻🕹️👾

[Crimson Creek - 💬💬 DISCORD 💬💬]

[DISCORD RULES] – Be polite, professional, and patient in your communications with staff, dev, and the general community.

Copyright © 2023 Kids Hide Away.

Powered by PressBook Masonry Dark

Loading...
Manage Cookie Consent
We use cookies to optimize our website and our services. They are not required for the site to function.
Functional cookies Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage vendors Read more about these purposes
View preferences
{title} {title} {title}
 

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.