Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Lenin_Cat

Pages: [1] 2 3 4
1
Curses / Re: Terra Vitae Mod (version 1.2 released!)
« on: July 05, 2017, 04:20:11 pm »
Actually do you have the project file? I can just import that into winemaker apparently.

EDIT: I got it to build natively but get a segfault every election.

2
Curses / Re: Terra Vitae Mod (version 1.2 released!)
« on: July 05, 2017, 03:10:16 pm »
In that case, what is the make file to compile with mingw-w32?

3
Curses / Re: Terra Vitae Mod (version 1.2 released!)
« on: July 05, 2017, 08:15:10 am »
If I try to build this in linux mint(and yes I have ncurses installed, and I have had this issue on debian and arch!)

Code: [Select]
make[2]: Entering directory '/home/cary/terravitae 1.2/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DINSTALL_DATA_DIR=\"/usr/local/share\"  -I../src -g -O2 -MT crimesquad-consolesupport.o -MD -MP -MF .deps/crimesquad-consolesupport.Tpo -c -o crimesquad-consolesupport.o `test -f 'common/consolesupport.cpp' || echo './'`common/consolesupport.cpp
common/consolesupport.cpp: In function 'int addch_unicode(int)':
common/consolesupport.cpp:246:38: error: 'setcchar' was not declared in this scope
       setcchar(&cch, &wch, 0, 0, NULL);
                                      ^
common/consolesupport.cpp:247:26: error: 'add_wch' was not declared in this scope
       return add_wch(&cch);
                          ^

and if I try to run the windows version in wine:

