Gerald Brown needs help



Gerald works for the waste removal company Baumgart. He has knee damage and is having knee replacment surgery June 8th. He will be off of work for 8 weeks and will not recieve any workers compensation or pay for this time. He does not have sufficient health care coverage either and needs help financially. Gerald and his wife Dawn would appreciate any help that can be given. Please donate!

https://www.gofundme.com/242ycvd8

Naev Cheats

As usual this is a place where I dump stuff I have collected. Thought this was useful:

Naev codes Verified for version 0.6.1


Hit f2 to enter codes


Invincibility
player.pilot():setInvincible(true)


Get local map
player.addOutfit( “Local System Map” )


Player refuel
player.fuel ()


Get more money
player.pay(amount)


Get another ship
player.addShip( “Pirate Kestrel” ) (My fave ship) (Must be on a planet!)


Change status of faction (like or hate is 100 to -100, with 100 being like)
faction.modPlayerRaw("Goddard", 100)


Not a complete ship database, but useful:

-----

 I especially like the change status cheat. makes it easy to traverse the galaxy when everyone likes you and you don't have to fight someone every second. But to each their own. -Denny

-----

Found this script which is supposed to show the whole map. Half the fun though is in exploring...

/**
 * @brief Saves selected systems as a map outfit file.
 *
 *    @return 0 on success.
 */
int dsys_saveMap (StarSystem **uniedit_sys, int uniedit_nsys)
{
   int i, j, k, len;
   xmlDocPtr doc;
   xmlTextWriterPtr writer;
   StarSystem *s;
   char *file, *cleanName;

   /* Create the writer. */
   writer = xmlNewTextWriterDoc(&doc, 0);
   if (writer == NULL) {
      WARN("testXmlwriterDoc: Error creating the xml writer");
      return -1;
   }

   /* Set the writer parameters. */
   xmlw_setParams( writer );

   /* Start writer. */
   xmlw_start(writer);
   xmlw_startElem( writer, "outfit" );

   /* Attributes. */
   xmlw_attr( writer, "name", "Editor-generated Map" );

   /* General. */
   xmlw_startElem( writer, "general" );
   xmlw_elem( writer, "mass", "%d", 0 );
   xmlw_elem( writer, "price", "%d", 1000 );
   xmlw_elem( writer, "description", "%s", "This map has been created by the universe editor." );
   xmlw_elem( writer, "gfx_store", "%s", "map" );
   xmlw_endElem( writer ); /* "general" */

   xmlw_startElem( writer, "specific" );
   xmlw_attr( writer, "type", "map" );

   /* Iterate over all selected systems. Save said systems and any NORMAL jumps they might share. */
   for (i = 0; i < uniedit_nsys; i++) {
      s = uniedit_sys[i];
      xmlw_startElem( writer, "sys" );
      xmlw_attr( writer, "name", s->name );
     
      /* Iterate jumps and see if they lead to any other systems in our array. */
      for (j = 0; j < s->njumps; j++) {
         /* Ignore hidden and exit-only jumps. */
         if (jp_isFlag(&s->jumps[j], JP_EXITONLY ))
            continue;
         if (jp_isFlag(&s->jumps[j], JP_HIDDEN))
            continue;
         /* This is a normal jump. */
         for (k = 0; k < uniedit_nsys; k++) {
            if (s->jumps[j].target == uniedit_sys[k]) {
               xmlw_elem( writer, "jump", "%s", uniedit_sys[k]->name );
               continue;
            }
         }
      }
     
      /* Iterate assets and add them */
      for (j = 0; j < s->nplanets; j++) {
         xmlw_elem( writer, "asset", "%s", s->planets[j]->name );
      }

      xmlw_endElem( writer ); /* "sys" */
   }

   xmlw_endElem( writer ); /* "specific" */
   xmlw_endElem( writer ); /* "outfit" */

   /* No need for writer anymore. */
   xmlFreeTextWriter(writer);

   /* Write data. */
   cleanName = uniedit_nameFilter( "saved_map" );
   len       = (strlen(cleanName)+22);
   file      = malloc( len );
   nsnprintf( file, len, "dat/outfits/maps/%s.xml", cleanName );
   xmlSaveFileEnc( file, doc, "UTF-8" );
   free( file );

   /* Clean up. */
   xmlFreeDoc(doc);
   free(cleanName);

   return 0;
}