×

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
  • /
  • [Script] GetXML
« ‹ 2 / 2
[Script] GetXML
Honorabilis
« Consul »
1503996660000
    • Honorabilis#0000
    • Profil
    • Derniers messages
    • Tribu
#21
  0
Athesdrake a dit :
The problem is that Lua is broken. When we call tfm.exec.newGame without arguments, normally it reload the current map. But in fact it load the 0 vanilla map. We can't get the xml of a vanilla map so the script crash.
To avoid this problem, add the code of a non-vanilla map in tfm.exec.newGame()

So, try to del 2 and 4?
Perfecteca
« Sénateur »
1509377400000
    • Perfecteca#0000
    • Profil
    • Derniers messages
    • Tribu
#22
  0
Honorabilis a dit :
Athesdrake a dit :
The problem is that Lua is broken. When we call tfm.exec.newGame without arguments, normally it reload the current map. But in fact it load the 0 vanilla map. We can't get the xml of a vanilla map so the script crash.
To avoid this problem, add the code of a non-vanilla map in tfm.exec.newGame()

So, try to del 2 and 4?

Still doesn't work.
Kimsterjay
« Consul »
1509751200000
    • Kimsterjay#0000
    • Profil
    • Derniers messages
    • Tribu
#23
  1
Boloprivate a dit :
I coded a faster script here. You have to replace Bolodefchoco in the 9th line to your nickname, pressing the letter P the current map restarts, pressing Space you get the xml in #lua. Your scripts shoot a bad color and hurts our eyes haha

Try using the script that Boloprivate (Bolodefchoco) provided. It works just fine.

Dernière modification le 1509751260000
Nihatsune
« Citoyen »
1516112220000
    • Nihatsune#1106
    • Profil
    • Derniers messages
    • Tribu
#24
  0
• # [*RIPSLINGER TEAM] [Fulgermacuin] Lua script loaded in 1 ms (4000 max)
• # [*RIPSLINGER TEAM] Runtime Error : org.luaj.vm2.LuaError: Fulgermacuin.lua:3: attempt to index ? (a nil value)

why not work?
Sebafrancuz
« Consul »
1516112940000
    • Sebafrancuz#0000
    • Profil
    • Derniers messages
    • Tribu
#25
  0
Fulgermacuin a dit :
• # [*RIPSLINGER TEAM] [Fulgermacuin] Lua script loaded in 1 ms (4000 max)
• # [*RIPSLINGER TEAM] Runtime Error : org.luaj.vm2.LuaError: Fulgermacuin.lua:3: attempt to index ? (a nil value)

why not work?

Probably you used official map made by Tigrounette like "0" or "1"
Sugarnote
« Citoyen »
1536617460000
    • Sugarnote#0000
    • Profil
    • Derniers messages
    • Tribu
#26
  0
Working now

Dernière modification le 1536617880000
Perfecteca
« Sénateur »
1536701820000
    • Perfecteca#0000
    • Profil
    • Derniers messages
    • Tribu
#27
  0
Kimsterjay a dit :
Boloprivate a dit :
I coded a faster script here. You have to replace Bolodefchoco in the 9th line to your nickname, pressing the letter P the current map restarts, pressing Space you get the xml in #lua. Your scripts shoot a bad color and hurts our eyes haha

Try using the script that Boloprivate (Bolodefchoco) provided. It works just fine.

This works.

Sugarnote a dit :
Working now

It doesn't work for me.
Campwolf
« Citoyen »
1538874000000
    • Campwolf#8695
    • Profil
    • Derniers messages
    • Tribu
#28
  0
Have you tried https://pastebin.com/vkERU8kt, I think it's easier to use
Cambazpro
« Citoyen »
1544370840000
    • Cambazpro#0000
    • Profil
    • Derniers messages
#29
  0
plz load hastebin.com
Nekomancer
« Censeur »
1544471100000
    • Nekomancer#6869
    • Profil
    • Derniers messages
#30
  1
• # [*Space Waffles] Runtime Error : org.luaj.vm2.LuaError: Fluffball#6869.lua:3: attempt to index ? (a nil value)

:C
Syrius
« Consul »
1544725440000
    • Syrius#8114
    • Profil
    • Derniers messages
    • Tribu
#31
  0
You probably used that on a vanilla map.
Hackeado_hack
1549813860000
    • Hackeado_hack#0365
    • Profil
    • Derniers messages
    • Tribu
#32
[Modéré par Batt_mellamy, raison : Spam]
Bisammoeen14
« Citoyen »
1608986760000
    • Bisammoeen14#7506
    • Profil
    • Derniers messages
#33
  0
• [04:45] # [*A-a-a-a-a] Runtime Error : org.luaj.vm2.LuaError: Bisammoeen14#7506.lua:3: attempt to index ? (a nil value)

map code : 1 why noting work ;cc
Ceza
« Citoyen »
1614449880000
    • Ceza#8031
    • Profil
    • Derniers messages
#34
  0
Thank you!
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Script] GetXML
« ‹ 2 / 2
© Atelier801 2018

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

Version 1.27