Udun
Well-Known Member
- Joined
- Jan 5, 2012
- Messages
- 192
- Solutions
- 1
- Reaction score
- 67
Hello friends of Otland!
Today a came with a lot of trouble, I'm a noob so please be patient! xD
I want start a big project with TFS 1.2, the last 3 days I have been trying to get the distro, looking in the forums, searching as crazy.
I was tinking to compile myself but I haven't able to do it yet cause I'm having problems to get the visual basic (restricted bandwith for now).
So I downloaded the Github Tfs 1.2 from here:
And the dll's and .exe from here:
Then I put all together and when I run the server the console opens for a milisecond and closes up.
I don't know if this is a problem with the database o something else;
Im using XAMMP v3.2.1 and an old database that I use with a TFS 0.3.6, but as the console doesn't open im not able to see any bugs o whatever, (Note: the database have old tables for a website because on the past was used with a website, but I dont have website right now).
I also tried with the schema.sql that comes with the server but the problem persist.
What I'm missing?
config.lua
Thanks in advance!
Today a came with a lot of trouble, I'm a noob so please be patient! xD
I want start a big project with TFS 1.2, the last 3 days I have been trying to get the distro, looking in the forums, searching as crazy.
I was tinking to compile myself but I haven't able to do it yet cause I'm having problems to get the visual basic (restricted bandwith for now).
So I downloaded the Github Tfs 1.2 from here:
GitHub - otland/forgottenserver at 1.2
A free and open-source MMORPG server emulator written in C++ - GitHub - otland/forgottenserver at 1.2
github.com
And the dll's and .exe from here:
AppVeyor
ci.appveyor.com
Then I put all together and when I run the server the console opens for a milisecond and closes up.
I don't know if this is a problem with the database o something else;
Im using XAMMP v3.2.1 and an old database that I use with a TFS 0.3.6, but as the console doesn't open im not able to see any bugs o whatever, (Note: the database have old tables for a website because on the past was used with a website, but I dont have website right now).
I also tried with the schema.sql that comes with the server but the problem persist.
What I'm missing?
config.lua
Code:
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeChargesFromRunes = true
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
ip = "127.0.0.1"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Welcome to The Forgotten Server!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Forgotten"
statusTimeout = 5000
replaceKickOnLogin = true
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
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "forgotten"
mapAuthor = "Komic"
-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "MYPASSWORD"
mysqlDatabase = "tfs1.2"
mysqlPort = 3306
mysqlSock = ""
-- Misc.
allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
-- 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 = true
-- Scripts
warnUnsafeScripts = true
convertUnsafeScripts = true
-- Startup
-- NOTE: defaultPriority only works on Windows and sets process
-- priority, valid values are: "normal", "above-normal", "high"
defaultPriority = "high"
startupDatabaseOptimization = false
-- Status server information
ownerName = ""
ownerEmail = ""
url = "https://otland.net/"
location = "Sweden"
Thanks in advance!
Last edited by a moderator: