No ETA, I'm afraid! There's some other stuff I'd like to finish up before it's updated.
Printable View
No ETA, I'm afraid! There's some other stuff I'd like to finish up before it's updated.
Any chance we'll see a fix for scaling with .ui_widget_definition and .hud_globals tags?
Attachment 3414Attachment 3415
At 4:3, everything works perfectly, as it should. It's the aspect ratio the game was designed to use.
Attachment 3416Attachment 3417
As we increase the width, we see stretching occur on menus and the motion sensor mask.
Attachment 3418Attachment 3419
The motion sensor overlay (the static image) is part of cyborg.unit_hud_interface, but the mask isn't.
Both the mask and the blips are referenced in default.hud_globals. Text also gets stretched, I just remembered.
The menus, pause, loading, postgame, etc. are all made from .ui_widget_definition tags. (You knew all of that, I'm just laying out all the cards here)
Open Sauce had a fix for most, if not all, of that; I'm not exactly sure how, but it seemed to simulate 4:3 regardless of resolution.
Attachment 3420Attachment 3421
This stretching can be extremely problematic as you further increase the ratio.
There's actually a point where text no longer gets rendered.
I also asked about scopes earlier, but I thought about a workaround using crosshairs (Innergoat asked me if that's how I did it and I misunderstood the question, whoops) instead of using masks. The only issue with that is convolution now goes to the center of the screen (used mask alpha, so a workaround might be black RGB with an alpha for the mask, but it will still stretch) and night vision won't work (not sure how that worked yet, probably used any black RGB for masking).
That's not relevant to this issue though.
I was also glancing around at other things exclusively referenced in default.hud_globals - just to be sure, I don't know everything you've modified to make work in HAC 2 - and noticed waypoint arrows and damage arrows don't get stretched.
Sadly, scaling the masks through the tags doesn't work. The game just ignores any scaling values in those tags.
In regards to the UI, scaling the HUD through tags is fairly straightforward thanks to the elements being positioned relative to anchor points (top/left/bottom/right) but with the UI, I'd assume everything is placed with absolute screen co-ordinates, which makes things slightly more problematic, especially if custom UIs need to be handled.
OpenSauce went about things a different way which gave them a scaled UI but squished the HUD in the middle. I'm not sure what technique they're using these days (perhaps a hybrid of their previous technique and modifying the tags) but I think the only difference between the two programs is the motion sensor blip.
To have a scaled UI in HAC, I'd likely have to implement something similar to OS and ultimately, I didn't feel that the stretched UI was worth fixing relative to the time it'd take to do so and I don't think the end result, aside from the main menu, looks particularly great either.
The HAC2 website is down, domain name haloanticheat.com seems to have expired.
This makes HAC2 crash Halo on startup. The "fix" for now is to copy hac.dll from your local temp folder, to the main directory where Halo is installed.
You can do this for now, to fix this:
Press the windows key, hold, and press "R" (Windows-R) - this will bring up the "Run" dialog.
For Windows Vista, 7, 8, and 10, enter:
%USERPROFILE%\appdata\local\temp
For Windows XP, enter:
%USERPROFILE%\Local Settings\temp
This will open a window where you can find your copy of hac.dll
Right-click on the file, and select Copy
Then, Windows+R again.
For 64-bit versions of windows, enter this for Halo CE:
C:\Program Files (x86)\Microsoft Games\Halo Custom Edition
For 32-bit versions:
C:\Program Files\Microsoft Games\Halo Custom Edition
Another window will open with the contents of your Halo install directory.
Right-click anywhere in the file list, and select Paste
Windows will probably ask you if you want to do this with administrator privileges, say Yes
Once the file is copied into the Halo install directory, it will (should) no longer crash on startup if it cannot contact haloanticheat.com
If Btcc22 doesn't come up with a fix for this quickly, we at Realworld® will come up with a permanent fix for this. Stay tuned.
:haw:
Any questions, feel free to talk to me on Evolve at msalerno or email me directly at msalerno@kilonet.net and we'll figure out something.
Old. Not news.
lmao
Did you not follow the installation instructions?
Can't wait. best of luck. Have fun accomplishing this task. I certainly expect outstanding results from you in the future.
Keep us posted and show us what you got, man.
I'll be sure to come directly to you for any assistance I need with Btcc22's Halo Anticheat 2.
Is there an archive of all HAC 2 hosted maps that can be downloaded on one hit now that the automatic map downloading is dead?
it's called halomaps.org bruh
And Tnass, he's not wrong. hac2 does make haloce crash on start up you can't even download the program from the download link on the main page, because of this there's like only 80 players playing halo ce. However his work around didn't make sense to me because there was no hac.dll file in the location he described just a hac.tag file?
I don't think halomaps lets you dwonlaod large numbers of maps at once.
Anyway here is a mirror of the HAC 2 2.2.0.7a test dll that was posted here a while back. Attachment 3429
I don't have 2.2.0.6.
I stopped paying attention to Halo and Halo related things on November 15th, 2015, at around 06:49 PM my local time, so my previous post was based 100% on any information or misinformation I had prior to then.
I was wrong, the domain expiration is new.
I didn't try to run Halo to check this because of my aforementioned lack of caring about it.
I recall a few months ago there was a hac.dll fix or something of that sort on Halomaps.org forums that Btcc22 was testing. My mistake for thinking that was loader.dll
In all seriousness, try to contact Btcc22 directly.
I took a look into my temp folder and found it.
If there's a need for this version, info below, I can attach it right here: Attachment 3431
Attachment 3430
The design of HAC 2 was such that it could be easily updated by "Phoning Home", something which Dennis (of Halomaps) wasn't happy about (and as it appears, quite rightly so) since it depends on a single privately registered domain: haloanticheat.com being available 24/7, and which now it seems that this domain registration has now expired, leaving literally 100's of HAC 2 users potentially up the Creek and without a Paddle.
In order for HAC 2 to work, a loader.dll (placed in the controls folder) is responsible for initiating the process, with the most recently updated hac.dll downloaded to the temp directory to get around Administrative Rights issues on Limited User Accounts. However it's entirely possible to override the update check by simply placing the hac.dll in the game root directory. Doing so prevents further updates occurring, but allows HAC 2 basic functionality to operate independently of haloanticheat.com and more importantly, without crashing the game upon launch. This fix alone though, wont permit any In-game Map Downloading, since this precess currently depends on haloanticheat.com being operational.
For those users who have a functional hac.dll located in their temp folder, then the process of copying it over to the game root directory is fairly painless, but not every player (or new user) will have hac.dll downloaded.
Fortunately you can download the most recent version of hac.dll (courtesy of Realworld Guild) here: http://realworldce.com/apps/Hac2/hac.zip
loader.dll is available (again, courtesy of Realworld Guild) here: http://realworldce.com/apps/Hac2/loader.zip
The Full Original Topic and ALL associated HAC 2 files are available here: http://www.realworldce.com/viewtopic.php?f=21&t=4481
Harb.
Admin Core: Realworld Guild
Sorry to double post.
It appears that haloanticheat.com is back, and registered to the correct nameservers once again. It must just have been a case of Btcc22 having a long TTL (time to live) on his DNS records.
Realworld Guild acts as an Official HAC 2 Map Download Mirror... and although the Map Download process is automated, it's a one-way process. My concerns were that if haloanticheat.com disappears, then under the current methodology HAC 2 functionality ceases. It's never has been concerning distrusting Btcc22 or his efforts, but it still doesn't solve the problem of the game now having so much reliance on just Btcc22 or how it reacts when it loses connectivity to it's site.
It shouldn't crash the Halo client.
Is Btcc22 still working on this? The development blog has been dead for ages. There was going to be an update that addressed this problem.
Btcc22 has posted (today):Exacted from this thread (Halomaps) here: http://forum.halomaps.org/index.cfm?...&topicID=48885 So judging from that reply, HAC 2 development work has not ceased, but only stagnated due to other pressures. This is good news, and which hopefully lessons will be learnt by all.Quote:
Originally Posted by Btcc22
BTCC22,
A bit of a scrub-tier question regarding hitmarkers.
With each hit detect, I'm wanting to script to wait 0.1 seconds while the Kill thread runs before determining if a hit detect was a killing shot (right now there's some gross overlap). However it seems Lua does not come stock with a sleep or wait command.
I've done some research, and I haven't found a reliable way to implement a sub-second sleep command that works without other libraries. This is what I stumbled across:
http://lua-users.org/wiki/SleepFunction
I was wondering if there's a way to get this working with your API based on the game's tick rate.
I'm trying to get this working:
THANKS HOPE YOU'RE STILL AROUNDCode:function player_kills(event, killer, victim, player, timestamp)
if(killer == player) then
kills = kills + 1
end
end
function hit_detect(event, killer, victim, player, timestamp)
Sleep(0.1)
if(killer == player) then
if (kills == 1) then
display("Kill!", "killmarker_medal", "audio/hm_kill.mp3")
kills = 0
else
display("Hit!", "hitmarker_medal", "audio/hm_hit.mp3")
end
end
end
Can confirm as still around. I'm afraid there's nothing in the API that'd allow you to use the engine's ticks to sleep.
fuuuu a'ight :}
BUMP
BTCC22 have you considered adding 3rd person/viewmodel support? I'd love to see these features
http://hce.halomaps.org/images/files/lg/i6jj0m.jpg
Bump
Also
Fixed dude, thanks.
So is the server side ANTICHEAT part of this not working now?
thanks
BMF