gametechmods

Robot Arena => Discussion => Topic started by: Erik The Born on February 20, 2013, 08:07:21 AM

Title: Overlaping Components mod
Post by: Erik The Born on February 20, 2013, 08:07:21 AM
 :gawe: Yo. I was wondering if any1 would make a mod for overlapping components? in robot lab they turn red when they overlap so u cant put them everywhere u want. Could some1 release a mod so i can overlap components?
Title: Re: Overlaping Components mod
Post by: Jonzu95 on February 20, 2013, 08:21:53 AM
HAX Mode & Bot file editing are for that...
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 20, 2013, 08:29:02 AM
HAX Mode & Bot file editing are for that...

Yeah uhhm. How do i do that? What is HAX Mode? and how do i edit the bot file? my 3ds max trial is over so i cant use it to create new components etc... what do i need to be able to achieve this?
Title: Re: Overlaping Components mod
Post by: Resetti's Replicas on February 20, 2013, 08:41:49 AM
Type out the following in proper-case:
 
I SOLEMNLY SWEAR THAT I WILL NOT USE BOT FILE EDITING ON ANY ROBOT THAT I ENTER IN A TORUNAMENT
 
Good?  Good, now here's what you need.  Keep in mind that this only works if you have a good txt flie editor like Notepad++ and not regular old Notepad
https://gametechmods.com/forums/index.php/topic,11658.0.html (https://gametechmods.com/forums/index.php/topic,11658.0.html)
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 20, 2013, 09:44:43 AM
Type out the following in proper-case:
 
I SOLEMNLY SWEAR THAT I WILL NOT USE BOT FILE EDITING ON ANY ROBOT THAT I ENTER IN A TORUNAMENT
 
Good?  Good, now here's what you need.  Keep in mind that this only works if you have a good txt flie editor like Notepad++ and not regular old Notepad
https://gametechmods.com/forums/index.php/topic,11658.0.html (https://gametechmods.com/forums/index.php/topic,11658.0.html)

I SOLEMNLY SWEAR THAT I WILL NOT USE BOT FILE EDITING ON ANY ROBOT THAT I ENTER IN A TORUNAMENT WITHOUT PERMISSION
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 20, 2013, 12:03:01 PM
I must say its fair easy to use. it even gives u components list from first put and last put order. It works in most cases but it would be really cool if u were to just remove the overlapping feature in the bot lab. so even though a component is red, it can still be attached. Is there any possible way of doing that?
Title: Re: Overlaping Components mod
Post by: Kossokei on February 20, 2013, 01:17:16 PM
And that's where Hax Mode comes into play.

Surf the wiki/tutorials for:
Trov Glitch
Snapper Loading
Axel Loading
and
effe'ing (I think that's what it's called)

if I'm missing any please do fill those in

All or most of those glitches will help you out with your 'red component' problem, snapper/axel loading especially.
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 22, 2013, 11:46:36 AM
Yes, thanks i actually had something useful from it. But id still need a complete mod for adding components even when they are red in the bot lab. Example i have component wich i want to place on the chassi. But a battery is in the way. Even though the component is red, when i click it whould attach. My problem is not what i described in my example. It was just an "example". I need a mod more like that thank you.
Title: Re: Overlaping Components mod
Post by: Sage on February 22, 2013, 11:50:44 AM
That is exactly what Hax mode is. You can learn how to do it here:

https://gametechmods.com/forums/index.php/topic,7468.0.html (https://gametechmods.com/forums/index.php/topic,7468.0.html)
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 22, 2013, 11:57:48 AM
That is exactly what Hax mode is. You can learn how to do it here:

https://gametechmods.com/forums/index.php/topic,7468.0.html (https://gametechmods.com/forums/index.php/topic,7468.0.html)
Geez. Thank you. It looks like really advanced and its not that simple. It might work in some cases but its not simple enough, though great for small stacks etc.. if ur robot looks like the 1 in the examples. ISnt there any way to actually make a mod so that u can overlap components? Couldnt it be as simple as uploading some custom files wich allows that? That would be great.
Title: Re: Overlaping Components mod
Post by: Kossokei on February 22, 2013, 01:59:50 PM
To do that we'd (probably) have to have the source code (more or less)

