discussion

textPage 5 of 142
50 messages on this page
Saturday, August 9, 2025
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
Exactly, that method doesn't work well. I don't know if it will work in the future, but for now it doesn't.
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
I assumed by you saying it didn’t work well, that it wouldn’t work well lol
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
That's just XML.
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
I’ve never made a c# mod. I suppose I will try and make a server side one that prints suspicious block actions to console
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
But I don't think it works well.
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
onSelfDestroyedBlock, can use tags via the TriggerHasTags requirement
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
You think I could send a log to console when they break a block inside a claim using Buffs?
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Not super often just every once in a while
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Or destroying boxes in claims
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Filling up boxes full of dev items or op stuff
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
It’s one of the bigger cheating issues I’ve had on servers with no eac
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
            <!-- <triggered_effect trigger="onSelfBuffUpdate" action="LogMessage" message="Crouching"/> -->
            <!-- <triggered_effect trigger="onSelfBuffUpdate" action="CVarLogValue" cvar="_sheltered"/> -->
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
I haven't tried it yet with the buffs.
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
That way you could read and parse it.
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
To send logs to the console, you could use buffs.
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
It would be great and a wonderful addition. Whatever I can do to help, I'll be here
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
But would either have to make a mod, or alter server tools
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
It
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Just wanted to make a takaro module for I
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
= kick or ban
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
If player cords are inside landclaim and player is breaking boxes in those cords
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
right
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
But my bot gets land claim locations, calculates boundaries based on server settings for land claim sizes
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Cuz it’s friends not allies lol
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Nah ive made my discord bot do it I just couldn’t find the ally command
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
I think you would have to make a mod with C#. With ChatGPT, you can do it if you know how to give it the methods, classes, etc., and know how to give the prompts.
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
But do I have to delete the game server and create it again?
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Detect if a player is in a landclaim that is not his; or he is not friends with the owner and check it with the block logs, since the few times I’ve had cheaters they’ve used cheats to bypass claim protections. So the bot would kick them if they are opening/ destroying boxes in a claim they shouldn’t be in
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Mine has crashed before and came back up no issues
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
By the way, I have a question. My server crashed, but I restarted it. Takaro still appears to be offline. Do I need to restart it using the shutdown option?
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
or an outside player?
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
Do you need to detect if a player is inside one of their claimblocks?
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
  1. listlandprotection summary
  2. listlandprotection <user id / player name / entity id> [parseable]
  3. listlandprotection nearby [length]
  4. Lists only players that own claimstones, the number they own and the protection status
  5. Lists only the claims of the player given by his UserID / entity id / playername, including the individual claim positions.
If "parseable" is specified the output of the individual claims will be in a format better suited for programmatical readout.
  1. Lists claims in a square with edge length of 64 (or the optionally specified size) around the executing player
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
listlandprotection
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Or to see who’s landclaim a player is standing in?
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Is player in landclaim?
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
Cpm has a command for that
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Is there a base way to somehow see is player in landclaim? Or do I need my own based on landclaim locations and size and player location
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
I could prolly do it myself and use a altered version of it
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Actually it’s open source
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Maybe have him log it to console
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Not right now, it’s a function of server tools, maybe he could add a config that makes it only log actions inside land claims. He’s very good about adding stuff that people want
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Ah that does sounds kinda spammy :( Can it be smarter? Only log 'suspicious' actions? 🤔
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Even if there was a command to print to console, it would just flood the console cuz it list every single time a player opens a box, or destroys a block, the time they did it where they did it
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Mis understood you, tho if I can’t get takaro to read the block action log I’ll have to use my bot on the machine to do this. I assume since it prints so much to the log it would flood the console.
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Ahhhhh yeah
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
nono that big list of player allies
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
The log file for block actions in server tools?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
And tell claude to parse the allies for you ;)
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
console.log it inside takaro, make the command/hook/whatever fire once and then tell claude to look at your takaro events