🚧 Ongoing Site Updates: Python ➡️ Next.js


Yep… we’re back at it again! Slowly but surely, I’m continuing to move more pages from the good ol’ Python version over to the shiny new Next.js version. And while I’m at it, I’m always looking for ways to improve things along the way.

If you’re not into reading the full update and just want to explore what’s new, head over here:
🔗 https://next-land.spl-stats.com/

🙌 Support the Project

✅ Upvote this post – it really helps!
👉 Vote for My SPS Validator Node

Let’s jump in!

🔁 Resource Conversion Page

The first major update this week is on the Conversion page. This one got a much-needed upgrade — especially now with auras, I figured we needed a better way to estimate the price of wagons and other stuff.

And yep… this is exactly why I call it a community effort. I built this tool solo, but with plenty of help from your feedback. I’m only human — bugs will happen 😅

Shortly after release, I got a message from @warrentrx pointing out the calculation was off compared to the official Splinterlands site. After digging in, turns out there was both a bug and a missing feature:

Bug: I was applying taxes multiple times even when the resource amount was 0… oops.

Feature Fix: The tool originally only calculated based on selling resources. But if you’re buying the resources (to estimate how much a wagon costs), you’d want to flip the fee logic.

So now you can choose:
🟢 Buy resources → Amount you pay is increases by 10% (trade hub fee)
🔴 Sell resources → Amount you earn is decreased by 10% (trade hub fee)

Huge thanks again to Paul for catching that one 🙌

Note: Aura cannot be bought directly and its value based on midnight potions always (buy and sell)

Just one more addition from @warrentrx preset buttons, last minute update in this release:

image.png

🌍 Region Overview

Most of my time this week was spent here — porting over and improving the Region Overview pages. They're similar to the Python version, but with some enhancements and slight layout changes.

📊 Production Tab

Shows total production across the map (or filtered regions) based on PP and boosted PP.

Entire region overview

Screenshot 2025-07-11 at 11.02.35.png

Selected regions (one or two)

Screenshot 2025-07-11 at 11.03.13.png

Sorted list by resource production

Screenshot 2025-07-11 at 11.04.13.png


And yep, there’s still historical production data at the bottom — always for the entire Pretoria, not filterable.

Screenshot 2025-07-11 at 11.04.50.png

Which can also be filter by using the legend (doubelclick)

Screenshot 2025-07-11 at 11.05.42.png

🔄 Compare Tab

I’m debating whether to keep this as a separate tab or move it under Production. Let me know what you think.

Compare two regions or tracts side-by-side:

Region-to-region

Screenshot 2025-07-11 at 11.06.35.png

Tract-to-tract

Screenshot 2025-07-11 at 11.07.09.png

🧾 Summary Tab

Still here, but now with a bit more info!

This tab is one I still want to improve layout-wise — lots of wasted space, so if you have display suggestions, I’m all ears.

New features:

  • Unique player count per region
  • Top 10 landholders

Screenshot 2025-07-11 at 11.08.10.png

And yes, it’s filterable too.

And yes you see my name in the top 10, if you just filter right 🤣

Also added two new gauges:

Total Staked DEC on Land – shows how far we are from full 150K plot utilization.

On the left vs total land. On the right based on currently needed

Current DEC Needed – with a red/green indicator:
🟢 More DEC staked than needed = Ok!
🔴 Less DEC than required = not so good…

Yellow = DEC saved (not needed) by Runi usage.

Filtered on region 85 for red example

💸 Tax Tab

Okay, this one is a bit slow… and yeah, I know 😅 If it really starts annoying you, drop me a message and I’ll see if I can optimize it more.

In the Python version, I only showed capture percentages for castles and keeps. But now I’ve added:

  • Estimated DEC income based on current production
  • Graphs comparing income in regions (active vs inactive) regions — pretty eye-opening if you're a castle or keep owner.

One day… I’ll own a keep myself. For now, I’m just too busy buying everything else in Splinterlands 😂

Top Castel/Keep owners and now also the best earning caslte and keep owners 😍
Screenshot 2025-07-11 at 11.15.08.png

Total resource income

Screenshot 2025-07-11 at 11.16.33.png

Total DEC income

Screenshot 2025-07-11 at 11.16.49.png

And all filtered again:

Screenshot 2025-07-11 at 11.18.16.png

⚙️ Efficiency Page (Leaderboard)

This one’s fresh! Now you can enter your name and see your rank on the efficiency leaderboard.

Screenshot 2025-07-11 at 11.19.31.png

Still thinking about UI stuff — do we need scrollbars here? Let me know in the comments what feels best.

Coming next to this page:
More charts and rankings like LDE, LCE, DEC Efficiency, etc.

🖥️ Fullscreen Button Is Back!

By special request from @azircon (and honestly… I missed it too 😅), the fullscreen button is now back on all graphs!

