Ir para conteúdo

Nathan96

Artesão
  • Total de itens

    109
  • Registro em

  • Última visita

Tudo que Nathan96 postou

  1. Protocolo :8.60 Servidor utilizado: TFS 0.3.6 Olá galera do Xtibia hoje venho aqui perdi um script relacionado com frags. É o seguinte gostaria que si vocação de id 1 matar vocação de id 1 i pegar frag ai ele perderia 25 % de sua Stamina. Mas si vocação de id 1 matar vocação de id 2 i pegar frag ai ele ganharia 25 % de estamina, mas si a Stamina estivesse full ai não ganharia. Valendo REP +
  2. Nathan96

    Target

    Mi adiciona Msn que ti passo o que eu utilizo.
  3. Nathan96

    Target

    Man isso é erro no seu distro provavelmente você usa o distro do allison ? ele tem esse bug. Troque o seu distro que certamente irar funcionar!
  4. Eu também estou atras dessa script si alguém tiver ai Rep + Achei isto na otland. si alguém souber fazer algo parecido com isso só que em forma de script pois o da qui é em c++ PHP Code: uint16_t Player::getLookCorpse() const { if(sex % 2) return ITEM_MALE_CORPSE; return ITEM_FEMALE_CORPSE; } to somthing like that PHP Code: uint16_t Player::getLookCorpse() const { uint16_t sorcerer, druid, paladin, knight, defaultt = 0; /*Config */ sorcerer = 3343; // copse for sorcerer druid = 3343; // copse for druid paladin = 3343; // copse for paladin knight = 334; // copse for knight defaultt = 3354; // copse for vocations not mentioned up, like if he has no vocation /*End */ if (getVocationId() == 1 || getVocationId() == 5) return sorcerer; else if (getVocationId() == 2 || getVocationId() == 6) return druid; else if (getVocationId() == 3 || getVocationId() == 7) return paladin; else if (getVocationId() == 4 || getVocationId() == 8) return knight; return defaultt; }
  5. Man eu sei que você só quer ajudar mais da uma testada primeiro porque ficar ligando i desligando o server ta ficando foda ;/ só de mapa 70 mb sá merda demora um ano pra carregar. Mesmo erro. [08/08/2012 22:47:07] [Error - CreatureScript Interface] [08/08/2012 22:47:07] data/creaturescripts/scripts/vocationCorpse.lua:onDeath [08/08/2012 22:47:07] Description: [08/08/2012 22:47:07] (luaDoTransformItem) Item not found
  6. [08/08/2012 22:38:29] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/vocationCorpse.lua:10: 'then' expected near '(' [08/08/2012 22:38:29] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/vocationCorpse.lua) [08/08/2012 22:38:29] data/creaturescripts/scripts/vocationCorpse.lua:10: 'then' expected near '(' (Edited) eu arrumei aki agora vo testa mais ainda ta tendo o erro [08/08/2012 22:42:09] [Error - CreatureScript Interface] [08/08/2012 22:42:09] data/creaturescripts/scripts/vocationCorpse.lua:onDeath [08/08/2012 22:42:09] Description: [08/08/2012 22:42:09] (luaDoTransformItem) Item not found
  7. Man quando eu tava ligando o server já deu esse erro [08/08/2012 22:34:57] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/vocationCorpse.lua:10: 'then' expected near '(' [08/08/2012 22:34:57] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/vocationCorpse.lua) [08/08/2012 22:34:57] data/creaturescripts/scripts/vocationCorpse.lua:10: 'then' expected near '('
  8. pus assim local config = { --[vocation id] = corpse id, [25] = 3080, [26] = 3080, [27] = 3080, [28] = 3080, [29] = 3080, [30] = 3080 } function onDeath(cid, corpse, deathList) local corpse = corpse local crp = config[getPlayerVocation(cid)] if crp and tonumber(crp) then doTransformItem(corpse, crp) end return true end i deu a mesma coisa que tava dando antes. [08/08/2012 22:28:02] [Error - CreatureScript Interface] [08/08/2012 22:28:02] data/creaturescripts/scripts/vocationCorpse.lua:onDeath [08/08/2012 22:28:03] Description: [08/08/2012 22:28:03] (luaDoTransformItem) Item not found
  9. lol ? man na sua script onde que eu configuro a vocação ? i qual o corpse certo ??? você não postou script errado não ?
  10. [08/08/2012 22:04:24] [Error - CreatureScript Interface] [08/08/2012 22:04:25] data/creaturescripts/scripts/vocationCorpse.lua:onDeath [08/08/2012 22:04:25] Description: [08/08/2012 22:04:25] (luaDoTransformItem) Item not found Mesmo erro
  11. Tipo do script: creaturescripts Protocolo: 8.60 Servidor utilizado: tfs 0.3.6 Alguém sabe por que esta dando erro ? [08/08/2012 21:56:28] [Error - CreatureScript Interface] [08/08/2012 21:56:28] data/creaturescripts/scripts/vocationCorpse.lua:onDeath [08/08/2012 21:56:28] Description: [08/08/2012 21:56:28] (luaDoTransformItem) Item not found Aqui a script local config = { --[vocation id] = corpse id, [25] = 3080, [26] = 3080, [27] = 3080, [28] = 3080, [29] = 3080, [30] = 3080 } function onDeath(cid, corpse, deathList) local crp = config[getPlayerVocation(cid)] if crp and tonumber(crp) then doTransformItem(corpse, crp) end return true end
  12. Aoooooow potência
  13. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ICE) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -5.5, -39, -5.7, -50) local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 6000) setConditionFormula(condition, -0.2, 0, -0.2, 0) setCombatCondition(combat, condition) function onCastSpell(cid, var) return doCombat(cid, combat, var) end <rune name="Diamond Dust" id="2276" charges="100" lvl="80" maglv="28" exhaustion="950" blocktype="solid" allowfaruse="1" event="script" value="attack/Diamond Dust.lua"/>
  14. local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -15, 5, 5, 1.4, 2.1) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -15, 5, 5, 1.4, 2.1) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat4, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat5, COMBAT_PARAM_EFFECT, 13) local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat4, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat5, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat6 = createCombatObject() setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat6, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat7 = createCombatObject() setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat7, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat8 = createCombatObject() setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat8, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat9 = createCombatObject() setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat9, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat10 = createCombatObject() setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat10, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat11 = createCombatObject() setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat11, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat12 = createCombatObject() setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat12, COMBAT_PARAM_EFFECT, 13) setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 2.4, 2.8) local combat13 = createCombatObject() setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat13, COMBAT_PARAM_EFFECT, 6) setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC, -6, -100, -6, -125, -1, -1, 13, 15) local combat14 = createCombatObject() setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat14, COMBAT_PARAM_EFFECT, 6) setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC, -6, -100, -6, -125, -1, -1, 13, 15) local combat15 = createCombatObject() setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat15, COMBAT_PARAM_EFFECT, 6) setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC, -6, -100, -6, -125, -1, -1, 13, 15) local combat16 = createCombatObject() setCombatParam(combat16, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat16, COMBAT_PARAM_EFFECT, 6) setCombatFormula(combat16, COMBAT_FORMULA_LEVELMAGIC, -6, -100, -6, -125, -1, -1, 13, 15) local combat17 = createCombatObject() setCombatParam(combat17, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat17, COMBAT_PARAM_EFFECT, 6) setCombatFormula(combat17, COMBAT_FORMULA_LEVELMAGIC, -6, -100, -6, -125, -1, -1, 13, 15) local combat18 = createCombatObject() setCombatParam(combat18, COMBAT_PARAM_EFFECT, 13) setCombatParam(combat18, COMBAT_PARAM_AGGRESSIVE, 0) local combat19 = createCombatObject() setCombatParam(combat19, COMBAT_PARAM_EFFECT, 13) setCombatParam(combat19, CO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 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr17 = { {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0}, {1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1}, {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, } local condition18 = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition18, CONDITION_PARAM_TICKS, 6000) setConditionFormula(condition18, -0.9, 0, -0.9, 0) setCombatCondition(combat18, condition18) local condition19 = createConditionObject(CONDITION_FIRE) setConditionParam(condition19, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition19, 1, 1000, -200) addDamageCondition(condition19, 1, 1000, -199) addDamageCondition(condition19, 1, 1000, -198) addDamageCondition(condition19, 1, 1000, -197) addDamageCondition(condition19, 1, 1000, -196) addDamageCondition(condition19, 1, 1000, -195) addDamageCondition(condition19, 1, 1000, -194) addDamageCondition(condition19, 1, 1000, -193) addDamageCondition(condition19, 1, 1000, -192) addDamageCondition(condition19, 1, 1000, -191) addDamageCondition(condition19, 1, 1000, -190) addDamageCondition(condition19, 1, 1000, -189) addDamageCondition(condition19, 1, 1000, -188) addDamageCondition(condition19, 1, 1000, -187) addDamageCondition(condition19, 1, 1000, -186) addDamageCondition(condition19, 1, 1000, -185) addDamageCondition(condition19, 1, 1000, -184) addDamageCondition(condition19, 1, 1000, -182) addDamageCondition(condition19, 1, 1000, -181) addDamageCondition(condition19, 1, 1000, -180) addDamageCondition(condition19, 1, 1000, -179) addDamageCondition(condition19, 1, 1000, -178) addDamageCondition(condition19, 1, 1000, -177) addDamageCondition(condition19, 1, 1000, -176) addDamageCondition(condition19, 1, 1000, -175) addDamageCondition(condition19, 1, 1000, -174) addDamageCondition(condition19, 1, 1000, -173) addDamageCondition(condition19, 1, 1000, -172) addDamageCondition(condition19, 1, 1000, -171) addDamageCondition(condition19, 1, 1000, -169) addDamageCondition(condition19, 1, 1000, -168) addDamageCondition(condition19, 1, 1000, -167) addDamageCondition(condition19, 1, 1000, -166) addDamageCondition(condition19, 1, 1000, -165) addDamageCondition(condition19, 1, 1000, -164) addDamageCondition(condition19, 1, 1000, -163) addDamageCondition(condition19, 1, 1000, -162) addDamageCondition(condition19, 1, 1000, -161) addDamageCondition(condition19, 1, 1000, -160) addDamageCondition(condition19, 1, 1000, -159) addDamageCondition(condition19, 1, 1000, -158) addDamageCondition(condition19, 1, 1000, -157) addDamageCondition(condition19, 1, 1000, -156) addDamageCondition(condition19, 1, 1000, -155) addDamageCondition(condition19, 1, 1000, -154) addDamageCondition(condition19, 1, 1000, -153) addDamageCondition(condition19, 1, 1000, -152) addDamageCondition(condition19, 1, 1000, -151) addDamageCondition(condition19, 1, 1000, -150) addDamageCondition(condition19, 1, 1000, -149) addDamageCondition(condition19, 1, 1000, -148) addDamageCondition(condition19, 1, 1000, -147) addDamageCondition(condition19, 1, 1000, -146) addDamageCondition(condition19, 1, 1000, -145) addDamageCondition(condition19, 1, 1000, -144) addDamageCondition(condition19, 1, 1000, -143) addDamageCondition(condition19, 1, 1000, -142) addDamageCondition(condition19, 1, 1000, -141) addDamageCondition(condition19, 1, 1000, -140) addDamageCondition(condition19, 1, 1000, -139) addDamageCondition(condition19, 1, 1000, -138) addDamageCondition(condition19, 1, 1000, -137) addDamageCondition(condition19, 1, 1000, -136) addDamageCondition(condition19, 1, 1000, -135) addDamageCondition(condition19, 1, 1000, -134) addDamageCondition(condition19, 1, 1000, -133) addDamageCondition(condition19, 1, 1000, -132) addDamageCondition(condition19, 1, 1000, -131) addDamageCondition(condition19, 1, 1000, -130) addDamageCondition(condition19, 1, 1000, -129) addDamageCondition(condition19, 1, 1000, -128) addDamageCondition(condition19, 1, 1000, -127) addDamageCondition(condition19, 1, 1000, -126) addDamageCondition(condition19, 1, 1000, -125) addDamageCondition(condition19, 1, 1000, -124) addDamageCondition(condition19, 1, 1000, -123) addDamageCondition(condition19, 1, 1000, -122) addDamageCondition(condition19, 1, 1000, -121) addDamageCondition(condition19, 1, 1000, -120) addDamageCondition(condition19, 1, 1000, -119) addDamageCondition(condition19, 1, 1000, -118) addDamageCondition(condition19, 1, 1000, -117) addDamageCondition(condition19, 1, 1000, -116) addDamageCondition(condition19, 1, 1000, -115) addDamageCondition(condition19, 1, 1000, -114) addDamageCondition(condition19, 1, 1000, -113) addDamageCondition(condition19, 1, 1000, -112) addDamageCondition(condition19, 1, 1000, -111) addDamageCondition(condition19, 1, 1000, -110) addDamageCondition(condition19, 1, 1000, -109) addDamageCondition(condition19, 1, 1000, -108) addDamageCondition(condition19, 1, 1000, -107) addDamageCondition(condition19, 1, 1000, -106) addDamageCondition(condition19, 1, 1000, -105) addDamageCondition(condition19, 1, 1000, -104) addDamageCondition(condition19, 1, 1000, -103) addDamageCondition(condition19, 1, 1000, -102) addDamageCondition(condition19, 1, 1000, -101) addDamageCondition(condition19, 1, 1000, -100) addDamageCondition(condition19, 1, 1000, -99) addDamageCondition(condition19, 1, 1000, -98) addDamageCondition(condition19, 1, 1000, -97) addDamageCondition(condition19, 1, 1000, -96) addDamageCondition(condition19, 1, 1000, -95) addDamageCondition(condition19, 1, 1000, -94) addDamageCondition(condition19, 1, 1000, -93) addDamageCondition(condition19, 1, 1000, -92) addDamageCondition(condition19, 1, 1000, -91) addDamageCondition(condition19, 1, 1000, -90) addDamageCondition(condition19, 1, 1000, -89) addDamageCondition(condition19, 1, 1000, -88) addDamageCondition(condition19, 1, 1000, -87) addDamageCondition(condition19, 1, 1000, -86) addDamageCondition(condition19, 1, 1000, -85) addDamageCondition(condition19, 1, 1000, -84) addDamageCondition(condition19, 1, 1000, -83) addDamageCondition(condition19, 1, 1000, -82) addDamageCondition(condition19, 1, 1000, -81) addDamageCondition(condition19, 1, 1000, -80) addDamageCondition(condition19, 1, 1000, -79) addDamageCondition(condition19, 1, 1000, -78) addDamageCondition(condition19, 1, 1000, -77) addDamageCondition(condition19, 1, 1000, -76) addDamageCondition(condition19, 1, 1000, -75) addDamageCondition(condition19, 1, 1000, -74) addDamageCondition(condition19, 1, 1000, -73) addDamageCondition(condition19, 1, 1000, -72) addDamageCondition(condition19, 1, 1000, -71) addDamageCondition(condition19, 1, 1000, -70) addDamageCondition(condition19, 1, 1000, -69) addDamageCondition(condition19, 1, 1000, -68) addDamageCondition(condition19, 1, 1000, -67) addDamageCondition(condition19, 1, 1000, -66) addDamageCondition(condition19, 1, 1000, -65) addDamageCondition(condition19, 1, 1000, -64) addDamageCondition(condition19, 1, 1000, -63) addDamageCondition(condition19, 1, 1000, -62) addDamageCondition(condition19, 1, 1000, -61) addDamageCondition(condition19, 1, 1000, -60) addDamageCondition(condition19, 1, 1000, -59) addDamageCondition(condition19, 1, 1000, -58) addDamageCondition(condition19, 1, 1000, -57) addDamageCondition(condition19, 1, 1000, -56) addDamageCondition(condition19, 1, 1000, -55) addDamageCondition(condition19, 1, 1000, -54) addDamageCondition(condition19, 1, 1000, -53) addDamageCondition(condition19, 1, 1000, -52) addDamageCondition(condition19, 1, 1000, -51) addDamageCondition(condition19, 1, 1000, -50) addDamageCondition(condition19, 1, 1000, -49) addDamageCondition(condition19, 1, 1000, -48) addDamageCondition(condition19, 1, 1000, -47) addDamageCondition(condition19, 1, 1000, -46) addDamageCondition(condition19, 1, 1000, -45) addDamageCondition(condition19, 1, 1000, -44) addDamageCondition(condition19, 1, 1000, -43) addDamageCondition(condition19, 1, 1000, -42) addDamageCondition(condition19, 1, 1000, -41) addDamageCondition(condition19, 1, 1000, -40) addDamageCondition(condition19, 1, 1000, -39) addDamageCondition(condition19, 1, 1000, -38) addDamageCondition(condition19, 1, 1000, -37) addDamageCondition(condition19, 1, 1000, -36) addDamageCondition(condition19, 1, 1000, -35) addDamageCondition(condition19, 1, 1000, -34) addDamageCondition(condition19, 1, 1000, -33) addDamageCondition(condition19, 1, 1000, -32) addDamageCondition(condition19, 1, 1000, -31) addDamageCondition(condition19, 1, 1000, -30) addDamageCondition(condition19, 1, 1000, -29) addDamageCondition(condition19, 1, 1000, -28) addDamageCondition(condition19, 1, 1000, -27) addDamageCondition(condition19, 1, 1000, -26) addDamageCondition(condition19, 1, 1000, -25) addDamageCondition(condition19, 1, 1000, -24) addDamageCondition(condition19, 1, 1000, -23) addDamageCondition(condition19, 1, 1000, -22) addDamageCondition(condition19, 1, 1000, -21) addDamageCondition(condition19, 1, 1000, -20) addDamageCondition(condition19, 1, 1000, -19) addDamageCondition(condition19, 1, 1000, -18) addDamageCondition(condition19, 1, 1000, -17) addDamageCondition(condition19, 1, 1000, -16) addDamageCondition(condition19, 1, 1000, -15) addDamageCondition(condition19, 1, 1000, -14) addDamageCondition(condition19, 1, 1000, -13) addDamageCondition(condition19, 1, 1000, -12) addDamageCondition(condition19, 1, 1000, -11) addDamageCondition(condition19, 1, 1000, -10) addDamageCondition(condition19, 1, 1000, -9) addDamageCondition(condition19, 1, 1000, -8) addDamageCondition(condition19, 1, 1000, -7) addDamageCondition(condition19, 1, 1000, -6) addDamageCondition(condition19, 1, 1000, -5) addDamageCondition(condition19, 1, 1000, -4) addDamageCondition(condition19, 1, 1000, -3) addDamageCondition(condition19, 1, 1000, -2) addDamageCondition(condition19, 1, 1000, -1) setCombatCondition(combat19, condition19) local condition20 = createConditionObject(CONDITION_MUTED) setConditionParam(condition20, CONDITION_PARAM_TICKS, 8000) setCombatCondition(combat20, condition20) local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) local area4 = createCombatArea(arr4) local area5 = createCombatArea(arr5) local area6 = createCombatArea(arr6) local area7 = createCombatArea(arr7) local area8 = createCombatArea(arr8) local area9 = createCombatArea(arr9) local area10 = createCombatArea(arr10) local area11 = createCombatArea(arr11) local area12 = createCombatArea(arr12) local area13 = createCombatArea(arr13) local area14 = createCombatArea(arr14) local area15 = createCombatArea(arr15) local area16 = createCombatArea(arr16) local area17 = createCombatArea(arr17) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) setCombatArea(combat4, area4) setCombatArea(combat5, area5) setCombatArea(combat6, area6) setCombatArea(combat7, area7) setCombatArea(combat8, area8) setCombatArea(combat9, area9) setCombatArea(combat10, area10) setCombatArea(combat11, area11) setCombatArea(combat12, area12) setCombatArea(combat13, area13) setCombatArea(combat14, area14) setCombatArea(combat15, area15) setCombatArea(combat16, area16) setCombatArea(combat17, area17) local function onCastSpell1(parameters) doCombat(parameters.cid, combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, combat3, parameters.var) end local function onCastSpell4(parameters) doCombat(parameters.cid, combat4, parameters.var) end local function onCastSpell5(parameters) doCombat(parameters.cid, combat5, parameters.var) end local function onCastSpell6(parameters) doCombat(parameters.cid, combat6, parameters.var) end local function onCastSpell7(parameters) doCombat(parameters.cid, combat7, parameters.var) end local function onCastSpell8(parameters) doCombat(parameters.cid, combat8, parameters.var) end local function onCastSpell9(parameters) doCombat(parameters.cid, combat9, parameters.var) end local function onCastSpell10(parameters) doCombat(parameters.cid, combat10, parameters.var) end local function onCastSpell11(parameters) doCombat(parameters.cid, combat11, parameters.var) end local function onCastSpell12(parameters) doCombat(parameters.cid, combat12, parameters.var) end local function onCastSpell13(parameters) doCombat(parameters.cid, combat13, parameters.var) end local function onCastSpell14(parameters) doCombat(parameters.cid, combat14, parameters.var) end local function onCastSpell15(parameters) doCombat(parameters.cid, combat15, parameters.var) end local function onCastSpell16(parameters) doCombat(parameters.cid, combat16, parameters.var) end local function onCastSpell17(parameters) doCombat(parameters.cid, combat17, parameters.var) end local function onCastSpell18(parameters) doCombat(parameters.cid, parameters.combat18, parameters.var) end local function onCastSpell19(parameters) doCombat(parameters.cid, parameters.combat19, parameters.var) end local function onCastSpell20(parameters) doCombat(parameters.cid, parameters.combat20, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6, combat7 = combat7, combat8 = combat8, combat9 = combat9, combat10 = combat10, combat11 = combat11, combat12 = combat12, combat13 = combat13, combat14 = combat14, combat15 = combat15, combat16 = combat16, combat17 = combat17, combat18 = combat18, combat19 = combat19, combat20 = combat20 } addEvent(onCastSpell1, 1, parameters) addEvent(onCastSpell2, 300, parameters) addEvent(onCastSpell3, 600, parameters) addEvent(onCastSpell4, 900, parameters) addEvent(onCastSpell5, 1200, parameters) addEvent(onCastSpell6, 1500, parameters) addEvent(onCastSpell7, 1800, parameters) addEvent(onCastSpell8, 2100, parameters) addEvent(onCastSpell9, 2400, parameters) addEvent(onCastSpell10, 2700, parameters) addEvent(onCastSpell11, 3000, parameters) addEvent(onCastSpell12, 3300, parameters) addEvent(onCastSpell13, 3600, parameters) addEvent(onCastSpell14, 3900, parameters) addEvent(onCastSpell15, 4200, parameters) addEvent(onCastSpell16, 4500, parameters) addEvent(onCastSpell17, 4800, parameters) addEvent(onCastSpell18, 1, parameters) addEvent(onCastSpell19, 3500, parameters) addEvent(onCastSpell20, 1, parameters) return TRUE end <instant name="exevo gran mas vita" words="exevo gran mas vita" lvl="300" mana="6000" prem="1" exhaustion="3000" selftarget="1" needlearn="0" event="script" value="attack/exevo gran mas vita.lua">
  15. nuuss deu sertim vlw cara +rep Pra você da rep é so clicar na seta verde de lado >> Duvida sanada podem mover ai.
  16. local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_INFERNALBOLT) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -3, -25, -3, -30) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_INFERNALBOLT) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -3, -25, -3, -30) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_INFERNALBOLT) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -3, -25, -3, -30) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat4, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_INFERNALBOLT) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -3, -25, -3, -30) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat5, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_INFERNALBOLT) setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -3, -25, -3, -30) local combat6 = createCombatObject() setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat6, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_INFERNALBOLT) setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -3, -25, -3, -30) local function onCastSpell1(parameters) doCombat(parameters.cid, combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, combat3, parameters.var) end local function onCastSpell4(parameters) doCombat(parameters.cid, combat4, parameters.var) end local function onCastSpell5(parameters) doCombat(parameters.cid, combat5, parameters.var) end local function onCastSpell6(parameters) doCombat(parameters.cid, combat6, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6 } addEvent(onCastSpell1, 1, parameters) addEvent(onCastSpell2, 400, parameters) addEvent(onCastSpell3, 600, parameters) addEvent(onCastSpell4, 800, parameters) addEvent(onCastSpell5, 1000, parameters) addEvent(onCastSpell5, 1200, parameters) return TRUE end <instant name="multi arrow" words="exori con multi" lvl="150" mana="460" prem="1" range="12" needtarget="1" blockwalls="1" exhaustion="1500" needlearn="0" event="script" value="attack/mult arrow.lua">
  17. Nathan96

    Pvp Arena

    Mas somente, exclusivamente nessa area teria um pvp sem frags, somente nela você matava o kra i não cataria frag
  18. Nathan96

    Pvp Arena

    Kara eu quero exatamente o que a script acima faz só que ela não esta funcionando ;s @Vodkart È so pra quem morrer nesta aria ai perder skill,level, i etc, porque com o pz tool quando chega a 0 de hp é teletransportado para o templo i volta com full health and full mana
  19. Nathan96

    Pvp Arena

    si eu usar isso o char chega em 0 de hp i é teleportado ao templo ao em veis de perde level, skill, etc.
  20. Nathan96

    Pvp Arena

    o thiago ta dando o seguinte erro i o player chega no 0 de hp i não morre [spoiler] [29/07/2012 17:18:53] [Error - CreatureScript Interface] [29/07/2012 17:18:53] data/creaturescripts/scripts/pvparena.lua:onPrepareDeath [29/07/2012 17:18:53] Description: [29/07/2012 17:18:53] (luaGetThingPosition) Thing not found [29/07/2012 17:18:53] [Error - CreatureScript Interface] [29/07/2012 17:18:53] data/creaturescripts/scripts/pvparena.lua:onPrepareDeath [29/07/2012 17:18:53] Description: [29/07/2012 17:18:53] data/creaturescripts/scripts/pvparena.lua:25: attempt to index local 'killerPos' (a boolean value) [29/07/2012 17:18:53] stack traceback: [29/07/2012 17:18:53] data/creaturescripts/scripts/pvparena.lua:25: in function <data/creaturescripts/scripts/pvparena.lua:20> [29/07/2012 17:18:54] [Error - CreatureScript Interface] [29/07/2012 17:18:54] data/creaturescripts/scripts/pvparena.lua:onPrepareDeath [29/07/2012 17:18:54] Description: [29/07/2012 17:18:54] (luaGetThingPosition) Thing not found [29/07/2012 17:18:54] [Error - CreatureScript Interface] [29/07/2012 17:18:55] data/creaturescripts/scripts/pvparena.lua:onPrepareDeath [29/07/2012 17:18:55] Description: [29/07/2012 17:18:55] data/creaturescripts/scripts/pvparena.lua:25: attempt to index local 'killerPos' (a boolean value) [29/07/2012 17:18:55] stack traceback: [29/07/2012 17:18:55] data/creaturescripts/scripts/pvparena.lua:25: in function <data/creaturescripts/scripts/pvparena.lua:20>
  21. Nathan96

    Pvp Arena

    Ola galerinha do xtibia hoje venho aqui pedir um sistema que funcione claro para distro 0.3.6 Como o titulo já diz preciso um script que faça certo local de arena, ou então que arrume o script abaixo. [spoiler] pvpParcent = 2, arenaFrom = {1250, 691, 6}, -- pvp arena from x,y,z position arenaTo = {1260, 724, 6}, -- pvp arena to x,y,z position } function gainExperience(cid,lastHitKiller, mostDamageKiller) if (isPlayer(lastHitKiller) and isPlayer(mostDamageKiller)) and (lastHitKiller ~= mostDamageKiller) then doPlayerAddExp(lastHitKiller, (getPlayerExperience(cid)/200)*config.pvpParcent) doSendAnimatedText(getPlayerPosition(lastHitKiller), (getPlayerExperience(cid)/200)*config.pvpParcent, TEXTCOLOR_WHITE) doPlayerAddExp(mostDamageKiller, (getPlayerExperience(cid)/200)*config.pvpParcent) doSendAnimatedText(getPlayerPosition(mostDamageKiller), (getPlayerExperience(cid)/200)*config.pvpParcent, TEXTCOLOR_WHITE) elseif (isPlayer(lastHitKiller) and not(isPlayer(mostDamageKiller))) then doPlayerAddExp(lastHitKiller, (getPlayerExperience(cid)/100)*config.pvpParcent) doSendAnimatedText(getPlayerPosition(lastHitKiller), (getPlayerExperience(cid)/100)*config.pvpParcent, TEXTCOLOR_WHITE) elseif (not(isPlayer(lastHitKiller)) and isPlayer(mostDamageKiller)) then doPlayerAddExp(mostDamageKiller, (getPlayerExperience(cid)/100)*config.pvpParcent) doSendAnimatedText(getPlayerPosition(mostDamageKiller), (getPlayerExperience(cid)/100)*config.pvpParcent, TEXTCOLOR_WHITE) end end function onPrepareDeath(cid, lastHitKiller, mostDamageKiller) local playerPos = getPlayerPosition(cid) local killerPos = getPlayerPosition(lastHitKiller) if isPlayer(cid) then if (playerPos.x >= config.arenaFrom[1] and playerPos.x <= config.arenaTo[1]) and (playerPos.y >= config.arenaFrom[2] and playerPos.y <= config.arenaTo[2]) and (playerPos.z >= config.arenaFrom[3] and playerPos.z <= config.arenaTo[3]) then if (killerPos.x >= config.arenaFrom[1] and killerPos.x <= config.arenaTo[1]) and (killerPos.y >= config.arenaFrom[2] and killerPos.y <= config.arenaTo[2]) and (killerPos.z >= config.arenaFrom[3] and killerPos.z <= config.arenaTo[3]) then gainExperience(cid,lastHitKiller, mostDamageKiller) end end end return TRUE end Erro [spoiler] [29/07/2012 16:36:35] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/pvparena.lua:2: unexpected symbol near '=' [29/07/2012 16:36:35] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/pvparena.lua) [29/07/2012 16:36:35] data/creaturescripts/scripts/pvparena.lua:2: unexpected symbol near '='
  22. [spoiler] local config = { useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')), advancedFragList = getBooleanFromString(getConfigValue('advancedFragList')) } function onSay(cid, words, param, channel) if(not config.useFragHandler) then return false end local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = { name = result:getDataString("name"), level = result:getDataInt("level"), date = result:getDataInt("date") } if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } if(config.advancedFragList) then local result = "Frags gained today: " .. size.day .. "." if(size.day > 0) then for _, content in ipairs(contents.day) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this week: " .. (size.day + size.week) .. "." if(size.week > 0) then for _, content in ipairs(contents.week) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this month: " .. (size.day + size.week + size.month) .. "." if(size.month > 0) then for _, content in ipairs(contents.month) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then result = result .. "\nSua " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull ira sair em " .. os.date("%d %B %Y %X", skullEnd) end doPlayerPopupFYI(cid, result) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Limites para sua redskull: 4 por dia, 8 por semana, 16 por mês.") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você tem " .. size.day .. " frags today, " .. (size.day + size.week) .. " this week and " .. (size.day + size.week + size.month) .. " this month.") if(size.day > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "ultimo frag em " .. os.date("%d %B %Y %X", contents.day[1].date) .. " no level " .. contents.day[1].level .. " (" .. contents.day[1].name .. ").") end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "sua " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull ira sair em " .. os.date("%d %B %Y %X", skullEnd)) end end return true end <talkaction words="!frags" event="script" value="frags.lua"/> [spoiler] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Limites para sua redskull: 4 por dia, 8 por semana, 16 por mês.") aki você edita diacordo com seu server
  23. Relaxa eu estou aqui para ajudar não para ganhar Rep.
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...