Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: i am stuck in Development and i need your help

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

    i am stuck in Development and i need your help

    i am stuck in Development ..... i have a problem with cb+som and i dont know what to do about it.....

    angel have a couple of bugs in cb+som so i cant use what angel is using...

    ok you wanto know what i mean?

    lets say you did cb and it says enemy have 6000 elites
    and then you did som and it says enemy have 2400 elites home and elites 2400 out (only 1 army)

    now lets says the real numbers are 3000 elites home and 3000 elites out
    (the som can be a real som because 3000*0.8=2400 and 0.8 is in the range -/+25%)

    now angel will show:
    ===============

    Home: 3,692, Away: 2,308
    Home: 3,333, Away: 2,667
    Home: 3,000, Away: 3,000
    Home: 2,667, Away: 3,333
    Home: 2,308, Away: 3,692

    but the max at home is 2400*1.25 = 3000 so you are over sending so thats no good right? :(

    now for another way is to simply use:
    elitesathome*1.25 and compare it to the one in the cb

    i am thinking of combing the two methods
    so like angel only to limit it to the right range so it will show:

    Home: 3,000, Away: 3,000
    Home: 2,667, Away: 3,333
    Home: 2,308, Away: 3,692

    which is the right way to do it....

    but i also would like to have a way that will always show only one result
    and not 5 lines or 3 lines like the above

    if anyone have any idea i would realy like to hear it

  2. #2
    Post Fiend geln0r's Avatar
    Join Date
    Feb 2009
    Posts
    202
    i *think* there is a flaw in your thinking when you say:

    but the max at home is 2400*1.25 = 3000 so you are over sending so thats no good right? :(

    the +/- 25% refers to whats shown in the som, so the som could show any value between

    3000*0.75=2250
    and
    3000*1.25=3750

    so if you wanted the max possible number of elites at home wouldnt you have to calc:

    (number in som)/0.75*1.25=(number in som)*1.666667

    in this case, that would be a max of 2400*1.66667=4000

  3. #3
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    Quote Originally Posted by geln0r View Post
    i *think* there is a flaw in your thinking when you say:

    but the max at home is 2400*1.25 = 3000 so you are over sending so thats no good right? :(

    the +/- 25% refers to whats shown in the som, so the som could show any value between

    3000*0.75=2250
    and
    3000*1.25=3750

    so if you wanted the max possible number of elites at home wouldnt you have to calc:

    (number in som)/0.75*1.25=(number in som)*1.666667

    in this case, that would be a max of 2400*1.66667=4000
    hmmmm you are right i just wrote it to fast without checking it first
    but the point of this thread is to find a way with only one result

    i have an idea about using the DME from the cb so that i will have only one result and not 5 or 3 like the above

    i will simply reask again then....

    anyone have a way or idea how to find the real def of the enemy using a cb+som and without oversending above som+som????

    (i hope its more clear now)

  4. #4
    Needs to get out more VT2's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    10,880
    If you were doing research, you'd know the answer to the questios you were asking.
    Long, long before your time, several others already figured it all out, and that's why we have these handy SoM-translators.
    Last edited by LadyGrizz; 28-07-2009 at 23:45. Reason: edited due to flaming
    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.

  5. #5
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    Quote Originally Posted by VT2 View Post
    If you were doing research, you'd know the answer to the questios you were asking.
    Long, long before your time, several others already figured it all out, and that's why we have these handy SoM-translators.

    Obviously, you're lazy - alternatively incompetent.
    What does this piece of waste have to do with Utopia and strategy, anyway? You have your own forum to spam on.
    wow you wrote something realy stupid now lol why?
    i know how cb+som is working i know how som+som is working i am simply asked for a better way for cb+som to work if its possible thats all

    no stop posting at my thread vt2 and go away
    i dont wanto read your post i want other ppl's ideas/thoughts

    now by the post you just made i can say one of two things:
    1. you didnt even check what i am building or...
    2. you are just wanto flame like a little kid without even read the thread you are posting your "great" flame

  6. #6
    Needs to get out more VT2's Avatar
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    10,880
    Again, I ignore your posts, just so I can reply to you.
    This is has nothing at all to do with 'strategy' or the game itself - thus, you've been marked by the mods, and if they don't take action, I'm going to claim they refuse to uphold their own rules - illegal to advertize, stay on topic, use strategy for strategy, general for general, etc - for the simple reason that I was the one who turned you in.

    Now go away.
    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.

  7. #7
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    Quote Originally Posted by VT2 View Post
    Again, I ignore your posts, just so I can reply to you.
    This is has nothing at all to do with 'strategy' or the game itself - thus, you've been marked by the mods, and if they don't take action, I'm going to claim they refuse to uphold their own rules - illegal to advertize, stay on topic, use strategy for strategy, general for general, etc - for the simple reason that I was the one who turned you in.

    Now go away.
    feel free to do what ever you want lol

    all i am doing is for this game and its was a hard work and i think they know it :)
    i didnt do nothing wrong and my goal is only to help ppl (unlike you to spam and flame ^^) i am posting here on 'strategy talk' because i dont have anywhere else to post this there and i am allowed to ask for help so stfu

    and as for advertizing its only 3 links and its for ppl 3 know that there is 3 new sites that they can use (plus i am not the only one) and its for non profitable purposes meaning i am not gaining any money what so ever it is all for free to help ppl

    NOW GO AWAY!

  8. #8
    Moderator for:
    Utopia Forums
    Palem's Avatar
    Join Date
    Jul 2008
    Posts
    22,030
    I do agree that your formatting threads are in the wrong forum as this has nothing to do with Strategy.

  9. #9
    Ezzerland
    Guest
    This likely belongs in utopia talk. As for a better way, try taking more than the basic factors into account. DME/OME might help, see if you can figure a way to add it up.

  10. #10
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    Quote Originally Posted by Ezzerland View Post
    This likely belongs in utopia talk. As for a better way, try taking more than the basic factors into account. DME/OME might help, see if you can figure a way to add it up.
    will do Ezzerland tnx

  11. #11
    Enthusiast
    Join Date
    Jan 2009
    Posts
    441
    have a possible defence range in the som, from minimum potential to maximum, if somebodys willing to send the max or above shown, they will obviously break, but it may be an oversend

  12. #12
    Ezzerland
    Guest
    Quote Originally Posted by Cortez The Killer View Post
    have a possible defence range in the som, from minimum potential to maximum, if somebodys willing to send the max or above shown, they will obviously break, but it may be an oversend
    That's a pretty good solution too, tbh.

  13. #13
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    ok look at this geln0r

    http://img70.imageshack.us/img70/6639/bug.jpg

    lets says the numbers are
    6000 elites from cb
    1000 elites home from som
    5000 elites out from som

    now angel will show you:
    ===================

    Home: 1,370, Away: 4,630
    Home: 1,000, Away: 5,000

    1370 is out of range it should not be in the list its make you oversend

    1000/1.25=800
    1000/0.75=1333

    or am i wrong about that as well?!


    ************


    i am using a dif code for that look:

    var List1=new Array();
    var List2=new Array();

    function CB_SOM(Home,Out,Real){

    count=0;

    for (i=-25; i<=25; i++) for (j=-25; j<=25; j++)

    if ( Math.round(Home/(1+i/100))+Math.round(Out/(1+j/100)) == Real ) {

    List1[List1.length] = Math.round(Home/(1+i/100));
    List2[List2.length] = Math.round(Out/(1+j/100));

    }

    }
    much simpler no?

  14. #14
    Post Fiend geln0r's Avatar
    Join Date
    Feb 2009
    Posts
    202
    Quote Originally Posted by Bijo View Post

    1370 is out of range it should not be in the list its make you oversend

    1000/1.25=800
    1000/0.75=1333

    or am i wrong about that as well?!
    I think you should calculate the range

    1000*0.75=750 instead of 1000/1.25=800 and

    1000*1.25=1250 instead of 1000/0.75=1333

    either way, 1370 is out of range so angel looks like its bugged (mind you, its very early in the morning, so my thinking may be off).
    Your calculation looks neat, although im more of a math whiz than a programming whiz ;)

    btw, i've been looking at DME/OME a bit, trying to figure something out, ill PM you my calculations later if you want.

  15. #15
    Post Demon Bijo's Avatar
    Join Date
    Jul 2008
    Posts
    1,771
    Quote Originally Posted by geln0r View Post
    I think you should calculate the range

    1000*0.75=750 instead of 1000/1.25=800 and

    1000*1.25=1250 instead of 1000/0.75=1333

    either way, 1370 is out of range so angel looks like its bugged (mind you, its very early in the morning, so my thinking may be off).
    Your calculation looks neat, although im more of a math whiz than a programming whiz ;)

    btw, i've been looking at DME/OME a bit, trying to figure something out, ill PM you my calculations later if you want.
    if 1000 was from the som and not the real number of units at home then you should use:

    1000/1.25=800
    1000/0.75=1333

    you wanto find out the real numbers that the som will give you the "fake" number
    and if you have an idea you are more then welcome to pm me :)

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
  •