Results 1 to 15 of 15

Thread: about Thievery Losses

  1. #1
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771

    about Thievery Losses

    can someone plz verify that Thievery Losses are 99% max

    http://img141.imageshack.us/img141/1106/buildingfl4.png

    (i am sure it is right but i never checked)

  2. #2
    Forum Addict Toadi's Avatar
    Join Date
    Jul 2008
    Location
    Paris, France
    Posts
    876
    Yes.

    Your two "if" sections are massively redundant you might want to code this properly :P

  3. #3
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    its not massively redundant i just added all the checks for the 99% so i can put all the buildings modifiers in variables so that if and when OMAC will change them it will be much easier to change them

    plus its easier to read it like that because its going to be open code and i am trying to make it as clearly as i can

    i am going to put all buildings modifiers in variables soon and this is why its looks like that

    if you think its funny or redundant as you put it its not my problem
    this is just the way to write a code properly thats all

    and thx for replying that it was 99% :)

  4. #4
    Forum Addict Toadi's Avatar
    Join Date
    Jul 2008
    Location
    Paris, France
    Posts
    876
    If this is how you think code should be written properly, then I truly hope you are not going to work as a developer. Functions do exist for a reason. Why don't you use a single function that would be called for performing all the values checks? If tomorrow OMAC changes building maximum to 98% reached for 20% of land, you have 20 lines to fix. This is not a code that can be easily maintained.

  5. #5
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    Quote Originally Posted by Toadi View Post
    If this is how you think code should be written properly, then I truly hope you are not going to work as a developer. Functions do exist for a reason. Why don't you use a single function that would be called for performing all the values checks? If tomorrow OMAC changes building maximum to 98% reached for 20% of land, you have 20 lines to fix. This is not a code that can be easily maintained.
    and who says i am not gonna?
    first i am writing it all down
    then i am will see what i can put in functions
    this is easier to see this way
    plus if you would have checked i already started to put functions on some part of the code but you didnt checked so you are just trying to argue with me again or somthing like that... which is not cool!

  6. #6
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    Quote Originally Posted by Toadi View Post
    If tomorrow OMAC changes building maximum to 98% reached for 20% of land, you have 20 lines to fix. This is not a code that can be easily maintained.
    i just wanted to add that if you were smart you would know you cant write all the functions line less then the number of buildings!!!

    and as for the 99% i am simply going to put it into a variable as well
    so you dont need to put it into functions!

    owned!!! :)

  7. #7
    Postaholic
    Join Date
    Sep 2008
    Posts
    934
    wow...

  8. #8
    Post Fiend
    Join Date
    Jul 2008
    Posts
    171
    whatever

  9. #9
    Needs to get out more VT2's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    10,880
    Bijo sucks as always, and no one's surprised or impressed, but some may be awed.
    Catwalk's crusade for legalized cheating was a stunning success, with ghettos and low-tiered teams everywhere losing their wells of knowledge to better kingdoms in the process.

    Step one: replace everything that works.
    Step two: blame the predictable epic fail on outside forces.
    Step three: keep the community informed that no progress has been made since the last update.
    Step four: thank you for your patience.

  10. #10
    Post Fiend
    Join Date
    Aug 2008
    Posts
    148
    VT2 sucks as always, and no one's surprised or impressed, but some may be awed.
    Kaer Loche Alliance

  11. #11
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    Quote Originally Posted by Raywre View Post
    VT2 sucks as always, and no one's surprised or impressed, but some may be awed.
    Raywre just do what i do and ignore VT2 its the best way to go trust me on that ;)

  12. #12
    Member Sashdev's Avatar
    Join Date
    Sep 2008
    Location
    Malaysia
    Posts
    34
    Lets not get into unnecessary fights, shall we?!

  13. #13
    Post Fiend
    Join Date
    Jul 2008
    Posts
    171
    why not? i would stop reading forums when i'm bored if there wasn't the fights.

  14. #14
    Member
    Join Date
    Dec 2008
    Posts
    18
    Sometimes Bijo's spam is annoying, other times it is highly amusing. The self ownage he sometimes puts himself through is unbeatable.

  15. #15
    Post Fiend Astares's Avatar
    Join Date
    Aug 2008
    Posts
    135
    half of my desire to read these forums is the possibility of watching unnecessary fights. I read the comments while relating the participants to various tv characters. It's quite amusing.

    Catwalk = Batman
    VT2 = Robin
    vines = the little chickenhawk from the looney tunes

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •