Author Topic: Things that piss you off!  (Read 319369 times)

Offline Shohei-kun

  • Member
  • Posts: 465
  • That awkward gameplay programmer in the corner.
Re: Things that piss you off!
« Reply #9640 on: August 02, 2013, 09:37:29 PM »


Ugh. Everything that is wrong with this...

Online Tiffanys

  • Member
  • Posts: 7741
  • real female girl ojō-sama
Re: Things that piss you off!
« Reply #9641 on: August 02, 2013, 09:51:37 PM »
It's worse if you're already a girl.

Looks like C++ or C# to me. Not sure. I had to use something very similar to that for L2Bot for Lineage II.

Offline buchno

  • Member
  • Posts: 3473
  • Fången i universitetslivet
Re: Things that piss you off!
« Reply #9642 on: August 02, 2013, 10:58:34 PM »
So if I become the expression "understand.this", I get a girlfriend?

Cool.

Online Tiffanys

  • Member
  • Posts: 7741
  • real female girl ojō-sama
Re: Things that piss you off!
« Reply #9643 on: August 02, 2013, 11:05:23 PM »
lol here's what those scripts looked like from back in the day...

Code: [Select]
SET_EVENT "<&SCRIPTEVENT_CHAT&>" reply_bot2000.l2s ReplyBot
SLEEP 700000000 
PRINT_TEXT "end script" 
END_SCRIPT 

//Do nothing until called 
FUNCTION ReplyBot

//Switch 
IF MESSAGETYPE != CHANNEL_PRIVATE 
  RETURN
ELSE
  DEFINE INT reply_num 0

  SWITCH MESSAGE.TO_LOWER_INVARIANT 
    CASE "$hello"
      GET_RAND reply_num 1 3
    BREAK 1
    CASE "$hi"
      GET_RAND reply_num 1 3
    BREAK 1
    CASE "$hey"
      GET_RAND reply_num 1 3
    BREAK 1
    CASE "$why?"
      GET_RAND reply_num 4 6
    BREAK 1
    CASE "$huh?"
      GET_RAND reply_num 4 6
    BREAK 1
    CASE "$?"
      GET_RAND reply_num 4 6
    BREAK 1
    CASE "$sup?"
      GET_RAND reply_num 4 6
    BREAK 1
  ENDSWITCH

  SWITCH reply_num
    CASE I1
      SAY_TEXT "<&CHANNEL_PRIVATE&>" "not now" "<&SenderName&>"
    BREAK 1
    CASE I2
      SAY_TEXT "<&CHANNEL_PRIVATE&>" "i'm busy" "<&SenderName&>"
    BREAK 1
    CASE I3
      SAY_TEXT "<&CHANNEL_PRIVATE&>" "wait a sec" "<&SenderName&>"
    BREAK 1
    CASE I4
      SAY_TEXT "<&CHANNEL_PRIVATE&>" "pvping" "<&SenderName&>"
    BREAK 1
    CASE I5
      SAY_TEXT "<&CHANNEL_PRIVATE&>" "sand in your panties?" "<&SenderName&>"
    BREAK 1
    CASE I6
      SAY_TEXT "<&CHANNEL_PRIVATE&>" "MICHAEL BOLTON BITCH!" "<&SenderName&>"
    BREAK 1
  ENDSWITCH
ENDIF
RETURN VOID

Offline megido-rev.M

  • Member
  • Posts: 16121
Re: Things that piss you off!
« Reply #9644 on: August 02, 2013, 11:08:20 PM »
When people randomly show up in bad timings.

Offline Shohei-kun

  • Member
  • Posts: 465
  • That awkward gameplay programmer in the corner.
Re: Things that piss you off!
« Reply #9645 on: August 02, 2013, 11:30:11 PM »
It's worse if you're already a girl.

Looks like C++ or C# to me. Not sure. I had to use something very similar to that for L2Bot for Lineage II.

The syntax is applicable to all C-style programming and potentially Java.

I will now explain everything that is wrong about this code.

1)  "this" is a reference to the current script or object and is a reserved word. understand.this, assuming understand is a script or object, will be a private, usually hidden, reference. The compiler will not know what understand.this is unless "understand" is a reference to this script, in which case you just use "this".

2) get.a.girlfriend is a variable call, not a method call. That statement is not executing anything. It is like saying, "Hey, this is a variable. Nothing to do here."

3) Naming a variable as 1 letter is extremely bad practice. It is not a descriptive name.

4) get is a keyword reserved by the C-based language. It is extremely bad practice to call a function "get".

5) In the case of objects or scripts, as "you" is implied to be, it is better to use you.Equals(objectOfComparison) instead of using the comparison operator.

6) Implies all geeks/programmers are male.

If the marketing geniuses had any idea what they were doing, the code would look something like this:

if (you.understand(this))
    get(a_girlfriend);

Like I said, get is a commonly used reserved word in the C language.

Offline Tatsujin

  • Box Fansubs
  • Member
  • Posts: 15633
    • Otakixus
Re: Things that piss you off!
« Reply #9646 on: August 03, 2013, 12:32:47 AM »
So if I become the expression "understand.this", I get a girlfriend?

Cool.
Can I hand pick? I don't want an irresponsible, fat, lazy female.


¸¸,.-~*'¨¨¨™¤¦ Otakixus ¦¤™¨¨¨'*~-.,¸¸

Offline megido-rev.M

  • Member
  • Posts: 16121
Re: Things that piss you off!
« Reply #9647 on: August 03, 2013, 12:35:15 AM »
Those lines could have been written way better with more appropriate constructs. :P

Offline SchoolDaysEX

  • Member
  • Posts: 244
  • you know it?
    • MAL
Re: Things that piss you off!
« Reply #9648 on: August 03, 2013, 01:15:55 AM »
People who break the system and get away with it, especially the smart ones like those who use Adderall only before tests/finals.
By reading this you automatically accept the contract.

Offline megido-rev.M

  • Member
  • Posts: 16121
Re: Things that piss you off!
« Reply #9649 on: August 03, 2013, 01:50:12 AM »
Assuming it's a drug, never heard of it.

Online metro.

  • Member
  • Posts: 9738
  • fuckyougoskiing.
Re: Things that piss you off!
« Reply #9650 on: August 03, 2013, 02:08:42 AM »
Assuming it's a drug, never heard of it.

You were in Engineering and didn't know what Adderol is? Jesus, what a joke.



People who break the system and get away with it, especially the smart ones like those who use Adderall only before tests/finals.

That's not cheating, really. It's just willing to take a chance to win? Sort of.

I'm gunna leave you anyway.

Offline ThePlaneJet

  • Member
  • Posts: 1445
  • Get out of my face.
Re: Things that piss you off!
« Reply #9651 on: August 03, 2013, 02:09:05 AM »
Assuming it's a drug, never heard of it.

It's for ADHD I believe and it helps focus but it's easy to become dependent on it.

Offline megido-rev.M

  • Member
  • Posts: 16121
Re: Things that piss you off!
« Reply #9652 on: August 03, 2013, 02:14:21 AM »
Assuming it's a drug, never heard of it.

You were in Engineering and didn't know what Adderol is? Jesus, what a joke.

I never drink coffee either, 'cause I'm that awesome. 8)

Offline ThePlaneJet

  • Member
  • Posts: 1445
  • Get out of my face.
Re: Things that piss you off!
« Reply #9653 on: August 03, 2013, 02:16:03 AM »
Fell and smashed my head into the wall. My wall is not okay.

Offline megido-rev.M

  • Member
  • Posts: 16121
Re: Things that piss you off!
« Reply #9654 on: August 03, 2013, 02:21:09 AM »
Check for lumps too.

Offline ThePlaneJet

  • Member
  • Posts: 1445
  • Get out of my face.
Re: Things that piss you off!
« Reply #9655 on: August 03, 2013, 02:25:21 AM »
No, but there is a hole. This is a bad month for my wall.

Offline megido-rev.M

  • Member
  • Posts: 16121
Re: Things that piss you off!
« Reply #9656 on: August 03, 2013, 02:30:19 AM »
What's it made of anyway? Paper?

Offline kitamesume

  • Member
  • Posts: 7223
  • Death is pleasure, Living is torment.
Re: Things that piss you off!
« Reply #9657 on: August 03, 2013, 02:50:26 AM »
What's it made of anyway? Paper?
paper would be too much, i say cardboard or 1mm plywood.

would be amusing if it was 12inches of solid concrete, destroyed by an epic headbutt.

Haruhi Dance | EMO | OLD SETs | ^ I know how u feel | Click sig to Enlarge

Online Burkingam

  • Member
  • Posts: 8676
  • Love, Science & Dubstep
Re: Things that piss you off!
« Reply #9658 on: August 03, 2013, 03:09:13 AM »
When it says "Natural Flavor" in a product's ingredients. All it tells me is that that it's "natural"(whatever that means) and it tastes something. How the fuck is that supposed to tell me what I'm about to ingest? Even fucking cow poo tastes something and is all "natural". What's the point of even listing your ingredients if you are gonna do that?
Don't just assume that you are right. Verify with the best tools available and if you are wrong, change your mind and you will become right.

Offline megido-rev.M

  • Member
  • Posts: 16121
Re: Things that piss you off!
« Reply #9659 on: August 03, 2013, 04:45:02 AM »
Wasted some time. Good thing it's Friday Saturday.