consts

package
v0.0.0-...-929fa59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChaoRouletteRedRingCost            = int64(15)
	ChaoRouletteTicketCost             = int64(1)
	ChaoRouletteCharacterStarIncrease  = int64(1)
	ChaoRouletteCharacterLevelIncrease = int64(5)
	ChaoRouletteChaoLevelIncreaseLow   = int64(1)
	ChaoRouletteChaoLevelIncreaseHigh  = int64(3)
)
View Source
const (
	DBFileName = "outrun.db"

	DBBucketSessionIDs              = "sessionIDs"
	DBBucketPlayers                 = "players"
	DBBucketAnalytics               = "analytics"
	DBBucketAllTimeNormalHighScores = "allTimeNormalHighScores"
	DBBucketAllTimeQuickHighScores  = "allTimeQuickHighScores"

	DBSessionExpiryTime = 3600
)
View Source
const (
	RouletteJackpotRings = int64(185000)
	RouletteFreeSpins    = int64(5)
)
View Source
const (
	CharacterUpgradeIncrease = 5500
)

Variables

View Source
var DailyMissionGoals = map[int64]int64{}/* 198 elements not displayed */
View Source
var DailyMissionRewardCounts = []int64{
	500,
	10,
	1000,
	20,
	2500,
	30,
	75,
}
View Source
var EpisodeWithChapters = map[int64]int64{
	6:  2,
	11: 2,
	16: 2,
	19: 2,
	20: 2,
	22: 2,
	23: 2,
	24: 2,
	29: 2,
	31: 2,
	33: 2,
	36: 2,
	38: 2,
	39: 2,
	40: 3,
	41: 3,
	42: 2,
	43: 2,
	44: 2,
	46: 2,
	47: 2,
	48: 2,
	49: 2,
	50: 5,
}
View Source
var GameVersionToAssetVersionMap = map[string]string{
	"1.0.0": "UPG",
	"1.0.1": "UPG",
	"1.0.2": "UPG",
	"1.0.4": "UPG",
	"1.1.0": "UPG",
	"1.1.1": "UPG",
	"1.1.2": "UPG",
	"1.1.3": "UPG",
	"1.1.4": "041",
	"2.0.0": "043",
	"2.0.1": "047",
	"2.0.3": "049",
}

"UPG" = ServerNextVersion error on login

View Source
var PointScores = map[int64][]int64{

	1:  []int64{1000, 1000, 1000, 1000, 1000, -1},
	2:  []int64{50000, 50000, 50000, 50000, 50000, -1},
	3:  []int64{50000, 50000, 50000, 50000, 50000, -1},
	4:  []int64{65000, 65000, 65000, 65000, 65000, -1},
	5:  []int64{65000, 65000, 65000, 65000, 65000, -1},
	6:  []int64{65000, 65000, 65000, 65000, 65000, -1},
	7:  []int64{110000, 110000, 110000, 110000, 110000, -1},
	8:  []int64{110000, 110000, 110000, 110000, 110000, -1},
	9:  []int64{160000, 160000, 160000, 160000, 160000, -1},
	10: []int64{160000, 160000, 160000, 160000, 160000, -1},
	11: []int64{260000, 260000, 260000, 260000, 260000, -1},
	12: []int64{390000, 390000, 390000, 390000, 390000, -1},
	13: []int64{420000, 420000, 420000, 420000, 420000, -1},
	14: []int64{420000, 420000, 420000, 420000, 420000, -1},
	15: []int64{420000, 420000, 420000, 420000, 420000, -1},
	16: []int64{600000, 600000, 600000, 600000, 600000, -1},
	17: []int64{1200000, 1200000, 1200000, 1200000, 1200000, -1},
	18: []int64{1280000, 1280000, 1280000, 1280000, 1280000, -1},
	19: []int64{1600000, 1600000, 1600000, 1600000, 1600000, -1},
	20: []int64{1700000, 1700000, 1700000, 1700000, 1700000, -1},
	21: []int64{2040000, 2040000, 2040000, 2040000, 2040000, -1},
	22: []int64{2160000, 2160000, 2160000, 2160000, 2160000, -1},
	23: []int64{2280000, 2280000, 2280000, 2280000, 2280000, -1},
	24: []int64{2800000, 2800000, 2800000, 2800000, 2800000, -1},
	25: []int64{2280000, 2280000, 2280000, 2280000, 2280000, -1},
}
View Source
var RandomChaoWheelChaoPrizes = map[string]float64{

	enums.ChaoIDStrHeroChao:             5.0,
	enums.ChaoIDStrGoldChao:             5.0,
	enums.ChaoIDStrDarkChao:             5.0,
	enums.ChaoIDStrJewelChao:            4.5,
	enums.ChaoIDStrNormalChao:           4.5,
	enums.ChaoIDStrOmochao:              4.5,
	enums.ChaoIDStrRCMonkey:             3.5,
	enums.ChaoIDStrRCSpring:             3.5,
	enums.ChaoIDStrRCElectromagnet:      3.5,
	enums.ChaoIDStrBabyCyanWisp:         3.5,
	enums.ChaoIDStrBabyIndigoWisp:       3.5,
	enums.ChaoIDStrBabyYellowWisp:       3.5,
	enums.ChaoIDStrRCPinwheel:           3.0,
	enums.ChaoIDStrRCPiggyBank:          3.0,
	enums.ChaoIDStrRCBalloon:            3.0,
	enums.ChaoIDStrEasterChao:           2.0,
	enums.ChaoIDStrPurplePapurisu:       0.0,
	enums.ChaoIDStrMagLv1:               0.0,
	enums.ChaoIDStrEggChao:              3.5,
	enums.ChaoIDStrPumpkinChao:          3.5,
	enums.ChaoIDStrSkullChao:            3.0,
	enums.ChaoIDStrYacker:               2.0,
	enums.ChaoIDStrRCGoldenPiggyBank:    1.5,
	enums.ChaoIDStrWizardChao:           1.0,
	enums.ChaoIDStrRCTurtle:             1.0,
	enums.ChaoIDStrRCUFO:                1.0,
	enums.ChaoIDStrRCBomber:             1.0,
	enums.ChaoIDStrEasterBunny:          1.0,
	enums.ChaoIDStrMagicLamp:            1.0,
	enums.ChaoIDStrStarShapedMissile:    1.0,
	enums.ChaoIDStrSuketoudara:          1.0,
	enums.ChaoIDStrRappy:                1.0,
	enums.ChaoIDStrBlowfishTransporter:  1.0,
	enums.ChaoIDStrGenesis:              1.0,
	enums.ChaoIDStrCartridge:            1.0,
	enums.ChaoIDStrRCFighter:            1.0,
	enums.ChaoIDStrRCHovercraft:         1.0,
	enums.ChaoIDStrRCHelicopter:         1.0,
	enums.ChaoIDStrGreenCrystalMonsterS: 1.0,
	enums.ChaoIDStrGreenCrystalMonsterL: 1.0,
	enums.ChaoIDStrRCAirship:            1.0,
	enums.ChaoIDStrDesertChao:           1.0,
	enums.ChaoIDStrRCSatellite:          1.0,
	enums.ChaoIDStrMarineChao:           1.0,
	enums.ChaoIDStrNightopian:           1.0,
	enums.ChaoIDStrOrca:                 1.0,
	enums.ChaoIDStrSonicOmochao:         1.0,
	enums.ChaoIDStrTailsOmochao:         1.0,
	enums.ChaoIDStrKnucklesOmochao:      1.0,
	enums.ChaoIDStrBoo:                  1.0,
	enums.ChaoIDStrHalloweenChao:        1.0,
	enums.ChaoIDStrHeavyBomb:            1.0,
	enums.ChaoIDStrBlockBomb:            1.0,
	enums.ChaoIDStrHunkofMeat:           1.0,
	enums.ChaoIDStrYeti:                 1.0,
	enums.ChaoIDStrSnowChao:             1.0,
	enums.ChaoIDStrIdeya:                1.0,
	enums.ChaoIDStrChristmasNightopian:  1.0,
	enums.ChaoIDStrOrbot:                1.0,
	enums.ChaoIDStrCubot:                1.0,
	enums.ChaoIDStrLightChaos:           1.0,
	enums.ChaoIDStrHeroChaos:            1.0,
	enums.ChaoIDStrDarkChaos:            1.0,
	enums.ChaoIDStrChip:                 1.0,
	enums.ChaoIDStrShahra:               1.0,
	enums.ChaoIDStrCaliburn:             1.0,
	enums.ChaoIDStrKingArthursGhost:     1.0,
	enums.ChaoIDStrRCTornado:            1.0,
	enums.ChaoIDStrRCBattleCruiser:      1.0,
	enums.ChaoIDStrMerlina:              1.0,
	enums.ChaoIDStrErazorDjinn:          1.0,
	enums.ChaoIDStrRCMoonMech:           1.0,
	enums.ChaoIDStrCarbuncle:            1.0,
	enums.ChaoIDStrKuna:                 1.0,
	enums.ChaoIDStrChaos:                1.0,
	enums.ChaoIDStrDeathEgg:             1.0,
	enums.ChaoIDStrRedCrystalMonsterS:   1.0,
	enums.ChaoIDStrRedCrystalMonsterL:   1.0,
	enums.ChaoIDStrGoldenGoose:          1.0,
	enums.ChaoIDStrMotherWisp:           1.0,
	enums.ChaoIDStrRCPirateSpaceship:    1.0,
	enums.ChaoIDStrGoldenAngel:          1.0,
	enums.ChaoIDStrNiGHTS:               1.0,
	enums.ChaoIDStrReala:                1.0,
	enums.ChaoIDStrRCTornado2:           1.0,
	enums.ChaoIDStrChaoWalker:           1.0,
	enums.ChaoIDStrDarkQueen:            1.0,
	enums.ChaoIDStrKingBoomBoo:          1.0,
	enums.ChaoIDStrOPapa:                1.0,
	enums.ChaoIDStrOpaOpa:               1.0,
	enums.ChaoIDStrRCBlockFace:          1.0,
	enums.ChaoIDStrChristmasYeti:        1.0,
	enums.ChaoIDStrChristmasNiGHTS:      1.0,

	enums.ChaoIDStrDarkChaoWalker: 1.0,
}
View Source
var RandomChaoWheelChaoPrizes114 = map[string]float64{

	enums.ChaoIDStrHeroChao:             5.0,
	enums.ChaoIDStrGoldChao:             5.0,
	enums.ChaoIDStrDarkChao:             5.0,
	enums.ChaoIDStrJewelChao:            4.5,
	enums.ChaoIDStrNormalChao:           4.5,
	enums.ChaoIDStrOmochao:              4.5,
	enums.ChaoIDStrRCMonkey:             3.5,
	enums.ChaoIDStrRCSpring:             3.5,
	enums.ChaoIDStrRCElectromagnet:      3.5,
	enums.ChaoIDStrBabyCyanWisp:         3.5,
	enums.ChaoIDStrBabyIndigoWisp:       3.5,
	enums.ChaoIDStrBabyYellowWisp:       3.5,
	enums.ChaoIDStrRCPinwheel:           3.0,
	enums.ChaoIDStrRCPiggyBank:          3.0,
	enums.ChaoIDStrRCBalloon:            3.0,
	enums.ChaoIDStrEasterChao:           2.0,
	enums.ChaoIDStrPurplePapurisu:       0.0,
	enums.ChaoIDStrMagLv1:               0.0,
	enums.ChaoIDStrEggChao:              3.5,
	enums.ChaoIDStrPumpkinChao:          3.5,
	enums.ChaoIDStrSkullChao:            3.0,
	enums.ChaoIDStrYacker:               2.0,
	enums.ChaoIDStrRCGoldenPiggyBank:    1.5,
	enums.ChaoIDStrWizardChao:           1.0,
	enums.ChaoIDStrRCTurtle:             1.0,
	enums.ChaoIDStrRCUFO:                1.0,
	enums.ChaoIDStrRCBomber:             1.0,
	enums.ChaoIDStrEasterBunny:          1.0,
	enums.ChaoIDStrMagicLamp:            1.0,
	enums.ChaoIDStrStarShapedMissile:    1.0,
	enums.ChaoIDStrSuketoudara:          1.0,
	enums.ChaoIDStrRappy:                1.0,
	enums.ChaoIDStrBlowfishTransporter:  1.0,
	enums.ChaoIDStrGenesis:              1.0,
	enums.ChaoIDStrCartridge:            1.0,
	enums.ChaoIDStrRCFighter:            1.0,
	enums.ChaoIDStrRCHovercraft:         1.0,
	enums.ChaoIDStrRCHelicopter:         1.0,
	enums.ChaoIDStrGreenCrystalMonsterS: 1.0,
	enums.ChaoIDStrGreenCrystalMonsterL: 1.0,
	enums.ChaoIDStrRCAirship:            1.0,
	enums.ChaoIDStrDesertChao:           1.0,
	enums.ChaoIDStrRCSatellite:          1.0,
	enums.ChaoIDStrMarineChao:           1.0,
	enums.ChaoIDStrNightopian:           1.0,
	enums.ChaoIDStrOrca:                 1.0,
	enums.ChaoIDStrSonicOmochao:         1.0,
	enums.ChaoIDStrTailsOmochao:         1.0,
	enums.ChaoIDStrKnucklesOmochao:      1.0,
	enums.ChaoIDStrBoo:                  1.0,
	enums.ChaoIDStrHalloweenChao:        1.0,
	enums.ChaoIDStrHeavyBomb:            1.0,
	enums.ChaoIDStrBlockBomb:            1.0,
	enums.ChaoIDStrHunkofMeat:           1.0,
	enums.ChaoIDStrLightChaos:           1.0,
	enums.ChaoIDStrHeroChaos:            1.0,
	enums.ChaoIDStrDarkChaos:            1.0,
	enums.ChaoIDStrChip:                 1.0,
	enums.ChaoIDStrShahra:               1.0,
	enums.ChaoIDStrCaliburn:             1.0,
	enums.ChaoIDStrKingArthursGhost:     1.0,
	enums.ChaoIDStrRCTornado:            1.0,
	enums.ChaoIDStrRCBattleCruiser:      1.0,
	enums.ChaoIDStrMerlina:              1.0,
	enums.ChaoIDStrErazorDjinn:          1.0,
	enums.ChaoIDStrRCMoonMech:           1.0,
	enums.ChaoIDStrCarbuncle:            1.0,
	enums.ChaoIDStrKuna:                 1.0,
	enums.ChaoIDStrChaos:                1.0,
	enums.ChaoIDStrDeathEgg:             1.0,
	enums.ChaoIDStrRedCrystalMonsterS:   1.0,
	enums.ChaoIDStrRedCrystalMonsterL:   1.0,
	enums.ChaoIDStrGoldenGoose:          1.0,
	enums.ChaoIDStrMotherWisp:           1.0,
	enums.ChaoIDStrRCPirateSpaceship:    1.0,
	enums.ChaoIDStrGoldenAngel:          1.0,
	enums.ChaoIDStrNiGHTS:               1.0,
	enums.ChaoIDStrReala:                1.0,
	enums.ChaoIDStrRCTornado2:           1.0,
	enums.ChaoIDStrChaoWalker:           1.0,
	enums.ChaoIDStrDarkQueen:            1.0,
	enums.ChaoIDStrKingBoomBoo:          1.0,
	enums.ChaoIDStrOPapa:                1.0,
	enums.ChaoIDStrOpaOpa:               1.0,
	enums.ChaoIDStrRCBlockFace:          1.0,
}
View Source
var RandomChaoWheelCharacterPrizes114 = map[string]float64{

	enums.CTStrSonic:        6.25,
	enums.CTStrTails:        6.25,
	enums.CTStrKnuckles:     6.25,
	enums.CTStrAmy:          6.25,
	enums.CTStrBig:          6.25,
	enums.CTStrBlaze:        6.25,
	enums.CTStrCharmy:       6.25,
	enums.CTStrCream:        6.25,
	enums.CTStrEspio:        6.25,
	enums.CTStrOmega:        6.25,
	enums.CTStrRouge:        6.25,
	enums.CTStrShadow:       6.25,
	enums.CTStrSilver:       6.25,
	enums.CTStrVector:       6.25,
	enums.CTStrClassicSonic: 6.25,
	enums.CTStrMetalSonic:   6.25,
}
View Source
var UpgradeIncreases = map[string]int64{
	"300000": 250,
	"300001": 250,
	"300002": 250,
	"300003": 300,
	"300004": 450,
	"300005": 500,
	"300006": 500,
	"300007": 600,
	"300008": 650,
	"300009": 700,
	"300010": 600,
	"300011": 600,
	"300012": 650,
	"300013": 750,
	"300014": 850,
	"300015": 950,
	"300016": 800,
	"300017": 700,
	"300018": 1050,
	"300019": 1500,
	"300020": 2250,
}

Functions

This section is empty.

Types

type AmountRange

type AmountRange struct {
	Min  int64
	Max  int64
	Step int64
}

func (AmountRange) GetRandom

func (a AmountRange) GetRandom() int64

type PrizeInfo

type PrizeInfo struct {
	AppearanceChance float64 // % chance for it to be chosen to be in wheel by the server
	Type             int64   // 0 for Chao, 1 for Character
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL