Jump to content
MakeWebGames

[mccode v2] Farming


MDK666

Recommended Posts

Re: [mccode v2] Farming

 

someone would need to recode the whole script to make it work.

lol, quite true, and at a glance... it could be saved a huge amount of code lines...

as an example... from 30 lines to 1

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

As this occurs twice... well 58 lines of code saved...

Link to comment
Share on other sites

Re: [mccode v2] Farming

 

someone would need to recode the whole script to make it work.

lol, quite true, and at a glance... it could be saved a huge amount of code lines...

as an example... from 30 lines to 1

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

As this occurs twice... well 58 lines of code saved...

ever heard of spacing?

or did you just thing it was clever to make it 1 line instead of 6

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

people are here to learn not read sloppy coding...

?> ... don't even get me started...

Link to comment
Share on other sites

Re: [mccode v2] Farming

 

someone would need to recode the whole script to make it work.

lol, quite true, and at a glance... it could be saved a huge amount of code lines...

as an example... from 30 lines to 1

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

As this occurs twice... well 58 lines of code saved...

ever heard of spacing?

or did you just thing it was clever to make it 1 line instead of 6

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

people are here to learn not read sloppy coding...

?> ... don't even get me started...

If people are here to learn, how did a master coder like you didn't even notice that my code is on an endless loop?, as far as it goes, try to be picky for the right reasons, and try to benchmark both ways :)

your way, ending loop

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

my way (sloppy), ending loop

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Re: [mccode v2] Farming

well i would have done it like

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

but i basically just spaced out your code wasn't really paying attention

master coder... if you think im a master coder then im sure you need a mental assessment...

Link to comment
Share on other sites

Re: [mccode v2] Farming

 

well i would have done it like

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

but i basically just spaced out your code wasn't really paying attention

master coder... if you think im a master coder then im sure you need a mental assessment...

See... there again you show how you fall pretty quickly from your high horse!

++$var is way faster than $var++

html processing is faster than <?php ?>

and...

echo '<option value="'.$option.'">'.$option.'</option>';

$option++;

stops the loop at 29

as of

$option++;

echo '<option value="'.$option.'">'.$option.'</option>';

stops the loop at 30 as required...

But then again... i am the noob, sorry for point just these 3 points to you master coder :)

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

This is now working.

Notes....hire assistants and sell animals was not in the code submitted by the original OP. Im not going to do it so your on your own or if someone else wants to make them functions.

Tested all functions present do what they should. Errors work where they should.

If ive missed anything your own your own from here :P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...