Page 1 of 1

Hard fights and Lua Console Cheat Scripts not working

Posted: Sat Feb 15, 2014 12:42 pm
by ugnius40
Hi,

I love this game, it reminds me of Elite Frontier so much. The problem Is, when I fight I get torn to bits by smallest of ships and I cannot hit a single time, something's wrong with fighting mechanics there. I thought I could use some invincibility cheat or something to help me out a little, but I found out whenever I enter something to lua console I always get this:

Code: Select all

>import("Game").player:SetMoney(1000)
[string "[T] console"]:1: attempt to index upvalue '_ENV' (a nil value)
. Could someone point out what's wrong? I've tried money cheats and invincibility cheat but with no luck.

The Other thing I noticed when you select BBS mission and accept it, entry is not deleted from available missions list, if you try to view that mission again game CTD's.

I'm using windows 8.1 64 bit 20140213 version of a game.

Thanks for great work anyway, if only fights were easier, or some good guide written on how to have a fighting chance.

Re: Hard fights and Lua Console Cheat Scripts not working

Posted: Sat Feb 15, 2014 12:54 pm
by impaktor
Welcome top pioneer.

it's a bug: https://github.com/pioneerspacesim/pioneer/issues/2760

Fixed a few minutes ago.

Re: Hard fights and Lua Console Cheat Scripts not working

Posted: Sat Feb 15, 2014 1:09 pm
by ugnius40
Lovely, now how do I build it from latest git on windows... Google is my friend.

Re: Hard fights and Lua Console Cheat Scripts not working

Posted: Sat Feb 15, 2014 3:31 pm
by bszlrd
You don't need to build. A workaround is to create an empty console.lua file in the game directory, where the settings are: /documents/pioneer/console.lua on windows

Re: Hard fights and Lua Console Cheat Scripts not working

Posted: Sat Feb 15, 2014 4:50 pm
by ugnius40
Oh, I've dusted my OpenSUSE installation and built myself shiny new pioneer, started new game, console works as expected :P. Thanks for suggestion.
Side-note: I've registered myself to transifex.com, but still not got activation e-mail, thought I could help with some translation (Lithuanian, Russian). Hope I can add to this project.

Re: Hard fights and Lua Console Cheat Scripts not working

Posted: Sat Feb 15, 2014 6:00 pm
by impaktor
ugnius40 wrote:Oh, I've dusted my OpenSUSE installation and built myself shiny new pioneer, started new game, console works as expected :P. Thanks for suggestion.
Side-note: I've registered myself to transifex.com, but still not got activation e-mail, thought I could help with some translation (Lithuanian, Russian). Hope I can add to this project.
Sounds great! Report back if you're having trouble with transiflex. You need to make a request for Lithuanian to be added to the project.

Re: Hard fights and Lua Console Cheat Scripts not working

Posted: Sat Feb 15, 2014 10:57 pm
by ugnius40
I've started translating this to Lithuanian, putting my best effort (which will be not enough for some I know). Lithuanian has its quirks, a lot depends on the context some strings are used. Will need to link translation to working game to really see how all falls together. Have to read more on that wiki article about translation and integration.

So far so good. (I seem to have derailed my own topic now :)