• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Uniserver + tfs

Wartio

Any game ideas?
Joined
Apr 2, 2010
Messages
457
Reaction score
29
Location
Sweden
I got a problem, when i create accounts in website every account gets "salt" numbers, and when i try to login it says its wrong pass, i tried to remove the salt from the account and it works to login now, but is it possible to make the website not create "salt" with accounts??.


I have "genereateSaltaccount set to false" in config so idk how to do now :/
 
Code:
    accountManager = false
    namelockManager = true
    newPlayerChooseVoc = true
    newPlayerSpawnPosX = 1825
    newPlayerSpawnPosY = 1558
    newPlayerSpawnPosZ = 7
    newPlayerTownId = 1
    newPlayerLevel = 8
    newPlayerMagicLevel = 4
    generateAccountNumber = false
    generateAccountSalt = false

    paralyzeDelay = 1400

       reportExhausted = 15 * 60

    enableCast = "true"

    useFragHandler = true
    redSkullLength = 30 * 24 * 60 * 60
    blackSkullLength = 45 * 24 * 60 * 60
    dailyFragsToRedSkull = 20
    weeklyFragsToRedSkull = 50
    monthlyFragsToRedSkull = 90
    dailyFragsToBlackSkull = dailyFragsToRedSkull
    weeklyFragsToBlackSkull = weeklyFragsToRedSkull
    monthlyFragsToBlackSkull = monthlyFragsToRedSkull
    dailyFragsToBanishment = dailyFragsToRedSkull
    weeklyFragsToBanishment = weeklyFragsToRedSkull
    monthlyFragsToBanishment = monthlyFragsToRedSkull
    blackSkulledDeathHealth = 100
    blackSkulledDeathMana = 100
    useBlackSkull = false
    advancedFragList = false

    notationsToBan = 3
    warningsToFinalBan = 4
    warningsToDeletion = 5
    banLength = 7 * 24 * 60 * 60
    killsBanLength = 7 * 24 * 60 * 60
    finalBanLength = 30 * 24 * 60 * 60
    ipBanishmentLength = 30 * 24 * 60 * 60
    broadcastBanishments = false
    maxViolationCommentSize = 200
    violationNameReportActionType = 2
    autoBanishUnknownBytes = false

    worldType = "open"
    protectionLevel = 8
    pvpTileIgnoreLevelAndVocationProtection = true
    pzLocked = 5 * 1000
    huntingDuration = 5 * 1000
    criticalHitChance = 7
    criticalHitMultiplier = 1
    displayCriticalHitNotify = false
    removeWeaponAmmunition = false
    removeWeaponCharges = false
    removeRuneCharges = false
    whiteSkullTime = 5 * 30 * 1000
    noDamageToSameLookfeet = false
    showHealingDamage = true
    showHealingDamageForMonsters = true
    fieldOwnershipDuration = 5 * 1000
    stopAttackingAtExit = false
    loginProtectionPeriod = 10 * 1000
    deathLostPercent = 7
    stairhopDelay = 2 * 1000
    pushCreatureDelay = 2 * 1000
    deathContainerId = 1987
    gainExperienceColor = 215
    addManaSpentInPvPZone = true
    squareColor = 0
    allowFightback = true
    fistBaseAttack = 7

    worldId = 0
    ip = "not set"
    bindOnlyGlobalAddress = false
    loginPort = 7171
    gamePort = 7172
    loginTries = 10
    retryTimeout = 5 * 1000
    loginTimeout = 60 * 1000
    maxPlayers = 1000
    motd = "Welcome"
    displayOnOrOffAtCharlist = true
    onePlayerOnlinePerAccount = true
    allowClones = false
    serverName = "Ots"
    loginMessage = "Welcome"
    statusTimeout = 5 * 60 * 1000
    replaceKickOnLogin = true
    forceSlowConnectionsToDisconnect = false
    loginOnlyWithLoginServer = false
    premiumPlayerSkipWaitList = false

    rsaPrime1 = "14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113"
    rsaPrime2 = "7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101"
    rsaPublic = "65537"
    rsaModulus = "109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413"
    rsaPrivate = "46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073"

    sqlType = "mysql"
    sqlHost = "127.0.0.1"
    sqlPort = 3306
    sqlUser = "otland"
    sqlPass = "123456"
    sqlDatabase = "otland"
    sqlFile = "theforgottenserver.s3db"
    sqlKeepAlive = 0
    mysqlReadTimeout = 10
    mysqlWriteTimeout = 10
    encryptionType = "plain"

    deathListEnabled = true
    deathListRequiredTime = 1 * 60 * 1000
    deathAssistCount = 19
    maxDeathRecords = 5

    ingameGuildManagement = false
    levelToFormGuild = 8
    premiumDaysToFormGuild = 0
    guildNameMinLength = 4
    guildNameMaxLength = 20

    highscoreDisplayPlayers = 15
    updateHighscoresAfterMinutes = 10

    buyableAndSellableHouses = true
    houseNeedPremium = true
    bedsRequirePremium = true
    levelToBuyHouse = 50
    housesPerAccount = 1
    houseRentAsPrice = false
    housePriceAsRent = false
    housePriceEachSquare = 1000
    houseRentPeriod = "true"
    houseCleanOld = 0
    guildHalls = true

    timeBetweenActions = 200
    timeBetweenExActions = 1000
    hotkeyAimbotEnabled = true

    mapName = "ots.otbm"
    mapAuthor = "Ots"
    randomizeTiles = true
    storeTrash = true
    cleanProtectedZones = true
    mailboxDisabledTowns = ""

    defaultPriority = "high"
    niceLevel = 5
    coresUsed = "-1"

    startupDatabaseOptimization = false
    updatePremiumStateAtStartup = true
    confirmOutdatedVersion = false

    formulaLevel = 5.0
    formulaMagic = 1.0
    bufferMutedOnSpellFailure = false
    spellNameInsteadOfWords = false
    emoteSpells = false
    unifiedSpells = true

    allowChangeOutfit = true
    allowChangeColors = true
    allowChangeAddons = true
    disableOutfitsForPrivilegedPlayers = false
    addonsOnlyPremium = true

    dataDirectory = "data/"
    logsDirectory = "data/logs/"
    bankSystem = true
    displaySkillLevelOnAdvance = true
    promptExceptionTracerErrorBox = true
    maximumDoorLevel = 500
    maxMessageBuffer = 4
    tradeLimit = 100

    separateVipListPerCharacter = false
    vipListDefaultLimit = 20
    vipListDefaultPremiumLimit = 100

    saveGlobalStorage = true
    useHouseDataStorage = false
    storePlayerDirection = false

    checkCorpseOwner = true
    monsterLootMessage = 3
    monsterLootMessageType = 25

    ghostModeInvisibleEffect = true
    ghostModeSpellEffects = true

    idleWarningTime = 14 * 60 * 1000
    idleKickTime = 15 * 60 * 1000
    reportsExpirationAfterReads = 1
    playerQueryDeepness = 2
    tileLimit = 0
    protectionTileLimit = 0
    houseTileLimit = 0

    freePremium = true
    premiumForPromotion = true

    blessings = true
    blessingOnlyPremium = false
    blessingReductionBase = 30
    blessingReductionDecrement = 5
    eachBlessReduction = 8

    experienceStages = true
    rateExperience = 150.0
    rateExperienceFromPlayers = 7
    rateSkill = 50.0
    rateMagic = 25.0
    rateLoot = 3.0
    rateSpawn = 1

    rateMonsterHealth = 1.0
    rateMonsterMana = 1.0
    rateMonsterAttack = 1.0
    rateMonsterDefense = 1.0

    minLevelThresholdForKilledPlayer = 0
    maxLevelThresholdForKilledPlayer = 5

    rateStaminaLoss = 1
    rateStaminaGain = 3
    rateStaminaThresholdGain = 12
    staminaRatingLimitTop = 40 * 60
    staminaRatingLimitBottom = 14 * 60
    staminaLootLimit = 14 * 60
    rateStaminaAboveNormal = 1.5
    rateStaminaUnderNormal = 0.5
    staminaThresholdOnlyPremium = true

    experienceShareRadiusX = 30
    experienceShareRadiusY = 30
    experienceShareRadiusZ = 1
    experienceShareLevelDifference = 2 / 3
    extraPartyExperienceLimit = 20
    extraPartyExperiencePercent = 5
    experienceShareActivity = 2 * 60 * 1000

    globalSaveEnabled = false
    globalSaveHour = 8
    globalSaveMinute = 0
    shutdownAtGlobalSave = true
    cleanMapAtGlobalSave = false

    deSpawnRange = 2
    deSpawnRadius = 50

    maxPlayerSummons = 2
    teleportAllSummons = false
    teleportPlayerSummons = false

    statusPort = 7171
    ownerName = "Aivne"
    ownerEmail = ""
    url = "http://ots.no-ip.org/"
    location = "Europe"
    displayGamemastersWithOnlineCommand = false

    displayPlayersLogging = true
    prefixChannelLogs = ""
    runFile = ""
    outputLog = ""
    truncateLogOnStartup = false

    managerPort = 7171
    managerLogs = true
    managerPassword = ""
    managerLocalhostOnly = true
    managerConnectionsLimit = 1

    adminPort = 7171
    adminLogs = true
    adminPassword = ""
    adminLocalhostOnly = true
    adminConnectionsLimit = 1
    adminRequireLogin = true
    adminEncryption = ""
    adminEncryptionData = ""

Code:
<?PHP
# Account Maker Config
$config['site']['serverPath'] = "C:/Users/infeaop/Desktop/ots/";
$config['site']['useServerConfigCache'] = true;
$config['site']['worlds'] = array(0 => 'Ots');
$towns_list[0] = array(1 => 'ots');

$config['site']['outfit_images_url'] = 'http://outfit-images.ots.me/outfit.php';
$config['site']['item_images_url'] = 'http://item-images.ots.me/960/';
$config['site']['item_images_extension'] = '.gif';
$config['site']['flag_images_url'] = 'http://flag-images.ots.me/';
$config['site']['flag_images_extension'] = '.png';

# Create Account Options
$config['site']['one_email'] = false;
$config['site']['create_account_verify_mail'] = false;
$config['site']['verify_code'] = true;
$config['site']['email_days_to_change'] = 3;
$config['site']['newaccount_premdays'] = 999;
$config['site']['send_register_email'] = false;

# Create Character Options
$config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
$config['site']['newchar_towns'][0] = array(1);
$config['site']['max_players_per_account'] = 15;

# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "ssl://smtp.gmail.com";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "123456";

# PAGE: whoisonline.php
$config['site']['private-servlist.com_server_id'] = 0;
/*
Server id on 'private-servlist.com' to show Players Online Chart (whoisonline.php page), set 0 to disable Chart feature.
To use this feature you must register on 'private-servlist.com' and add your server.
Format: number, 0 [disable] or higher
*/

# PAGE: characters.php
$config['site']['quests'] = array();
$config['site']['show_skills_info'] = true;
$config['site']['show_vip_status'] = 1;// show vip status, 1 = yes, 0 = no
$config['site']['show_vip_storage'] = 11551;// the storage of vip

# PAGE: accountmanagement.php
$config['site']['send_mail_when_change_password'] = true;
$config['site']['send_mail_when_generate_reckey'] = true;
$config['site']['generate_new_reckey'] = false;
$config['site']['generate_new_reckey_price'] = 500;

# PAGE: guilds.php
$config['site']['guild_need_level'] = 15;
$config['site']['guild_need_pacc'] = false;
$config['site']['guild_image_size_kb'] = 50;
$config['site']['guild_description_chars_limit'] = 2000;
$config['site']['guild_description_lines_limit'] = 6;
$config['site']['guild_motd_chars_limit'] = 250;

# PAGE: adminpanel.php
$config['site']['access_admin_panel'] = 5;

# PAGE: latestnews.php
$config['site']['news_limit'] = 6;

# PAGE: killstatistics.php
$config['site']['last_deaths_limit'] = 40;

# PAGE: team.php
$config['site']['groups_support'] = array(2, 3, 4, 5, 6, 7, 8);

# PAGE: highscores.php
$config['site']['groups_hidden'] = array(4, 5, 6, 7, 8);
$config['site']['accounts_hidden'] = array(1);

# PAGE: shopsystem.php
$config['site']['shop_system'] = true;

# PAGE: lostaccount.php
$config['site']['email_lai_sec_interval'] = 180;

# Layout Config
$config['site']['layout'] = 'ots';
$config['site']['vdarkborder'] = '#505050';
$config['site']['darkborder'] = '#D4C0A1';
$config['site']['lightborder'] = '#F1E0C6';
$config['site']['download_page'] = false;
$config['site']['serverinfo_page'] = true;

PROBLEM SOLVED!
 
Last edited by a moderator:
Back
Top