Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4

Author Topic: will the one responsible please step forth  (Read 4728 times)

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: will the one responsible please step forth
« Reply #15 on: May 23, 2009, 02:08:15 pm »

I don't know what line it's specifying, but the switch statement was a bucket of trouble. Try this:

Code: [Select]
switch(LCSrandom(5))
{
    case 0:ns->loc=SITE_INDUSTRY_SWEATSHOP;
    case 1:ns->loc=SITE_CORPORATE_HOUSE;
    case 2:ns->loc=SITE_INDUSTRY_POLLUTER;
    case 3:ns->loc=SITE_RESIDENTIAL_APARTMENT_UPSCALE;
    case 4:ns->loc=SITE_CORPORATE_HEADQUARTERS;
}
Logged

jaked122

  • Bay Watcher
  • [PREFSTRING:Lurker tendancies]
    • View Profile
Re: will the one responsible please step forth
« Reply #16 on: May 23, 2009, 02:11:30 pm »

wait is it turning from Liberal Crime Squad to stalinist comrad squad?

Servant Corps

  • Bay Watcher
    • View Profile
Re: will the one responsible please step forth
« Reply #17 on: May 23, 2009, 02:14:03 pm »

Quote
It was specifiying the:
"if(stalinendgamestate<ENDGAME_STALIN_DEFEATED && LCSrandom(30) && canseethings)" line.[/qupte]

Jaked: The code was specifying what the Stalinist Comrade Squad would attack during each month.
Logged
I have left Bay12Games to pursue a life of non-Bay12Games. If you need to talk to me, please email at me at igorhorst at gmail dot com.

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: will the one responsible please step forth
« Reply #18 on: May 23, 2009, 04:12:26 pm »

I would check the #define for ENDGAME_STALIN_DEFEATED.
Logged

LiteralKa

  • Bay Watcher
  • LCS Developer
    • View Profile
    • My Website!
Re: will the one responsible please step forth
« Reply #19 on: May 23, 2009, 04:14:10 pm »

wait is it turning from Liberal Crime Squad to stalinist comrad squad?
No, that is just a possible addition to the game. (Presumably, a Stalinist CCS)
Logged
LCS developer, insomniac, writer.

Gimmick Account

  • Bay Watcher
    • View Profile
Re: will the one responsible please step forth
« Reply #20 on: May 23, 2009, 04:19:49 pm »

wait is it turning from Liberal Crime Squad to stalinist comrad squad?
No, that is just a possible addition to the game. (Presumably, a Stalinist CCS)

So can it be switched off, for those who want the 'classic' experience? The game doesn't seem to have a real config file.
Logged

LiteralKa

  • Bay Watcher
  • LCS Developer
    • View Profile
    • My Website!
Re: will the one responsible please step forth
« Reply #21 on: May 23, 2009, 04:22:20 pm »

wait is it turning from Liberal Crime Squad to stalinist comrad squad?
No, that is just a possible addition to the game. (Presumably, a Stalinist CCS)

So can it be switched off, for those who want the 'classic' experience? The game doesn't seem to have a real config file.
I would assume so.
« Last Edit: May 23, 2009, 04:24:03 pm by LiteralKa »
Logged
LCS developer, insomniac, writer.

Servant Corps

  • Bay Watcher
    • View Profile
Re: will the one responsible please step forth
« Reply #22 on: May 23, 2009, 04:22:52 pm »

Once I can get the code working, Johnatan S. Fox should be able to code in a way to allow a person to switch it off.
Logged
I have left Bay12Games to pursue a life of non-Bay12Games. If you need to talk to me, please email at me at igorhorst at gmail dot com.

Servant Corps

  • Bay Watcher
    • View Profile
Re: will the one responsible please step forth
« Reply #23 on: May 23, 2009, 04:29:54 pm »

Yeah, erm, the code errors seemingly is sprialing out of control. I think I might be lowering them down, but, I think it would be nice if I get some assistance.

LiteralKa, are you good at fixing synatx errors or no?
Logged
I have left Bay12Games to pursue a life of non-Bay12Games. If you need to talk to me, please email at me at igorhorst at gmail dot com.

LiteralKa

  • Bay Watcher
  • LCS Developer
    • View Profile
    • My Website!
Re: will the one responsible please step forth
« Reply #24 on: May 23, 2009, 04:31:30 pm »

Yeah, erm, the code errors seemingly is sprialing out of control. I think I might be lowering them down, but, I think it would be nice if I get some assistance.

LiteralKa, are you good at fixing synatx errors or no?
Not ones that I can't test for :/ (yay Linux) I'll help where I can.
Logged
LCS developer, insomniac, writer.

Servant Corps

  • Bay Watcher
    • View Profile
Re: will the one responsible please step forth
« Reply #25 on: May 23, 2009, 04:39:21 pm »

Quote
I would check the #define for ENDGAME_STALIN_DEFEATED.

John: There was no #define END_GAME_STALIN_DEFEATED so I created one. I still get the error.
Logged
I have left Bay12Games to pursue a life of non-Bay12Games. If you need to talk to me, please email at me at igorhorst at gmail dot com.

LiteralKa

  • Bay Watcher
  • LCS Developer
    • View Profile
    • My Website!
Re: will the one responsible please step forth
« Reply #26 on: May 23, 2009, 04:43:20 pm »

Quote
I would check the #define for ENDGAME_STALIN_DEFEATED.

John: There was no #define END_GAME_STALIN_DEFEATED so I created one. I still get the error.

Code: [Select]
#define SLOGAN_LEN 79[in includes.h] breaks when the slogan is longer, FYI. (I will be a lot more active in coding after the 30th, after exams and such are over, but for now, I'll work on conceptual stuff)
« Last Edit: May 23, 2009, 04:48:24 pm by LiteralKa »
Logged
LCS developer, insomniac, writer.

Servant Corps

  • Bay Watcher
    • View Profile
Re: will the one responsible please step forth
« Reply #27 on: May 23, 2009, 04:49:49 pm »

Alright, I uploaded some of the fixes, but not all, so the code is still technically broken. I can't really work any more on this because I am now more busy with homework, schoolwork, everything. So, gah. I am seriously requesting for any assistance in fixing the syntax errors, if it is at all possible. Please, help.

EDIT:
Spoiler: The List of Errors (click to show/hide)
« Last Edit: May 23, 2009, 04:51:58 pm by Servant Corps »
Logged
I have left Bay12Games to pursue a life of non-Bay12Games. If you need to talk to me, please email at me at igorhorst at gmail dot com.

LiteralKa

  • Bay Watcher
  • LCS Developer
    • View Profile
    • My Website!
Re: will the one responsible please step forth
« Reply #28 on: May 23, 2009, 05:09:26 pm »

Spoiler (click to show/hide)
« Last Edit: May 23, 2009, 05:28:22 pm by LiteralKa »
Logged
LCS developer, insomniac, writer.

Servant Corps

  • Bay Watcher
    • View Profile
Re: will the one responsible please step forth
« Reply #29 on: May 23, 2009, 05:25:48 pm »

...Oh dear.
Logged
I have left Bay12Games to pursue a life of non-Bay12Games. If you need to talk to me, please email at me at igorhorst at gmail dot com.
Pages: 1 [2] 3 4