[MOD Torchlight.exe] enchant limit, heirloom item bug fixes

Want to share your mod with the world? Feel free!

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby Torched » Sat Jul 07, 2012 6:43 am

ember wrote:I used the 1.10 version but it doesn't work for me.

When i start doing the "step over" (F8) it behaives totally differently than in the video and if I continue with the F8.

This is "before and after" I press F8, if I continue to press F8 program complains that he can't find the address.

http://i50.tinypic.com/x1x3c1.jpg

Also I am not pressing "step into" by accident.

Also the api doesn't work in win7


The API used by the debugged program works fine in Windows 7. It would be bad if there wasn't backward compatibility for 32 bits programs.
From what I can tell there doesn't seem to be a module mapped in the address space on address 0x71b00000
You can check if there's a module loaded in that address space by pressing alt-M or pressing on the M icon.
I will look at this myself in a Windows 7 64 bit environment when I can.

I had a closer look at the example program. Something is fishy about the program entry point. Control of the program is being diverted to something else.
The entry point of the debugged program should look like below. It should not start with a jump.
I think a DLL is being globally injected and the DLL overwrites the original entry point of any program you run.
You can check this by loading other executable files in the debugger and look if the entry point has a jump.
Since I don't see the the name of the module responsible for overwriting the OEP, I suspect a hidden DLL module is loaded.
OllyDbg 1.10 doesn't detect hidden modules, but OllyDbg 2.01 has the ability to detect hidden modules. Look and see if there's a difference.
I think you might have a virus.

Code: Select all
CPU Disasm
Address   Hex dump          Command                                  Comments
00401000  /.  6A 00         PUSH 0                                   ; /ModuleName = NULL
00401002  |.  E8 64020000   CALL <JMP.&KERNEL32.GetModuleHandleA>    ; \KERNEL32.GetModuleHandleA
Torched
 
Posts: 17
Joined: Sun May 30, 2010 5:03 am

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby ember » Sun Jul 08, 2012 1:17 am

It is either a virus or some other application (maybe antivirus?) but anyway you are right, since I have had the old winxp sp3 I've reinstaled both of the os clean and it works as intended now in the win7.

I would have never noticed that if I didn't play around with olly :)

EDIT:

Found the "culprit" it was comodo firewall pro, probably his defense+ feature at work.
User avatar
ember
 
Posts: 238
Joined: Sat Jun 23, 2012 1:59 am

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby heron » Sun Jul 08, 2012 6:26 am

encore version working, maximum enchantment reached!

Nice ^^
User avatar
heron
 
Posts: 583
Joined: Fri Jun 05, 2009 8:17 pm
Location: NYC

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby Torched » Sun Jul 08, 2012 8:25 am

ember wrote:It is either a virus or some other application (maybe antivirus?) but anyway you are right, since I have had the old winxp sp3 I've reinstaled both of the os clean and it works as intended now in the win7.

I would have never noticed that if I didn't play around with olly :)

EDIT:

Found the "culprit" it was comodo firewall pro, probably his defense+ feature at work.


You see how use full a debugger can be ;)
Torched
 
Posts: 17
Joined: Sun May 30, 2010 5:03 am

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby Torched » Sun Jul 08, 2012 8:30 am

heron wrote:encore version working, maximum enchantment reached!

Nice ^^


Of course it does. I actually test what I patch. The same can't be said about Runic Games.
Torched
 
Posts: 17
Joined: Sun May 30, 2010 5:03 am

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby ember » Mon Jul 09, 2012 7:03 am

I just heard that the GOG version is up, also that it has some problem with mods not working. I will wait till they fix that and buy it later on and will send an exe for a patch (since the GOG version is probably going to be the most popular one).
User avatar
ember
 
Posts: 238
Joined: Sat Jun 23, 2012 1:59 am

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby ArrowOfAces » Mon Jul 16, 2012 9:26 pm

Thanks for the Encore version! I would have given you a copy of my Torchlight game file, but I have been gone all week on a camping trip. While I would love to learn C++ programming, I don't seem to have the time right now with the immense amount of other interests at hand. I have even looked into learning C++, but I got overwhelmed with the sheer amount of applications each command can have. Learning, interpreting, understanding, and envisioning this programming language to its full potential would entail a lifetime of work and study. I do applaud the information here and I will look into the beginners tutorials you have provided for us! I do appreciate someone sharing knowledge for the benefit of others selflessly.

-♠
Last edited by ArrowOfAces on Thu Jul 19, 2012 9:45 pm, edited 2 times in total.
Image
User avatar
ArrowOfAces
 
Posts: 19
Joined: Thu Jun 21, 2012 1:09 pm
Location: U.S.A.

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby Fhaarkas » Wed Jul 18, 2012 11:45 pm

Thank you for this (and Steam version particularly)!
Remember, remember, the 20th of September.
Random quote:
I just stand back and try to manage the chaos. - Erich Schaefer
Caution: Autistic thinker.
Mods: Torchlight | Diablo Font | Foggy Town
User avatar
Fhaarkas
 
Posts: 667
Joined: Tue Apr 19, 2011 1:10 am

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby Kham » Fri Jul 20, 2012 4:42 pm

Shame on you Runic, shame on you!
Kham
 
Posts: 153
Joined: Thu Jun 28, 2012 9:01 pm

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby sleepers » Thu Aug 16, 2012 8:22 am

Hi Torched,

Currently, none above those 3 files can work on my computer. I don't know what version is my Torchlight but I really want to get fixed by the heirloom bug. Can you please look at my Torchlight.exe ? I'm sending to you the link where I upload it. Thank you.

*Edited*
Had trouble uploading the file. Will PM you the link later if you don't mind.
User avatar
sleepers
 
Posts: 6
Joined: Sun Aug 12, 2012 10:02 pm

Re: [MOD Torchlight.exe] enchant limit, heirloom item bug fi

Postby defeatednoob » Mon Dec 31, 2012 11:16 am

I am new to torchlight.. Have my first vanquisher and am now heading into the shadow vaults.

I was disappointed to hear about the heirloom bug but saw this fix. Unfortunately I have a hard copy Encore CD and the link to the fix is dead. Anyone have this fix handy or could repost a link to the fix?
User avatar
defeatednoob
 
Posts: 2
Joined: Mon Dec 31, 2012 11:11 am

Previous

Return to Mod Showcase

Who is online

Users browsing this forum: No registered users and 4 guests