ianlucas / cs2-inventory-simulator Goto Github PK
View Code? Open in Web Editor NEWA Counter-Strike 2 Inventory Simulator
Home Page: https://inventory.cstrike.app
License: MIT License
A Counter-Strike 2 Inventory Simulator
Home Page: https://inventory.cstrike.app
License: MIT License
The table `public.UserPreference` does not exist in the current database.
at In.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6854)
at In.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6188)
at In.request (/app/node_modules/@prisma/client/runtime/library.js:122:5896)
at l (/app/node_modules/@prisma/client/runtime/library.js:127:10871)
at getUserPreference (file:///app/build/server/index.js?t=1711416431282.3552:5274:17)
at loader$a (file:///app/build/server/index.js?t=1711416431282.3552:5292:17)
at Object.callRouteLoaderRR (/app/node_modules/@remix-run/server-runtime/dist/data.js:52:16)
at callLoaderOrAction (/app/node_modules/@remix-run/router/router.ts:4043:16)
at async Promise.all (index 0)
at loadRouteData (/app/node_modules/@remix-run/router/router.ts:3320:19) {
code: 'P2021',
clientVersion: '5.11.0',
meta: { modelName: 'UserPreference', table: 'public.UserPreference' }
}
GET /api/action/preferences 500 - - 4.435 ms
GET /craft?_data=routes%2Fcraft._index 200 - - 1.469 ms
PrismaClientKnownRequestError:
Invalid `prisma.userPreference.findFirst()` invocation:
The table `public.UserPreference` does not exist in the current database.
at In.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6854)
at In.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6188)
at In.request (/app/node_modules/@prisma/client/runtime/library.js:122:5896)
at l (/app/node_modules/@prisma/client/runtime/library.js:127:10871)
at getUserPreference (file:///app/build/server/index.js?t=1711416431282.3552:5274:17)
at loader$a (file:///app/build/server/index.js?t=1711416431282.3552:5292:17)
at Object.callRouteLoaderRR (/app/node_modules/@remix-run/server-runtime/dist/data.js:52:16)
at callLoaderOrAction (/app/node_modules/@remix-run/router/router.ts:4043:16)
at async Promise.all (index 0)
at loadRouteData (/app/node_modules/@remix-run/router/router.ts:3320:19) {
code: 'P2021',
clientVersion: '5.11.0',
meta: { modelName: 'UserPreference', table: 'public.UserPreference' }
}
GET /api/action/preferences 500 - - 7.249 ms
GET / 200 - - 38.676 ms
GET /?_data=routes%2F_index 200 - - 3.158 ms
POST /api/action/sync 200 - - 32.939 ms
POST /api/action/sync 200 - - 18.959 ms
POST /api/action/sync 200 - - 24.252 ms
POST /api/action/sync 200 - - 22.451 ms
POST /api/action/sync 200 - - 59.589 ms
GET /api/equipped/76561198152215513.json 200 - - 6.419 ms
POST /api/action/sync 200 - - 19.926 ms
GET /api/equipped/76561198380275130.json 200 - - 4.035 ms
GET /api/equipped/76561198964993976.json 200 - - 2.369 ms
However, even after this error, the login is still done when I enter the website link again.
I forked the repo and deployed it using EasyPanel while changing to MySQL, database seems to load fine, my api key is correct in environment variables. When I auth, it redirects back, but its not signed in. No errors are displayed
since there is a new 5 sticker limit i hope it can be implemented.
Any support for installing via the Easypanel panel?
It would be interesting to have the Preset category in the menu
How it would work would be collections of skins that the website's Admin Master/Root can create for users to select from.
For example, I create a collection of skins, knives and gloves that the Fallen uses and put it there, the player just enters and selects, same thing for other players, and personalized collections of skins.
This implementation may be applied in the future so that in order to access the collections/preset, you will need to have access, VIP, etc. But that for the future.
To begin with, it would be interesting to just have an option that we can configure, whether everyone can create these presets or only the master admin of the website will create them and the users will just select them.
Currently on the website, when we click to inspect a storage unit, it doesn't matter if it has items inside it or not, it opens normally.
In CS2, when it is empty, it shows a message about how the storage unit works.
Would this feature be possible on the website? The only change would be in the number of items shown, as we can change how many items will be able to be placed in the storage unit through the database with the InventoryStorageUnitMaxItems
option, it would be interesting to show the number that we configure in it.
In other words, instead of showing 1,000 items, it would show 32 items or whatever number we configure.
Table Rule
i hide some types/craft from the panel.
So far so good, these types/craft are not visible to users.
However, for my user I said that he will still have full access.
As you can see in the screenshot below, I would have access and other users would not.
However, when I try to craft an item that would be blocked for other users, but for me I do not receive a synchronization error.
Could it be a configuration error in the RuleOverwriting
table on my part, or even a BUG?
I believe you can add support for editing C4, it supports adding nametags.
Is it possible to make the storage unit or just the default storage to a higher number so i can put more stuff in a storage unit or in my inventory thanks.
I noticed that this warning is only displayed to the user if they have already logged in to the site. In other words, if you have never logged in and change your skins, you will not receive this warning, so you will not be notified that you need to be logged in to synchronize your skins.
Wouldn't it be correct for the message to appear to all users, even if they have never logged in to the site?
I believe that in the future we can use this web interface as the basis for a CSSharp plugin for CS2.
Use it so we can change the player's inventory within the server. This left a question, can we have a root/admin access option that allows us to enable and disable features in the web panel?
For example, it allows players to use the panel but they will not have access to open capsules, cases, acquire keys, etc. Just leave the option to choose skins, change nametag, stattrak and stickers.
Could something like this be possible for the future?
In CSGO the Gloves Crimson Kimono had some pattern like full-red, full red only right hand, and left hand that pattern depends on seed.
Would it be possible to implement this feature in CS2? It exists for CS2 right?
Website that shows these seeds/patterns: https://broskins.com/index.php?pages/gloves_crimson_kimono/
I wish there can be a button when you over over the weapon that can make the weapon larger and has th3e stickers larger and when you hover over them it has the name of the stickers. so kind of like inspecting a weapon but can be less detailed because to view the weapon you have to click edit to see the weapon and stickers at a larger scale.
Are you able to add a info icon on the bottem left etelling the link the wear and such, When you hover ovcer the sticker you can see the wear anc name of sticker. Have thge inspect buttton avvalible for the wepons in a storage unit and The wepon be able to see if its statrak or not.
I have the following configuration in the rules:
CraftHideType: patch;case;key;graffiti;tool;sticker;pin;agent;musickit
So far, everything is fine, as you can see in the screenshot:
However, even though the sticker is removed for all users on weapon skins, stickers can still be added.
It would be interesting if the sticker rule doesn't even show on the skins. It would be the same if I apply rules for nametag, stattrak, seed and wear, if I add them it doesn't show the options even in the skins.
Patches can be applied in multiple slots of an agent, and it's not an equippable item like a pin. It's more like a sticker for agents.
Would it be possible to implement support so that we can change the background?
Something like CS2, map background option and such.
It would also not be possible for the Settings option to move as if it were an option when clicking on our nickname or profile photo.
In this case, this change only stops when he is logged in, if he is not logged in with Steam it remains as it is currently.
Would it be possible to configure/change some Header, Footer & SEO information via the database?
What I thought of was some option to change the logo in the Header.
Option to change the favicon and title of the site, would be interesting.
SEO when we share the link by default with this information, it would be an interesting option to edit this text.
Regarding the site's credits, I thought about removing the Source Code
and leaving the direct link to the project in the name in the credits.
And in addition to the project credits, you can also put a message at the front that we can change, for example:
cstrike's Inventory Simulator - CUSTOMIZABLE MESSAGE
Kind of useless but i think it would be cool if the theme of the craft could look like the steam market to "enhance" the realistic Ness. Isnt needed but just kinda cool
I really really like your website I've been looking for one for many many while but can you fix stuff including like on some cases it says "No items to display" because when i get some case and it says that i cant open and and also is it impossible to pull knifes because ive been playing for a couple days and I've never pulled one how can i change the pull rate ands last thing. can you make accounts that have their own data and not just on steam like make a simple account with username password etc. that saves the guns and stuff so you don't have to have many steam accounts to log in with. like i said i really like your website and i would love for it to be further worked on thank you a lot my friend.
Some skins, for example, Case Hardened have different seeds, blue on the weapon changes position and so on. However, changing this seed in the web interface does not change anything on the website. It would be possible to implement this feature since in the option to view the wear it already exists on the website.
Same thing for Knives and Gloves.
In theory, everything works perfectly.
However, users with full inventories, many skins, the storage unit is at the bottom of the page and when we click to activate it, the alert message when empty is fixed at the top.
It would be possible to make the alert show near the unit that we clicked to activate, move us to the notification box in the case and lock the inventory so that we cannot edit or open any case. Currently, if I scroll down the page, even with the notification on the screen, I can still perform actions on the skins/cases without closing the alert window.
CS2 on storage units has the option to view inside them, without removing items. Would it be possible to implement this option as well?
I understand that the Retrieve Items option would have this function, but if the storage is empty it does not show it.
From what I remember, even the empty unit CS2 allows you to see inside.
Since the project is to be the closest to the CS2 inventory, I believe this feature would be interesting.
Will you ever integrate souvenir weapons from the souvenir packages like when you pull a weapon it says souvenir and preset gold stickers on the weapon?
Can we expect in future updates to see the sticker on the weapon like in CS2 and as it is removed, it will also update on the skin until it is completely removed?
I believe this is the same issue addressed in Issues #6.
In CS2 we do not need to have the Nametag to change the name of the Storage Units. We are able to freely change the name of the storage units.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.