-
Total de itens
33 -
Registro em
-
Última visita
Posts postados por shadizinho
-
-
o Player ainda n morre fica com 0 de vida imovel, e n tem como matalo.
se eu tirar ele da arena para qualquer outro lugar ele morre
-
Bom dia, Tade , Noite
estou usando 1 script que eu fiz mas que esta dando erro
Todo monstro ou player que eu mato (não presisa estar na area que eu coloquei,isso acontece no mapa inteiro)
o script funciona e não deixa o player morrer (ele fica com 0 de life, não pode se mecher, mas pode atacar os outros, o mesmo acontece com monstros)
function onKill(cid, target, lastHit)local frompos = {x=32544,y=32395,z=7}
local topos = {x=32555,y=32401,z=7}
if frompos.x <= getThingPos(cid).x and topos.x >= getThingPos(cid).x and frompos.y <= getThingPos(cid).y and topos.y >= getThingPos(cid).y then
if frompos.z and topos.z then
doBroadcastMessage("Está na área.")
end
end
end
<event type="kill" name="Teste" event="script" value="Teste.lua"/>
ja Adicionei no login.lua
-
Bom dia, Tade , Noite
estou usando 1 script que eu fiz mas que esta dando erro
Todo monstro ou player que eu mato (não presisa estar na area que eu coloquei,isso acontece no mapa inteiro)
o script funciona e não deixa o player morrer (ele fica com 0 de life, não pode se mecher, mas pode atacar os outros, o mesmo acontece com monstros)
function onKill(cid, target, lastHit)local frompos = {x=32544,y=32395,z=7}
local topos = {x=32555,y=32401,z=7}
if frompos.x <= getThingPos(cid).x and topos.x >= getThingPos(cid).x and frompos.y <= getThingPos(cid).y and topos.y >= getThingPos(cid).y then
if frompos.z and topos.z then
doBroadcastMessage("Está na área.")
end
end
end
<event type="kill" name="Teste" event="script" value="Teste.lua"/>
ja Adicionei no login.lua
-
Ola,
estou usando um script
se 1 player mata o outro dentro da area X ele recebe uma mensagem
eventPlaceDimensions = {startPos = {x = 32545, y = 32395, z = 7},endPos = {x = 32555, y = 32403, z = 7}}
function onKill(cid, target, lastHit)
if isInFightArea(cid) then
doPlayerSendTextMessage(cid, 22, "Use o item que você acaba de receber em voce mesmo para tirar o frag...")
end
end
tem + um script na lib que é o "isInFightArea(cid) then"
o script esta funcionando normaulmente (o que mata ganha o item) mas o que morre, fica em pé com 0 de vida e n pode ser atakado healado nem nada. o que devo fazer?
-
Ae funciona vlw
-
boa dia,tade,noite,
no meu ot, quando voce cria um char, automaticamente ele vem com todos outfits (sem addons).
quero que ele venha com os outfits normais (os 4 inicias + os premium), so consegui pensar em uma maneira de fazer isso, tornando os outfits premium(o que eu n quero fazer ;d), sera que teria outra maneira de fazer ele vir so com os que eu queira ?
-
IP: Danerapvp.servegame.com
Site: http://Danerapvp.servegame.com:8090
Protocol: 8.60
Port: 7171
Few futures of our server, and why should you stay here:
Global Map - With all real Tibia cities (including Zao, 100% full, Razachai and Banuta 8.60!) More than 20 islands and 5 cities to donators (We will continue to update the cities and islands.)
All global quests - The same like Global Tibia (Inquisitions/Yalahari/Pits of Inferno/Demon Oak and much more) (Tested by us and working 100%)
War system - The same global Tibia (With shields/payments/no skulls/no frags)
Task system - We have fully working taks system like Global Tibia, tested by us.
Raids and Events - The server takes a random raid. We have all the raids that take place on global Tibia. Our administration is doing from time to time interesting events where you can pick up good prizes!
Balanced vocations - Since the beginning of the server itself we choose right balance with our players. Today no one will be complained on it.
Datacenter with DDoS protections, No lags! No kicks! - We also fully secured our server from local attacks with our tested perfect tables for server with many people and 0 lags.
Rates:
Skills rate: 10x
Magic rate: 5x
Loot rate: 3x
Experience Stages:
1 to 30 = 200x
31 to 50 = 150x
51 to 80 = 100x
81 to 100 = 80x
101 to 120 = 60x
121 to 140 = 40x
141 to 160 = 30x
161 to 180 = 15x
181 to 200 = 5x
201 to 250 = 2x
After 251, 1.5x.
Other:
Paralyze rune, delay like Tibia RL;
Dont have protection level;
Level for buy house: 100;
Only two character take frags;
12 frags for Red Skull;
For more informations access our Server Info
-
ja tentei algumas funçoes no meu ot mas nenhuma funcionou
uso ot com war de escudinhos
com este comando é posivel saber qual é a guild do player mas n saber se ela esta em war (getPlayerGuildId)
-
fla susurrando
-
seguinte
botei o site do gelsior no meu ot
todas acc antigas n estao logando (ate ae tudo bem n tinha ninguem jogando)
mas e agora como boto eu god?
-
eu estava seguindo este tutorial
quando chega na parte Check DataBase connection occore o seguinte erro
Check database connectionIf you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.
Warning: syntax error, unexpected '(' in C:/Pasta de Usuarios/Usuario/Desktop/ot original/Real Server 1.2/config.lua on line 17 in C:\xampp\htdocs\install.php on line 183
Database error. Unknown database type in C:/Pasta de Usuarios/Usuario/Desktop/ot original/Real Server 1.2/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""
meu config.lua
-- The Forgotten Server Config-- Account manager
accountManager = true
namelockManager = true
newPlayerChooseVoc = true
newPlayerSpawnPosX = 160
newPlayerSpawnPosY = 51
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 1
generateAccountNumber = false
-- Unjustified kills
-- NOTE: *Banishment and *BlackSkull variables are >summed up<
-- (dailyFragsToRedSkull + dailyFragsToBanishment) with their
-- *RedSkull equivalents.
-- Auto banishing works only if useBlackSkull set to negative.
-- advancedFragList is not advised if you use huge frags
-- requirements.
redSkullLength = 1 * 24 * 60 * 60
blackSkullLength = 2 * 24 * 60 * 60
dailyFragsToRedSkull = 3
weeklyFragsToRedSkull = 5
monthlyFragsToRedSkull = 10
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = true
useFragHandler = true
advancedFragList = false
-- Banishments
-- violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment
-- killsBanLength works only if useBlackSkull option is disabled.
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 1 * 24 * 60 * 60
killsBanLength = 1 * 24 * 60 * 60
finalBanLength = 1 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = true
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = false
-- Battle
-- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.
-- loginProtectionPeriod is the famous Tibia anti-magebomb system.
-- deathLostPercent set to nil enables manual mode.
worldType = "pvp"
protectionLevel = 20
pvpTileIgnoreLevelAndVocationProtection = true
pzLocked = 60 * 1000
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = true
removeWeaponAmmunition = false
removeWeaponCharges = true
removeRuneCharges = true
whiteSkullTime = 5 * 60 * 1000
noDamageToSameLookfeet = false
showHealingDamage = false
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
-- Connection config
worldId = 0
ip = "189.32.225.194"
bindOnlyConfiguredIpAddress = false
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 212
motd = "Welcome to the Styller 8.54-8.57!"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Styller"
loginMessage = "Welcome to the Styller World!"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = false
-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "sql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "321"
sqlDatabase = "esker"
sqlFile = "Database.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"
-- Deathlist
deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5
-- Guilds
ingameGuildManagement = true
levelToFormGuild = 50
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20
-- Highscores
highscoreDisplayPlayers = 10
updateHighscoresAfterMinutes = 3
-- Houses
buyableAndSellableHouses = true
houseNeedPremium = true
bedsRequirePremium = true
levelToBuyHouse = 60
housesPerAccount = 0
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSquare = 5000
houseRentPeriod = "never"
houseCleanOld = 0
guildHalls = false
-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 500
-- Map
-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
-- useHouseDataStorage usage may be found at README.
mapName = "map"
mapAuthor = "Esker"
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"
-- Startup
-- NOTE: defaultPriority works only on Windows and niceLevel on *nix
-- coresUsed are seperated by comma cores ids used by server process,
-- default is -1, so it stays untouched (automaticaly assigned by OS).
defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false
-- Muted buffer
maxMessageBuffer = 4
bufferMutedOnSpellFailure = false
-- Miscellaneous
-- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,
-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
-- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's)
dataDirectory = "data/"
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = false
spellNameInsteadOfWords = false
emoteSpells = true
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 25
separateViplistPerCharacter = false
-- Ghost mode
ghostModeInvisibleEffect = false
ghostModeSpellEffects = true
-- Limits
idleWarningTime = 59 * 60 * 1000
idleKickTime = 60 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0
-- Premium-related
freePremium = false
premiumForPromotion = true
-- Blessings
-- NOTE: blessingReduction* regards items/containers loss.
-- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.
blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8
-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
-- rateExperienceFromPlayers 0 to disable.
experienceStages = false
rateExperience = 65.0
rateExperienceFromPlayers = 0
rateSkill = 100.0
rateMagic = 65.0
rateLoot = 3.0
rateSpawn = 1
-- Monster rates
rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0
-- Experience from players
-- NOTE: min~Threshold* set to 0 will disable the minimum threshold:
-- player will gain experience from every lower leveled player.
-- max~Threshold* set to 0 will disable the maximum threshold:
-- player will gain experience from every higher leveled player.
minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1
-- Stamina
-- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.
-- rateStaminaHits multiplies every hit done a creature, which are later
-- multiplied by player attack speed.
-- rateStaminaGain is divider of every logged out second, eg:
-- 60000 / 3 = 20000 milliseconds, what gives 20 stamina seconds for 1 minute being logged off.
-- rateStaminaThresholdGain is divider for the premium stamina.
-- staminaRatingLimit* is in minutes.
rateStaminaLoss = 1
rateStaminaGain = 3
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true
-- Party
-- NOTE: experienceShareLevelDifference is float number.
-- experienceShareLevelDifference is highestLevel * value
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 60 * 1000
-- 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 = false
globalSaveHour = 3
shutdownAtGlobalSave = false
cleanMapAtGlobalSave = false
-- Spawns
deSpawnRange = 2
deSpawnRadius = 50
-- Summons
maxPlayerSummons = 2
teleportAllSummons = false
teleportPlayerSummons = false
-- Status
ownerName = "Styller x Soft"
ownerEmail = ""
url = ""
location = "Brazil"
displayGamemastersWithOnlineCommand = false
-- Logs
-- NOTE: This kind of logging does not work in GUI version.
-- For such, please compile the software with __GUI_LOGS__ flag.
adminLogsEnabled = false
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false
eu uso o Real server 1.2 8.57
-
pa quem me pergunto o que é id da vip
só para aqueles server que usam vip por storage
-
Tive uma ideia se voce conseguiss fazer ficaria bem legal, por exemplo e um lugar (templo) em uma area cheia de bixos fortes (demon, orshabaal essas coisas) dai vc poem uns enfeites e tal e poem uma mesa, nessa mesa, todo dia as 3 horas da tarde ou sei la qualker horario a espada aparece la, so que dai quem matar o player ganhara 10 levels e em vez de dropar a espada dropa outra coisa tipo magic plate armor dragon scale legs..
o negocio de fazer a espada aparecer AXO q é facil
ja fazer o player dropa exatamente o que eu quero n sei :X
tava pensando em bota tempo na espada
dai se ninguem matar o cara ele mesmo perde a espada
nossa! que legal!mais seria legal o nome ser Red Skull Sword
"You see a red skull sword. It was property by a Red Skull player. Rumors says that it's make you strong."
isso é facil
em items.xml
vai na espada (ctrl+f dai se bota o nome da espada)
veja se ela tem essa linha
<attribute key="description" value="The blade is a magic flame."/>
dai se muda ali onde ta escrito (The blade is a magic flame) para o que vc quise
vai fica assim
<attribute key="description" value="It was property by a Red Skull player. Rumors says that it's make you strong."/>
-
Bem legal a idéia :] Mas por que red skull? ^^
Parabéns.
o script muda o outfit e bota skull para os outros players matarem ele (eu uso essa espada em evento do a espada pa algum player que mata ele ganha 10 lvl)
-
Oh shit
Meu script ultra secreto hazzen blizzard acid lemon foi revelado
Antes era somente do meu servidor ._."
Agora já foi rsrs
function onDeath(cid, corpse, killer) return doCreateMonster("hydra vip", getCreaturePosition(cid)) end
Retorne sempre um valor em funções pfv
Globalevent não, Creaturescript
vlw (e que do jeito q estava tava pegando no meu sv)
-
fiz um monstro q quando vc o mata ele se auto sumona
fiz isso para vips n terem q ficarem esperando respaw
ele vai la na area onde tem 1 desse monstro vip
mata ele e no mesmo segundo ja é sumonado outro
primeiro crie um monstro na pasta monster (copie e cole qualquer arquivo)
renomei para hydra vip
cole isso dentro
<?xml version="1.0" encoding="UTF-8"?><monster name="hydra vip" nameDescription="a hydra vip" race="blood" experience="2500" speed="240" manacost="0">
<health now="2250" max="2250"/>
<look type="121" head="20" body="30" legs="40" feet="50" corpse="6048"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="300"/>
</flags>
<script>
<event name="hydra vip"/>
</script>
<attacks>
<attack name="melee" interval="2000" skill="71" attack="64"/>
<attack name="speed" interval="2000" chance="17" range="7" radius="4" target="1" speedchange="-680" duration="15000">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="greenbubble"/>
</attack>
<attack name="ice" interval="2000" chance="14" length="8" spread="4" min="-150" max="-210">
<attribute key="areaEffect" value="bluebubble"/>
</attack>
<attack name="earth" interval="1000" chance="12" length="8" spread="3" min="-190" max="-250">
<attribute key="areaEffect" value="smallplants"/>
</attack>
<attack name="ice" interval="1000" chance="14" range="7" target="1" min="-85" max="-120">
<attribute key="shootEffect" value="smallice"/>
</attack>
</attacks>
<defenses armor="25" defense="35">
<defense name="healing" interval="2000" chance="30" min="300" max="480">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element physicalPercent="-15"/>
<element firePercent="-5"/>
<element energyPercent="-15"/>
</elements>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="FCHHHHH"/>
<voice sentence="HISSSS"/>
</voices>
<loot>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/> -- Gold Coin
<item id="2148" countmax="25" chance1="100000" chancemax="0"/>
<item id="2498" chance="700"/> -- Royal Helmet
<item id="2195" chance="800"/> -- Boots of Haste
<item id="2475" chance="1000"/> -- Warrior Helmet
<item id="3976" countmax="10" chance1="50000" chancemax="0"/> -- Worms
<item id="1987" chance="100000">
<inside>
<item id="2214" chance="1200"/> -- Ring of Healing
<item id="2671" countmax="3" chance="65000"/> -- Ham
<item id="2666" countmax="4" chance="90000"/> -- Meat
<item id="2146" countmax="2" chance="5000"/> -- small sapphire
<item id="2177" chance="1800"/> -- Life Crystal
<item id="2476" chance="1000"/> -- Knight Armor
<item id="4850" chance="1200"/> -- Hydra Egg
<item id="2149" countmax="3" chance1="4000" chancemax="0"/> -- Small Emerald
<item id="2536" chance="555"/> -- Medusa Shield
<item id="2168" chance="2500"/> -- Life Ring
<item id="2197" chance="800"/> -- StoneSkin Amulet
</inside>
</item>
</loot>
</monster>
pode mexer no q vc quiser menos na parte vermelha
em monsters.xml
<monster name="hydra vip" file="hydra vip.xml"/>agora em data\creaturescripts
creaturescripts.xml
cole isso dentro
<event type="death" name="hydra vip" script="hydra vip.lua"/>data\creaturescripts\scripts
copie cole e renomeie para hydra vip
cole isso dentro
function onDeath(cid, corpse, killer)return doCreateMonster("hydra vip", getCreaturePosition(cid))
end
em vermelho nome do monstro q sera criado ao matar
-
alguem desse forum teve a ideia eu tentei faze
a ideia era colocar um script q 1 veiz ao dia desse essa espada a um player
quem matasse esse player ganhava 10 lvls
mas n sei fazer esse tipo de script entaum eu faço manualmente essa parte (da a espada pa algum player e depois quem matalo ganha 10 lvl)
o que o player ganha com a espada?ele ira ficar red skull
sua life e mana almentaram em 20 %
ira ganhar outfit novo
uma mensagem sera mandada para o ot quando ele colocar a espada
primeiro va para moveevents-scripts copie um arquivo cole e renomeie para excalibur
cole isso dentro
function onEquip(cid, item, position, fromPosition)life = getCreatureMaxHealth(cid)
mana = getCreatureMaxMana(cid)
local outfit = { lookType = 229 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0}
setCreatureMaxHealth(cid, life*1.2)
setCreatureMaxMana(cid, mana*1.2)
doCreatureSetSkullType(cid, SKULL_RED)
doSetCreatureOutfit(cid, outfit, -1)
doBroadcastMessage("agora o player "..getPlayerName(cid).." cato a excalibur a mais poderosa espada do ot")
return TRUE
end
function onDeEquip(cid, item, position, fromPosition)
setCreatureMaxHealth(cid, life/1.2)
setCreatureMaxMana(cid, mana/1.2)
doCreatureSetSkullType(cid, SKULL_NONE)
doRemoveCondition(cid, CONDITION_OUTFIT)
return TRUE
end
em vermelho o outfit q o player ira ganhar ao colocar a espada
em rosa é o quanto de life ele vai ganhar (no caso 20%[1.2 x sua life normau = 20%] dexe os dois lugar com rosa igual (se ta 2.2 la em cima coloca 2.2 em baixo)
em amarelo é o quanto de mana ele vai ganhar (no caso 20%[1.2 x sua mana normau = 20%] dexe os dois lugar com amarelo igual (se ta 2.2 la em cima coloca 2.2 em baixo)
em azul a mensagem q sera mandada para o ot inteiro ao colocar a espada
em movements.xml
<movevent type="Equip" itemid="2408" slot="hand" event="script" value="excalibur.lua"/><movevent type="DeEquip" itemid="2408" slot="hand" event="script" value="excalibur.lua"/>
mude o 2408 para o numero da espada q vc colocou
-
Nome do Monstro: Zina
Life do Monstro: 5600
Exp do Monstro: 8000
Raça do Monstro: Blood
Speed do Montro: 450
Visual do Monstro: um q vc ache parecido co zina do panico .
Se da para Sumonar: Sim, Custo para Sumonar 30k
Attacks: só taka ue
Ele se Heala: Min: 100 - Max: 5000
Imunidades: Fire e Death .
Maximo e minimo de Dano do Monstro: ele so vai usa ue 500-25000
Vozes do Montro: Ronaldo
Loot do Monstro: bola (aquela q tem nas piscinas se n souber qual é n presisa coloca loot)
Quer Ss do Monstro: no
-
É um script bom, mas que nem disseram, ele pode ser diminuído.
E uma coisa, aquilo ali pra mim ta mais pra roza do que pra roxo.
eu so daotinoco
-
vamos dizer q seu server é xp 100 (o script pega com qualquer exp)
vc faIZ esta quest
o player vai la termina
a exp dele ira mudar para quanto vc determinar (so o player q feiz a quest o resto vai ta normau)
primeiro
actions.xml
<action uniqueid="29812" script="exp chest.lua"/>no map editor coloque em um chest o uniqueid 29812
actions/scripts
copie cole qualquer arquivo e renomeie para exp chest.lua
e cole isso dentro
function onUse(cid, item, frompos, item2, topos)if item.uid == 29812 then
queststatus = getPlayerStorageValue(cid,29812)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"Agora sua exp foi almentada.")
doPlayerSetExperienceRate(cid, 1.1)
setPlayerStorageValue(cid,29812,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
return 0
end
return 1
end
em vermelho e o quanto ira almentar a exp do player
no caso ali ira almentar em 10%
para dobrar a exp?
coloque o numero 2 (sozinho)
quero q almente apenas 1% da exp recebida
coloque 0.01
-
sim
é um scritp adaptado
juntei ums 3~~4 scripts ae
-
ja um um topico sobre esse asunto
http://www.xtibia.com/forum/TalkAction-Tel...do-t121048.html
mas o meu script (adaptado)tem varias funçoes
pks podem ou n usarse quiser nessesita estar em local de pz
se estiver em battle n pode usar
apenas vip podem usar (caso seu ot n tiver vip vo colocar para qualq um usar)
vamos ao script (com vip sistem)
data/talkactions/scripts
copie e cole um arquivo qualquer e renomeio para templo.lua
cole isso dentro
function onSay(cid, words, param)config = {
pid=getPlayerGUID(cid), -- não mecha
skull="no", -- players com white skull podem teleportar? ("yes" or "no").
redskull="no", -- players com red skull podemr teleportar? ("yes" or "no").
prot="no", -- players precisam estar em protection zone pra teleportar? ("yes" or "no").
bat="yes" --players precisam estar sem fight pra teleportar? ("yes" or "no").
}
if(config.skull == "no") and (getCreatureSkullType(cid) == 3) then
doPlayerSendTextMessage(cid,22,"apenas players sem white skull usar este comando.")
return TRUE
end
if(config.redskull == "no") and (getCreatureSkullType(cid) == 4) then
doPlayerSendTextMessage(cid,22,"apenas player sem red skull podem usar este comando.")
return TRUE
end
if(config.prot == "yes") and (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then
doPlayerSendTextMessage(cid,22,"você precisa estar em protection zone pra poder usar este comando.")
return TRUE
end
if(config.bat == "yes") and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then
doPlayerSendTextMessage(cid,22,"você precisa estar sem battler pra poder usar este comando.")
return TRUE
end
timenow = os.time()
quantity = math.floor((getPlayerStorageValue(cid,13540) - timenow)/(3600*24))
if isPlayer(cid) then
if quantity > 0 then
createConditionObject(CONDITION_INFIGHT)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Você ainda tem ".. quantity .." dia(s) restante(s) de VIP.")
doTeleportThing(cid, {x=160, y=51, z=7})
else
dir = getPlayerLookDir(cid)
pos = getCreaturePosition(cid)
if dir == 0 then
newpos = {x=pos.x, y=pos.y, z=pos.z}
elseif dir == 2 then
newpos = {x=pos.x, y=pos.y, z=pos.z}
elseif dir == 1 then
newpos = {x=pos.x, y=pos.y, z=pos.z}
elseif dir == 3 then
newpos = {x=pos.x, y=pos.y, z=pos.z}
end
doTeleportThing(cid, newpos, dir)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Somente jogadores VIPs podem usar este comando.")
end
end
end
em vermelho vc pode mudas pa yes or no
em roxo vc muda para o id da vip (caso o ot n tenho vip sistem eu vo postar logo abaixo)
em azul vc muda para aonde o player sera teleportado
em talkactions.xml
<talkaction words="/teleportar" event="script" value="templo.lua"/>agora o mesmo script so q sem o negocio da vip (qualquer player podera usar)
function onSay(cid, words, param)config = {
pid=getPlayerGUID(cid), -- não mecha
skull="no", -- players com white skull podem teleportar? ("yes" or "no").
redskull="no", -- players com red skull podem teleportar ("yes" or "no").
prot="no", -- players precisam estar em protection zone pra teleportar ("yes" or "no").
bat="yes" --players precisam estar sem fight pra teleportar ("yes" or "no").
}
if(config.skull == "no") and (getCreatureSkullType(cid) == 3) then
doPlayerSendTextMessage(cid,22,"apenas players sem white skull usar este comando.")
return TRUE
end
if(config.redskull == "no") and (getCreatureSkullType(cid) == 4) then
doPlayerSendTextMessage(cid,22,"apenas player sem red skull podem usar este comando.")
return TRUE
end
if(config.prot == "yes") and (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then
doPlayerSendTextMessage(cid,22,"você precisa estar em protection zone pra poder usar este comando.")
return TRUE
end
if(config.bat == "yes") and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then
doPlayerSendTextMessage(cid,22,"você precisa estar sem battler pra poder usar este comando.")
return TRUE
end
doTeleportThing(cid, {x=160, y=51, z=7})
end
em azul vc muda po lugar de teleport
em talkactions.xml
<talkaction words="/tp" event="script" value="templo.lua"/> -
primeiro
data/spells.xml
olhe se suas speels sao assim
</instant><instant name="Flame Strike" words="exori flam" lvl="12" mana="20" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="2000" needlearn="0" script="attack/flame strike.lua">
<vocation name="Sorcerer"/>
<vocation name="Druid"/>
<vocation name="Master Sorcerer"/>
<vocation name="Elder Druid"/>
</instant>
se for por vocation id n dara para fazer
2º
va a vocations.xml
vamos dizer q vc que fazer um super elite knight
</vocation><vocation id="12" name="Elite Knight" description="an super ek" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="170" gainmanaticks="4" gainmanaamount="80" manamultiplier="3.0" attackspeed="20" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="30">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
o que esta em vemelho n mude (isso fara com que essa nova vocação tenha todas as magias de um elite knight)
em roxo vc pode mudas a vontade (quando der look vai aparece --you see noob...he is an super ek)
-
ninguem sabe??]
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
Site apenas fica online por 8090, como resolver
em Websites
Postado
Ola,
estou abrindo otserv servidor residencial, via xampp.
em \xampp\apache\conf.lua esta com
Mas nenhum player consegue entrar no site, esta como offline pra todos menos para mim.
troquei para
Agora todos conseguem entrar, mas tem que haver a adiçao de 8090 no ip, (exemplo.servegame.com:8090)
gostaria de saber se tem alguma maneira de remover o 8090.
Grato