Author Topic: Understand Wallethack  (Read 2448 times)

0 Members and 1 Guest are viewing this topic.

Offline swill

  • * Elevated Elder
  • Thread Starter
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Understand Wallethack
« on: Thu, 17 October 2013, 18:41:22 »
39773-0

Edit: apparently grammar errors are not tolerated in notes to self...

Edit2: Computer-Lab in Basement inspired simplification...
39775-1

Edit3: metalliqaz correctly pointed out that I am missing the class reference to self in the function signature.  :)
« Last Edit: Fri, 18 October 2013, 09:22:52 by swill »

Offline keymaster

  • Topre Revolution Theorist
  • Posts: 1148
Re: Understand Wallethack
« Reply #1 on: Thu, 17 October 2013, 18:45:54 »
you're broke*

Make sure you spell correctly before showing off your code.

Offline demik

  • Pronounced "demique"
  • Posts: 11159
Re: Understand Wallethack
« Reply #2 on: Thu, 17 October 2013, 18:49:13 »
does not understand English
No, he’s not around. How that sound to ya? Jot it down.

Offline Computer-Lab in Basement

  • The needs of the many outweigh the needs of the few.
  • * Elevated Elder
  • Posts: 3026
  • Location: NCC-1701, USS Enterprise
  • Live long and prosper
Re: Understand Wallethack
« Reply #3 on: Thu, 17 October 2013, 18:52:15 »
I can simplify that:

Code: [Select]
if (gh.membershipStatus = true) {
wallet.funds == 0;
}

Just assume a boolean is used to determine membership status...
« Last Edit: Thu, 17 October 2013, 18:53:47 by Computer-Lab in Basement »
tp thread is tp thread
Sometimes it's like he accidentally makes a thread instead of a google search.

IBM Model M SSK | IBM Model F XT | IBM Model F 122 | IBM Model M 122 | Ducky YOTD 2012 w/ blue switches | Poker II w/ Blue switches | Royal Kludge RK61 w/ Blue switches

Offline Michael

  • Formerly Bro Caps
  • * Maker
  • Posts: 4632
  • REEEeeeeEEEEEEEEeeeeeeeeeeeEEEEEEEEEEEEEEEeeeee
Re: Understand Wallethack
« Reply #4 on: Thu, 17 October 2013, 18:53:47 »
I can simplify that:

Code: [Select]
if (gh.membershipStatus = true) {
wallet.funds == 0;
}




this

Offline jalaj

  • Posts: 156
Re: Understand Wallethack
« Reply #5 on: Thu, 17 October 2013, 18:54:09 »
you're broke*

Make sure you spell correctly before showing off your code.

maybe he meant, "your broke @$$ pwned by wallethack"

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Understand Wallethack
« Reply #6 on: Thu, 17 October 2013, 18:55:51 »
Hahaha this gave me a good laugh :)
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline JPG

  • Posts: 1124
  • Location: Canada (Beloeil, near Montreal)
  • Model F is my new passion!
Re: Understand Wallethack
« Reply #7 on: Thu, 17 October 2013, 18:56:36 »
I can simplify that:

Code: [Select]
if (gh.membershipStatus = true) {
wallet.funds == 0;
}

Just assume a boolean is used to determine membership status...

If only it would stop at 0 lol, damn credit cards and the ability to go lower than 0!
IBM F122, IBM XT F X2, IBM AT F (all Soarer converted), Filco Camo TKL Browns

Offline swill

  • * Elevated Elder
  • Thread Starter
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: Understand Wallethack
« Reply #8 on: Thu, 17 October 2013, 18:58:09 »
I can simplify that:

Code: [Select]
if (gh.membershipStatus = true) {
wallet.funds == 0;
}

Just assume a boolean is used to determine membership status...

If only it would stop at 0 lol, damn credit cards and the ability to go lower than 0!

haha, so true...

Offline hashbaz

  • Grand Ancient One
  • * Moderator Emeritus
  • Posts: 5057
  • Location: SF Bae Area
Re: Understand Wallethack
« Reply #9 on: Thu, 17 October 2013, 18:59:53 »
Yeah funds is signed, unfortunately.

Offline Dubsgalore

  • Banned
  • Posts: 2849
  • Location: 75% You have received a warning for attempting to circumvent the classifieds rules
    • Dubs - Sneakers, Keyboards, and Life
Re: Understand Wallethack
« Reply #10 on: Thu, 17 October 2013, 22:34:56 »
I can simplify that:

Code: [Select]
if (gh.membershipStatus = true) {
wallet.funds == 0;
}

Just assume a boolean is used to determine membership status...

 :)) :)) :))

Offline swill

  • * Elevated Elder
  • Thread Starter
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: Understand Wallethack
« Reply #11 on: Thu, 17 October 2013, 23:21:35 »
I can simplify that:

Code: [Select]
if (gh.membershipStatus = true) {
wallet.funds == 0;
}

Just assume a boolean is used to determine membership status...

keep it to python damn it.   :))
Code: [Select]
if self.gh_member:
    self.wallet = 0

Offline iri

  • Posts: 1031
  • Location: England
Re: Understand Wallethack
« Reply #12 on: Fri, 18 October 2013, 01:48:39 »
I can simplify that:

Code: [Select]
if (gh.membershipStatus = true) {
wallet.funds == 0;
}

Just assume a boolean is used to determine membership status...
swap == and =.
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury

Offline hashbaz

  • Grand Ancient One
  • * Moderator Emeritus
  • Posts: 5057
  • Location: SF Bae Area
Re: Understand Wallethack
« Reply #13 on: Fri, 18 October 2013, 01:52:27 »
And just remove the "== true" while you're at it. :P

Offline iri

  • Posts: 1031
  • Location: England
Re: Understand Wallethack
« Reply #14 on: Fri, 18 October 2013, 02:02:54 »
what are we even talking about? remove the first and the third lines.
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury