Free Unit Count?

Here you can post about your scenario's, mods, custom maps and YouTube channels!
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Free Unit Count?

Post by Cocaine »

Hi all, so I'm stuck on a function that aoe and any of the added scanerio editors don't offer.. Its actually quite simple but I can't find the value.

I want a simple trigger that "condition" = if player free units is more than 0, or more than anything, then "effect" do something..

The free units variable is actually kept track by something in the game because POST GAME charts show that in the resource section, its at the end "free units"

So something has to keep track of this. Free units are anything you recieve from treasures, home city shippments, or yes, the moesbar hack which I'm trying to detect by implementing this code.

I went through the game files I cannot find the ID of this value that keeps track of shit which is more so annoying. Can anyone help?

Free Unit Count
Show how many free units a player recieved during live game
greater than or less than or equal to


Thanks so much if someone can just include the code snippet I can just copy and paste it into my scnaerio tool files
A little Cocaine never hurt nobody!

Image
User avatar
Czech Republic EAGLEMUT
ESOC Dev Team
Donator 05
Posts: 4515
Joined: Mar 31, 2015
ESO: EAGLEMUT
Clan: WPact

Re: Free Unit Count?

Post by EAGLEMUT »

Sorry, I don't think it's possible to get this value.
Image
momuuu wrote: theres no way eaglemut is truly a top player
User avatar
Netherlands edeholland
ESOC Community Team
Donator 01
Posts: 5033
Joined: Feb 11, 2015
ESO: edeholland
GameRanger ID: 4053888
Clan: ESOC

Re: Free Unit Count?

Post by edeholland »

Are you sure moesbar units are included under "free units"? Surely in your scenario every spawned unit is free?

If you really want to prevent cheaters in your scenario, I suggest you just play on EP.
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Free Unit Count?

Post by Cocaine »

Trust me, risk units do not show up in free units. But moesbar do. I already have a way to boot the player if they are moesbaring by creating a unit or even sending tech values/unit upgrades.. I just need a way to find if they are actually moesbaring by checking free units....... Issue is, if I do not have this implemented, its really hard to spot someone who is discretely moesbaring.
A little Cocaine never hurt nobody!

Image
User avatar
Netherlands edeholland
ESOC Community Team
Donator 01
Posts: 5033
Joined: Feb 11, 2015
ESO: edeholland
GameRanger ID: 4053888
Clan: ESOC

Re: Free Unit Count?

Post by edeholland »

I think somebody cheating in an unrated scenario should be the least of your worries. I don't think checking free units is possible so I think you will have to deal with it the same way all players do.
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Free Unit Count?

Post by Cocaine »

Resolved. At the end of the day I simply want to create a fair and enjoyable experience for all players. It is unfortunate that we are unable to access this specific DATA, such as treasures gathered also. Anyways thanks for the help.
A little Cocaine never hurt nobody!

Image
Czech Republic Googol
Retired Contributor
Posts: 1728
Joined: Jan 12, 2017
ESO: Butifle
Location: Central Bohemia

Re: Free Unit Count?

Post by Googol »

Free Cocaine bois
User avatar
Sweden Gendarme
Gendarme
Donator 03
Posts: 5132
Joined: Sep 11, 2016
ESO: Gendarme

Re: Free Unit Count?

Post by Gendarme »

So far I have been Moesbar'd in Colosseum and Cards. Wouldn't surprise me at all that people do that in Risk.
Pay more attention to detail.
No Flag deleted_user
Ninja
Posts: 14364
Joined: Mar 26, 2015

Re: Free Unit Count?

Post by deleted_user »

I find the idea funny someone getting high and obsessing over AoE3 scenarios.
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Free Unit Count?

Post by Cocaine »

LMFAO K guys. Honestly. Why are you part of this forum if you don't love AOE3? I have spent countless evenings editing, perfecting my risk scanerio.. I even implemented that silly population control mechanic (amount of units killed is your pop limit) to suit you're advice before I even think of trying to host a RISK tournament. Lastly I am tackling this hacking issue, because last week I was moesbared by a guy who changed the stats on the units he had PLUS created extra units. Am I really to be ridiculed for trying to improve this game?
A little Cocaine never hurt nobody!

Image
User avatar
Malaysia Aizamk
Pro Player
ESOC WarChiefs Classic 2017
Posts: 1459
Joined: Feb 26, 2015
Location: ded

Re: Free Unit Count?

Post by Aizamk »

The quick fox jumps over the lazy brown dog.
oranges.
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Free Unit Count?

Post by Cocaine »

Resolved
A little Cocaine never hurt nobody!

Image
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Free Unit Count?

Post by Cocaine »

Edited. Resolved.
A little Cocaine never hurt nobody!

Image
User avatar
Malaysia Aizamk
Pro Player
ESOC WarChiefs Classic 2017
Posts: 1459
Joined: Feb 26, 2015
Location: ded

Re: Free Unit Count?

Post by Aizamk »

That'll work if units can only be created through your scenario triggers and not by training units.

By the way, in general, discussing an anti-cheat measure publicly only makes it easier for it to be circumvented. I've edited my post, please edit your quote of my post.
oranges.
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Free Unit Count?

Post by Cocaine »

Aizamk wrote:That'll work if units can only be created through your scenario triggers and not by training units.

By the way, in general, discussing an anti-cheat measure publicly only makes it easier for it to be circumvented. I've edited my post, please edit your quote of my post.


In this risk, you only get units via trade posts so yes, the method mentioned will work. And thanks for the advice :)
A little Cocaine never hurt nobody!

Image
User avatar
Sweden Gendarme
Gendarme
Donator 03
Posts: 5132
Joined: Sep 11, 2016
ESO: Gendarme

Re: Free Unit Count?

Post by Gendarme »

Security through obscurity boiz
Pay more attention to detail.
United States of America frostibite
Musketeer
Posts: 85
Joined: Dec 28, 2016

Re: Free Unit Count?

Post by frostibite »

I do not think moesbar units show up as free units
User avatar
Sweden Gendarme
Gendarme
Donator 03
Posts: 5132
Joined: Sep 11, 2016
ESO: Gendarme

Re: Free Unit Count?

Post by Gendarme »

They do.
Pay more attention to detail.
User avatar
Poland pecelot
Retired Contributor
Donator 03
Posts: 10459
Joined: Mar 25, 2015
ESO: Pezet

Re: Free Unit Count?

Post by pecelot »

Problem = resolved.

Who is online

Users browsing this forum: No registered users and 9 guests

Which top 10 players do you wish to see listed?

All-time

Active last two weeks

Active last month

Supremacy

Treaty

Official

ESOC Patch

Treaty Patch

1v1 Elo

2v2 Elo

3v3 Elo

Power Rating

Which streams do you wish to see listed?

Twitch

Age of Empires III

Age of Empires IV