Postado Fevereiro 10, 2014 11 anos Ola, eu estou com um mapa do Friday 4.1 (x dream) e queria adicionar o comando /nextmap pra passar pra outro mapa, alguem ai tem pra me ajudar? Gente, quem puder me adicionar skype e me ajudar a achar onde fica o lugar que fica aparecendo as mensagens broadcasted no defalt me adc skype la:Leonardo.zanin4 O problema e que ja fuçei no globalevents inteiro e nao esta la, fica aparecendo umas mensagens tipo "a vocaçao warlock e mais forte tal tal" e eu tirei essas vocaçoes, entao preciso remover essas mensagens, valeu" Editado Fevereiro 10, 2014 11 anos por Leoo Zanin (veja o histórico de edições)
Postado Fevereiro 10, 2014 11 anos Pó vai em data/talkactions Procure isso aqui <talkaction words="/pvp" hide="yes" event="script" value="pvp.lua"/> <talkaction words="/serverinfo" hide="yes" event="script" value="serverinfo.lua"/> <talkaction log="yes" access="1" hide="yes" words="!pos" event="script" value="position.lua"/> <talkaction words="!infowarlock" event="script" value="info warlock.lua"/> Remova <talkaction words="!infomastersorcerer" event="script" value="info master sorcerer.lua"/> Remova <talkaction words="!infosorcerer" event="script" value="info master sorcerer.lua"/> Remova <talkaction words="!infodruid" event="script" value="info elder druid.lua"/> Remova <talkaction words="!infoelderdruid" event="script" value="info elder druid.lua"/> Remova <talkaction words="!infosharpshooter" event="script" value="info sharpshooter.lua"/> Remova <talkaction words="!infohunter" event="script" value="info hunter.lua"/> Remova <talkaction words="/war" channel="0" event="script" value="war.lua"/> NÃO REMOVA! <talkaction words="!infoberserker" event="script" value="info berserker.lua"/> <<<<<< Remova! <talkaction words="!infohero" event="script" value="info hero.lua"/> <<<<<< Remova! </talkactions> Remova Editado Fevereiro 10, 2014 11 anos por BeatiFul Pain (veja o histórico de edições) Ae cara, Se eu te ajudei +REP Sei que nao vai matar ninguem
Postado Fevereiro 10, 2014 11 anos Autor Cara, nao existe isso la nao ;/ <?xml version="1.0" encoding="UTF-8"?> <talkactions> <!-- Gods --> <talkaction log="yes" acess="3" words="/mute;/desmute" access="2" event="script" value="muteplayer.lua"/> <talkaction words="illegalWords" event="script" value="blocklinks.lua"/> <talkaction log="yes" words="/addshop" access="5" event="script" value="add_shop_talkaction.lua"/> <talkaction log="yes" words="/start-dota" access="5" event="script" value="start_dota.lua"/> <talkaction log="yes" words="/team-dota" access="5" event="script" value="team_dota.lua"/> <talkaction log="yes" access="5" words="/name" event="script" value="name.lua"/> <talkaction log="yes" words="/reset-dota" access="5" event="script" value="reset_dota.lua"/> <talkaction log="no" words="/team" event="script" value="textreports.lua"/> <talkaction log="yes" words="/addskill" access="5" event="function" value="addSkill"/> <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="/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" 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="5" event="script" value="configinfo.lua"/> <talkaction log="yes" words="/i" access="5" 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 access="4" words="/y" event="script" value="animatedtext.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="/t" access="3" event="script" value="teleportmaster.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" 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" access="2" event="script" value="gethouse.lua"/> <talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/> <!-- Tutors --> <talkaction log="yes" words="/baninfo" access="1" event="function" value="banishmentInfo"/> <talkaction log="yes" access="1" words="/pos" event="script" value="position.lua"/> <!-- Players --> <talkaction words="!buyvip;/addvip;/delvip;/checkvip" script="vipe.lua"/> <talkaction words="!frags" event="script" value="frags.lua"/> <talkaction words="!online" event="script" value="online.lua"/> <talkaction words="!uptime" event="script" value="uptime.lua"/> <talkaction words="!pvp" event="script" value="pvp.lua"/> <talkaction words="!q" event="script" value="money.lua"/> <talkaction words="!rank" script="ranks.lua"/> <talkaction words="!addon" event="script" value="addondoll.lua"/> <talkaction words="!repair;/repair;!reparar;/reparar" script="repair.lua"/> <talkaction words="!buypremium" event="script" value="buypremium.lua"/> <talkaction words="/commands" event="script" value="commands.lua"/> <!-- Houses --> <talkaction words="alana res" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="alana grav" 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="alana som" filter="word-spaced" event="script" value="leavehouse.lua"/> <!-- Guilds --> <talkaction words="!createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild" event="function" value="guildJoin"/> <!-- (Deprecated) Redirect old '/' to '!' --> <talkaction words="/online" hide="yes" event="script" value="online.lua"/> <talkaction words="/uptime" hide="yes" event="script" value="uptime.lua"/> <talkaction words="/pvp" hide="yes" event="script" value="pvp.lua"/> <talkaction words="/serverinfo" hide="yes" event="script" value="serverinfo.lua"/> <talkaction log="yes" access="1" hide="yes" words="!pos" event="script" value="position.lua"/> </talkactions>
Postado Fevereiro 10, 2014 11 anos Ei , Adcione essas coisas para o comando /nextmap 1-passo : abra data/globalevents/scripts adcione essa tag salvea como mudarmapa.lua function onThink(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 10 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink2, 1000) return TRUE end function onThink2(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 9 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink3, 1000) return TRUE end function onThink3(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 8 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink4, 1000) return TRUE end function onThink4(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 7 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink5, 1000) return TRUE end function onThink5(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 6 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink6, 1000) return TRUE end function onThink6(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 5 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink7, 1000) return TRUE end function onThink7(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 4 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink8, 1000) return TRUE end function onThink8(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 3 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink9, 1000) return TRUE end function onThink9(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 2 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink10, 1000) return TRUE end function onThink10(interval, lastExecution) broadcastMessage("Atenção! o Mapa Sera Trocado em 1 Segundos", MESSAGE_STATUS_CONSOLE_BLUE) addEvent(onThink11, 1000) return TRUE end function onThink11(interval) mudarMapa(nextMap()) return TRUE end 2-Passo Vá em data/globalevents e abra 1 arquivo chamado Globalevents.xml Adcione Essa Tag: <globalevent name="mudarmapa" interval="1200" event="script" value="mudarmapa.lua"/> 2-passo vá em data/talkactions/scripts adcione essa tag salve-a Como mudarmapa.lua function onSay(cid, words, param) mudarMapa(nextMap()) return true end 3-passo vai em data/talkactions adcione essa 2 tag's <talkaction log="yes" access="6" words="/nextmap" event="script" value="mudarmapa.lua"/> <talkaction log="yes" access="6" words="/changemap" event="script" value="mudarmapa.lua"/> i É Só Isso flw flw flw vlw vlw vlw Ae cara, Se eu te ajudei +REP Sei que nao vai matar ninguem
Postado Fevereiro 10, 2014 11 anos acho que falto a função na lib pois a função usava nos script nao e nativo do tfs
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.