×

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
  • /
  • Modules
  • /
  • Module FAQ & Documentation
« ‹ 16 / 19 › »
Module FAQ & Documentation
Bolodefchoco
« Sénateur »
1530060060000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#301
  1
Antonio a dit :
Is it possible to assign different secret chats for different people or even messages only for one user.

Basically multiple chats at once, secretly for a certain amount of people.

You can send a message to a single user

tfm.exec.chatMessage(text, userName)

(dev only)
Antonio
« Sénateur »
1530060300000
    • Antonio#9975
    • Profil
    • Derniers messages
    • Tribu
#302
  0
Bolodefchoco a dit :
Antonio a dit :
Is it possible to assign different secret chats for different people or even messages only for one user.

Basically multiple chats at once, secretly for a certain amount of people.

You can send a message to a single user

tfm.exec.chatMessage(text, userName)

(dev only)

Well that sucks. Is it even possible to test the function?

Dernière modification le 1530060480000
Alsalam_alaikum
« Citoyen »
1530060720000
    • Alsalam_alaikum#5209
    • Profil
    • Derniers messages
#303
  0
Random question, does #madchess use all lua? (I've been thinking there's no way it used lua)
Bolodefchoco
« Sénateur »
1530060780000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#304
  0
Antonio a dit :
Bolodefchoco a dit :
Antonio a dit :
Is it possible to assign different secret chats for different people or even messages only for one user.

Basically multiple chats at once, secretly for a certain amount of people.

You can send a message to a single user

tfm.exec.chatMessage(text, userName)

(dev only)

Well that sucks. Is it even possible to test the function?

Not really. Use print instead


Fuzzyfirsdog a dit :
Random question, does #madchess use all lua? (I've been thinking there's no way it used lua)

Don't believe so
Antonio
« Sénateur »
1530062340000
    • Antonio#9975
    • Profil
    • Derniers messages
    • Tribu
#305
  0
Bolodefchoco a dit :
Antonio a dit :
Bolodefchoco a dit :
Antonio a dit :
Is it possible to assign different secret chats for different people or even messages only for one user.

Basically multiple chats at once, secretly for a certain amount of people.

You can send a message to a single user

tfm.exec.chatMessage(text, userName)

(dev only)

Well that sucks. Is it even possible to test the function?

Not really. Use print instead


Fuzzyfirsdog a dit :
Random question, does #madchess use all lua? (I've been thinking there's no way it used lua)

Don't believe so

It sucks with what I had in mind.
Honorabilis
« Consul »
1530093900000
    • Honorabilis#0000
    • Profil
    • Derniers messages
    • Tribu
#306
  1
Antonio a dit :
Bolodefchoco a dit :
Antonio a dit :
Bolodefchoco a dit :
Antonio a dit :
Is it possible to assign different secret chats for different people or even messages only for one user.

Basically multiple chats at once, secretly for a certain amount of people.

You can send a message to a single user

tfm.exec.chatMessage(text, userName)

(dev only)

Well that sucks. Is it even possible to test the function?

Not really. Use print instead


Fuzzyfirsdog a dit :
Random question, does #madchess use all lua? (I've been thinking there's no way it used lua)

Don't believe so

It sucks with what I had in mind.

So, do it with a text area instead of game's chat.
Alsalam_alaikum
« Citoyen »
1531870140000
    • Alsalam_alaikum#5209
    • Profil
    • Derniers messages
#307
  0
I have a problem. Anytime I use for n,player in pairs(tfm.get.room.playerList) do it says

• # [*make tfm api great again] Runtime Error : org.luaj.vm2.LuaError: Fuzzyfirsdog#0000.lua:465: attempt to index ? (a function value)
Heniyengui
« Citoyen »
1531902360000
    • Heniyengui#0000
    • Profil
    • Derniers messages
#308
  0
make sure you didn't overwrite any tables. Like using tfm = {}
Bolodefchoco
« Sénateur »
1531919520000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#309
  0
Heniyengui a dit :
make sure you didn't overwrite any tables. Like using tfm = {}

That's what he did. function tfm
Alsalam_alaikum
« Citoyen »
1531931400000
    • Alsalam_alaikum#5209
    • Profil
    • Derniers messages
#310
  0
Thanks ^

I had a function tfm(n) so I changed it to function transformice(n)

It works now

Dernière modification le 1531931460000
Ticktoxic
« Citoyen »
1532377800000
    • Ticktoxic#0930
    • Profil
    • Derniers messages
    • Tribu
#311
  0
Ahh omg this is sooo useful
Alsalam_alaikum
« Citoyen »
1533594660000
    • Alsalam_alaikum#5209
    • Profil
    • Derniers messages
#312
  0
function eventKeyboard(playerName, keyCode, down, xPlayerPosition,yPlayerPosition)
if key==32 then
print(playerName.." pressed the space key!")
end
end



Probably someone has said this before but the keyCode should be key in this.
Barberserk
« Consul »
1535188680000
    • Barberserk#0000
    • Profil
    • Derniers messages
    • Tribu
#313
  0
Can I open a separate thread about #unotfm or will it be locked and transfered in here? I think it's popular enough to have its own thread, to discuss strategies, rules, farming and all that.
Bolodefchoco
« Sénateur »
1535203500000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#314
  3
Barberserk a dit :
Can I open a separate thread about #unotfm or will it be locked and transfered in here? I think it's popular enough to have its own thread, to discuss strategies, rules, farming and all that.

This is not something a sentinel / module team member is allowed to decide, but Ninguem. I'd suggest you to contact him in game, or discord.
Honey_bee
« Citoyen »
1535988360000
    • Honey_bee#9272
    • Profil
    • Derniers messages
#315
  0
question. do you need 1000 cheese in shop, or in gathered? because I have it in gathered and not in shop.
Bolodefchoco
« Sénateur »
1535997120000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#316
  3
Honey_bee a dit :
question. do you need 1000 cheese in shop, or in gathered? because I have it in gathered and not in shop.

gathered
King_seniru
« Censeur »
1564055700000
    • King_seniru#5890
    • Profil
    • Derniers messages
    • Tribu
#317
  0
Is there a way to display text as in a table
For example
something32
another thing32
Barberserk
« Consul »
1570811760000
    • Barberserk#0000
    • Profil
    • Derniers messages
    • Tribu
#318
  0
Well, I see the old #mycity thread is locked, can we have another one open? There is none in the english forum but in other languages there are, I'd like to share info and stuff.
Barberserk
« Consul »
1571072880000
    • Barberserk#0000
    • Profil
    • Derniers messages
    • Tribu
#319
  0
I see, no answer here, so I am going to create the thing...
Bolodefchoco
« Sénateur »
1571092380000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#320
  1
Barberserk a dit :
Well, I see the old #mycity thread is locked, can we have another one open? There is none in the english forum but in other languages there are, I'd like to share info and stuff.

I'll forward it to Fofinho
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Module FAQ & Documentation
« ‹ 16 / 19 › »
© Atelier801 2018

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

Version 1.27