The Source Code is something that we've been trying to get for a long time iirc, so probably not.
Title: Re: Overlaping Components mod
Post by: cephalopod on February 22, 2013, 02:11:53 PM
That is indeed a source code thing, and there's about 0% chance of us getting that - they probably lost it over the years that we kept asking.
Title: Re: Overlaping Components mod
Post by: Trovaner on February 22, 2013, 02:57:27 PM
Besides the previously mentioned methods, you would either need to remove all the collision meshes from the GMF files or use the sergepatcher to disable collisions.
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 23, 2013, 03:01:16 AM
serge patcher what is that?
Title: Re: Overlaping Components mod
Post by: Trovaner on February 23, 2013, 12:40:48 PM
For completeness, I'll post this here even though you found it and posted in the other thread 3 minutes later...

The sergepatcher may be found here (https://gametechmods.com/forums/index.php/topic,5794.msg292782.html) and the download link has been updated.
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 24, 2013, 02:48:57 AM
Thank you trovaner!!!  :bigsmile:
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 24, 2013, 03:05:36 AM
For completeness, I'll post this here even though you found it and posted in the other thread 3 minutes later...

The sergepatcher may be found here (https://gametechmods.com/forums/index.php/topic,5794.msg292782.html) and the download link has been updated.

How do i use it? I put the files in the arena folder. I open console and type "import sergepatcher" It says no module found called sergepatcher with red text. i tried puting the files in the scripts folder aswell, Then I managed to import them but when i try to use msg function. i write "sergepatcher.msg("Hello world") the console says no module has no attribute msg. What is wrong?
Title: Re: Overlaping Components mod
Post by: Trovaner on February 24, 2013, 12:16:26 PM
Serge never got around to releasing the version with the msg command working.

The sergepatcher has the following methods:
Code: [Select]
sergepatcher.getmd5() #returns a unique id depending on EXE version (IIRC, it is not the actual version id number but a string of characters that is different in all three of the EXE versions that were officially released by Infogrames)
sergepatcher.mbox("Hello", "world") #creates a new window (outside of RA2) that has the title "Hello" and the message "world." The only way of exiting it without closing RA2 is to use Alt-F4 on it.
sergepatcher.patch(0x42f7ba, "\xEB\x06", 2) #The first parameter is the address, the second parameter is what you are replacing with, and the third parameter is the number of characters after the address that you are replacing. The given values prevent RA2 v1.3 from disabling component placement when the component causes the bot to exceed 800kg.
sergepatcher.setw(0x42f7ba, 2) #This method returns True if it can modify the given memory location (or something like that)

If this is your first time using python, I would not recommend using the sergepatcher.
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 25, 2013, 04:36:53 AM
I am indeed new to python but thats not a reason to give up. I like learning new stuffs. Do you know how to make the msg function as the guy in the video did? could you upload a sergepatcher version wich includes that function?
Title: Re: Overlaping Components mod
Post by: Trovaner on February 25, 2013, 09:09:44 AM
I am indeed new to python but thats not a reason to give up. I like learning new stuffs.
The problem is that this is more than just python and if you get things wrong, you can mess up your game or even your computer. You should be comfortable with python before venturing into something like this. It is a highly advanced technique that requires knowledge of both python and the structure of a compiled C++ program. Much of the EXE is uncharted territory and there are no guarantees.

Do you know how to make the msg function as  the guy in the video did? could you upload a sergepatcher version wich  includes that function?
Serge never got around to releasing the version with the msg command working.
That means nobody has it except Serge.
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 25, 2013, 10:40:26 AM
ok i shall ask him,
Title: Re: Overlaping Components mod
Post by: kill343gs on February 25, 2013, 04:23:09 PM
Good luck, he isn't around anymore.
Title: Re: Overlaping Components mod
Post by: Erik The Born on February 26, 2013, 02:06:29 AM
in that case im screwed :S. But is it possible to make the bot lab accept overlapping components with sergepacther? if i dont want to edit bot file. i want to do all the work in the bot lab. Could some1 upload a version wich allows that?
Title: Re: Overlaping Components mod
Post by: cephalopod on February 27, 2013, 06:00:19 AM
Dude it's Serge's thing. If ANYONE can do anything with it, it's Serge. Not us. Besides all this overlapping components is just plain cheating in most circumstances...