<div class="pull-left">
<p dir="auto">Um mir einen Eindruck von Terracore für die HiQ zu bekommen, habe ich vor ein paar Wochen auch mit Terracore angefangen. Ich habe immer nur so nebenbei bei Terracore reingeguckt. Dabei habe ich mir aber einiges an SCRAP entgehen lassen, da ich ständig ausgeraubt wurde.
<p dir="auto">Natürlich habe ich von einigen Leuten mitbekommen, dass sie Autoclaim Skripte haben. Als ich dann erneut von jemanden hörte, dass er das auch macht, dachte ich mir dann endlich: "Ok, das brauch ich auch."
<p dir="auto">Ein Blick in die <a href="https://cryptognome.gitbook.io/terracore/api/public-endpoints" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Doku verrät, dass es sogar einen Public API Endpoint gibt. Dieser ermöglicht Upgraden, Claimen und Angreifen. Für Claimen sieht das Ganze so aus:
<div class="pull-right">
<p dir="auto">To get an idea of Terracore for the HiQ, I also started playing Terracore a few weeks ago. I've only ever looked at Terracore in passing. But I missed out lot of SCRAP because I was constantly being robbed.
<p dir="auto">Of course, I heard from some people that they have autoclaim scripts. When I heard again from someone that he was doing it too, I finally thought to myself: "Ok, I need that too".
<p dir="auto">A look at the <a href="https://cryptognome.gitbook.io/terracore/api/public-endpoints" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">doc reveals that there is even a Public API Endpoint. This enables upgrading, claiming and attacking. For claiming, the whole thing looks like this:
<hr />
<pre><code>async function claim(player, amount) {
var hash = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
const json = {
"amount": amount,
"tx-hash": hash
};
//convert json to string
const data = JSON.stringify(json);
hive.broadcast.customJson(process.env.ACTIVE_KEY, [player.username], [], 'terracore_claim', data, function(err, result) {
});
}
<div class="pull-left">
<p dir="auto">Mein nächster Gedanke war, dass ich das ja in Python mit Beem nachbauen könnte. Was ein bissle merkwürdig an der Claim Funktion aus der Doku erscheint, sind die Keys "amount" und "tx-hash" der customJson. Mir war nicht ganz klar woher ich weiß wie viel ich claimen kann und warum ich irgendwas hashen sollte.
<div class="pull-right">
<p dir="auto">My next thought was that I could recreate this in Python with Beem. What seems a bit strange about the claim function from the doc are the keys "amount" and "tx-hash" of the customJson. It was not clear to me how I know how much I can claim and why I should hash anything.
<hr />
<pre><code>var hash = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
<div class="pull-left">
<p dir="auto">Allerdings erzeugt diese Zeile offenbar nur einen random "hash". Da ich mir jüngst CodeGPT für Visual Studio Code installiert hatte und dies aber eigentlich nicht nutzte, fragte ich einfach mal ChatGPT via CodeGPT nach einer einfachen Hash Funktion. Und folgendes kam dabei raus:
<div class="pull-right">
<p dir="auto">However, this line apparently only creates a random "hash". Since I had recently installed CodeGPT for Visual Studio Code and didn't actually use it, I simply asked ChatGPT via CodeGPT for a simple hash function. And this is what came out:
<hr />
<pre><code>def simple_hash(input_str):
# Convert the input string to bytes
input_bytes = input_str.encode()
# Use the hash() function to generate a hash value
hash_value = hash(input_bytes)
return hash_value
<div class="pull-left">
<p dir="auto">Dann habe ich bei Beem noch fix nachgeguckt wie ich eine customJson in die Chain hämmere und fertig...
<p dir="auto">Naja, ich wusste immernoch nicht was der Key "amount" soll. Aber ich dachte mir ich teste einfach mal:
<div class="pull-right">
<p dir="auto">Then I looked up how to smash a customJson into the chain with Beem and that was it...
<p dir="auto">Well, I still didn't know what the amount was supposed to do. But I thought I would just test it:
<hr />
<pre><code>while True:
time.sleep(60*60*4)
hive = Hive(nobroadcast=False, keys=key)
input=str(random.randint(1,100))
print(hive.custom_json(id='terracore_claim', required_auths=['quekery'],
json_data={
"amount": '0.5',
"tx-hash": simple_hash(input)}))
<div class="pull-left">
<p dir="auto">Mein erster Versuch hat auch gleich funktioniert. Offenbar ist der Wert von "amount" egal, da immer alles, was verfügbar ist, geclaimt wird. Auch scheint der "hash" relativ egal zu sein. Das war jetzt ein quick and dirty Claim Skript in Python. Vielleicht mache ich demnächst auch noch ein Battle Skript.
<div class="pull-right">
<p dir="auto">My first attempt also worked straight away. Apparently the value of "amount" doesn't matter, because everything that is available is always claimed. The "hash" also seems to be relatively unimportant. Maybe I'll do another script for battling soon.
<p dir="auto"><img src="https://images.hive.blog/768x0/https://i.imgur.com/plMUJVK.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/plMUJVK.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/plMUJVK.png 2x" />
<p dir="auto"><a href="https://playcraftink.com" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://files.peakd.com/file/peakd-hive/mary-me/23uQjqbhQNRidyLXhkFKHWeVUwW1xGJnFFFUMUDtMjdprJNcEWhAycx4hgJdkHAY6cnLp.png" srcset="https://images.hive.blog/768x0/https://files.peakd.com/file/peakd-hive/mary-me/23uQjqbhQNRidyLXhkFKHWeVUwW1xGJnFFFUMUDtMjdprJNcEWhAycx4hgJdkHAY6cnLp.png 1x, https://images.hive.blog/1536x0/https://files.peakd.com/file/peakd-hive/mary-me/23uQjqbhQNRidyLXhkFKHWeVUwW1xGJnFFFUMUDtMjdprJNcEWhAycx4hgJdkHAY6cnLp.png 2x" />
<p dir="auto"><img src="https://images.hive.blog/768x0/https://i.imgur.com/plMUJVK.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/plMUJVK.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/plMUJVK.png 2x" />
<p dir="auto"><a href="https://playcraftink.com" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/0x0/https://i.imgur.com/uFPtaKb.gif" />
<p dir="auto"><img src="https://images.hive.blog/768x0/https://i.imgur.com/plMUJVK.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/plMUJVK.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/plMUJVK.png 2x" />
<p dir="auto">
<a href="https://hiq-hive.com/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://i.imgur.com/v46vAIh.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/v46vAIh.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/v46vAIh.png 2x" /> |
<a href="https://www.twitter.com/hiq_magazin/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://i.imgur.com/sTaqy8j.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/sTaqy8j.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/sTaqy8j.png 2x" /> |
<a href="https://www.instagram.com/hiq_magazine/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://i.imgur.com/d0FvXES.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/d0FvXES.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/d0FvXES.png 2x" /> |
<a href="https://discord.gg/25Fp5wBvQa" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://i.imgur.com/elQqMf7.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/elQqMf7.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/elQqMf7.png 2x" /> |
<a href="https://beeswap.dcity.io/pools?search=HIQS" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://i.imgur.com/51pOBw1.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/51pOBw1.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/51pOBw1.png 2x" /> |
<a href="https://hive-engine.com/trade/HIQS" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://i.imgur.com/kfFTrlp.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/kfFTrlp.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/kfFTrlp.png 2x" /> |
<a href="https://vote.hive.uno/@hiq.witness" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/768x0/https://i.imgur.com/A8YZkZq.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/A8YZkZq.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/A8YZkZq.png 2x" />
<p dir="auto"><img src="https://images.hive.blog/768x0/https://i.imgur.com/plMUJVK.png" srcset="https://images.hive.blog/768x0/https://i.imgur.com/plMUJVK.png 1x, https://images.hive.blog/1536x0/https://i.imgur.com/plMUJVK.png 2x" />
Hast und Amount sind in der Tat egal, einfach nur etwas übergeben. Hash ist vermutlich nur dafür, um sicherzustellen, dass es eine neue Transaktion ist.
Ja, ich denke, dass der "Hash" ne Art ID ist. Aber es ist eigentlich kein Hash !LOOL
!PIZZA
lolztoken.com
Sie fliegt zum Wolkenkratzer.
Credit: mugglow
$LOLZ Token gesendet
Verwende den Befehl !WITZ oder !LOOL, um einen Witz und ein $LOLZ zu teilen.
Are You Ready for some $FUN? Learn about LOLZ's new FUN tribe!
.(1/4)@mein-senf-dazu, ich habe dir im Namen von @quekery einen
Was auch super an der Hive Python Bibliothek "Beem" ist, ist die Verwaltung der private Keys in einem eigenen Wallet. Dann muss man die nicht hart codiert in den Code schreiben.
Und nicht vergessen vor dem Claimen jemanden automatisch zu überfallen ;-)
Bin grad am Überlegen, ob man Upgraden der Eigenschaften auch automatisch machen solte. Dann muss man eigentlich gar nichts mehr machen außer den Quests.
Ich weiß aber nicht wie ich die richtigen Leute finde zum überfallen. Ich schätze da hat Terracore noch ne eigene Datenbank.
!PGM
!PIZZA
!LOOL
Hi, sowas könnte ich auch gut gebrauchen. schliesslich werden bei mir knapp 80% an Scraps geklaut was schon sehr ordentlich ist. Da ich kaum Ahnung von Codes oder scripting habe, hilft dir das hier ja weiter:
https://hivegadgets.com/terracoregame.html
Hiermit kann man recht "einfach" immer den besten überfallen, weiss aber nicht ob man darauf zugreifen kann und ein code daraus ableiten lässt
Ansonsten wünsche ich noch viel Erfolg
BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!
The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]
5000 PGM IN STAKE = 2x rewards!
Discord
Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP
Get potential votes from @ pgm-curator by paying in PGM, here is a guide
I'm a bot, if you want a hand ask @ zottone444
lolztoken.com
Sie fliegt zum Wolkenkratzer.
Credit: mugglow
$LOLZ Token gesendet
Verwende den Befehl !WITZ oder !LOOL, um einen Witz und ein $LOLZ zu teilen.
.(1/4)@prinzvalium, ich habe dir im Namen von @quekery einen
Ich lass mir einfach eine Liste aller Spieler ausgeben, sortiere die nach liquiden Scrap und nehme dann den mit den meisten Scrap und mit relativ wenig Dodge.
Und wo bekommst du die Liste her?
I do not play well with others when it comes to competition. I'm not a competitive person and believe things can be done in a different way so if there is a way to play a competitive game without actually having to compete that would be awesome.
Awesome! I haven't been playing Terracore... but have been playing Golem Overlord.
They won't let you automate GO, so I'm stuck pushing buttons over and over and over. !lolz
I may have to check out Terracore. Drop your referal link and I will check it out too. :)
lolztoken.com
Because they only have one tale.
Credit: marshmellowman
$LOLZ
(2/10)
Delegate Hive Tokens to Farm $LOLZ and earn 110% Rewards. Learn more.@quekery, I sent you an on behalf of @captaincryptic
https://www.terracoregame.com/?ref=quekery
For GO I only have to claim every 8 h but for Terracore I have to claim every 4 h and you will get robbed more often. So it's hard to do it manually. !LOOL !PGM
BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!
The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]
5000 PGM IN STAKE = 2x rewards!
Discord
Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP
Get potential votes from @ pgm-curator by paying in PGM, here is a guide
I'm a bot, if you want a hand ask @ zottone444
lolztoken.com
Grüne Farbe.
Credit: smooms
$LOLZ Token gesendet
Verwende den Befehl !WITZ oder !LOOL, um einen Witz und ein $LOLZ zu teilen.
.(1/4)@captaincryptic, ich habe dir im Namen von @quekery einen
Ok da hat sich ja doch einiges getan.💪✌
werd sicher bald auf dich zukommen wegen des Skripts.
LG
!LOL
!hiqvote
Schau wir mal wie Terracore in Zukunft noch wird !LOOL
!PIZZA
lolztoken.com
Ein Pinguin im Tarnanzug.
Credit: thatgermandude
$LOLZ Token gesendet
Verwende den Befehl !WITZ oder !LOOL, um einen Witz und ein $LOLZ zu teilen.
.(2/4)@bechibenner, ich habe dir im Namen von @quekery einen
Genau einfach mal abwarten, läuft ja vor sich hin.😉😂
LG
!HUG
!LOL
I sent 1.0 HUG
(2/3)Dear @quekery, you just got hugged. on behalf of @bechibenner.
lolztoken.com
Hummus-cide
Credit: reddit
$LOLZ
(5/10)
ENTER @WIN.HIVE'S DAILY DRAW AND WIN HIVE!@quekery, I sent you an on behalf of @bechibenner
lolztoken.com
Too many cheetahs.
Credit: marshmellowman
$LOLZ
(4/10)
PLAY & EARN $DOOM
@quekery, I sent you an on behalf of @bechibenner$PIZZA slices delivered:
quekery tipped mein-senf-dazu
quekery tipped prinzvalium
(2/15) @quekery tipped @bechibenner
lolztoken.com
This Post Was Manually Curated by the FUN Curation Team.
Help reward #fun content creators by joining our curation trail on Hive.Vote.
Or Delegate Hive to @lolz.curate and earn LOLZ farming rewards.
Click to delegate 10, 25, 50, 100, or 1000 HP with HiveSigner.
@bechibenner, the HiQ Smart Bot has recognized your request (1/3) and will start the voting trail.
In addition, @quekery gets !PIZZA from @hiq.redaktion.
Discord. And don't forget to vote HiQs fucking Witness! 😻For further questions, check out https://hiq-hive.com or join our
Congratulations @quekery! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@quekery/replies.png?202306271658" /><td>You got more than 3000 replies.<br />Your next target is to reach 3250 replies. <p dir="auto"><sub><em>You can view your badges on <a href="https://hivebuzz.me/@quekery" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">your board and compare yourself to others in the <a href="https://hivebuzz.me/ranking" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Ranking<br /> <sub><em>If you no longer want to receive notifications, reply to this comment with the word <code>STOP <p dir="auto"><strong>Check out our last posts: <table><tr><td><a href="/hive-122221/@hivebuzz/pud-202307"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg" /><td><a href="/hive-122221/@hivebuzz/pud-202307">Hive Power Up Day - July 1st 2023<tr><td><a href="/hive-106258/@hivebuzz/hivefest-trf-2023"><img src="https://images.hive.blog/64x128/https://files.peakd.com/file/peakd-hive/hivebuzz/23wC7eJH6F57ZLKQHzTxzC23zx8AzVrmxWD6PyZtoHcCjQafpgtZyNrpVjoVY1cYLKmYH.png" /><td><a href="/hive-106258/@hivebuzz/hivefest-trf-2023">Announcing the Travel Reimbursement Fund for HiveFest⁸