Code: [Select]
err:module:import_dll Library MSVCP140.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library VCRUNTIME140.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-runtime-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-string-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-utility-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-stdio-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-locale-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-convert-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-heap-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-math-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-filesystem-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-multibyte-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:import_dll Library api-ms-win-crt-time-l1-1-0.dll (which is needed by L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\cary\\TerraVitae 1.2 For Windows\\crimesquad.exe" failed, status c0000135

4
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 21, 2016, 03:57:16 pm »
Yah, Debian is actually one of the main Linux Distros. IDK, but I can just use the windows EXE in wine.

5
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 20, 2016, 08:16:12 am »
yeh

6
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 19, 2016, 03:33:18 pm »
When building on debian I get this error

common/consolesupport.cpp: In function ‘int addch_unicode(int)’:
common/consolesupport.cpp:246:38: error: ‘setcchar’ was not declared in this scope
       setcchar(&cch, &wch, 0, 0, NULL);
                                      ^
common/consolesupport.cpp:247:26: error: ‘add_wch’ was not declared in this scope
       return add_wch(&cch);
                          ^

7
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 10, 2016, 04:44:08 pm »
Yah there there, I even copyed art over from /src to the user directonary. It only happens if its installed to the system.

EDIT: after copying from dev its fine/.

 btw that NEC exposer error still happens after I did a make install

8
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 07, 2016, 04:27:17 pm »
Sometimes get this segfault hen conducting a mission.
Code: [Select]
Thread 1 "crimesquad" received signal SIGSEGV, Segmentation fault.
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign (this=this@entry=0x555fb032f7b0,
    __str=<error reading variable: Cannot access memory at address 0x121>)
    at /build/gcc-multilib/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:259
259 /build/gcc-multilib/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc: No such file or directory.


TEH FAQ doing sa make install and running it from bin makes it work fine

Exposing the NEC causes this [
Thread 0x7fa78e28d700 (LWP 4478) exited]
[Thread 0x7fa78e46f700 (LWP 4477) exited]
[Inferior 1 (process 4476) exited with code 01]
After doing a make install the terra vita office and other tv locations are a blank map.

9
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 05, 2016, 04:48:53 pm »
Uh, am I doing this wrong? When I hit N on the characterreview screen nothing happens.

EDIT nvm, if I enlargen the console screen it (oddly) works.
EDIT Ok but now the cheat code function doesnt work for me....

EDIT ok only through review screen, got it.

10
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 05, 2016, 12:46:19 pm »
Are you testing on linux? I should note the included binary doesnt work on my system.

Also you can hack tillyour at 50 juice then sell brownies till your persuation is high then buy business front, hack till 200 juice, learn security skill and your 90% done to get a character good enough. :P

11
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 04, 2016, 11:19:33 am »
Yes, same errors just with the additional i.

edit:werid, I feel like dwarf fortress forum is deleting the i.

Code: [Select]
     
      //Move returning agents to homeless shelter if current safehouse is besieged.
      for (i = 0; i < listlength; i++)
      {
         if (location[pool[AgentList[i]]->base]->siege.siege)
         {
            pool[AgentList[i]]->base = find_homeless_shelter(*pool[AgentList[i]]);
            pool[AgentList[i]]->location = pool[AgentList[i]]->base;
         }
      }
     
      Item *newloot = new Loot(*loottype[getloottype("LOOT_TERRAVITAESECRETS")]);
      location[pool[AgentList[i]]->location]->loot.push_back(newloot);
      addstr(pool[AgentList[i]]->name, gamelog);
      addstr(" has also brought back a record of Terra Vitae activities, ready for the Liberal Guardian!", gamelog);
     
      if (supersuccessful && (necstrength <= (NEC_STRENGTH_MAXIMUM - 4)) && (necstate == NEC_DORMANT))
      {
         Item *newloot = new Loot(*loottype[getloottype("LOOT_NEC_REPORTS")]);
         location[pool[AgentList[i]]->location]->loot.push_back(newloot);
         addstr(pool[AgentList[i]]->name, gamelog);
         addstr(" In addition, our heroes have brought back evidence of a globe-spanning conspiracy that will shatter the world's perceptions of... everything!", gamelog);
      }
     
      //Weaken the NEC's corrupting influence!
      necstrength--;
      change_public_opinion(VIEW_TERRAVITAE,10);
   }
   else
   {
      set_color(COLOR_RED, COLOR_BLACK, 1);
      addstr(pool[AgentList[teamleader]]->name, gamelog);
      addstr("'s team's mission was a dismal failure.", gamelog);
   }
   
   gamelog.nextMessage();
   getch();
   
   
   //Nuke the dead agents
   for (i = 0; i < casualties; i++)
   {
      for (j = 0; j < pool.size(); j++)
      {
         if (DeadAgents[i] == pool[j]->id)
         {
            delete_and_remove(pool, j);
            break;
         }
      }
   }
   
   //Final step: free all of this memory we've allocated
   free(AgentList);
   free(BonusList);
   free(SkillRolls);
   free(CombatRolls);
   free(DodgeRolls);
   if (DeadAgents != 0)
      free(DeadAgents);
}

EDIT: Ah ok, forgot code brackets, but same line numbers.

Can someone upload a complied version for arch 64 bit? perhaps my system is compiling it wrong.

12
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 04, 2016, 11:16:52 am »
I might of edited out my edits incorrectly to post this, hold on. Ill redownload, etc.

13
Curses / Re: Terra Vitae Mod (version 1.0 released!)
« on: November 03, 2016, 10:03:43 pm »
for me the game crashes upon successfully completeing a secret mission and also CONSTANT random segmentation faults(second one). On linux,


Code: [Select]
Thread 1 "crimesquad" received signal SIGSEGV, Segmentation fault.
complete_secret_mission (missionskillplusone=28) at daily/daily.cpp:2034
2034       location[pool[AgentList[i]]->location]->loot.push_back(newloot);
(gdb)
 mission

Thread 1 "crimesquad" received signal SIGSEGV, Segmentation fault.
Creature::drop_weapons_and_clips (this=0x562400000006, lootpile=0x0)
    at creature/creature.cpp:2299
2299    has_thrown_weapon=false;
(gdb)

14
Curses / Re: National LCS Revisited (4.07.3 Beta Release!)
« on: June 30, 2013, 10:52:01 pm »
The game crashes when I go home after convincing the president to talk with me later.

15
Curses / Lower the effects!
« on: February 16, 2013, 01:42:54 am »
How about we lower the effects on public opinions for stuff like doing stuff on site or releasing documents. It could make the game harder in a good way. :)

Pages: [1] 2 3 4