Jump to content

[Mod][XCL] [0.22] [WIP] Summer City Casino


Kxckazz

Recommended Posts

Posted

[XCL] [0.22] [WIP] Summer City Casino


This is a relatively simple mod that adds a new "Casino" option to The Broken Drum bar with Bad Habits integration.

 

Currently Available Games:

  • Ultimate Texas Hold'em.
  • Slot machine.
  • Blackjack.
  • Casino War.
  • --- More games to come ---

 

Recommended Mods For Best Experience:

 

This mod is not compatible with the 'Run Server' function in the mod loader.

Do not use the 'Run Server' function in the mod loader. Instead, please use 'Load Mods' and then run the game through the modded HTML file.

 

At the moment, there is no dedicated casino currency. When you choose a game, your character's money will be temporarily set to 0 and added to the game. Your money will be returned when you exit the game and return to the main casino screen.

 

There is a character in the "Back Alley" area who acts as a new and cheaper cigarette and weed dealer for the Bad Habits mod as well as, at the moment, a very basic loan shark. There are at the moment no consequences for racking up debt, but there will be in the future.

 

I plan to expand this mod significantly, including moving the casino to its own dedicated evening activity. However, in its current simple state, I've integrated it as an option within The Broken Drum for now.

 

Potential Future Plans

  • Additional games
  • NPCs with interactive dialogue
  • A separate currency system using casino chips
  • A potential storyline
  • Making the casino a standalone evening activity

 

Should be compatible with everything.

 

This is my first mod, so all feedback is welcome and appreciated.


 

Posted

Are there some dependencies missing like media for the table or cards? i end up stuck there without seeing the actual game you created like on the screenshots when i try to play. After aborting and reloading i get the description only withotu assets e.g. AI#1 etc
Do i need certain other mods? there is nothing listed as requirement 😐 or does it conflict when playing as player characters here from LL ? Tried different browser with same result. 

Posted
53 minutes ago, kaneeden said:

Are there some dependencies missing like media for the table or cards? i end up stuck there without seeing the actual game you created like on the screenshots when i try to play. After aborting and reloading i get the description only withotu assets e.g. AI#1 etc
Do i need certain other mods? there is nothing listed as requirement 😐 or does it conflict when playing as player characters here from LL ? Tried different browser with same result. 

No, the mod shouldn't have any requirements, as the playing cards are displayed using the CSS files in the mod's folder (e.g., "summer-city-casino-games/ultimate-texas-game/src/css"). To my knowledge, there aren't any conflicts, as I have been able to run the mod without issues with custom characters and on a fresh game install. Therefore, I am unsure what could be causing the issue unless I have made a mistake in the file paths in the index.html.

 

You could try going into the "summer-city-casino-games" folder, moving the game's CSS file out of "src/css," and placing it in the same folder as the casino game's index.html. Then, open the index.html in a text editor and edit "<link rel="stylesheet" href="src/css/style.css">" to be "<link rel="stylesheet" href="style.css">" and see if that fixes it.

Posted (edited)

where do you get the "summer-city-casino-games" path name from? i installed it from the mod loader and it made dir structure of XLC 0.22.2\modded\ultimate-texas-game\ where the index.html and src folder is located. The intro picture with the guy/girl dealing cards is shown correctly, also the option buttons how high the stakes should be, but after that the table keeps empty for me, very strange. 

edit: all the other mods e.g. the wharf have their images placed in modded\img folder when loaded through the mod loader like
XLC 0.22.2\modded\img\wharf

Edited by kaneeden
example was missing
Posted
2 hours ago, kaneeden said:

where do you get the "summer-city-casino-games" path name from? i installed it from the mod loader and it made dir structure of XLC 0.22.2\modded\ultimate-texas-game\ where the index.html and src folder is located. The intro picture with the guy/girl dealing cards is shown correctly, also the option buttons how high the stakes should be, but after that the table keeps empty for me, very strange. 

edit: all the other mods e.g. the wharf have their images placed in modded\img folder when loaded through the mod loader like
XLC 0.22.2\modded\img\wharf

Sorry, the "summer-city-casino-games" folder is in the latest version of the mod, as I changed the name from "ultimate-texas-game." If the table is empty, then there may be a conflict I wasn't aware of, as I don't have the wharf in my load order. The mod's pictures are all in "img/places/ultimate-texas," but the table game itself only uses JavaScript and CSS, with the exception of one image, so I don't think missing media is the cause.

 

The mod uses an <iframe> to embed the index.html from the "ultimate-texas-game/" folder onto the page, so there could possibly be a browser extension you have that is blocking it, or maybe the index.html file from "ultimate-texas-game/" is missing entirely. You could try playing the game in an incognito window with no browser extensions running and see if that works.

 

You could also try installing the latest version of the mod and delete the "ultimate-texas-game/" folder after updating, as the new mod version uses the "summer-city-casino-games/" folder instead, and see if that fixes it.

Posted

Thanks for the tips, it is working now. I used to run the game with all mods through the mod loader directly as server and just connected the browsers to the port to avoid conflicts as the loader tells you overlaping files and conflicts beforehand etc. But it looks as the server variant is not liking the dir structure but the normal html in the modded filder works fine, i honestly totaly forgot about starting it that way 😅 Thank you for your time 😊

Posted
1 hour ago, kaneeden said:

Thanks for the tips, it is working now. I used to run the game with all mods through the mod loader directly as server and just connected the browsers to the port to avoid conflicts as the loader tells you overlaping files and conflicts beforehand etc. But it looks as the server variant is not liking the dir structure but the normal html in the modded filder works fine, i honestly totaly forgot about starting it that way 😅 Thank you for your time 😊

No problem, I am glad that the mod is working for you now.

 

I'll see if I can resolve the issue between the mod and the mod loaders 'run server' in future versions of this mod, so thank you for bringing this to my attention.

  • 2 months later...
Posted

I've been thinking all this time that the problem is with my mod, but here's the mistake because my mod doesn't work without starting the server, and yours doesn't work with starting the server.

 

  • 2 weeks later...
Posted
On 1/2/2026 at 11:52 AM, Heyvanushi said:

I've been thinking all this time that the problem is with my mod, but here's the mistake because my mod doesn't work without starting the server, and yours doesn't work with starting the server.

 

Yeah, I've looked into getting my mod working with the Live Server, but I don't have enough Harlowe 3 experience. If you have any suggestions, feel free to let me know.

Posted
40 minutes ago, Alby08 said:

Yeah, I've looked into getting my mod working with the Live Server, but I don't have enough Harlowe 3 experience. If you have any suggestions, feel free to let me know.

I need more information about how your mod works in palana download mini game.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...