Login to ZARP
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: TheXnator If I was coding the forums in Java...

TheXnator If I was coding the forums in Java... 7 years 6 months ago #647945

Raeker wrote:
EMP wrote:
You guys both fucked up your Java by declaring your variables inside an if statement come on now. Thats like basic programing 101 that what you declare inside an if statement is local to that scope.
Is it bad that this sentence makes literally no sense to me? Lol
Basically what the code is meant to say is that if xnator is present then shitty memes are also present and his karma is 0 but if the karma gets lower then 0, he gets banned
  • el une spodermun
  • el une spodermun's Avatar
  • Offline
  • Mythical Boarder
  • ZARP VIP
  • ex retard
  • Posts: 5119
  • Thanks received: 1318
  • Karma: 19
Last Edit: 7 years 6 months ago by el une spodermun.
Login or register to post a reply.

TheXnator If I was coding the forums in Java... 7 years 6 months ago #647988

TheXnator wrote:
EMP wrote:
You guys both fucked up your Java by declaring your variables inside an if statement come on now. Thats like basic programing 101 that what you declare inside an if statement is local to that scope.

Didn't realise that Pegasus did that. I didn't actually read it, I just moved the brace.
int zarpforumreputation;
boolean banhammerXnator;

static void main(String[] Args)
{
    if(TheXnatorPresence == true && ShittyMemes == true)
     {
         zarpforumreputation = 0;
     }

     if(zarpforumreputation <= 0)
     {
         banhammerXnator = true;
     }
}

Been a while since I did anything in Java, since I started learning Lua.

You simply need programming experience to see that, not any specific language. Excuses are real tho :lol:

also your int "zarpforumreputation" is really bad. It doesn't state which members reputation it is. You should have added an ID or something similar to that.
  • catboy sven ツ
  • catboy sven ツ's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP
  • Respected Zarp Contributor
  • Posts: 7197
  • Thanks received: 1544
  • Karma: -45
ex-minecraft owner, zarp legend (Was there during the infancy of Zarp), ex-ssrp admin, ex-teamspeak emblem (For SSRP admin & minecraft owner)








Last Edit: 7 years 6 months ago by catboy sven ツ.
Login or register to post a reply.

TheXnator If I was coding the forums in Java... 7 years 6 months ago #648971

Lmaoo so tru , but java is ass
  • Hamzah
  • Hamzah's Avatar
  • Offline
  • Diamond Boarder
  • ZARP VIP
  • ayy
  • Posts: 2944
  • Thanks received: 390
  • Karma: -15
Login or register to post a reply.

TheXnator If I was coding the forums in Java... 7 years 6 months ago #648980

Sad sad people...
  • Hungry Santa
  • Hungry Santa's Avatar
  • Offline
  • Legendary Member
  • ZARP VIP Golden Blue Badge
  • Gib me dat shit for free
  • Posts: 10728
  • Thanks received: 4130
  • Karma: -318
Login or register to post a reply.

TheXnator If I was coding the forums in Java... 7 years 6 months ago #650191

Aspect wrote:
TheXnator wrote:
EMP wrote:
You guys both fucked up your Java by declaring your variables inside an if statement come on now. Thats like basic programing 101 that what you declare inside an if statement is local to that scope.

Didn't realise that Pegasus did that. I didn't actually read it, I just moved the brace.
int zarpforumreputation;
boolean banhammerXnator;

static void main(String[] Args)
{
    if(TheXnatorPresence == true && ShittyMemes == true)
     {
         zarpforumreputation = 0;
     }

     if(zarpforumreputation <= 0)
     {
         banhammerXnator = true;
     }
}

Been a while since I did anything in Java, since I started learning Lua.

You simply need programming experience to see that, not any specific language. Excuses are real tho :lol:

also your int "zarpforumreputation" is really bad. It doesn't state which members reputation it is. You should have added an ID or something similar to that.
The Zarp Forum reputation [OVERALL REPUTATION] gets bad through Xnator being present and by his shitty memes and if that happens... well he gets banned so the Zarp Reputation can get better again.
  • Pegasus
  • Pegasus's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • CEO of Pegasus Corporation
  • Posts: 1333
  • Thanks received: 317
  • Karma: 38
Login or register to post a reply.

TheXnator If I was coding the forums in Java... 7 years 6 months ago #650260

>sir the joke was understood but...
THE CODE WAS IMPERFECT

:zarp: :zarp: :zarp: :zarp: :zarp: :zarp: :zarp: :zarp: :zarp:
  • Studio Banter
  • Studio Banter's Avatar
  • Offline
  • Marvelous Boarder
  • ZARP VIP
  • ❤️
  • Posts: 14010
  • Thanks received: 5849
  • Karma: -61
Last Edit: 7 years 6 months ago by Studio Banter.
Login or register to post a reply.
  • Page:
  • 1
  • 2
Time to create page: 0.100 seconds

187 PLAYERS ONLINE

Connect to server View Gametracker DarkRP 1
8/127
online
Connect to server View Gametracker Deathrun
0/40
online
Connect to server View Gametracker TTT
0/47
online
Connect to server View Gametracker Bhop
0/32
online
Connect to server View Gametracker Surf
5/32
online
Connect to server View Gametracker Prop Hunt
0/42
online
Connect to server View Gametracker Sandbox
0/42
online
Connect to server Discord
174/962
online
Top