.text:0045E9D0 ; =============== S U B R O U T I N E =======================================
.text:0045E9D0
.text:0045E9D0 Component::CanAttach proc near ;
.text:0045E9D0
.text:0045E9D0 sub esp, 38h
.text:0045E9D3 push esi
.text:0045E9D4 mov esi, ecx
.text:0045E9D6 push edi
.text:0045E9D7 mov edi, [esp+40h+arg_4]
.text:0045E9DB mov eax, [esi]
.text:0045E9DD push edi
.text:0045E9DE call dword ptr [eax+40h]
.text:0045E9E1 test al, al
.text:0045E9E3 jz loc_45EB04
.text:0045E9E9 cmp dword ptr [esi+0E4h], 7
.text:0045E9F0 jge loc_45EB04
.text:0045E9F6 mov ecx, edi
.text:0045E9F8 call sub_416930
.text:0045E9FD mov ecx, [esp+40h+arg_8]
.text:0045EA01 push eax
.text:0045EA02 lea edx, [esp+44h+var_28]
My AV started having a hissy fit when I tried to download it.Probably because the .exe has been modified in an odd way, quite a lot of hacking tools(and with hacking I mean game editing ones) seem to trigger antiviruses. Also the thing about tournaments is exactly what I thought.
(http://i.imgur.com/UoUg2lO.png)
Probably a false positive since I was able to run it just fine after disabling by AV and downloading it, but I thought I'd just let you know.
It should be interesting to see if tourney hosts allow people to bypass rule of 7 on thier entries or not.
Probably a false positive since I was able to run it just fine after disabling my AV, downloading it and then re-enabling the AV, but I thought I'd just let you know.
Hi,
DomainRep is a new feature of Avast, so let me explain a bit. It blocks EXE files downloads if these conditions are *all* met:
1. The file is not prevalent enough, ie. not enough Avast users launched the file yet,
2. The domain is not prevalent enough, ie. not enough Avast users downloaded (any) EXE files from the domain yet,
3. The file is not signed or Avast does not trust the signature.
It should be interesting to see if tourney hosts allow people to bypass rule of 7 on thier entries or not.I'm thinking about this, as well. Hosts would probably have to wait until people start showcasing bots that use this to see if it can lead to absurd and/or op results. IRL tournaments will probably be the ones that use it almost all the time.
I do hope that this feature can be disabled in avast, gotta hate that such unneeded features get added just because there are "brain dead" people out there that DL everything and then complain that windows is full of viruses that appear out of nowhere.Probably a false positive since I was able to run it just fine after disabling my AV, downloading it and then re-enabling the AV, but I thought I'd just let you know.
It's a Smart Feature (tm) by Avast that triggers when you download from a little known site (ie., mine). According to their forums (https://forum.avast.com/index.php?topic=163221.msg1164286#msg1164286):QuoteHi,
DomainRep is a new feature of Avast, so let me explain a bit. It blocks EXE files downloads if these conditions are *all* met:
1. The file is not prevalent enough, ie. not enough Avast users launched the file yet,
2. The domain is not prevalent enough, ie. not enough Avast users downloaded (any) EXE files from the domain yet,
3. The file is not signed or Avast does not trust the signature.
Sorry about that. If someone from GTM packs this into a .zip and uploads it to the site downloads, I'll update links to point there instead.
So yes, I was able to also patch being able attach anything to anything... I could also patch being able to intersect components.Nice, both of those things can be set in the components file, right?(for my mod I'll definitely allow weapon to chassis clipping and I'd love to allow attaching everything to everything) I think this could be RA 2.5(funny enough my mod was aiming to be that).
Now I'm really not sure whether I should release this. I'm afraid RA2 will never be the same afterwards.
(https://q3k.org/consequenceswillneverbethesame.png)
Elders of the community, what to do?
You should just go full yolo and release it anyway. BFE made it so RA2 "was never the same afterwards" but BFE is also banned from most tournies. I'm sure we'll be able to assess if this would be allowed or not.I think similar as well, mostly because this would allow many possibilities and since it's just a patch people can still go back to vanilla RA2 and/or block certain of those mods in tournaments, best example would be stock(even if it's common to use glitches there) you still see normal bots in Ra's community and mods like DSL and Ironforge which don't use those.
If you're gonna go ham on patching things, you should get rid of the maxsphere. It should be pretty much the same method of patching it out as making components intersect, shouldn't it?
Is there a different way to download it as my computer does not allow me at all to run the exeThe full version will be based of SergePatcher, so it should make it easier for people with aggressive antivirii (I guess that's what's blocking you). For now, all I can do is send you a link to a Zipped version (https://q3k.org/RA2FreedomTeaser.zip), which might help. Sorry!
Well thanks for the zipped version. I still can not run it and I have no idea how to bypass thisYou could be more descriptive in your reports - only saying “my computer does not allow me at all to run the exe” is not helpful at all.
it tells me that python22.dll is missing and tells me to redownload itIt seems like you haven't placed the downloaded .exe in the game folder before running it. It won't run from anywhere else but right next to the Robot Arena 2.exe file.
Sweet. What are your reasons for delaying the full release 'til RA3 is out?To give myself some time to flesh things out, and for the hell of it. Mostly the latter.
Sweet. What are your reasons for delaying the full release 'til RA3 is out?I'm not serge, but I like him putting it out on the day of RA3's release. It gives a nice sense of closure.
So.... Are we making this legal for tournaments/BOTM/etc?It depends on the tournament :P
Is it just me who notices that you can build past 800KG's without an antiballast with this mod?
Is it just me who notices that you can build past 800KG's without an antiballast with this mod?
It's been posted in the OP. He used his no mass limits mod as well.
Is it just me who notices that you can build past 800KG's without an antiballast with this mod?
It's been posted in the OP. He used his no mass limits mod as well.
Oh, didn't know the OP had been updated.
Anyway, V2.0's taking things too far, especially in terms of DSL and Ironforge. Like, with Stock, I get it - gives some more life to the base game, and all - but for DSL, Ironforge and all that? ...Sheesh.
Any sign of the weight categories Serge? Would be interesting to see if you could change/add them.Might give it a quick look.
All that we need is removal of the max sphere.This is planned for the full release.
shame I'd literally learned how to bypass rule of 7 a few days before this was madeWhat's your method?
This is excellent, shame I'd literally learned how to bypass rule of 7 a few days before this was made, something everyone has wanted.Forgive me for assuming that you're talking out your ass, but how did you do it, and why didnt you tell anyone? Seems pretty co-incidental that you discover a method for bypassing a rule we thought was set in stone for over a decade a couple days before another method was publically released.
Thank you Serge :)
He used BFE https://gametechmods.com/forums/index.php?topic=18885.msg699513#msg699513This is excellent, shame I'd literally learned how to bypass rule of 7 a few days before this was made, something everyone has wanted.Forgive me for assuming that you're talking out your ass, but how did you do it, and why didnt you tell anyone? Seems pretty co-incidental that you discover a method for bypassing a rule we thought was set in stone for over a decade a couple days before another method was publically released.
Thank you Serge :)
so weird to see nifty batteries sideways. also is the air tank just floating?
. He's talking about the way to bypass it by using BFE. It's a lot less efficient, as it requires you to assemble the chain elsewhere on the robot, then use BFE to stick it in place. The coincidence was me finally gettin off my ass and writing a tutorial just a few days before Serge released his thingThis is excellent, shame I'd literally learned how to bypass rule of 7 a few days before this was made, something everyone has wanted.Forgive me for assuming that you're talking out your ass, but how did you do it, and why didnt you tell anyone? Seems pretty co-incidental that you discover a method for bypassing a rule we thought was set in stone for over a decade a couple days before another method was publically released.
Thank you Serge :)
Building the rest of a chain on another base component and swapping the component parent number over, it requires replacing the component placed last on the chain I'm trying to follow on, it sounds complicated but it isn't tbh :Dshame I'd literally learned how to bypass rule of 7 a few days before this was madeWhat's your method?
I followed Sonny's advice on the topic, so no I'm not talking rubbish or not telling anyone plus it had been found out before :) it's actually a pretty good method but unnecessary now :)This is excellent, shame I'd literally learned how to bypass rule of 7 a few days before this was made, something everyone has wanted.Forgive me for assuming that you're talking out your ass, but how did you do it, and why didnt you tell anyone? Seems pretty co-incidental that you discover a method for bypassing a rule we thought was set in stone for over a decade a couple days before another method was publically released.
Thank you Serge :)
This truly is a breakthrough, I am a bit of a pessimist though so I do have to ask? With Robot Arena 3 just around the corner will that put a damper on any future potential breakthroughs like this.That's difficult to say - it depends how fun RA3 will be to mod. I'm optimistic, Unity games are usually quite fun to reverse-engineer and extend (http://quangntenemy.blogspot.ie/2014/01/ghost-in-shellcode-2014.html) (although the toolset for CLI/CLR is entirely different than for native binaries).
I truly cannot believe with all the brilliant coders, and modders in the history of the RA2 community that it took so long.Apparently nobody really tried hard enough :D. My excuse is not having a Windows box for a long time (and that the game was broken on Wine) - once the game was running under a debugger, finding the place to patch this took just an hour of bisecting with breakpoints.
Personally I like "cheating." It makes up for what the games lacks. and I live my life by the notion that the only rule is what a man can do, and what a man can't do.
Time to utterly break the game !
Maybe we can even use this for better DSL-S building, as long as we agree to certain rules...
I remember click made a bot with multiple chassis before, and encountered a similar issue regarding drive. He had to use sawblade "wheels" instead of legit wheels. It was called ant army, should be on the exchange under stock MW.Ah crap. Oh well, no breakthrough today! Still, I can at least start instrumenting component state in the game.
Btw, since you're dabbling in chassis hax, you think it would be as easy to remove the 16 chassis point limit as it would be the 7 part limit?Sure, I'll try that.
When going to fight another robot does first chassis have collision or is it still collision-less?I haven't checked. I suppose it collides the same way as the first. You can check with Click's robot, as AS mentioned it's using the same glitch.
What even is going on in the background of your desktop? You have a bunch of coding things/etc going on while RA2 is playing; I find it interesting.That's not terribly interesting - when I start recording, I do it in a tag (== 'virtual desktop') where I have a terminal with ffmpeg open. Then I switch to a tag with RA2, which has a terminal window with RA2/Wine logs running by, and the game in the centre.
Oh that's very interesting. I wonder what effect having multibots in "one bot" would have on AI-making, is it possible to make a selarate AI for each of the bots? IDK how AIing works but I would think that if the game sees them as 1 bot then that would cause issues.As far as I understand, only the newest chassis would be actionable on by the standard AI framework.
On another note I'd like to suggest a feature if possible. I think it would be great if we could turn item-chassis collisions on so it isn't as annoying to place motors, batteries, etc. only to find out they're clipping through the chassis a tiny bit. It would be a big QoL improvement for us space-maniacs to be able to put something pixel-perfectly in a corner without having to worry about it sticking out on either end, making it unrealistic.That should be doable. I'll make a note of this.
Cool. Even can make this
(https://gametechmods.com/uploads/images/43801the%20evilest%20robot.png)
Yes, I don't know what to choose background next.Cool. Even can make this
(https://gametechmods.com/uploads/images/43801the%20evilest%20robot.png)
Wait... Is that my profile pic in the background?
Late reply, but why does the patcher method only work on windows? Is it because a special DLL is required(wouldn't that be possible with wine on linux?) or other reasons?
Hi. Serge decided to go and disable the 16 point limit. He asked me to post it for him on the discord chat because he, in his own words, "really can't be assed."Sweet, best to post the code here as well in case the Pastebin one expires. Now if this was only released before this month's BOTM I could've made a even better bot.
Here is the updated code. It should work without crashing. To install, just copy & paste it over your existing code, it's enabled by default. Remember to ctrl+z if it does crash, however. (http://pastebin.com/Nqr62Yrw)
Please direct "thank you"s to Serge.
Why isn't this a sticky?This section is bloated with stickied topics already, I was working on a mod index so we could unsticky those things and have it be a lot cleaner but I haven't gotten around to finishing it and getting it to the quality I want with image and text descriptions of each thing.
Upwhat did he mean by this
He meant what badger said.Upwhat did he mean by this
Sorry for the bump, but I'm just curious, is there a mod for no restrictions on chassis building? Being ably to make whatever shaped chassis you want? I don't mean the kind of stuff in Bot File Editing, which I can't do, I mean more like when you're shaping the top of the chassis, and you want to make it a certain way, but for some dumb reason the game won't let you.
I could've sworn Serge made a patch that enabled that.
Massive bump but came across this again, where do I copy everything in this to:
https://pastebin.com/Nqr62Yrw (https://pastebin.com/Nqr62Yrw)
Just edit the extracted sergepatcher_freedom.py in Arenas
Hello? Anyone?
I installed the sergepatcher PY and stuff into the arenas, EXACTLY as the readme instructed, and nothing changed. It's not working.
Sorry for the bump, but I'm just curious, is there a mod for no restrictions on chassis building? Being ably to make whatever shaped chassis you want? I don't mean the kind of stuff in Bot File Editing, which I can't do, I mean more like when you're shaping the top of the chassis, and you want to make it a certain way, but for some dumb reason the game won't let you.
I could've sworn Serge made a patch that enabled that.Massive bump but came across this again, where do I copy everything in this to:
https://pastebin.com/Nqr62Yrw (https://pastebin.com/Nqr62Yrw)Just edit the extracted sergepatcher_freedom.py in Arenas
I installed the sergepatcher PY and stuff into the arenas, EXACTLY as the readme instructed, and nothing changed. It's not working.Sorry for the bump, but I'm just curious, is there a mod for no restrictions on chassis building? Being ably to make whatever shaped chassis you want? I don't mean the kind of stuff in Bot File Editing, which I can't do, I mean more like when you're shaping the top of the chassis, and you want to make it a certain way, but for some dumb reason the game won't let you.
I could've sworn Serge made a patch that enabled that.Massive bump but came across this again, where do I copy everything in this to:
https://pastebin.com/Nqr62Yrw (https://pastebin.com/Nqr62Yrw)Just edit the extracted sergepatcher_freedom.py in Arenas
Are you using RA2 from a Windows?I installed the sergepatcher PY and stuff into the arenas, EXACTLY as the readme instructed, and nothing changed. It's not working.Sorry for the bump, but I'm just curious, is there a mod for no restrictions on chassis building? Being ably to make whatever shaped chassis you want? I don't mean the kind of stuff in Bot File Editing, which I can't do, I mean more like when you're shaping the top of the chassis, and you want to make it a certain way, but for some dumb reason the game won't let you.
I could've sworn Serge made a patch that enabled that.Massive bump but came across this again, where do I copy everything in this to:
https://pastebin.com/Nqr62Yrw (https://pastebin.com/Nqr62Yrw)Just edit the extracted sergepatcher_freedom.py in Arenas
I copy-pasted that and did everything as instructed. I edited the py file. It STILL doesn't work.
I tried the static version, which is what a regularly use, and the only thing that didn't work was the chassis points modification, which is what I currently need, and have NEVER been able to get working.
Yup, Windows 10.Are you using RA2 from a Windows?I installed the sergepatcher PY and stuff into the arenas, EXACTLY as the readme instructed, and nothing changed. It's not working.Sorry for the bump, but I'm just curious, is there a mod for no restrictions on chassis building? Being ably to make whatever shaped chassis you want? I don't mean the kind of stuff in Bot File Editing, which I can't do, I mean more like when you're shaping the top of the chassis, and you want to make it a certain way, but for some dumb reason the game won't let you.
I could've sworn Serge made a patch that enabled that.Massive bump but came across this again, where do I copy everything in this to:
https://pastebin.com/Nqr62Yrw (https://pastebin.com/Nqr62Yrw)Just edit the extracted sergepatcher_freedom.py in Arenas
I copy-pasted that and did everything as instructed. I edited the py file. It STILL doesn't work.
I tried the static version, which is what a regularly use, and the only thing that didn't work was the chassis points modification, which is what I currently need, and have NEVER been able to get working.
Sorry, I get really insecure when I ask for help, which in of itself his hard to do, and nobody replies fast enough. If there's no response for a whole day, that basically means either nobody saw it, or nobody cared enough to help.Hello? Anyone?
please be patient
### Configuration starts here
# Comment out / remove any of the lines 4-7? to disable a mod.
ENABLED_MODS = [
"unlimited mass", # no mass limit
"unlimited chains", # disable 7-chain rule
"attachment hermaphroditism", # attach components to any type of AP, disabled by default
"component intersection", # allow components to intersect any other component, disabled by default
]
# Logfile name
LOGFILE = 'sergepatcher_log.txt'
### Configuration ends here
make sure none of the ENABLED MODS lines are commented out in sergepatcher.py. The start of your sergepatcher.py should look like below:Well, it PARTIALLY worked. I don't think the chassis thing worked though.Code: [Select]### Configuration starts here
# Comment out / remove any of the lines 4-7? to disable a mod.
ENABLED_MODS = [
"unlimited mass", # no mass limit
"unlimited chains", # disable 7-chain rule
"attachment hermaphroditism", # attach components to any type of AP, disabled by default
"component intersection", # allow components to intersect any other component, disabled by default
]
# Logfile name
LOGFILE = 'sergepatcher_log.txt'
### Configuration ends here
ENABLED_MODS = [
"unlimited mass", # no mass limit
"unlimited chains", # disable 7-chain rule
"attachment hermaphroditism", # attach components to any type of AP, disabled by default
"component intersection", # allow components to intersect any other component, disabled by default
"chassis points", # disables 16-point chassis limit
]
Yeah that won't enable the chassis points mod. idk if sergepatcher even does that since I've not seen anything about it in this thread except jaydee's post. And all this does is allow you to use more points on the base chassis, nothing more. If you want to give it a go, replace the enabled mods code with the code below I guess.Wait, when did the chassis points mod appear. I have sergepatcher with no chassis points mod, only the first fourCode: [Select]ENABLED_MODS = [
"unlimited mass", # no mass limit
"unlimited chains", # disable 7-chain rule
"attachment hermaphroditism", # attach components to any type of AP, disabled by default
"component intersection", # allow components to intersect any other component, disabled by default
"chassis points", # disables 16-point chassis limit
]
the readme in sergepacker says to have a 'fresh ra2 1.4 exe', i want to install this in dsl. im following the instructions, using a fresh download and unpack for both things nessecary, where do i start in troubleshooting this? it worked for me before on this computer, i think.