SparkMyte Posted August 23, 2021 Posted August 23, 2021 Hello! I am trying to create a roleplay server, but I cannot figure out how to make a faction system, please help me.
fl1k Posted August 23, 2021 Posted August 23, 2021 simple to your database add faction_id in players create a table called factions faction_id name etc etc etc on resourcestart fetch all factions into a list now on authentication fetch the player and u have his faction id, to get his faction do Factions[faction_id] but first check if Factions[faction_id] is null, if it is faction got deleted are you using C# or js
SparkMyte Posted August 23, 2021 Author Posted August 23, 2021 Hey! Thanks for the response, I’m using C# on Microsoft Studio, I believe.
fl1k Posted August 23, 2021 Posted August 23, 2021 Then my reply should be enough to get you started, if you have more question just ask. Did you implement the database system yet?
SparkMyte Posted August 23, 2021 Author Posted August 23, 2021 I’m not quite sure to be honest, could you send it here on how to, and I can see if I have?
fl1k Posted August 23, 2021 Posted August 23, 2021 Download mysql server / xampp Explore this: https://dev.mysql.com/doc/connector-net/en/connector-net-tutorials-sql-command.html
SparkMyte Posted August 23, 2021 Author Posted August 23, 2021 Is that all I need to know? Also, do you happen to know how to make a faction HQ, and setup faction vehicles?
SparkMyte Posted August 23, 2021 Author Posted August 23, 2021 1 hour ago, fl1k said: Download mysql server / xampp Explore this: https://dev.mysql.com/doc/connector-net/en/connector-net-tutorials-sql-command.html Is there a way to do it without mysql? It doesn't seem to want to load up on localhost
fl1k Posted August 23, 2021 Posted August 23, 2021 16 minutes ago, SparkMyte said: Is there a way to do it without mysql? It doesn't seem to want to load up on localhost Using another database yes, no database no server Mysql is the easisest, install xampp
SparkMyte Posted August 23, 2021 Author Posted August 23, 2021 2 minutes ago, fl1k said: Using another database yes, no database no server Mysql is the easisest, install xampp I've done it, when I try to run MySQL on XAMPP, I get this error: HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Most likely causes: The directory or file specified does not exist on the Web server. The URL contains a typographical error. A custom filter or module, such as URLScan, restricts access to the file. Things you can try: Create the content on the Web server. Review the browser URL. Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here. Detailed Error Information: Module IIS Web Core Notification MapRequestHandler Handler StaticFile Error Code 0x80070002 Requested URL http://localhost:80/phpmyadmin/ Physical Path C:\inetpub\wwwroot\phpmyadmin\ Logon Method Anonymous Logon User Anonymous
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now