Suggestions (And found a few bugs) for Pioneer

yuyingchenk
Posts: 22
Joined: Wed Feb 05, 2014 3:50 pm

Re: Suggestions (And found a few bugs) for Pioneer

Post by yuyingchenk »

FluffyFreak wrote:I think that:
import('Game').player:SetMoney(9999999999)
should work.
Setting it on the `ship` doesn't anymore.
Thanks mate,

But it seems not working ...

Maybe "Game" or ?

Cheers,

Yingchen
mld
Posts: 22
Joined: Mon Feb 10, 2014 12:18 pm

Re: Suggestions (And found a few bugs) for Pioneer

Post by mld »

either (Game with double quotes)

Code: Select all

"Game"
or (Game with single quotes)

Code: Select all

'Game'
should work.
lwho
Posts: 72
Joined: Thu Jul 04, 2013 9:26 pm
Location: Germany

Re: Suggestions (And found a few bugs) for Pioneer

Post by lwho »

FluffyFreak wrote:
import('Game').player:SetMoney(9999999999)
should work.
Yes, but it doesn't currently without a console.lua. As mentioned by me on the bug tracker: Creating an console.lua (even an empty one) in your pioneer user directory ($HOME/.pioneer on Linux, I don't know on Windows) works around the bug. Of course, you may also put useful stuff into it if you're creating it anyway ;). That's probably also the reason why nobody of the Devs noticed it, we probably all have a console.lua.
FluffyFreak
Posts: 1343
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Suggestions (And found a few bugs) for Pioneer

Post by FluffyFreak »

That's odd because I don't have a `console.lua` either.
yuyingchenk
Posts: 22
Joined: Wed Feb 05, 2014 3:50 pm

Re: Suggestions (And found a few bugs) for Pioneer

Post by yuyingchenk »

Thanks Lwho,

It works,

I create a console.lua file in /document/Pioneer, and then all good.
Post Reply