Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Question Copy Constructors?

Joined
Aug 11, 2018
Messages
4
Do the GameObjects, Npcs and other entities have copy constructors? I tried, couldn't find.

If not, is there a way to save query results permanently? Or at least for the duration of the bot?

So that the branches/leaves don't have to constantly query the exact same object everytime. Because their attributes don't change, so why search over and over... CPU and time waste.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
You won't get around frequently querying for game information including entities like game objects because of the lifecycle of the game's objects.
But it's not really that big of a problem for the CPU
 
Joined
Aug 11, 2018
Messages
4
Sorry dude, I didn't understand that. Is object lifecycle long or short? Or are you saying that frequent queries are a bad practice?

Or you saying it's good either way, because it doesn't put load on the CPU.
 
Top