It might sound like a small thing — and in Python, it was literally just one setting.
But in Plotly + React? Yeah… that little feature took me half a day, a bunch of trial and error, and way too many loops with ChatGPT 🤦‍♂️

Anyway, it's back! Let me know if you run into any issues with it.

Open

Close

🧪 Want to See the Code?

🔍 GitHub Repos (If You Dare):

🐍 Python version
Next.js version

PRs, issues, or just general “what in the spaghetti is this?” reactions welcome — be kind 😅

🙌 Support the Project

✅ Upvote this post – it really helps!
👉 Vote for My SPS Validator Node
💬 Drop a comment or idea – weird edge cases welcome.

⚠️ Final Note

Still just a fun hobby project — built during late-night, caffeine-fueled coding sessions. If something breaks… ping me. I’ll fix it. Eventually. 😂

We're getting close to the point where all the useful screens (at least in my opinion 😄) have been moved over from the Python version.
If you're missing a feature that was in the old version and isn’t in the new one — start shouting! I’ll check it out and see if I can move it over too, and add it to my ever-growing backlog of stuff to do.

Stay awesome, and keep farming that land! 🌾



0
0
0.000
24 comments
avatar

What is the difference between buy and sell preset of wagon and other objects?

0
0
0.000
avatar

Buy and sell are for the resource whether you want to buy the resource or sell the resource, they have different value (because of the 10% fee)

In splinterlands:
buy 10,000 grain:
image.png

Sell 10,000 grain
image.png

0
0
0.000
avatar

Got it. So it is basically bid-ask as it should be!

Look at those spreads! You can drive a Mack Truck through that bid-ask spread!

0
0
0.000
avatar
(Edited)

I'd suggest an option for the Aura - instead of only using the Midnight Potion as a orientation point (which has the downside of not being exact, as Aura is worth more in Wagons for example), how about a second option that calculates it based on the cost for resources?

I know that both are complicated due to boosts and such messing with the outcome. Or maybe have a cost calculator, and a revenue calculator? In the first, aura is calculated based on the current cost of resources. In the second, it's based on Midnight Potions.

Besides - great post! Reading the headline I was scared to find another hyper-technical-coder post... :-D Thank you so much for this tool!

0
0
0.000
avatar

I definitely agree with you—this method isn’t exact. I’ve thought about various alternatives, but honestly, none of them are perfect either.

For example, using resource cost as the base can vary a lot depending on how the player generates Aura—like using a magical plot vs. a regular one (100% output difference), plus all the possible boosts that come into play.

Some might argue that you should use the highest resource price for buying and the lowest for selling, but calculating values based on markets like the Auction Marks adds even more complexity—especially considering the other required resources involved.

That’s why I’ve stuck with using Midnight Potions for now. While not perfect, they’re currently tied to the least valued resource (and I expect that to stay consistent due to the recipe requirements), and it’s the most straightforward method for users to understand.

That said, my ultimate goal is to make the calculation player-specific—so in the player overview, you’d see Aura cost based on their actual plots and setup. Every plot would have a net DEC value, allowing us to determine exactly what that specific player can produce Aura for. Just whish there is more time in a day 🤣

0
0
0.000
avatar

Just don't sleep at all anymore, that should add a couple of hours to your day 😝

The latter might be the best, calculating individual aura cost, and having a "personal" converter. But yes, that does sound like a lot of coding work. Out of curiosity, can LLM help you with those things?

Interestingly, my calculations on how much wagons should cost is very close to what your converter shows - and I did calculate with the cost, reducing only the 10% for producing the resources oneself.

0
0
0.000
avatar

Out of curiosity, can LLM help you with those things?

I use LLM for my coding (chatgpt) that help a lot with speed.
I do not have experience with using a LLM within my own code to calculate stuff (something again on my wish list, that list is big 🤣). Imagine what a computer do better then human crunch numbers, let the computer figure out the optimal deployment of all your units over your plots for the best production or earnings😍.

Interestingly, my calculations on how much wagons should cost is very close to what your converter shows - and I did calculate with the cost, reducing only the 10% for producing the resources oneself.

Nice to see its not that off. i recon that for the most its similar, close enough but not exact.

0
0
0.000
avatar

What is interesting is that Wagon Kits are at around 5500 DEC at the moment, so below the "regular" Aura pricing if calculated.

I like the new model of having the 1000 DEC/Resources in one page. Wood and iron seem to be gaining on stone. Thanks for keeping working on this! I'll change the URL in my bookmark right away... :-D

0
0
0.000
avatar

This is great stuff. I really enjoy the addition of the Castle/Keep dec/hr info. Also who doesn’t love a good top player list. I’ll be working my way up that now.

Keep up the great work bud.

0
0
0.000
avatar

Thanks, @ourfadedglory! Let me know if you spot anything you'd like to see improved.

By the way—great job on your recent YouTube streams! Also to you, keep up the awesome work! 💪

0
0
0.000