This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init_stats: { | |
"c_ft": 'baseMSGFactionStats', | |
"c_team":'baseMSGFactionStats', | |
"c_hrc": 'haircolor', | |
"c_hrs": 'hair', | |
"c_skc": 'skintone', | |
"c_ltp": "0.0000", | |
"c_ltm": "0.0000", | |
"c_fhrs": "", | |
"c_slm": "2.0000", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 5.1.0 | |
-- https://www.phpmyadmin.net/ | |
-- | |
-- Host: 127.0.0.1:3306 | |
-- Generation Time: Dec 28, 2021 at 12:14 PM | |
-- Server version: 8.0.23 | |
-- PHP Version: 8.0.3 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const router = require("express").Router(); | |
const { Hero, User } = require("../models"); | |
const { restore } = require("../models/User"); | |
// /api/stats routes | |
module.exports = router; | |
router.get("/", async (req, res) => { | |
if (!req.session.loggedIn) { | |
res.redirect("/"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import host | |
import bf2.PlayerManager | |
import fpformat | |
from constants import * | |
from bf2 import g_debug | |
from bf2.stats.stats import getStatsMap, setStatsMap, getPlayerConnectionOrderIterator, setPlayerConnectionOrderIterator, roundArmies | |
from bf2.stats.medals import getMedalMap, setMedalMap | |
def init(): |
OlderNewer