×

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 API] Errors
« ‹ 6 / 17 › »
[Module API] Errors
Safwanrockz
« Censeur »
1387640520000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#101
  0
Fluffyshine a dit :
## Init Error : Ediz.lua:274: [string "Fluffyshine.lua"]:40: '=' or 'in' expected

Ediz.lua? huh wth

Shamousey a dit :
Ediz is the cause of all errors.

 
Hue.
Dracopta
1387710300000
    • Dracopta#0000
    • Profil
    • Derniers messages
    • Tribu
#102
[Modéré par Mausibiene]
Safwanrockz
« Censeur »
1387716960000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#103
  0
Naming a function with one of the Lua reserved words can result in the " " expected " error, for example:
a dit :

function return()
print("Won't work")
end

 
Violetsea
« Citoyen »
1388079060000
    • Violetsea#0000
    • Profil
    • Derniers messages
#104
  0
Shamousey one of your maps are sinking when I have no cheese
Zutto
« Citoyen »
1388231760000
    • Zutto#4451
    • Profil
    • Derniers messages
    • Tribu
#105
  0
http://i.imgur.com/1lucWZa.png
D=
Ygtyk
1388284020000
    • Ygtyk#0000
    • Profil
    • Derniers messages
    • Tribu
#106
[Modéré par Icewolfbob, raison : You need to upload an image to Imgur in order to post it here]
Safwanrockz
« Censeur »
1388331480000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#107
  0
Aritxy a dit :
D=

A long "for" or "while" statement can make this occur: (Shamousey's example):
a dit :
for i=1,10000000000 do
--This will cause an error.
end

 
Enginfener
« Citoyen »
1388350560000
    • Enginfener#0000
    • Profil
    • Derniers messages
    • Tribu
#108
  0
## Runtime Error : Enginfener.lua:294: attempt to concatenate nil and string

294 line:tfm.exec.chatMessage("<V>[INFO] <VP>"..player.."<J> opened the <VP>"..code.." <J> coded map!",name)
Shamousey
« Consul »
1388350680000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#109
  0
Enginfener a dit :
## Runtime Error : Enginfener.lua:294: attempt to concatenate nil and string

294 line:tfm.exec.chatMessage("&lt;V&gt;[INFO] &lt;VP&gt;"..player.."&lt;J&gt; opened the &lt;VP&gt;"..code.." &lt;J&gt; coded map!",name)

You're going to need to show your entire code if you want help with that. As the error says, either the "player" or "code" variable doesn't exist.
Enginfener
« Citoyen »
1388350680000
    • Enginfener#0000
    • Profil
    • Derniers messages
    • Tribu
#110
  0
Shamousey a dit :
You're going to need to show your entire code if you want help with that. As the error says, either the "player" or "code" variable doesn't exist.

how to fix
Shamousey
« Consul »
1388350680000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#111
  0
Enginfener a dit :
how to fix

Define them.
Enginfener
« Citoyen »
1388353140000
    • Enginfener#0000
    • Profil
    • Derniers messages
    • Tribu
#112
  0
Shamousey a dit :
Define them.

okey thanks Shamousey <3
Squalleze
« Citoyen »
1388507520000
    • Squalleze#0000
    • Profil
    • Derniers messages
    • Tribu
#113
  0
Help?


maps = {p1 = {[[@123]], [[@1234]]}, p2 = {[[@12345]], [[@123456]]}}

tfm.exec.newGame(maps[p1][math.random(#maps[p1])])


error
Safwanrockz
« Censeur »
1388507640000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#114
  0
Squalleze a dit :
Help?


maps = {p1 = {[[@123]], [[@1234]]}, p2 = {[[@12345]], [[@123456]]}}

tfm.exec.newGame(maps[p1][math.random(#maps[p1])])


error

Try tfm.exec.newGame(maps.p1[math.random(#maps.p1)])

~
e/ ## Init Error : Kmlcan.lua:301: [string "Safwanrockz.lua"]:12: 'do' expected
the file name
Abdeltif
« Citoyen »
1389538920000
    • Abdeltif#0000
    • Profil
    • Derniers messages
    • Tribu
#115
  0
## Runtime Error : Abdeltif.lua:6: vm error: java.lang.ArrayIndexOutOfBoundsException: 256
Wow I don't undrstand this
I undestandd nothing if this
Safwanrockz
« Censeur »
1389539040000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#116
  0
Abdeltif a dit :
## Runtime Error : Abdeltif.lua:6: vm error: java.lang.ArrayIndexOutOfBoundsException: 256

Shamousey a dit :

[•] vm error: java.lang.ArrayIndexOutOfBoundsException: 256
This error can be caused by multiple things, but is more commonly when something recurs indefinitely. An example might be a function that calls itself.

function a()
a()
end
a()

 
Barsems
« Citoyen »
1389728460000
    • Barsems#0000
    • Profil
    • Derniers messages
#117
  0
What error?

ui.addTextArea(987,"Oyuncuya Bir Rütbe Ver", NIL, 400, 200, 100, 100, 0xFFFF, 0xFFFF, 0.6)
function eventTextAreaCallback(id, name, callback)
ui.addTextArea(182,"<p align='center'><a href='event:yardimci'><b><R>Yardımcı</b></a></p>",name,400,250,200,16,1,1,0.8,true)
ui.addTextArea(2,"<p align='center'><a href='event:moderator'><b><R>Mod</b></a></p>",name,400,300,200,16,1,1,0.8,true)
end
if callback=="yardimci" then
ui.addPopup(934,0,"Yardımcıyı Seç",name,400,200,200)
eventPopupAnswer(934,playerName,command)
tfm.exec.setNameColor(command,0xFFFF)
end
if callback=="moderator" then
ui.addPopup(941,0,"Moderatörü Seç",name,400,200,200)
eventPopupAnswer(941,playerName,command)
tfm.exec.setNameColor(command,0xFFFF)
end
end

Argument error.
Fatihmilano
« Citoyen »
1389728460000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#118
  0
Barsems a dit :
What error?

ui.addTextArea(987,"Oyuncuya Bir Rütbe Ver", NIL, 400, 200, 100, 100, 0xFFFF, 0xFFFF, 0.6)
function eventTextAreaCallback(id, name, callback)
ui.addTextArea(182,"&amp;lt;p align='center'&amp;gt;&amp;lt;a href='event:yardimci'&amp;gt;&amp;lt;b&amp;gt;&amp;lt;R&amp;gt;Yardımcı&amp;lt;/b&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;",name,400,250,200,16,1,1,0.8,true)
ui.addTextArea(2,"&amp;lt;p align='center'&amp;gt;&amp;lt;a href='event:moderator'&amp;gt;&amp;lt;b&amp;gt;&amp;lt;R&amp;gt;Mod&amp;lt;/b&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;",name,400,300,200,16,1,1,0.8,true)
end
if callback=="yardimci" then
ui.addPopup(934,0,"Yardımcıyı Seç",name,400,200,200)
eventPopupAnswer(934,playerName,command)
tfm.exec.setNameColor(command,0xFFFF)
end
if callback=="moderator" then
ui.addPopup(941,0,"Moderatörü Seç",name,400,200,200)
eventPopupAnswer(941,playerName,command)
tfm.exec.setNameColor(command,0xFFFF)
end
end

Argument error.

--------------

a dit :
ui.addTextArea(987,"Oyuncuya Bir Rütbe Ver", NIL, 400, 200, 100, 100, 0xFFFF, 0xFFFF, 0.6)
function eventTextAreaCallback(id, name, callback)
ui.addTextArea(182,"<p align='center'><a href='event:yardimci'><b><R>Yardımcı</b></a></p>",name,400,250,200,16,1,1,0.8,true)
ui.addTextArea(2,"<p align='center'><a href='event:moderator'><b><R>Mod</b></a></p>",name,400,300,200,16,1,1,0.8,true)
end
if callback=="yardimci" then
ui.addPopup(934,0,"Yardımcıyı Seç",name,400,200,200)
eventPopupAnswer(934,playerName,command)
tfm.exec.setNameColor(command,0xFFFF)
end
if callback=="moderator" then
ui.addPopup(941,0,"Moderatörü Seç",name,400,200,200)
eventPopupAnswer(941,playerName,command)
tfm.exec.setNameColor(command,0xFFFF)
end

^
Barsems
« Citoyen »
1389728640000
    • Barsems#0000
    • Profil
    • Derniers messages
#119
  0
Fatihmilano a dit :
--------------
^

Has failed again
Sla
1389754740000
    • Sla#3700
    • Profil
    • Derniers messages
    • Tribu
#120
[Modéré par Katburger, raison : Removed]
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Module API] Errors
« ‹ 6 / 17 › »
© Atelier801 2018

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

Version 1.27