Pokémon Uranium
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Super Training Bug

2 posters

Go down

Super Training Bug Empty Super Training Bug

Post by Bocajian 2015-03-30, 12:05

If you choose the wrong stat to raise and try to back out, you get this error and the game crashes.

---------------------------
Pokemon Uranium
---------------------------
Exception: RuntimeError

Message: Script error within event 31, map 167 (Legen Town):

Exception: TypeError

Message: (eval):2:in `*'nil can't be coerced into Fixnum

***Full script:

score = pbPunchBag(10)
score = (2*score/5).floor
poke=pbGetPokemon(1)
poke.ev[pbGet(2)]+=score
poke.ev[pbGet(2)]=252 if poke.ev[pbGet(2)]>252
poke.calcStats
stat=["HP","Attack","Defense","Speed","Special Attack","Special Defense"]
$game_variables[4]=stat[pbGet(2)]
$game_variables[1]=score
pbCallBub(2,0,2)


Interpreter:243:in `pbExecuteScript'

(eval):2:in `pbExecuteScript'

Interpreter:1600:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:1600:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

* Scene_Map:103:in `update'



Interpreter:276:in `pbExecuteScript'

Interpreter:1600:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

* Scene_Map:103:in `update'

* Scene_Map:101:in `loop'

* Scene_Map:139:in `update'

* Scene_Map:68:in `main'



This exception was logged in

C:\Users\Jacob\Saved Games/Pokemon Uranium/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Bocajian
Bocajian
Seikamater
Seikamater

Posts : 458
Join date : 2015-01-14
Age : 28

Back to top Go down

Super Training Bug Empty Re: Super Training Bug

Post by ~JV~ 2015-03-30, 12:50

Thanks for the report! *Added to 4.1 bug list
~JV~
~JV~
Admin

Posts : 236
Join date : 2014-03-10
Age : 30
Location : Rio de Janeiro

https://pokemonuranium.forumeiro.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum