conf de salas especiais (baff)

Bem esse tuto e de como criar uma sala especificamente sala baffbotffa já que teve uns pedidos pra ensinar a como criar!

1 - Procure por uma sala ja criada como a Survivor então procure por
Código HTML:
isSurvivor
e embaixo coloque
Código HTML:
isBaffbotffa = False


2 - Procure novamente por isSurvivor e coloque em embaixo as conf da sala.

Código HTML:
elif re.search("baffbotffa", name.lower()): self.isBaffbotffa = True self.roundTime = 120 self.never20secTimer = True




Obs: Caso queira deixar a sala sem shaman e só procurar por
Código HTML:
elif self.ISCMdata[5] == 7:
e substituir por
Código HTML:
elif self.ISCMdata[5] == 7 or self.ISCMdata[5] == 31:


[SIZE=4]

3 - Procure mais uma vez por isSurvivor, e encontrara:

Código HTML:
elif self.isSurvivor: maplist = [] dbcur.execute('select code from mapeditor where perma = 10') rrfRows = dbcur.fetchall() if rrfRows is None: pass else: for rrf in rrfRows: maplist.append(rrf[0]) if len(maplist)>=1: runthismap = random.choice(maplist) else: runthismap = "" if runthismap=="": self.ISCM = -1 return 0 else: mapcode = int(runthismap) mapname = self.server.getMapName(mapcode) mapxml = self.server.getMapXML(mapcode) yesvotes = int(self.server.getMapYesVotes(mapcode)) novotes = int(self.server.getMapNoVotes(mapcode)) perma = int(self.server.getMapPerma(mapcode)) mapnoexist = int(self.server.getMapDel(mapcode)) self.ISCM = mapcode self.ISCMdata = [mapcode, mapname, mapxml, yesvotes, novotes, perma, mapnoexist] return "-1"
embaixo coloque
Código HTML:
elif self.isBaffbotffa: maplist = [] dbcur.execute('select code from mapeditor where perma = 31') rrfRows = dbcur.fetchall() if rrfRows is None: pass else: for rrf in rrfRows: maplist.append(rrf[0]) if len(maplist)>=1: runthismap = random.choice(maplist) else: runthismap = "" if runthismap=="": self.ISCM = -1 return 0 else: mapcode = int(runthismap) mapname = self.server.getMapName(mapcode) mapxml = self.server.getMapXML(mapcode) yesvotes = int(self.server.getMapYesVotes(mapcode)) novotes = int(self.server.getMapNoVotes(mapcode)) perma = int(self.server.getMapPerma(mapcode)) mapnoexist = int(self.server.getMapDel(mapcode)) self.ISCM = mapcode self.ISCMdata = [mapcode, mapname, mapxml, yesvotes, novotes, perma, mapnoexist] return "-1"
e faça novamente a mesma coisa.

Não se esqueca de criar o comando "p31" e o "lsp31" para facilitar, e como já com as conf tudo vou tambem colocar uns mapas meus de baff da next aqui para vocês usarem no mice de vocês.

XML 1:

Código HTML:
<C><P /><Z><S><S P="0,0,0.3,0.2,-90,0,0,0" L="10" H="99" c="3" Y="155" T="0" X="399" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" H="99" c="3" Y="199" T="0" X="356" /><S P="0,0,0.3,0.2,-90,0,0,0"L="10" X="400" c="3" Y="245" T="0" H="99" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" X="444" c="3"Y="199" T="0" H="99" /><S P="0,0,0.3,0.2,0,0,0,0" L="100" X="400" c="4" Y="200" T="0" H="100"/><S P="0,0,0.3,0.2,-50,0,0,0" L="50" H="50" c="3" Y="200" T="0" X="600" /><S H="75" L="75"X="400" c="4" Y="200" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S X="600" L="50" H="50" c="3" Y="350"T="0" P="0,0,0.3,0.2,-50,0,0,0" /><S X="750" L="50" H="50" c="3" Y="275" T="0"P="0,0,0.3,0.2,-50,0,0,0" /><S P="0,0,0.3,0.2,-50,0,0,0" L="50" X="600" c="3" Y="50" T="0" H="50"/><S H="50" L="50" X="750" c="3" Y="125" T="0" P="0,0,0.3,0.2,-50,0,0,0" /><S P="0,0,0.3,0.2,-50,0,0,0" L="50" H="50" c="3" Y="50" T="0" X="200" /><S X="50" L="50" H="50"c="3" Y="125" T="0" P="0,0,0.3,0.2,-50,0,0,0" /><S P="0,0,0.3,0.2,-50,0,0,0" L="50" X="41" c="3"Y="275" T="0" H="50" /><S X="200" L="50" H="50" c="3" Y="200" T="0" P="0,0,0.3,0.2,-50,0,0,0"/><S P="0,0,0.3,0.2,-50,0,0,0" L="50" X="200" c="3" Y="350" T="0" H="50" /></S><D><T Y="200"X="400" /><F Y="200" X="400" /><DS Y="137" X="402" /><T Y="238" X="382" /><T Y="240" X="416"/><T Y="227" X="402" /><F Y="228" X="404" /><F Y="218" X="384" /><F Y="218" X="414" /></D><O /></Z></C>

XML 2:

Código HTML:
<C><P DS="m;250,200,550,200" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="30" H="500" c="4" Y="500"T="8" X="400" /><S X="400" L="30" H="500" c="3" Y="-100" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S X="400" L="30" H="150" c="3" Y="135" T="8" P="0,0,0.3,0.2,-90,0,0,0" /><S P="0,0,0.3,0.2,-90,0,0,0"L="30" X="400" c="3" Y="265" T="8" H="150" /><S P="0,0,0.3,0.2,0,0,0,0" L="30" X="460" c="3"Y="200" T="8" H="160" /><S H="160" L="30" X="340" c="3" Y="200" T="8" P="0,0,0.3,0.2,0,0,0,0"/><S H="150" L="30" X="550" c="3" Y="165" T="8" P="0,0,0.3,0.2,-90,0,0,0" /><S P="0,0,0.3,0.2,-90,0,0,0" L="30" H="150" c="3" Y="235" T="8" X="550" /><S P="0,0,0.3,0.2,-90,0,0,0"L="30" H="150" c="3" Y="165" T="8" X="250" /><S X="250" L="30" H="150" c="3" Y="235" T="8"P="0,0,0.3,0.2,-90,0,0,0" /><S X="400" L="30" H="800" c="1" Y="390" T="8" P="0,0,0.3,0.2,-90,0,0,0"/></S><D><T Y="249" X="376" /><F Y="245" X="422" /></D><O /></Z></C>

XML 3:

Código HTML:
<C><P DS="m;250,200,550,200" /><Z><S><S H="500" L="30" X="400" c="4" Y="501" T="8"P="0,0,0.3,0.2,0,0,0,0" /><S X="400" L="30" H="500" c="4" Y="-100" T="8" P="0,0,0.3,0.2,0,0,0,0"/><S X="400" L="30" H="150" c="3" Y="135" T="8" P="0,0,0.3,0.2,-90,0,0,0" /><S X="400" L="30"H="150" c="3" Y="265" T="8" P="0,0,0.3,0.2,-90,0,0,0" /><S X="460" L="30" H="160" c="3" Y="200"T="8" P="0,0,0.3,0.2,0,0,0,0" /><S H="160" L="30" X="340" c="3" Y="200" T="8"P="0,0,0.3,0.2,0,0,0,0" /><S X="400" L="30" H="800" c="3" Y="390" T="8" P="0,0,0.3,0.2,-90,0,0,0"/></S><D><T Y="249" X="376" /><F Y="245" X="422" /></D><O /></Z></C>

XML 4:

Código HTML:
<C><P /><Z><S><S L="400" X="850" H="20" Y="375" T="0" P="0,0,0.3,0.2,350,0,0,0" /><S X="-50"L="400" H="20" c="1" Y="375" T="0" P="0,0,0.3,0.2,370,0,0,0" /><S H="10" L="49" X="380" c="3"Y="200" T="0" P="0,0,0.3,0.2,90,0,0,0" /><S X="420" L="49" H="10" c="3" Y="200" T="0"P="0,0,0.3,0.2,90,0,0,0" /><S H="10" L="49" X="400" c="3" Y="221" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S X="400" L="49" H="10" c="3" Y="181" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S X="400" L="50" H="50"c="4" Y="200" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="100" X="400" H="20" Y="400" T="0"P="0,0,0.3,0.2,360,0,0,0" /></S><D><DS Y="161" X="401" /><T Y="215" X="399" /><F Y="204"X="399" /></D><O /></Z></C>
XML 5:

Código HTML:
<C><P /><Z><S><S L="800" X="400" H="20" Y="405" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="58"X="385" H="10" Y="181" T="0" P="0,0,0.3,0.2,-40,0,0,0" /><S L="58" X="416" H="10" Y="217" T="0"P="0,0,0.3,0.2,-40,0,0,0" /><S L="58" X="419" H="10" Y="184" T="0" P="0,0,0.3,0.2,-130,0,0,0" /><S L="58" X="382" H="10" Y="216" T="0" P="0,0,0.3,0.2,-130,0,0,0" /><S H="60" L="60" X="400" c="4"Y="200" T="0" P="0,0,0.3,0.2,50,0,0,0" /><S X="600" L="30" H="30" c="1" Y="300" T="0"P="0,0,0.3,0.2,50,0,0,0" /><S H="30" L="30" X="200" c="1" Y="100" T="0" P="0,0,0.3,0.2,50,0,0,0"/><S X="50" L="30" H="30" c="1" Y="200" T="0" P="0,0,0.3,0.2,50,0,0,0" /><S H="30" L="30"X="750" c="1" Y="200" T="0" P="0,0,0.3,0.2,50,0,0,0" /><S X="200" L="30" H="30" c="1" Y="300"T="0" P="0,0,0.3,0.2,50,0,0,0" /><S H="30" L="30" X="600" c="1" Y="100" T="0"P="0,0,0.3,0.2,50,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="800" H="400" c="4" Y="200" T="0" X="400"/></S><D><F Y="202" X="400" /><DS Y="379" X="406" /><T Y="211" X="400" /></D><O /></Z></C>
Espero que gostem deles >.<


Creditos: Faz Transformice

Nenhum comentário:

Postar um comentário

italo_pce@hotmail.com

Banner Maluco Do CMP