Jump to content
Rpg²S Forum
  • 0

Nn ci capisco più niente!


Quarillion
 Share

Question

Scusate, ma ho appena preso la versione di rpg maker xp 1.02a di prova, ma quando faccio avviare il gioco, mi dice: "Script Window_Command" Line 20: Type error occurred. no implicit conversion from nil to integer"...

..

..

..

 

COSA VUOL DIRE?? (sicuramente è una domanda banale...)

http://www.bleachfan.org/char_img/Chad.jpg
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

usa la main modificata di dad...

sostituisci main con:

# - Main Modificato da DaD www.dermfxp.altervista.org
# Dopo la fine di ogni classe viene chiamata questa
begin
# I Tipi di Font che vengono utilizzati in main
$defaultfonttype = $fontface = $fontname = Font.default_name = "Tahoma"
# La grandezza del Font in main
$defaultfontsize = $fontsize = Font.default_size = 24
# Preparazione Fade
Graphics.freeze
# Disegno Scena (Title)
$scene = Scene_Title.new
# Quando $scene non è nullo viene chiamato main
while $scene != nil
$scene.main
end
# Fade
Graphics.transition(20)
rescue Errno::ENOENT
# Errore Errno::ENOENT
# Quando non può aprire il file mostra un messaggio
filename = $!.message.sub("No such file or directory - ", "")
print("File #{filename} was not found.")
end

Progetti:

 http://i.imgur.com/jmLkIqi.png

http://i54.tinypic.com/2rh4ojq.png

https://github.com/ProGM

 

Crea anche tu il tuo gioco per Game Boy!
http://rpg2s.net/gif/SCContest3Oct.gifhttp://www.rpg2s.net/img/fablecontest1st.pnghttp://i43.tinypic.com/1zokd2s.png


http://i.imgur.com/BEu6G.gif

http://i.imgur.com/H1ARhq7.gif

http://i.imgur.com/Af6ijZN.gif

AOT: Associazione Odiamo la Telecom:

http://i.imgur.com/aYJs89E.png

"4 gattini... 4 stelline... E le 4 paperelle non ci stavano :3"

Flame


http://i30.tinypic.com/i27ypj.png

Link to comment
Share on other sites

  • 0

Oppure dovresti modificare il Window_Command dicendo tu al programma di convertire da nessun (tipo) a Integer.

Non so come si fa, ho semplicemente interpretato il messaggio d'errore, che alla fin fine è dato solo da una discrepanza di tipo di una variabile (non è di alcun tipo ((nil)), mentre dovrebbe essere di tipo intero ((integer))).

(Sì, sono l'AnteroLehtinen che bazzica in chat. E... sì, una volta insegnavo storyboarding.)

http://img26.imageshack.us/img26/7048/firmadn.png

Link to comment
Share on other sites

  • 0

kanta, se ho visto giusto l'errore è dato dal fatto che non c sono impostati i caratteri correttamente :P

lui legge $defaultfontsize e la trova vuota...

e da errore ^^

o almeno credo xD

Progetti:

 http://i.imgur.com/jmLkIqi.png

http://i54.tinypic.com/2rh4ojq.png

https://github.com/ProGM

 

Crea anche tu il tuo gioco per Game Boy!
http://rpg2s.net/gif/SCContest3Oct.gifhttp://www.rpg2s.net/img/fablecontest1st.pnghttp://i43.tinypic.com/1zokd2s.png


http://i.imgur.com/BEu6G.gif

http://i.imgur.com/H1ARhq7.gif

http://i.imgur.com/Af6ijZN.gif

AOT: Associazione Odiamo la Telecom:

http://i.imgur.com/aYJs89E.png

"4 gattini... 4 stelline... E le 4 paperelle non ci stavano :3"

Flame


http://i30.tinypic.com/i27ypj.png

Link to comment
Share on other sites

  • 0

OKAY!!

Grazie!

 

EDIT: ASPETTATEEEEE!!!!!!

Mi da un'altro problema!

"No method Error occurred while running script. underinied method "[]=" for nil:NilClass"

Cosa mi sarebbe successo!?!?!!?!!

 

EDIT2: Ninte! Fatto! Tutto risolto!

Edited by Quarillion
http://www.bleachfan.org/char_img/Chad.jpg
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...