Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 196 197 [198] 199 200 ... 272

Author Topic: Murdermachines - Return of the VoidGod (Deathgate II)  (Read 777644 times)

Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2955 on: April 10, 2014, 08:47:38 am »

Analyse THIS, Terry! May your eldritch ears writhe in pain!


>RESULTS: AUDIO FILE
>>METADATA:
>>>TITLE: 10 - MR. BEAR (PENNY)
>>>CREATOR: INTELLIGENT SYSTEMS
>>>DATE OF CREATION: N/A
>>>ALBUM: N/A
>CROSS-REFERENCE INDICATES ADDITIONAL DATA
>>>DATE OF CREATION: 21 JANUARY 2008
>>>ALBUM: ADVANCE WARS: DAYS OF RUIN

>ANALYSIS OF STATEMENT INDICATES INTENTION OF THREAT
>>POSSIBLE THREATS: AUDIO FILE
>>MAXIMUM THREAT LEVEL: NEGLIGIBLE

>ANALYSIS INDICATES HIGH LEVELS OF DARKNESS POWER USED IN DEFENSIVE STANCE

All are equals until proven inferior. In some cases they are proven superior, but typically not when they tout themselves as beings of darkness, chaos, and/or evil. However, at least they are more honest than some. More dangerous are those who claim to be beings of light and peace. However, it is better to assume sincerity until proven otherwise than to be ever suspicious. You call me a threat and recommend my destruction, I at least intend to make efforts to help you and will only enact your destruction if necessary.


>ANALYSIS INDICATES PHILOSOPHICAL REASONING

>ANALYSIS INDICATES THREAT
>>POSSIBLE THREAT: ELIMINATION
>>MAXIMUM THREAT LEVEL: MEDIUM

>ANALYSIS INDICATES TRUCE OFFERING

>STAND BY
>_
Logged

Lolfail0009

  • Bay Watcher
  • [PROGRAMMER:C#] [PROGRAMMER:C++] [PRONOUNS:SHE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2956 on: April 10, 2014, 08:53:08 am »

Damn, should've used Cruel Rose or Madman's Reign...

All are equals until proven inferior. In some cases they are proven superior, but typically not when they tout themselves as beings of darkness, chaos, and/or evil. However, at least they are more honest than some. More dangerous are those who claim to be beings of light and peace. However, it is better to assume sincerity until proven otherwise than to be ever suspicious. You call me a threat and recommend my destruction, I at least intend to make efforts to help you and will only enact your destruction if necessary.


>ANALYSIS INDICATES PHILOSOPHICAL REASONING

>ANALYSIS INDICATES THREAT
>>POSSIBLE THREAT: ELIMINATION
>>MAXIMUM THREAT LEVEL: MEDIUM

>ANALYSIS INDICATES TRUCE OFFERING

>STAND BY
>_


Let's hope this means he's at least considering accepting the truce...

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2957 on: April 10, 2014, 08:59:29 am »

>//Prompt for acceptance of aforementioned truce in previously called function.
>char[1] x;
>bool response;
>output "Y/N?";
>input x;
>alias(y,TRUE);
>alias(n,FALSE);
>if(response==TRUE){
stand-by(potential_threat=TRUE, watch_level=1,mood=amicable);
}
>if(response==FALSE){
stand-by(potential_threat=TRUE, watch_level=6,mood=reserved);
}
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2958 on: April 10, 2014, 09:08:31 am »

Damn, should've used Cruel Rose or Madman's Reign...


>SUBJECT: "CRUEL ROSE"
>>POSSIBLE THREAT STATUS: LOW

>SUBJECT: "MADMAN'S REIGN"
>>POSSIBLE THREAT STATUS: NEGLIGIBLE


>//Prompt for acceptance of aforementioned truce in previously called function.
>char[1] x;
>bool response;
>output "Y/N?";
>input x;
>alias(y,TRUE);
>alias(n,FALSE);
>if(response==TRUE){
stand-by(potential_threat=TRUE, watch_level=1,mood=amicable);
}
>if(response==FALSE){
stand-by(potential_threat=TRUE, watch_level=6,mood=reserved);
}


>ANALYSIS INDICATES ATTEMPT AT COMMUNICATION THROUGH UNKNOWN PROGRAMMING LANGUAGE
>CONTEXT RESULTS IN TRANSLATION WITH 97.2243% MINIMUM ACCURACY

>ANALYSIS INDICATES TRUE HAS LOW RISK, LOW CHANCE OF COMBAT, HIGH CHANCE OF POSSIBLE GAIN
>ANALYSIS INDICATES FALSE HAS MODERATE RISK, HIGH CHANCE OF COMBAT, MODERATE CHANCE OF POSSIBLE GAIN

>VAR X = "Y"

>STAND BY
>_
Logged

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2959 on: April 10, 2014, 09:15:02 am »


>output: "The bargain is struck"
>pause
Press any key to continue...

One last warning: This is considered a binding contract and will be met with a triple penalty if broken by offensive acts. Do you understand and comply?
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2960 on: April 10, 2014, 09:20:02 am »


>INSTALLING LANGUAGE DRIVES
>LANGUAGE DRIVES INSTALLED

... Now it is easier for us communicate... The condition and underlying threat are understood... I choose to comply...
Logged

Lolfail0009

  • Bay Watcher
  • [PROGRAMMER:C#] [PROGRAMMER:C++] [PRONOUNS:SHE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2961 on: April 10, 2014, 09:39:57 am »


If you don't mind me asking, what was the translation for McClellan's function?
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2962 on: April 10, 2014, 09:50:44 am »


|--Prompt for acceptance of aforementioned truce in previously called function.--|
[DEFINITIONS]
[X:INPUT:"Y":"N"]
[RESPONSE:BOOLEAN]

[SEQUENCE]
[PRINT:"Y/N?"]
[USER:X]
["Y":DEFINE:TRUE]
["N":DEFINE:FALSE]
[IF:RESPONSE:TRUE:STANDBY[[
[POTENTIAL_THREAT=TRUE,WATCH_LEVEL=1,MOOD="AMICABLE"]
]]:FALSE:STANDBY[[
[POTENTIAL_THREAT=TRUE,WATCH_LEVEL=6,MOOD="RESERVED"]
]]]
Logged

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2963 on: April 10, 2014, 09:57:26 am »


>ANALYSIS INDICATES ATTEMPT AT COMMUNICATION THROUGH UNKNOWN PROGRAMMING LANGUAGE


If you don't mind me asking, what was the translation for McClellan's function?


It's mostly C++, with some custom aliases and constructs to simplify display/input, but it's pretty must exactly what it says on the tin. A simple yes or no question. I slipped up once or twice and used TI's modified BASIC that is bundled with their calculators. The exact workings of personal functions called is to be kept secret for sake of strategy. While it is safe to reveal much, a slight amount is to be kept to one's self.

Lolfail0009

  • Bay Watcher
  • [PROGRAMMER:C#] [PROGRAMMER:C++] [PRONOUNS:SHE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2964 on: April 10, 2014, 10:02:13 am »

C++? Hmm, I thought that language is a bit more long-winded.

Whereas Terry's language seems to be a variation on DF RAWs, which is awesome.

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2965 on: April 10, 2014, 10:14:09 am »

C++? Hmm, I thought that language is a bit more long-winded.

Whereas Terry's language seems to be a variation on DF RAWs, which is awesome.
Nope, C++ can be very, VERY laconic. For example McClellan's code can be transformed  and upgraded into something like:
Code: [Select]
int stand_by(bool potential_threat, int watch_level,char* mood);

while(true){
char c; cin >> c;
switch(c){
case 'y': return stand_by(TRUE, 1,"amicable");
case 'n': return stand_by(TRUE, 6,"reserved");
// and do not accest any other reply!
}
}

Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2966 on: April 10, 2014, 10:16:40 am »

C++? Hmm, I thought that language is a bit more long-winded.

Whereas Terry's language seems to be a variation on DF RAWs, which is awesome.

It is, hence the aliases. It has a feature, though it's four-times as contrived as it might be, to "alias" commands to a certain name. Even though I have no idea how to use it [correctly], once it's done and added to the header of a program it can be used to expedite work so much.

For example instead of having to write "cout <<" I can just put "output". We're just assuming I aliased it to easier to understand names. I could've made it even simpler in theory, but in reality it would've made things harder. For example "out" is a separate command that has its own special rules and thus cannot be used as an alias. I think "output" is safe. It's surprisingly not that bad a programming language if you bother to learn it. Everyone prefers stuff like Python and Ruby, because it's basically already been aliased and contracted. The single most unwieldy thing about C and C++ is its handling of strings. It doesn't store them as strings. By default it stores them as a matrix of character symbols. That wouldn't be so bad, except the size of said matrix has to be predefined as C++ deals directly with individual bits on RAM and cache memory. ( That's what makes it so handy for writing viruses. Or at least it did back before OS'es came coded with protections about "unauthorized memory access". It can be circumvented, but it's much easier to just use another language to do the same thing in different ways. )

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2967 on: April 10, 2014, 10:18:17 am »

C++? Hmm, I thought that language is a bit more long-winded.

Whereas Terry's language seems to be a variation on DF RAWs, which is awesome.
Nope, C++ can be very, VERY laconic. For example McClellan's code can be transformed  and upgraded into something like:
Code: [Select]
int stand_by(bool potential_threat, int watch_level,char* mood);

while(true){
char c; cin >> c;
switch(c){
case 'y': return stand_by(TRUE, 1,"amicable");
case 'n': return stand_by(TRUE, 6,"reserved");
// and do not accest any other reply!
}
}


Right, right. I forgot about that thing! Yea, he's better at it than I. So, rephrase... it can be stored as an undefined character matrix, I just don't know how. ( It has to do with using pointers to define the matrix retroactively... I think? )

EDIT: I'm still bad at coding and have this very interesting habit of melding 3+ programming languages in a single program. Typically it's C, C++, and TI's BASIC. Occasionally, I set up a system to use "Python-like" code in C++. The reason? Because I honestly don't know any of them exceptionally well, and I know how to do somethings in one and some in another. It makes a very difficult to follow/reverse-engineer program that nonetheless does what I want to. Just maybe not the most efficiently or with the least effort.

EDIT EDIT: I wish I had thought to use a switch. >.< I'm still new to that and forget that I can use it.
« Last Edit: April 10, 2014, 10:21:58 am by CaptainMcClellan »
Logged

Lolfail0009

  • Bay Watcher
  • [PROGRAMMER:C#] [PROGRAMMER:C++] [PRONOUNS:SHE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2968 on: April 10, 2014, 10:24:24 am »

All you guys and your fancy coding languages...
I can make a console for my computer using nothing but Basic. Hooray for Visual Basic!

I do remember trying to nest an array inside another class subtype... That didn't work, which flummoxed my Software Development teacher. By rights, it should have.

EDIT: Here's the class structure code:
Code: [Select]
    Structure _Timetable
        Dim Day As String
        Dim EightAM As _Class
        Dim TenAM As _Class
        Dim TwelveNoon As _Class
        Dim FourPM As _Class
        Dim SixPM As _Class
        Dim EightPM As _Class
    End Structure

    Structure _Class
        Dim Name As String
        Dim ID As String
        Dim MaxStudents As Integer
        Dim StudentNumber As Integer
    End Structure

And the perpetrating arrays:
Code: [Select]
    Public aryClassArray(0 To 8) As _Class
    Public aryTimetableArray(0 To 6) As _Timetable

It couldn't read any of the _Class subtypes.
That was incredibly fun, for a school assignment.
« Last Edit: April 10, 2014, 10:29:42 am by Lolfail0009 »
Logged

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: Murdermachines - Return of the VoidGod (Deathgate II)
« Reply #2969 on: April 10, 2014, 10:26:22 am »

All you guys and your fancy coding languages...
I can make a console for my computer using nothing but Basic. Hooray for Visual Basic!

I do remember trying to nest an array inside another class subtype... That didn't work, which flummoxed my Software Development teacher. By rights, it should have.

Ppft. Visual Basic and it's Microsoftness. Screw that! I would rather use a batch script than Visual Basic. ( Trust me, it's a nightmare to figure out how to make a robust command-line program with batch alone. )
Pages: 1 ... 196 197 [198] 199 200 ... 272