Author Topic: Cheats?  (Read 32412 times)

xXuffelmanXx

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    5
    • View Profile
on: June 06, 2013, 06:08:21 PM
I hate to cheat at some games, and this one, Idk. But honestly, I want to see what I can build, and stuff. I read earlier on the forum about cheating, how is this achieved?



koonschi

  • Developer
  • *
  • Status:
    Offline
    Posts:
    1485
    • View Profile
    • Avorion
on: June 06, 2013, 07:20:22 PM
Real cheats as in the command line or the chat window do not exist. You can alter the savegames, if you really want to. They're located in your AppData folder.
#define TRUE FALSE // happy debugging suckers

If you need help, please post in the forum, don't PM me. If there's something that only I can help you with, contact me via mail.



Vwhdfd

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    27
    • View Profile
on: June 07, 2013, 06:49:43 PM
Real cheats as in the command line or the chat window do not exist. You can alter the savegames, if you really want to. They're located in your AppData folder.

Do I have to use a program to alter these files?
I really wanna know how far I can go with unlimited resources.



koonschi

  • Developer
  • *
  • Status:
    Offline
    Posts:
    1485
    • View Profile
    • Avorion
on: June 07, 2013, 08:18:22 PM
No, you need a normal file editor only. I can recommend Notepad++, it's basically windows notepad in much better.
#define TRUE FALSE // happy debugging suckers

If you need help, please post in the forum, don't PM me. If there's something that only I can help you with, contact me via mail.



xXuffelmanXx

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    5
    • View Profile
on: June 08, 2013, 04:39:27 PM
Sounds, easy. I'll give it a try later.



Rylo

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    2
    • View Profile
on: January 26, 2017, 11:15:59 PM
Tried opening the player_1 file with Notepad++ and the file is full of NUL's and stuff.

http://gyazo.com/9595f336b00ee62aa7a31f392428f7a5



Dinosawer

  • Full Member
  • ***
  • Status:
    Offline
    Posts:
    193
  • SPAAACE
    • View Profile
on: January 26, 2017, 11:18:54 PM
Real cheats as in the command line or the chat window do not exist. You can alter the savegames, if you really want to. They're located in your AppData folder.
Well, you can enter lines of lua in chat and cheat that way :V
For science!



asibin

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    4
    • View Profile
on: January 26, 2017, 11:19:55 PM
Rylo - while in game, just hit ENTER and use the /give command if you are doing a single player game or you are the admin of a multi player game.

/give <yourname> 10000 credits
/give <yourname> 10000 titanium

This is a way for you to mess around without being in creative mode.



thedamngod

  • Moderator
  • *****
  • Status:
    Offline
    Posts:
    392
  • Who is this guy anyway?
    • View Profile
on: January 26, 2017, 11:21:07 PM
Quote
Tried opening the player_1 file with Notepad++ and the file is full of NUL's and stuff.

Then the files are no longer stored in text form, which is readable by humans, but rather in binary form. You won't be able to open and read binary files as easily.

Just try the ingame chat solutions posted by the other people :)
FAQ    Infos for bug reports

Want a post moved, locked, deleted? Think something is wrong or not appropriate? Then use the "Report to moderator" button



hippieshopper

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    6
    • View Profile
on: January 27, 2017, 04:27:32 AM
You could just try playing in creative mode.



Infinitynull

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    13
    • View Profile
on: January 27, 2017, 05:22:30 AM
Or or you could type /admin then give yourself all the resources and money you could ever want. I believe the command is like /give -p infinitynull -g money -a 10000000



Thundercraft

  • Sr. Member
  • ****
  • Status:
    Offline
    Posts:
    251
    • View Profile
on: January 27, 2017, 11:26:16 AM
As far as cheating and modifying the game to our personal preferences, something which some players may be overlooking is the server.ini file inside the Galaxy folder. I named my galaxy "Zerkov" and this folder was located:

C:\Users\ [username] \AppData\Roaming\Avorion\galaxies\Zerkov

And here is my server.ini file:

Code: [Select]
[Game]
Seed=Zerkov
Difficulity=-1
InfiniteResources=false
CollisionDamage=0.25
LootDiminishingFactor=0.00499999989
ResourceDropChance=0.400000006
TurretDropChanceFromTurret=0.0250000004
TurretDropChanceFromCraft=0.25
TurretDropChanceFromBlock=0.00499999989
SystemDropChanceFromCraft=0.200000003
SystemDropChanceFromBlock=0.00499999989
ColorDropChanceFromCraft=0.0500000007
ColorDropChanceFromBlock=0.00249999994
sameStartSector=true
startUpScript=data/scripts/server/server.lua
startSectorScript=startsector
[System]
saveInterval=600
sectorUpdateTimeLimit=300
emptySectorUpdateInterval=0.5
workerThreads=3
weakUpdate=true
[Networking]
port=27000
broadcastInterval=5
isPublic=false
isListed=false
useSteam=true
[Administration]
maxPlayers=10
name=Thundercraft's Server
description=An Avorion Server
accessListMode=Blacklist

Because I really want to see turrets drop from craft a lot more often, I've since modified TurretDropChanceFromCraft from 0.25 to 0.5, which should double the chance.

I also set ColorDropChanceFromCraft and ColorDropChanceFromBlock both to "0.0", because I really hate how it does that.

(I think it's kind of silly that damaged and wrecked ships drop paint. Also, it's frustrating because dropped paint gets my hopes up, yet paint seems worthless and distracts me from collecting good stuff like modules and resources.)



GoonSquad

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    7
    • View Profile
on: January 31, 2017, 06:50:29 AM
Or or you could type /admin then give yourself all the resources and money you could ever want. I believe the command is like /give -p infinitynull -g money -a 10000000

Can you turn this on and off?



Infinitynull

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    13
    • View Profile
on: January 31, 2017, 10:08:42 AM
If you are playing singleplayer it's a constant thing. You don't even have to type /admin I was wrong.

Just type in /give -p infinitynull -g money -a 10000000. You can do this with anything like IRON or naonite. /give -p <player> -g <goods> -a <amount>.



Fall3n_Archon

  • Newbie
  • *
  • Status:
    Offline
    Posts:
    6
    • View Profile
on: February 02, 2017, 11:01:59 AM
It's actually a lot shorter than that in single player. The LUA commands are:

/give playername amount resource

So, for 10,000 Iron, you'd simply type:

/give playername 10000 iron

Also works with credits in place of resource.  ;)