Postado Janeiro 16, 2015 10 anos Quero colocar addondoll no meu servidor mas ele nao tem nenhuma script para isso,ja tentei colocar algumas mas da erro o talkactions diz que nao emcontra o diretorio algum assim
Postado Janeiro 16, 2015 10 anos function onSay(cid, words, param) local femaleOutfits = { ["citizen"]={136}, ["hunter"]={137}, ["mage"]={138}, ["knight"]={139}, ["noblewoman"]={140}, ["summoner"]={141}, ["warrior"]={142}, ["barbarian"]={147}, ["druid"]={148}, ["wizard"]={149}, ["oriental"]={150}, ["pirate"]={155}, ["assassin"]={156}, ["beggar"]={157}, ["shaman"]={158}, ["norsewoman"]={252}, ["nightmare"]={269}, ["jester"]={270}, ["brotherhood"]={279}, ["demonhunter"]={288}, ["yalaharian"]={324}, ["warmaster"]={336},["wayfarer"]={366}, ["afflicted"]={431}, ["elementalist"]={433}, ["deepling"]={464}, ["insectoid"]={466}, ["red baron"]={471}, ["crystal warlord"]={513}, ["soil guardian"]={514}, ["demon"]={542} } local maleOutfits = { ["citizen"]={128}, ["hunter"]={129}, ["mage"]={130}, ["knight"]={131}, ["nobleman"]={132},["summoner"]={133}, ["warrior"]={134}, ["barbarian"]={143}, ["druid"]={144}, ["wizard"]={145}, ["oriental"]={146}, ["pirate"]={151}, ["assassin"]={152}, ["beggar"]={153}, ["shaman"]={154}, ["norsewoman"]={251}, ["nightmare"]={268}, ["jester"]={273}, ["brotherhood"]={278}, ["demonhunter"]={289}, ["yalaharian"]={325}, ["warmaster"]={335}, ["wayfarer"]={367}, ["afflicted"]={430}, ["elementalist"]={432}, ["deepling"]={463}, ["insectoid"]={465}, ["red baron"]={472}, ["crystal warlord"]={512}, ["soil guardian"]={516},["demon"]={541} } local player, param = Player(cid), string.lower(param) local addondoll_id = 9693 if player:getItemCount(addondoll_id) > 0 then if param ~= "" and maleOutfits[param] and femaleOutfits[param] then local outfit = player:getSex() == 0 and femaleOutfits[param][1] or maleOutfits[param][1] if not player:hasOutfit(outfit, 3) then player:removeItem(addondoll_id, 1) player:sendTextMessage(MESSAGE_INFO_DESCR, "Seu Addon full foi adicionado!") Position(getThingPos(cid)):sendMagicEffect(CONST_ME_GIFT_WRAPS) player:addOutfitAddon(outfit, 3) else player:sendTextMessage(MESSAGE_INFO_DESCR, "Voce ja tem este addon") end else player:sendTextMessage(MESSAGE_INFO_DESCR, "Digite novamente, algo está errado!") end else player:sendTextMessage(MESSAGE_INFO_DESCR, "Voce não tem addon doll!") end end <talkaction words="!addon" event="script" value="addondoll.lua"/> Se quiser sua dúvida tirada, mande PM com os links, e não com a dúvida (outros podem ter a mesma dúvida, e o fórum serve para ser usado). Tópicos: [FAQ] BBCODE [LIB] Constant [RME] Administrando bordas. [TALK] Broadcast Editável. [TALK] Sugest. [TALK] Checkpoint. [MOVE] Pântano pegajoso. [ACTION] Piggy Bank. (Cassino). [GLOBAL] Uptime Ad. [C0DE] Consertando 'Invalid Password' [PROGRAM] Quest Maker
Postado Janeiro 16, 2015 10 anos Lembre-se de por o Item no loot dos seus monstros. Para poder dropar e os players conseguirem fazer os determinados addons com o Addondoll. O item id do addon Doll ( no caso do script do amigo acima ) é : id> 9693 É só você ir nos monstros que tem em seu mapa e que você queira que drope e por essa tag dentro do xml do monstro. <item id="9693" chance="30000"/> O que tá em vermelho é a chance do drop. Quando maior o numero, mais facil de ser dropado !. Eu te Ajudei? Então solta aquele REP+ !! Meus Tutoriais: [Tutorial] Bug "Temple position is wrong" (MySql) Outros: [Meu Show OFF | Mapa próprio 8.6]
Postado Janeiro 16, 2015 10 anos Autor vou tentar aqui so um momento deu erro de novo vou mandar meu script pra vcs <?xml version="1.0" encoding="UTF-8"?> <talkactions> <!-- Gods --> <talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/> <talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/> <talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/> <talkaction log="yes" words="/skill;/addskill" access="5" event="script" value="skill.lua"/> <talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/> <talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/> <!-- Community Managers --> <talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/> <talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/> <talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/> <talkaction log="yes" words="/newtype;/o" access="4" event="script" value="newtype.lua"/> <talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/> <talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/> <talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/> <talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/> <talkaction log="yes" words="/i" access="4" event="script" value="createitem.lua"/> <talkaction access="4" words="/z" event="script" value="magiceffect.lua"/> <talkaction access="4" words="/x" event="script" value="animationeffect.lua"/> <talkaction log="yes" words="/bc" access="4" event="script" value="broadcastclass.lua"/> <talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/> <!-- Gamemasters --> <talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/> <talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/light" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/t" access="3" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/c" access="3" event="script" value="teleporthere.lua"/> <talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/> <talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/> <talkaction log="yes" words="/kick" access="3" event="script" value="kick.lua"/> <talkaction log="yes" words="/send" access="3" event="script" value="teleportsend.lua"/> <talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/> <talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/save" access="3" event="script" value="save.lua"/> <talkaction log="yes" words="/clean" access="3" event="script" value="clean.lua"/> <talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/> <talkaction log="yes" words="/mc" access="3" event="script" value="multicheck.lua"/> <talkaction log="yes" words="/mute;/unmute" access="3" event="script" value="mute.lua"/> <talkaction log="yes" access="3" words="/wp" event="script" value="waypoints.lua"/> <!-- Senior Tutors --> <talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/> <talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/> <talkaction log="yes" words="/gethouse;/house" access="2" event="script" value="gethouse.lua"/> <talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/> <talkaction log="yes" words="/ban" access="2" event="script" value="ban.lua"/> <!-- Tutors --> <talkaction log="yes" words="/baninfo;!baninfo" access="1" event="function" value="banishmentInfo"/> <talkaction log="yes" access="1" words="/pos;!pos" event="script" value="position.lua"/> <!-- Players --> <talkaction words="!frags;/frags" event="script" value="frags.lua"/> <talkaction words="!online;/online" event="script" value="online.lua"/> <talkaction words="!uptime;/uptime" event="script" value="uptime.lua"/> <talkaction words="!deathlist;/deathlist" event="script" value="deathlist.lua"/> <talkaction words="!pvp;/pvp" event="script" value="pvp.lua"/> <talkaction words="!q" event="script" value="money.lua"/> <talkaction words="!serverinfo;/serverinfo" event="script" value="serverinfo.lua"/> <talkaction words="!commands;/commands" event="script" value="commands.lua"/> <talkaction words="!software;/software" event="function" value="software"/> <!-- Houses --> <talkaction words="alevo grav" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="alito som" filter="word-spaced" event="function" value="houseSell"/> <talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/> <talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/> <talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/> <talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/> <talkaction words="alito sio" filter="word-spaced" event="script" value="leavehouse.lua"/> <!-- Guilds --> <talkaction words="!createguild;/createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild;/joinguild" event="function" value="guildJoin"/> <talkaction words="/war" channel="0" event="script" value="war.lua"/> <talkaction words="/balance" channel="0" event="script" value="balance.lua"/> <talkaction words="!addon" event="script" value="addondoll.lua"/></talkactions>
Postado Janeiro 16, 2015 10 anos Poem assim: Poem assim: <?xml version="1.0" encoding="UTF-8"?><talkactions> <!-- Gods --> <talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/> <talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/> <talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/> <talkaction log="yes" words="/skill;/addskill" access="5" event="script" value="skill.lua"/> <talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/> <talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/> <!-- Community Managers --> <talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/> <talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/> <talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/> <talkaction log="yes" words="/newtype;/o" access="4" event="script" value="newtype.lua"/> <talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/> <talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/> <talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/> <talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/> <talkaction log="yes" words="/i" access="4" event="script" value="createitem.lua"/> <talkaction access="4" words="/z" event="script" value="magiceffect.lua"/> <talkaction access="4" words="/x" event="script" value="animationeffect.lua"/> <talkaction log="yes" words="/bc" access="4" event="script" value="broadcastclass.lua"/> <talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/> <!-- Gamemasters --> <talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/> <talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/light" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/t" access="3" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/c" access="3" event="script" value="teleporthere.lua"/> <talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/> <talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/> <talkaction log="yes" words="/kick" access="3" event="script" value="kick.lua"/> <talkaction log="yes" words="/send" access="3" event="script" value="teleportsend.lua"/> <talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/> <talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/save" access="3" event="script" value="save.lua"/> <talkaction log="yes" words="/clean" access="3" event="script" value="clean.lua"/> <talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/> <talkaction log="yes" words="/mc" access="3" event="script" value="multicheck.lua"/> <talkaction log="yes" words="/mute;/unmute" access="3" event="script" value="mute.lua"/> <talkaction log="yes" access="3" words="/wp" event="script" value="waypoints.lua"/> <!-- Senior Tutors --> <talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/> <talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/> <talkaction log="yes" words="/gethouse;/house" access="2" event="script" value="gethouse.lua"/> <talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/> <talkaction log="yes" words="/ban" access="2" event="script" value="ban.lua"/> <!-- Tutors --> <talkaction log="yes" words="/baninfo;!baninfo" access="1" event="function" value="banishmentInfo"/> <talkaction log="yes" access="1" words="/pos;!pos" event="script" value="position.lua"/> <!-- Players --> <talkaction words="!frags;/frags" event="script" value="frags.lua"/> <talkaction words="!addon" event="script" value="addondoll.lua"/> <talkaction words="!online;/online" event="script" value="online.lua"/> <talkaction words="!uptime;/uptime" event="script" value="uptime.lua"/> <talkaction words="!deathlist;/deathlist" event="script" value="deathlist.lua"/> <talkaction words="!pvp;/pvp" event="script" value="pvp.lua"/> <talkaction words="!q" event="script" value="money.lua"/> <talkaction words="!serverinfo;/serverinfo" event="script" value="serverinfo.lua"/> <talkaction words="!commands;/commands" event="script" value="commands.lua"/> <talkaction words="!software;/software" event="function" value="software"/> <!-- Houses --> <talkaction words="alevo grav" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="alito som" filter="word-spaced" event="function" value="houseSell"/> <talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/> <talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/> <talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/> <talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/> <talkaction words="alito sio" filter="word-spaced" event="script" value="leavehouse.lua"/> <!-- Guilds --> <talkaction words="!createguild;/createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild;/joinguild" event="function" value="guildJoin"/> <talkaction words="/war" channel="0" event="script" value="war.lua"/> <talkaction words="/balance" channel="0" event="script" value="balance.lua"/> </talkactions> Lembrando que o script que o amigo mandou pra você, você deve salvar em Data>talkactoins>script com o nome no arquivo.lua de: addondoll.lua Eu te Ajudei? Então solta aquele REP+ !! Meus Tutoriais: [Tutorial] Bug "Temple position is wrong" (MySql) Outros: [Meu Show OFF | Mapa próprio 8.6]
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.