×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Module API FAQ
« ‹ 12 / 38 › »
Module API FAQ
Epicshawty
« Citoyen »
1380224460000
    • Epicshawty#0000
    • Profil
    • Derniers messages
    • Tribu
#221
  0
Jsilv a dit :
Were you banned for hacking or another reason?

Activite Suspecte yes (before the platform)
Jsilv
« Citoyen »
1380224460000
    • Jsilv#0000
    • Profil
    • Derniers messages
#222
  0
I don't think that matters, you can't use lua?
Epicshawty
« Citoyen »
1380224460000
    • Epicshawty#0000
    • Profil
    • Derniers messages
    • Tribu
#223
  0
No I can't.

It might be actually true the bans count.
Jsilv
« Citoyen »
1380224640000
    • Jsilv#0000
    • Profil
    • Derniers messages
#224
  0
Baasbase a dit :
Moderators have to specify a reason when they ban someone, I think that joke bans don't include the ban reasons.
After all I've been banned multiple times by befriended moderators and yet i'm part of the lua team.
so don't worry about it haha

Well, Baasbase said this so I'm not too sure..
Epicshawty a dit :
It might be actually true the bans count.

I thought that moderator bans count because
Sydoline a dit :
The feature is available to every players who gathered more than 1,000 cheese and who have never been banned for hacking.

but I didn't think that activite suspect did.
Epicshawty
« Citoyen »
1380224760000
    • Epicshawty#0000
    • Profil
    • Derniers messages
    • Tribu
#225
  0
Jsilv a dit :
Well, Baasbase said this so I'm not too sure..

I thought that moderator bans count because but I didn't think that activite suspect did.

that suks
Jsilv
« Citoyen »
1380224760000
    • Jsilv#0000
    • Profil
    • Derniers messages
#226
  0
Perhaps you could try contacting an admin, not too sure which bans do count and which don't :p
Epicshawty
« Citoyen »
1380224880000
    • Epicshawty#0000
    • Profil
    • Derniers messages
    • Tribu
#227
  0
Jsilv a dit :
Perhaps you could try contacting an admin, not too sure which bans do count and which don't :p

Figured out why it wasn't working.
[15:44] [Jaackster] chatMessage isnt allowed in tribe lua for some reason

So I have to use other things

(i was using chatMessage)
Eliaseeg
« Citoyen »
1380246240000
    • Eliaseeg#0000
    • Profil
    • Derniers messages
#228
  0
as the ultimate achievement mouse get cheese instantly?
Epicshawty
« Citoyen »
1380246600000
    • Epicshawty#0000
    • Profil
    • Derniers messages
    • Tribu
#229
  0
wait, how do i deactivate lua in the tribe house?
I tried doing system.exit()
but still nothing
Shamousey
« Consul »
1380247140000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#230
  0
Eliaseeg a dit :
as the ultimate achievement mouse get cheese instantly?

function eventNewGame()
for name,player in pairs(tfm.get.room.playerList) do
tfm.exec.giveCheese(name)
end
end

Epicshawty a dit :
wait, how do i deactivate lua in the tribe house?
I tried doing system.exit()
but still nothing

You can use /module stop or run a blank script. There seems to be some issues with this right now, though.
Eliaseeg
« Citoyen »
1380248400000
    • Eliaseeg#0000
    • Profil
    • Derniers messages
#231
  0
Shamousey a dit :
function eventNewGame()
for name,player in pairs(tfm.get.room.playerList) do
tfm.exec.giveCheese(name)
end
end
You can use /module stop or run a blank script. There seems to be some issues with this right now, though.

Thank you, but... the latest mouse get chesse q_q, not all
Mauuug
« Citoyen »
1380251220000
    • Mauuug#0000
    • Profil
    • Derniers messages
    • Tribu
#232
  0
ui.addTextArea("0","9",name,"-500","-500","1990","1990","40","500")

e.e
Hakureimouse
« Citoyen »
1380253020000
    • Hakureimouse#0000
    • Profil
    • Derniers messages
    • Tribu
#233
  0
I'm trying to do some fancy things with addTextArea, but something weird happens when I use html to change the font size of the first line (title):


http://i.imgur.com/Tke19S2.png
The weird part is, that last line isn't really a separate line in my html. The last line always moves a few extra lines depending on the size of the title.

Here's the string I'm using:

"<p align='center'><font size='20'>Title</font></p><br>"..
"<p align='justify'>hakurei reimu kirisame marisa konpaku youmu kochiya sanae yasaka kanako shiki eiki</p>"

Am I doing something wrong? Is this a bug? Is this normal html behavior and I just suck at using html?

I haven't tried the same thing with the addPopup function, but I've seen a nice title and message box in #hidenseek, I want to do the same thing but with TextAreas
Mymicemy
« Citoyen »
1380273900000
    • Mymicemy#0000
    • Profil
    • Derniers messages
    • Tribu
#234
  0
Why this

print("<font color='#ffffff' size='30' >text</font>")

Works only for me? Other mice can't see my letters
Johnlantern
« Citoyen »
1380275700000
    • Johnlantern#0000
    • Profil
    • Derniers messages
    • Tribu
#235
  0
Mymicemy a dit :
Why this

print("&lt;font color='#ffffff' size='30' &gt;text&lt;/font&gt;")

Works only for me? Other mice can't see my letters

Print is a debugging statement, not a public chat. You're only seeing it because it's only meant for you. (unless I'm missing something about lua in tribe houses, i've been gone for the whole day)
Varuscristal
« Citoyen »
1380277620000
    • Varuscristal#0000
    • Profil
    • Derniers messages
#236
  0
tfm.exec.explosion(Int xPosition, Int yPosition, Int power, Int distance, Boolean miceOnly)

can make someone an example of this code?
Baasbase
« Citoyen »
1380280560000
    • Baasbase#0095
    • Profil
    • Derniers messages
#237
  0
Varuscristal a dit :
tfm.exec.explosion(Int xPosition, Int yPosition, Int power, Int distance, Boolean miceOnly)

can make someone an example of this code?

tfm.exec.explosion(400, 200, 127, 800, false)
Byenamo
« Citoyen »
1380281700000
    • Byenamo#0000
    • Profil
    • Derniers messages
    • Tribu
#238
  0
has as give the power of if teleport only to a person?
Orb
« Censeur »
1380282480000
    • Orb#0095
    • Profil
    • Derniers messages
    • Tribu
#239
  0
Is it possible to auto/multi-spawn something?
Baasbase
« Citoyen »
1380282480000
    • Baasbase#0095
    • Profil
    • Derniers messages
#240
  0
Magicalorb a dit :
Is it possible to auto/multi-spawn something?

Talking about players or objects?

Baasbase a dit :

function eventLoop()
tfm.exec.addShamanObject(1, 200, 0)
end

This would spawn a little box at 200,0 every 0.5 seconds, so yes it is possible
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Module API FAQ
« ‹ 12 / 38 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27