Ir para conteúdo

Addons Para Todos


ElyktoSheldoki

Posts Recomendados

Ola galera do XTibia,

Tenho um grande problema

Eu quero utlizar o premium time do proprio tibia

sem nada de ser vip etc...

 

Ai eu liberei os addos para free com esta linha no config.lua

addonsOnlyPremium = yes

 

So que quando vc cria um novo char ele ja inicia com addons e

não é bem assim que eu queria eu quero que tenho que comprar os addons

não que inicia para todos, tem como isso?????

 

Tipo Addons liberado para free mas tendo que comprar.......

 

Config.lua

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

redSkullLength = 10 * 12 * 30 * 30
blackSkullLength = 24 * 12 * 30 * 30
dailyFragsToRedSkull = 10
weeklyFragsToRedSkull = 30
monthlyFragsToRedSkull = 60
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = true
useFragHandler = true
advancedFragList = false

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

worldType = "pvp"
protectionLevel = 80
pvpTileIgnoreLevelAndVocationProtection = true
pzLocked = 50 * 700
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = false
removeWeaponCharges = false
removeRuneCharges = "no"
whiteSkullTime = 5 * 10 * 100
noDamageToSameLookfeet = false
showHealingDamage = true
showHealingDamageForMonsters = false
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = false
oldConditionAccuracy = false
loginProtectionPeriod = 10 * 1000
deathLostPercent = 10
stairhopDelay = 2 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 1987
gainExperienceColor = 215
addManaSpentInPvPZone = true
squareColor = 0
allowFightback = true

worldId = 0
ip = "187.57.8.112"
bindOnlyConfiguredIpAddress = false
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 500
motd = "Bem Vinsdo ao Tibia Like"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Tibia Like"
loginMessage = "Bem Vinsdo ao Tibia Like"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = false

sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "9775840a"
sqlDatabase = "tibialike"
sqlFile = "tibialike.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"

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

ingameGuildManagement = true
levelToFormGuild = 150
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20

highscoreDisplayPlayers = 100
updateHighscoresAfterMinutes = 2

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

timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 500

mapName = "BaiakMap"
mapAuthor = "OTBlast"
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"

defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = true
removePremiumOnInit = false
confirmOutdatedVersion = false

maxMessageBuffer = 4
bufferMutedOnSpellFailure = false

dataDirectory = "data/"
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
addonsOnlyPremium = false
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = false
spellNameInsteadOfWords = false
emoteSpells = false
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 25
separateViplistPerCharacter = false

ghostModeInvisibleEffect = false
ghostModeSpellEffects = true

idleWarningTime = 14 * 60 * 1000
idleKickTime = 1000 * 1000 * 10000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0

freePremium = false
premiumForPromotion = false

blessingOnlyPremium = false
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8

experienceStages = "yes"
rateExperience = 200
rateExperienceFromPlayers = 0
rateSkill = 30
rateMagic = 20
rateLoot = 2
rateSpawn = 2

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

minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1

rateStaminaLoss = 1
rateStaminaGain = 3
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 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
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = false

deSpawnRange = 2
deSpawnRadius = 50

maxPlayerSummons = 0
teleportAllSummons = false
teleportPlayerSummons = false

ownerName = "OT Blast"
ownerEmail = "otblast@gmail.com"
url = "www.otblast.com"
location = "Brasil"
displayGamemastersWithOnlineCommand = false

adminLogsEnabled = false
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false

Link para o comentário
Compartilhar em outros sites

Então amigo, normalmente isso acontece pq o jogador esta sendo criado com uma Flag que permite ele usar todos os addons, eu não sei qual versão/distro você esta usando mas no meu isso ai fica na pasta /data/XML/groups.xml

La vai ter algo mais ou menos assim:

<?xml version="1.0" encoding="UTF-8"?>
<groups>
<group id="1" name="Player"/>
<group id="2" name="Tutor" flags="16809984" customFlags="2" access="1"/>
<group id="3" name="Senior Tutor" flags="68736352256" customFlags="14" access="2" maxVips="200"/>
<group id="4" name="Gamemaster" flags="3808558964575" customFlags="257215" access="3" depotLimit="3000" maxVips="300" outfit="302"/>
<group id="5" name="Senior Gamemaster" flags="3840774348794" customFlags="781823" access="4" depotLimit="4000" maxVips="400" outfit="266"/>
<group id="6" name="Administrador" flags="57172457136122" customFlags="62910463" access="5" depotLimit="5000" maxVips="500" outfit="75"/>
</groups>

 

Esses numeros nas flags representam as vantagens que esse jogador vai ter... Não ganhar pz, poder usar todas as magias e TER TODOS OS ADDONS.

 

Espero ter ajudado, qualquer coisa add reputação =D

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...