Author Topic: Look at my code  (Read 38548 times)

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Look at my code
« on: November 19, 2014, 05:20:40 AM »
http://pastebin.com/57iHEBaM


What do you guys think of it?

Offline Swagmaster

  • Roleplayin' Clan
  • ***
  • Attack: 111
    Defense: 111
    Attack Member
  • High Five Received: 10
  • Gender: Male
  • Cuz Why Not?
Re: Look at my code
« Reply #1 on: November 19, 2014, 06:56:14 AM »
I would love to help but I only know basic C++ :(

Offline NekoJonez

  • Administrator
  • *******
  • Attack: 96
    Defense: 95
    Attack Member
  • High Five Received: 21
  • Gender: Male
  • Look, I'm on a Gameboy.
      • My gaming life.
Re: Look at my code
« Reply #2 on: November 19, 2014, 07:22:18 AM »
I would love to help but I only know basic C++ :(

If you looked to the first line.... its Java mate ;). I will check it out man

Offline NekoJonez

  • Administrator
  • *******
  • Attack: 96
    Defense: 95
    Attack Member
  • High Five Received: 21
  • Gender: Male
  • Look, I'm on a Gameboy.
      • My gaming life.
Re: Look at my code
« Reply #3 on: November 19, 2014, 07:29:09 AM »
Bro. May I also give some design advice outsite of the code? To make it more user friendly ~ ?

Since I have some advice then.

Offline Swagmaster

  • Roleplayin' Clan
  • ***
  • Attack: 111
    Defense: 111
    Attack Member
  • High Five Received: 10
  • Gender: Male
  • Cuz Why Not?
Re: Look at my code
« Reply #4 on: November 19, 2014, 07:33:24 AM »
I would love to help but I only know basic C++ :(

If you looked to the first line.... its Java mate ;). I will check it out man
yeak I know lol what I meant by that was I only know c++, not Java haha

Offline Joel16

  • Intellectual Elite
  • ***
  • Attack: 97
    Defense: 98
    Attack Member
  • High Five Received: 8
  • Gender: Male
  • Be lost in an eternal illusion.
      • Joel16's Projects
Re: Look at my code
« Reply #5 on: November 20, 2014, 03:32:47 PM »
Java developers can't C ;D

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Re: Look at my code
« Reply #6 on: November 30, 2014, 07:30:56 PM »
Wow forgot I posted this here; I've fixed a lot and added a lot since that post; http://pastebin.com/VYBmLUuB

Woot, fixed the exit system, but still bugs left.

// run doesn't work after doing something first such as attacking sometimes (so I could make it so that running doesn't work mid combat), sometimes you kill the enemy twice (only when you try to run)
// level system causes battle to loop through multiple times sometimes
//potion causes you to find a chest sometimes

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Re: Look at my code
« Reply #7 on: December 02, 2014, 08:26:24 PM »
http://pastebin.com/W05Kd9jP

I FIXED THE GAME COMPLETELY. WHEN IT WAS RECALLING THE BATTLE(); OR CHEST(); IT CAUSE IT TO RUN THROUGH MULTIPLE TIMES. Check my comments to see how I fixed it. Oh, and I also added a shop . I'm pretty much done, and the only bugs I can find involve the chest loot which sometimes doesn't work (like the "you found nothing" dialog doesn't show), and sometimes the enemy dies 1 health early (which as Cuate says has probably to do with the way Math.Random works)

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Re: Look at my code
« Reply #8 on: December 03, 2014, 12:31:47 AM »

Offline Kiss x Miz

  • Administrator
  • *******
  • Attack: 95
    Defense: 94
    Attack Member
  • High Five Received: 23
  • Gender: Male
  • eh
      • Arpegi
Re: Look at my code
« Reply #9 on: December 03, 2014, 08:45:31 AM »
~ Never a finished product ~

Keep at it

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Re: Look at my code
« Reply #10 on: December 03, 2014, 06:32:53 PM »
http://www.sendspace.com/filegroup/Czx%2BsbnR5khWtq4qmrKxdg try my game with the batch. Well it's due tomorrow, so it's a 'finished' product. I may work on it for fun, who knows.

Offline TyranBrûlée

  • Supersonic Hyper Omega Gigadeath
  • ***
  • Attack: 0
    Defense: 3
    Attack Member
  • High Five Received: 22
  • Gender: Female
  • お尻とおっぱいお尻とおっぱい
Re: Look at my code
« Reply #11 on: December 03, 2014, 09:18:08 PM »
doesn't launch. Now you have access to miz's porn.
Use it well.

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Re: Look at my code
« Reply #12 on: December 04, 2014, 12:54:09 AM »
trgjnusiregjhniersa wtf why not work

 https://www.sendspace.com/file/ilejts jar
https://www.sendspace.com/file/k29bdy launcher

Offline Kiss x Miz

  • Administrator
  • *******
  • Attack: 95
    Defense: 94
    Attack Member
  • High Five Received: 23
  • Gender: Male
  • eh
      • Arpegi
Re: Look at my code
« Reply #13 on: December 04, 2014, 09:04:37 AM »
trgjnusiregjhniersa wtf why not work

 https://www.sendspace.com/file/ilejts jar
https://www.sendspace.com/file/k29bdy launcher
What viruses are you sending me this time? :P

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Re: Look at my code
« Reply #14 on: December 04, 2014, 06:00:00 PM »
dont worry its only a keylogger
http://pastebin.com/ezPuQBgX source code if you need

Offline NekoJonez

  • Administrator
  • *******
  • Attack: 96
    Defense: 95
    Attack Member
  • High Five Received: 21
  • Gender: Male
  • Look, I'm on a Gameboy.
      • My gaming life.
Re: Look at my code
« Reply #15 on: December 12, 2014, 04:56:34 PM »
Only a keylogger. Lame. At least randsomeware

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Re: Look at my code
« Reply #16 on: December 19, 2014, 06:59:56 PM »
ok fine its adware spyware too

On a serious note, have you tried it?

Offline CarolineJohnson

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 9
  • Gender: Female
  • Herpenderps
      • Creepy + Pasta
Re: Look at my code
« Reply #17 on: March 10, 2015, 07:56:38 PM »
I'd try to help but all I know is a little bit of RenPy's Python.

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Re: Look at my code
« Reply #18 on: March 10, 2015, 08:25:37 PM »
Oh, I've been done this for a while, and fixed most of the bugs :p

http://pastebin.com/ezPuQBgX


Also made a website




http://79.170.44.115/iarenoob.com/initializr%20-%20Copy/index.php
« Last Edit: March 10, 2015, 08:27:53 PM by Noob » »

Offline CarolineJohnson

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 9
  • Gender: Female
  • Herpenderps
      • Creepy + Pasta
Re: Look at my code
« Reply #19 on: March 10, 2015, 08:54:50 PM »
Yeah, that's what I suspected. Just wasn't sure.

Offline Kiss x Miz

  • Administrator
  • *******
  • Attack: 95
    Defense: 94
    Attack Member
  • High Five Received: 23
  • Gender: Male
  • eh
      • Arpegi
Re: Look at my code
« Reply #20 on: March 10, 2015, 11:19:46 PM »
Also made a website

http://79.170.44.115/iarenoob.com/initializr%20-%20Copy/index.php
Just checked this out. I just wanna stay logged in all day.

Offline Noob

  • Arpegiator
  • ***
  • Attack: 100
    Defense: 100
    Attack Member
  • High Five Received: 1
  • Gender: Male
Re: Look at my code
« Reply #21 on: March 11, 2015, 07:31:59 AM »
It just uses sessions, not actual databases.

I should make it into a phishing site >:D

Offline Kiss x Miz

  • Administrator
  • *******
  • Attack: 95
    Defense: 94
    Attack Member
  • High Five Received: 23
  • Gender: Male
  • eh
      • Arpegi
Re: Look at my code
« Reply #22 on: March 11, 2015, 08:54:23 AM »
It just uses sessions, not actual databases.

I should make it into a phishing site >:D
Make it a charity donation hub.
Claim a hefty fee for yourself.

Offline NekoJonez

  • Administrator
  • *******
  • Attack: 96
    Defense: 95
    Attack Member
  • High Five Received: 21
  • Gender: Male
  • Look, I'm on a Gameboy.
      • My gaming life.
Re: Look at my code
« Reply #23 on: March 11, 2015, 03:19:39 PM »
Yeah, free moneys.