• 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!

Solved Can't connect to my own server [TFS 1.0]

RazorBlade

Retired Snek
Joined
Nov 7, 2009
Messages
2,015
Solutions
3
Reaction score
629
Location
Canada
O hai

I've been working on an old 8.62 for the last few weeks, and decided I wanted to upgrade. So for starters, I downloaded TFS 1.0 and got all of the stuff setup normally. Can't connect with my local ip, localhost or my global ip when the ip in config is set to my global ip. However, other players can connect using my global ip. Is there any way I can play and manage my own server from the computer/network it's running from? D:

Edit: I should mention that I can get my character list. Login server works, just not the game server. Gives me connection timed out (10060)
Edit2: Been a while since I've requested support. Keep forgetting things. I'm using commit
d6cf5da470 and nightly build 469
 
Apart from the ip and database stuff, it's all the way I got it off the repo
Code:
-- Combat settings
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeAmmoWhenUsingDistanceWeapon = "yes"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = "no"

-- Connection Config
ip = "alscara.com"
bindOnlyGlobalAddress = "no"
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = "1000"
motd = "Welcome to The Forgotten Server!"
onePlayerOnlinePerAccount = "yes"
allowClones = "no"
serverName = "Forgotten"
statusTimeout = 60000
replaceKickOnLogin = "yes"
maxPacketsPerSecond = 25

-- Deaths
-- NOTE: Leave deathLosePercent as -1 if you want to use the default
-- death penalty formula. For the old formula, set it to 10. For
-- no skill/experience loss, set it to 0.
deathLosePercent = -1

-- Houses
-- NOTE: set housePriceEachSQM to -1 to disable the ingame buy house functionality
housePriceEachSQM = 1000
houseRentPeriod = "never"

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
mapName = "forgotten"
mapAuthor = "Komic"

-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = "yes"
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

-- MySQL
mysqlHost = "localhost"
mysqlUser = "xxx"
mysqlPass = "xxx"
mysqlDatabase = "forgotten"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

-- Misc.
allowChangeOutfit = "yes"
freePremium = "no"
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
noDamageToSameLookfeet = "no"
emoteSpells = "no"

-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 5
rateSkill = 3
rateLoot = 2
rateMagic = 3
rateSpawn = 1

-- Monsters
deSpawnRange = 2
deSpawnRadius = 50

-- Stamina
staminaSystem = "yes"

-- Startup
-- NOTE: defaultPriority only works on Windows and sets process priority.
defaultPriority = "high"
startupDatabaseOptimization = "no"

-- Status server information
ownerName = ""
ownerEmail = ""
url = "http://otland.net/"
location = "Sweden"
 
-- Connection Config
ip = "external ip"

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "xxx"
mysqlPass = "xxx"
mysqlDatabase = "forgottenserver"
mysqlPort = 3306
mysqlSock = ""
passwordType ="sha1"
 
Not a dedicated server, can't afford that at the moment. I had it set to both localhost and 127.0.0.1 and nada. I've never had this problem running servers. I could never connect with my global, which is normal, but I've usually been able to connect with localhost and ALWAYS on my local ip. My 8.62 I can connect to on my local ip and others can connect on global. Same info (not running at the same time of course, and different database)
 
Back
Top