PDA

View Full Version : 2 ip w sql - jak wstawi? pomocy



KozaQ ZiooM
05-08-2009, 15:53
Zrobilem no -ip ale trzeba w configu wstawic 2 Ip tylko ze w Sql to gdzie to wstawic Help :P (MAM NEO)


-- The Forgotten Server Config

-- Account manager
accountManager = "yes"
namelockManager = "no"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 160
newPlayerSpawnPosY = 54
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 0
generateAccountNumber = "no"

-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 7
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 8
maxViolationCommentSize = 200

-- Battle
-- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system.
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 50
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 4
pzLocked = 1500
criticalHitChance = 25
displayCriticalHitNotify = "no"
removeWeaponAmmunition = "no"
removeWeaponCharges = "no"
removeRuneCharges = "no"
timeToDecreaseFrags = 1800000
whiteSkullTime = 18000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"
showHealingDamage = "no"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "no"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10

-- Connection config
worldId = 0
ip = "MOJE IP"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "100"
motd = "Bem Vindo ao Slyfer Yurots! ."
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Slyfer Yurots"
loginMessage = "Aew Bem Vindo ao Slyfer Yurots OT Server. Sobre Spells e Runes Diga !spells - Sobre Second Spells Diga !secondspells - Sobre Rank Diga !rank - Sobre PVP diga !pvp."
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"

-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "sqlite"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = ""
sqlDatabase = "theforgottenserver"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
mysqlReadTimeout = 3
optimizeDatabaseAtStartup = "yes"
passwordType = "plain"

-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5

-- Guilds
ingameGuildManagement = "yes"
levelToFormGuild = 100
guildNameMinLength = 4
guildNameMaxLength = 25

-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

-- Houses
buyableAndSellableHouses = "yes"
housesPerAccount = 0
levelToBuyHouse = 100
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSQM = 20000
houseRentPeriod = "never"

-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
-- useHouseDataStorage usage may be found at README.
mapName = "test"
mapAuthor = "Wizarf"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"

-- Miscellaneous
-- NOTE: defaultPriority works only on Windows
-- promptExceptionTracerErrorBox works only with precompiled support feature,
-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
defaultPriority = "normal"
maxMessageBuffer = 4
kickIdlePlayerAfterMinutes = 15
allowChangeOutfit = "yes"
allowChangeColors = "yes"
disableOutfitsForPrivilegedPlayers = "no"
displayGamemastersWithOnlineCommand = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "no"
spellNameInsteadOfWords = "no"
emoteSpells = "no"
expireReportsAfterReads = 1
promptExceptionTracerErrorBox = "yes"

-- Premium account
freePremium = "yes"
removePremiumOnInit = "yes"
premiumForPromotion = "yes"
blessingsOnlyPremium = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"

-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
rateExperience = 10000
rateSkill = 200
rateMagic = 50
rateLoot = 3
rateSpawn = 2
experienceStages = "yes"

-- Party
-- NOTE experienceShareLevelDifference is float number.
-- 0.66666666666667 is highestLevel * 2 / 3
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 0.66666666666667
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5

-- Global save
-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system please check out data/globalevents/globalevents.xml.
globalSaveEnabled = "no"
globalSaveHour = 8
shutdownAtGlobalSave = "no"
cleanMapAtGlobalSave = "no"

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- Summons
maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"

-- Status
ownerName = "Slyfer"
ownerEmail = "@otland.net"
url = "http://otland.net./"
location = "Poland"

-- Logs
-- NOTE: This kind of logging does not work in GUI version.
-- For such, please compile the software with __GUI_LOGS__ flag.
outLogName = "server/out.log"
errorLogName = "server/error.log"
truncateLogsOnStartup = "yes"


Gdzie tu wstawic 2 Ip czy jak zrobic zeby No-ip dzialalo?

PROSZĘ O ZCYTOWANIA TEGO CO JA CYTOWAŁEM I ZAZNACZENIE NA CZERWONO TAM GDZIE TRZEBA WSTAWIC NO-IP I MOJE DAJE GODA NA OTS! + MOZNA COS SIE DOGADAC ALE TO JAK OTS ZADZIALA !!

Moon Red
05-08-2009, 15:58
-- Connection config
worldId = 0
ip = "auto"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "100"
motd = "Bem Vindo ao Slyfer Yurots! ."
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Slyfer Yurots"
loginMessage = "Aew Bem Vindo ao Slyfer Yurots OT Server. Sobre Spells e Runes Diga !spells - Sobre Second Spells Diga !secondspells - Sobre Rank Diga !rank - Sobre PVP diga !pvp."
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
\
Chyba tu :D

Greyback
15-08-2009, 15:04
Po tym co ty tam masz to ty ots nie odpalisz :D
Robiłeś bazę danych ale ty się o to nie pytasz już pisze :

-- The Forgotten Server Config
-- Account Manager
accountManager = "yes" <- czy ma używać acc menagera w tibii?
newPlayerChooseVoc = "no"
newPlayerSpawnPosX = 95
newPlayerSpawnPosY = 117
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 1
newPlayerMagicLevel = 0
generateAccountNumber = "yes"
-- Banishments
broadcastBanishments = "yes"
killsToBan = 5 <- ilość fragów do bana
-- Battle
worldType = "pvp" <- typ pvp (pvp, no-pvp, pvp-enforced)
hotkeyAimbotEnabled = "yes" <- czy mają być hotkey
protectionLevel = 1 <- do którego levela nie ma pvp
killsToRedSkull = 3 <- ilość fragów do Red Skull
pzLocked = 60000
deathLosePercent = 10
criticalHitChance = 7
removeAmmoWhenUsingDistanceWeapon = "yes" <- czy amunicja ma się kończyć
removeChargesFromRunes = "yes" <- czy runy mają się kończyć
timeToDecreaseFrags = 43200000
-- Commands
displayGamemastersWithOnlineCommand = "no"
-- Connection Config
ip = "127.0.0.1" <-wpisujemy IP cyfrowe
port = 7171 <- wpisujemy port, najlepiej zostawić
loginTries = 500
retryTimeout = 30 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000" <- maksymalna liczba graczy na serverze
motd = "Welcome to the Forgotten Server!" <- wiadomość przy wybieraniu postaci
onePlayerOnlinePerAccount = "yes" <- czy może być zalogowany jeden gracz na jednym koncie
allowClones = 0
serverName = "Forgotten" <- nazwa OTS’a
loginMessage = "Welcome to the Forgotten Server!" <- wiadomość po zalogowaniu
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5
-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60
-- Houses
housePriceEachSQM = 1000 <- cena w GP za kratkę domku
houseRentPeriod = "never" <- co jaki czas trzeba płacić czynsz (never, daily, weekly, monthly)
-- Idle
kickIdlePlayerAfterMinutes = 15 <- gdy gracz nie będzie się ruszał po ilu miutach ma kickować
-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000
-- Map
mapName = "forgotten" -nazwa mapy
mapAuthor = "Komic" <- autor mapy
randomizeTiles = "yes" <-zostawić
-- Messaging
maxMessageBuffer = 4
-- MySQL
mysqlHost = "localhost" <-zostawić
mysqlUser = "root" <-nazwa użytkownika do bazy danych, najlepiej zostawić ‘root’
mysqlPass = "" <-hasło do bazy danych
mysqlDatabase = "theforgottenserver" <-nazwa bazy, lepiej zostawić
mysqlPort = 3306 <-port bazy, zostawić
-- Premium Account
freePremium = "no" <- czy PACC ma być za darmo
-- PVP Server
displayOnOrOffAtCharlist = "no"
allowChangeOutfit = "yes"
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"
-- Rates
rateExp = 5 <-ile razy exp ma lecieć szybciej w stosunku do RL tibii
rateSkill = 3 <-ile razy skille mają lecieć szybciej w stosunku do RL tibii
rateLoot = 2 <-ile razy szybciej itemy mają wypadać z potworów w stosunku do RL tibii
rateMagic = 3 <-ile razy magic level ma lecieć szybciej w stosunku do RL tibii
rateSpawn = 1 <- ile razy szybciej mają się respić potwory w stosunku do zapisanego spawnu w map edytorze
-- Server Save
serverSaveEnabled = "yes" <- czy OTS ma się sam zapisywać
serverSaveHour = 3 <- co ile godzin OTS ma się sam zapisywać
shutdownAtServerSave = "yes"
cleanMapAtServerSave = "yes" <- czy ma być clean przy zapisie OTS’a
-- Spawns
deSpawnRange = 2
deSpawnRadius = 50
-- SqLite
sqliteDatabase = "forgottenserver.s3db"
-- SQL
sqlType = "sqlite" <-zmienić na “mysql”
passwordType = "plain" <-zostawić
-- Startup
defaultPriority = "high"
-- Status
ownerName = " <- pomiędzy cudzysłowami nazwa właściciela OTS’a
ownerEmail = "@otland.net <-e-mail do właściciela OTS’a
url = http://otland.net/ <- strona internetowa OTS’a. Jeżeli masz zmienne IP to tu wpisujesz swoje IP z no-ip albo dyn.pl, poniżej linki do tematów jak to zrobić
location = "Europe" <-lokalizacja OTS’a

TU MASZ COŚ JAK W CONFIG.LUA PISAĆ SZUKAJ A ZNAJDZIESZ :D