Competition Plan! - The Colosseum | API Development | TORN

Competition Plan! - The Colosseum

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 18:33:55 - 09/07/24 (4 months ago)
    |
    Last replied 23:44:34 - 25/08/24 (3 months ago)

    scoreboard.png




           How It Works so far

    • Respect based scoring! (Higher Resp = Higher Score)
    • Defeat a Gladiator for bonus points! (And you become a Gladiator)

    • Vendettas (inactive targets) appear randomly, extra points if killed in time.
    • You can also collect their feet.... not sure where that's going....

     

    • Chain bonuses are all swapped for a flat score of 10 Points.
    • Incremental chain bonuses, Warlord bonuses and War bonuses are removed.
    • Mugging scores are Halved!
    • Various stats are tracked, Both individuals and Factions.

      ----------------------------


    Too early to put it up on Fun and Games, ''sooon'... but I figured I'd see if any of you fellow coder enthusiasts were eager to get involved with a project.

    Sadly its a bit limited in how much people can help on the practical code side.... It uses limited api keys and though I'd happily let people help with the logic side, I won't be giving server access, Keeping it tight and safe...


    That said, I'd love to trade favours, Happily have input on development direction and ideas, Or help with logistics on Torn/Discord side stuff. Still early days, But version 1 is up and running! (A few small groups currently playing, That image updates ^^^)



    There will not be any torn profits for a long while if ever... I have a few bil to cover prizes for a few months before thinking to charge a fee for premium prize opportunities (while keeping a set of free prizes available to all)... But eventually, if its successful, I'd hope to cover the prizes and a small amount to compensate anyone helping to keep it alive.


    ----------------------------



    What I can currently offer:


    Discord Bot Hosting! - Not going to commit to building you one. But happy to help with the logic and can host a number of small ones alongside the comp.

    Access To My Growing tools - (Mostly Discord Bots) Far from the best set, But could be handy to any with less established factions.

    Help with Api/Logic/Code - I'm an amateur Python nut... not a pro... But i did a bunch of CGI and Game Dev stuff before learning to code. Outside of python, i'd be limited in ability to help... but not useless.

    And Early Access to Compete! - Obviously :)



    Biggest limitations:

    Coding time of single Dev... me... I'm eager and fast enough, But it will be slow to grow.

    Limited Api key is required -  It tracks whole factions through 1 Key with access, Or individuals can get involved with personal Keys. I'm guessing it can work out anyway, Trust will come in time.

    And eventually... Funding the prizes... But we're good for a few months.

     


    Unsure yet if it will focus on Faction vs Faction elements (Forming teams with individual players) Or end up a more All V All thing... But time will tell. 


    ----------------------------


    If any of that sounds like it'd be worthy of trading for help with this competition project, Or if you are just eager to get involved with something new. Shoot me a message or leave a nice comment.


    Last edited by Code on 13:04:27 - 11/07/24 (4 months ago)
    • Omanpx [1906686]
    • Role: Civilian
    • Level: 100
    • Posts: 2,376
    • Karma: 15,393
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:05:27 - 09/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    It's great to see more competition ideas, though I'm curious, how will you take into account the problem that plagues all energy-based competitions - higher networth, higher available energy. With attacks, you also have to consider level of the players. While everyone can get a FF 3 multiplier, base respect is determined by target level and naturally level 100s have a higher pool of high base respect targets (and likely more nw), giving them a significant advantage.

    Could do level / nw brackets maybe, but it's still very tricky to do fairly imo.

    Toolbox - a collection of my tools and spreadsheets made for Torn.

    Guidebook - a collection of guides i made for Torn.

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:09:12 - 09/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    Omanpx [1906686]

    It's great to see more competition ideas, though I'm curious, how will you take into account the problem that plagues all energy-based competitions - higher networth, higher available energy. With attacks, you also have to consider level of the players. While everyone can get a FF 3 multiplier, base respect is determined by target level and naturally level 100s have a higher pool of high base respect targets (and likely more nw), giving them a significant advantage.

    Could do level / nw brackets maybe, but it's still very tricky to do fairly imo.

    Half the prizes are lottery based, So better scores = better chance for them, But anywhere in the ranks gets a somewhat decent chance to get something.

    And flattening all the scores. Warlord bonus doesn't count for example.

    But yeah, If it takes off, Brackets would not be a bad shout!

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:12:19 - 09/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    Omanpx [1906686]

    It's great to see more competition ideas, though I'm curious, how will you take into account the problem that plagues all energy-based competitions - higher networth, higher available energy. With attacks, you also have to consider level of the players. While everyone can get a FF 3 multiplier, base respect is determined by target level and naturally level 100s have a higher pool of high base respect targets (and likely more nw), giving them a significant advantage.

    Could do level / nw brackets maybe, but it's still very tricky to do fairly imo.

    And tbh. I think thats a good reason to go more in a team V team direction. Would be easier to apply a form of handicap. Averaged levels, team size, age etc.

    Its early days, I reckon i can make something work though. 

     

    • Zinitheve [3001212]
    • Role: Civilian
    • Level: 15
    • Posts: 1,014
    • Karma: 593
    • Last Action: 3 days
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:19:47 - 09/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    Omanpx [1906686]

    It's great to see more competition ideas, though I'm curious, how will you take into account the problem that plagues all energy-based competitions - higher networth, higher available energy. With attacks, you also have to consider level of the players. While everyone can get a FF 3 multiplier, base respect is determined by target level and naturally level 100s have a higher pool of high base respect targets (and likely more nw), giving them a significant advantage.

    Could do level / nw brackets maybe, but it's still very tricky to do fairly imo.

    Maybe simple energy banning equal to E regen. You use FHC or Can - you get 300 min ban, during which earned respect isn't included.

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:26:44 - 09/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    Zinitheve [3001212]

    Maybe simple energy banning equal to E regen. You use FHC or Can - you get 300 min ban, during which earned respect isn't included.

    Can't track FHC usage sadly.

    But could put a daily limit on how many attacks counted. So many options and things to consider.... 

    Another part of the plan is to keep it open to all, But also provide a slight bonus to those that use the discord. Can't be too much of an edge. But certainly planning a small one.

    • Zinitheve [3001212]
    • Role: Civilian
    • Level: 15
    • Posts: 1,014
    • Karma: 593
    • Last Action: 3 days
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:37:22 - 09/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    Zinitheve [3001212]

    Maybe simple energy banning equal to E regen. You use FHC or Can - you get 300 min ban, during which earned respect isn't included.

    Code [2091491]

    Can't track FHC usage sadly.

    But could put a daily limit on how many attacks counted. So many options and things to consider.... 

    Another part of the plan is to keep it open to all, But also provide a slight bonus to those that use the discord. Can't be too much of an edge. But certainly planning a small one.

    But you can track boosters usage, it is mostly the same 😃

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:39:35 - 09/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    Zinitheve [3001212]

    Maybe simple energy banning equal to E regen. You use FHC or Can - you get 300 min ban, during which earned respect isn't included.

    Code [2091491]

    Can't track FHC usage sadly.

    But could put a daily limit on how many attacks counted. So many options and things to consider.... 

    Another part of the plan is to keep it open to all, But also provide a slight bonus to those that use the discord. Can't be too much of an edge. But certainly planning a small one.

    Zinitheve [3001212]

    But you can track boosters usage, it is mostly the same 😃

    As far as i knew, FHCs don't count in 'Consumables' But that was a long while ago, maybe its changed.

    Just looked. Boosters is a thing. But alas, doesn't seem to be a clean way to check FHCs

    Last edited by Code on 19:40:38 - 09/07/24 (4 months ago)
    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:46:12 - 09/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    New Addition. There's going to be feet collecting. Don't ask... but its happening...

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 21:12:53 - 09/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    Update. You can now collect feet

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:38:13 - 10/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    A FREE brain teaser for Yall. With prize xanax if you convince me you followed it!! (Absolutely not me wanting others to check my work)

    But for posterity. This is right, right? I hate time related shit...



    3dURK7A.png

    Last edited by Code on 15:06:07 - 10/07/24 (4 months ago)
    • tiksan [2383326]
    • Role: Civilian
    • Level: 100
    • Posts: 944
    • Karma: 1,251
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:38:09 - 10/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    Code [2091491]

    A FREE brain teaser for Yall. With prize xanax if you convince me you followed it!! (Absolutely not me wanting others to check my work)

    But for posterity. This is right, right? I hate time related shit...



    3dURK7A.png

    It looks like you’re collating attacks from the previous day and updating aggregated scores. It should be correct based on the signatures.

     

    Some tips:

    Based on some function signatures, it looks like you’re using concurrent code on what appears to functions that wouldn’t be poll/epoll or async IO in general.


    Use logging instead of print, dealing with journalctl on production isn’t always a great experience plus it normally is deleted upon restarting the machine.

     

    Also you have some random new lines after the if statements.

    LnNwLrL.gif

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:49:43 - 10/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    tiksan [2383326]

    It looks like you’re collating attacks from the previous day and updating aggregated scores. It should be correct based on the signatures.

     

    Some tips:

    Based on some function signatures, it looks like you’re using concurrent code on what appears to functions that wouldn’t be poll/epoll or async IO in general.


    Use logging instead of print, dealing with journalctl on production isn’t always a great experience plus it normally is deleted upon restarting the machine.

     

    Also you have some random new lines after the if statements.

    It all gets uploaded to an AWS cluster and runs discord bots, So i make everything asynchronous... Bit of a nub and dealing with multiple bots having conflict issues has scared me into defaulting with asynchronous...

    As for the logging. The AWS shit has a main log that shows all the print stuff. Super handy, saves faffing about with extra stuff. I'm sure i'll make seperate ones for errors and events eventually... But its low effort and easy for now>


    And TYVM!! 

    Time based stuff confuses the hell out of me... Xanax incoming!

     

    • Flid [2594918]
    • Role: Civilian
    • Level: 100
    • Posts: 675
    • Karma: 671
    • Last Action: 37 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 18:56:33 - 15/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    tiksan [2383326]

    It looks like you’re collating attacks from the previous day and updating aggregated scores. It should be correct based on the signatures.

     

    Some tips:

    Based on some function signatures, it looks like you’re using concurrent code on what appears to functions that wouldn’t be poll/epoll or async IO in general.


    Use logging instead of print, dealing with journalctl on production isn’t always a great experience plus it normally is deleted upon restarting the machine.

     

    Also you have some random new lines after the if statements.

    Code [2091491]

    It all gets uploaded to an AWS cluster and runs discord bots, So i make everything asynchronous... Bit of a nub and dealing with multiple bots having conflict issues has scared me into defaulting with asynchronous...

    As for the logging. The AWS shit has a main log that shows all the print stuff. Super handy, saves faffing about with extra stuff. I'm sure i'll make seperate ones for errors and events eventually... But its low effort and easy for now>


    And TYVM!! 

    Time based stuff confuses the hell out of me... Xanax incoming!

     

    Out of interest, what sort of budget do you have with AWS usage?

     

    Presently all my stuff is hosted by myself, but if I could introduce some sort of resilience then that would be lovely!

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:37:02 - 15/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    tiksan [2383326]

    It looks like you’re collating attacks from the previous day and updating aggregated scores. It should be correct based on the signatures.

     

    Some tips:

    Based on some function signatures, it looks like you’re using concurrent code on what appears to functions that wouldn’t be poll/epoll or async IO in general.


    Use logging instead of print, dealing with journalctl on production isn’t always a great experience plus it normally is deleted upon restarting the machine.

     

    Also you have some random new lines after the if statements.

    Code [2091491]

    It all gets uploaded to an AWS cluster and runs discord bots, So i make everything asynchronous... Bit of a nub and dealing with multiple bots having conflict issues has scared me into defaulting with asynchronous...

    As for the logging. The AWS shit has a main log that shows all the print stuff. Super handy, saves faffing about with extra stuff. I'm sure i'll make seperate ones for errors and events eventually... But its low effort and easy for now>


    And TYVM!! 

    Time based stuff confuses the hell out of me... Xanax incoming!

     

    Flid [2594918]

    Out of interest, what sort of budget do you have with AWS usage?

     

    Presently all my stuff is hosted by myself, but if I could introduce some sort of resilience then that would be lovely!

    Its pretty good. I can't pretend to be an expert. But once set up, its been real easy to maintain. I'll try get some details for ya...

    So... I'm using an ECS cluster along with a bucket for persistent data... only just added the bucket, but i think that cost is next to nothing for small amounts of data.

    As for the ECS cluster. I'm on the smallest option, but its enough for several discord bots or the equivalent and cost is like  $0.35 a day + tax.


    Using 0.25 vCPU (couldn't find a good number on its power sorry... Assumming GHz, maybe? no idea..)
    And 0.5gb RAM


    The Fargate option on ECS. Its serverless... very low effort once setup and running. Which is why i ditched my google server and moved to this.


    Main problem i found, I have to lump the discord bots into one chunk of code. They work seperately, but i couldn't find a way to keep them entirely seperate without doubling the hardware use and costs. But its not been a problem, they've worked very well (And could be a me problem... but it works)


    Not the cheapest option out there, But i can recommend it. Google wasn't terrible... but i'm happy i switched. Can for sure recommend AWS. But i am a complete amateur, Bootstrapped and GPTed my way into getting it all setup and working (means its pretty foolproof tho!)

    Last edited by Code on 19:38:05 - 15/07/24 (4 months ago)
    • tiksan [2383326]
    • Role: Civilian
    • Level: 100
    • Posts: 944
    • Karma: 1,251
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:57:23 - 15/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    Not the cheapest option out there,

     

    That's an understatement lol. That adds up to about $10.50 per month without including ingress/egress and other costs I assume. I pay about $13.60 per month on Hetzner for 8 vCPUs, 16 GB of RAM, 160 GB of NVME storage, and 20 TB of egress. Of course, that's bare metal so I need to manage the server myself.

    Last edited by tiksan on 20:57:47 - 15/07/24 (4 months ago)

    LnNwLrL.gif

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 22:11:51 - 15/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    tiksan [2383326]

    Not the cheapest option out there,

     

    That's an understatement lol. That adds up to about $10.50 per month without including ingress/egress and other costs I assume. I pay about $13.60 per month on Hetzner for 8 vCPUs, 16 GB of RAM, 160 GB of NVME storage, and 20 TB of egress. Of course, that's bare metal so I need to manage the server myself.

    Still better than Google!!

    I had to manage the server there and was paying more.... plus it was a headache to understand some of it....

    In my defence, Been at code for under a year. All self taught... I looked into a few options after google, saw a bunch cheaper, but prioritised ease of access, reliability and GPTability.... 

    And its very low effort now its set up. I just make an image of my code: Upload, click update and its all running. Then for any shit i don't want to lose on update, I throw it in my bucket. Or download shit from there or directly from the code itself. Next to zero faff.

    The amount i stated was all in costs. And its been less than that for a lot of it. But very low traffic.

    But yes... certainly not the cheapest, But I'm happy with my Swedish cluster and bucket (Would be a bit cheaper if i moved it from Sweden i think)

    Last edited by Code on 22:12:32 - 15/07/24 (4 months ago)
    • MAVRI [2402357]
    • Role: Civilian
    • Level: 100
    • Posts: 1,066
    • Karma: 2,526
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 21:33:27 - 16/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    tiksan [2383326]

    Not the cheapest option out there,

     

    That's an understatement lol. That adds up to about $10.50 per month without including ingress/egress and other costs I assume. I pay about $13.60 per month on Hetzner for 8 vCPUs, 16 GB of RAM, 160 GB of NVME storage, and 20 TB of egress. Of course, that's bare metal so I need to manage the server myself.

    Code [2091491]

    Still better than Google!!

    I had to manage the server there and was paying more.... plus it was a headache to understand some of it....

    In my defence, Been at code for under a year. All self taught... I looked into a few options after google, saw a bunch cheaper, but prioritised ease of access, reliability and GPTability.... 

    And its very low effort now its set up. I just make an image of my code: Upload, click update and its all running. Then for any shit i don't want to lose on update, I throw it in my bucket. Or download shit from there or directly from the code itself. Next to zero faff.

    The amount i stated was all in costs. And its been less than that for a lot of it. But very low traffic.

    But yes... certainly not the cheapest, But I'm happy with my Swedish cluster and bucket (Would be a bit cheaper if i moved it from Sweden i think)

    Could try using something like Coolify or Easypanel (there are others that do the same, but these are the first ones that popped up into my mind) to automate most of the things during deployment. Could end up saving you a pretty penny.

    <3

    • Code [2091491]
    • Role: Civilian
    • Level: 100
    • Posts: 5,120
    • Karma: 4,908
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 21:41:03 - 16/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    MAVRI [2402357]

    Could try using something like Coolify or Easypanel (there are others that do the same, but these are the first ones that popped up into my mind) to automate most of the things during deployment. Could end up saving you a pretty penny.

    Best i can tell with a brief look. I'd still need to host a server somewhere. They are just tools to make it easier?

    With the AWS setup. It comes with a bunch of tools and they do all the server management. I just upload the code and it works. There's no doubt something cheaper and just as easy. But i came from hosting my own server... not looking to do that again till i find a need. 

    But appreciated! They look like interesting services

     

    • IndyCar [2634079]
    • Role: Civilian
    • Level: 86
    • Posts: 305
    • Karma: 384
    • Last Action: 6 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 23:44:34 - 25/08/24 (3 months ago)
    Post link copied to clipboard Copy post link

    I like this idea and think it would be good for creating an individual HoF style ladder system.  You beat player 5, you're now 5 and they are moved half the distance down from where you were.

    Idea number 2 and I hope this helps solve the pesky level v. respect problem.  (FF x 100) + (Level/10) = Points

    So a FF 3.00 level 100 target is worth 310 points and a FF 3.00 level 50 target is worth 305.  So attacking higher level players is still better, but finding that perfect level 3.00 is far more valuable.

Reply
Thread Title: