catch

Beta
  • Posts

    151
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by catch

  1. If you're trying to get Astolfo to run on mac or linux, message me or something.
  2. Like for cats, trophies for dogs.
  3. can we revive this thread please, thanks
  4. I think it was called Fantasia. Was back on beta 1.7.3 back in 2011 lmao.
  5. bumping this thread because some people were asking about it earlier
  6. So recently we've seen a lot of changes happen, within the client, watchdog updates, as well as the disappearing alt market it seems. Is this just a passing trend? Or are these changes here to stay?
  7. Don't use astolfo on an anarchy server. That's silly. Yeah you could probably bhop and shit, but you can't use crystal aura or baritone.
  8. So I finally got around to making a self updating discord rpc. For this to work, you need Astolfo to output to a latest.log file. The attatched file named "overlayfix.exe" is made by @Boomz, the creator of bwstats overlay and showes you how to create a latest.log file. This is created with nodejs. The attached zip file is a packaged exe. The other is the source code. const client = require('discord-rich-presence')('795673937295835177'); const fs = require('fs'); let currentRpc = undefined; let gameTypes = [ "skywars", "bedwars", "pit", "uhc", "limbo", ] let user = process.env.HOME; let oldLogs = fs.readFileSync(`${user}/AppData/Roaming/.minecraft/logs/latest.log`, 'utf-8'); function getNewLogs() { return fs.readFileSync(`${user}/AppData/Roaming/.minecraft/logs/latest.log`, 'utf-8'); }; function doLoop() { let logs = getNewLogs(); logs = logs.replace(oldLogs, ''); for (i = 0; i < gameTypes.length; i++) { if (logs.toLowerCase().includes(gameTypes[i]) && currentRpc !== gameTypes[i]) { currentRpc = gameTypes[i]; update(gameTypes[i].toUpperCase()); break; }; }; oldLogs = getNewLogs(); setTimeout(() => { doLoop(); }, 500); }; function update(gameMode) { console.log("updated"); client.updatePresence({ state: gameMode, details: "Hypixel.net", startTimestamp: Date.now(), largeImageKey: "logo", instance: true, largeImageText: "https://astolfo.lgbt" }); }; doLoop(); To run this from source, create a new folder, and then run the command: npm install This will install the discord-rich-presence dependancy. There's still things I wanna add to the script in future, but I thought I'd share it. Edit: 3/4/2021 I replaced the index.js and executable file. They should work now. overlayfix.exe package.json index.js astolfoRpc.zip