Jump to content

Faction System


SparkMyte

Recommended Posts

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

 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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...