25$ to the person that can do this code for me.

guillefaceguilleface Member Posts: 1,014
edited December 2011 in Working with GS (Mac)
if you like soccer, baseball or any sport then you should have a pretty good idea of what i need, as you can see in the picture when i star the game every win,lost,runs, etc starts at 0 but after finish the round i end up like in the top pictures, what i need is a code that will arrange each team positions according to their wins and if there is a tie then a difference of runs/goals, the bottom pictures is how it should end up after finish the games. i prefer to move teams after each game, but if not is ok after all games are completed.
http://dl.dropbox.com/u/46439975/Photo Dec 21, 2 14 56 PM.jpg
image

Comments

  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    edited December 2011
  • guillefaceguilleface Member Posts: 1,014
    sorry but i don't understand your question, thanks for fixing the link but i am not paying for that lol.
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    So you need it organising with the highest wins first?

    Ace
  • guillefaceguilleface Member Posts: 1,014
    yes then if there is a tie like in the bottom with canada and mexico, they both have same wins and lost but the difference of runs is better for canada thats why it should be on top of mexico.
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Gimme a few minutes to knock it up for you... For free.

    Ace
  • guillefaceguilleface Member Posts: 1,014
    thanks. are you sure , because i prefer to pay ,you know that way i can demand a good job lol. just know that each country is a difference actor.
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    My help is always free, and demands aside, usually a good job ;) lol

    Ace
  • cbtcbt Member Posts: 644
    If ace gives up (like it's possible) I might give it a try. :D
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    edited December 2011
    http://mynameisace.com/files/GSLeagueTable.zip

    Here you go :)

    Just change the self.goals attribute to whatever number and they will organise themselves.

    Sorry it took so long, I had to get my daughter ready for bed.

    @cbt - Ace never gives up lol

    EDIT: Just seen you wanted goals to count if they are tied... This is pretty simple to add, just more of the same with the otherwise rules. I'm off to get ready for bed myself, so I'm sure @cbt can edit it and sort you out if you're having troubles with it, alternatively, I'll finish it tomorrow for you :)
  • guillefaceguilleface Member Posts: 1,014
    thanks i will download this and i will let you know how it works, good nigh ace.
  • cbtcbt Member Posts: 644
    well I'll stick around a little bit tell me if something goes wrong.
  • guillefaceguilleface Member Posts: 1,014
    it don't works, pretty much that what i did, it does work for being on top which of course when wins are higher that other 3 it moves to position 275 but if i set yellow to be higher than green , they overlap.
  • guillefaceguilleface Member Posts: 1,014
    say i have the rule when usa wins are higher than other 3 teams, so for the second spot i need when runs are higher than 2 teams but less than the team is on top. thats where it gets more complicated.
  • guillefaceguilleface Member Posts: 1,014
    hey ace ignored the last messages, i was messing with the wrong attributes, but definitely i need a tie breaker because if have two teams with the same wins, earthier they overlap or don't move position. i think i should add something like if wins are equal to team?? and runs are higher than team?? move to ??? but i don't know if to create the whole thing again with that, i prefer wait for tomorrow so you can tell me, but they way i was like whattttt the %$#%$ some many otherwise rules in otherwise rules lol. maybe thats why my system didn't work because i had pretty much same rules but just in one section lol.
  • guillefaceguilleface Member Posts: 1,014
    hey ace i can't still figure out how to fix the problem when both teams have same wins, so i add a rule for difference of runs and nothing, i really need this asap that is why i offered $25 i don't need this code next year so if any other one is wiling to finish this work i will give you the $25.
Sign In or Register to comment.