How do I get the latest ver of MQ2 to run on a old patch ?

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Fjodor
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sat Mar 06, 2004 12:40 pm
Location: Sundsvall/Sweden

How do I get the latest ver of MQ2 to run on a old patch ?

Post by Fjodor » Mon Feb 07, 2005 5:27 pm

I'm playing on a EQEmu server that uses the 20031223 exe so the 20040128 MQ2 works like a charm.
But now I want to work with macros and the new way to create macros don't work with that ver of MQ2.
So my question, what do I need to do to get the latest ver of MQ2 to run on that exe ?
Would it be a HUGE workload for me or is it something I could fix easily ?
Is this something one of you developers could do in like 5 mins for me ?
Any help would be apriciated.
Oh btw, yes I have both the latest zip and the zip that works for this eqemu server.

Sorry for bad gramma and spelling errors.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Mon Feb 07, 2005 5:31 pm

In theory, you could take the latest MQ2 source and use the old eqgame.h. In reality, there are little problems all over the place.

Fjodor
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sat Mar 06, 2004 12:40 pm
Location: Sundsvall/Sweden

Post by Fjodor » Mon Feb 07, 2005 5:48 pm

Well, that didn't quite work.
As the old eqgame.h don't have all the #defines that is needed to compile the new ver.
Now, if I copy all that is in the old eqgame.h file and paste it to the end of the new one, will those #defines work then ?

*edit* I tried this and the compile worked, I allso changed
#define __ExpectedVersionDate
#define __ExpectedVersionTime
to match my eqgame.exe file but it still says that I'm haveing the wrong ver.

N0ctrnl
a lesser mummy
a lesser mummy
Posts: 60
Joined: Thu Apr 29, 2004 12:49 pm

Post by N0ctrnl » Mon Feb 07, 2005 6:33 pm

You have to realize; All of the defines in eqgame.h are specific to the eqgame.exe. They change every time.

What's the date of the exe you're trying to get it working for?

Fjodor
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sat Mar 06, 2004 12:40 pm
Location: Sundsvall/Sweden

Post by Fjodor » Tue Feb 08, 2005 1:50 am

N0ctrnl wrote:You have to realize; All of the defines in eqgame.h are specific to the eqgame.exe. They change every time.

What's the date of the exe you're trying to get it working for?
It was in my first post : 20031223 exe so the 20040128 MQ2 works like a charm

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Feb 08, 2005 2:46 am

Fjodor wrote:Now, if I copy all that is in the old eqgame.h file and paste it to the end of the new one, will those #defines work then ?
No. You'll have to find the offsets for your exe.

Fjodor
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sat Mar 06, 2004 12:40 pm
Location: Sundsvall/Sweden

Post by Fjodor » Tue Feb 08, 2005 4:00 am

Ok, I've extracted ALL the offsets of my old eqgame.h file and changed em in the new eqgame.h file so that works atleast, I have allso got all the offsets that was in the eqgame.ini file and appended it to the eqgame.h file (eqgame.ini file doesn't exist in new vers) I still have one problem tho.

It's these 4 lines in the new eqgame.h file :
#define __ExpectedVersionDate "Dec 23 2003"
#define __ExpectedVersionTime "02:46:45"
#define __ActualVersionDate 0x5FC99C
#define __ActualVersionTime 0x5FC9A8

I have changed the first 2 lines to match my eqgame.exe file but when compiled I still get wrong ver message so I guess I have to change the offset for __ActualVersionDate and __ActualVersionTime, but how do I find those offsets ?
Any help is appriciated :)
Last edited by Fjodor on Tue Feb 08, 2005 4:18 am, edited 1 time in total.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Feb 08, 2005 4:10 am

You can look for those strings in the game with a debugger.

Fjodor
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sat Mar 06, 2004 12:40 pm
Location: Sundsvall/Sweden

Post by Fjodor » Tue Feb 08, 2005 4:20 am

dont_know_at_all wrote:You can look for those strings in the game with a debugger.
Any sugestion what debugger I can use and where to find it ?
And well, a tip how I could find the offset too :)

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Feb 08, 2005 4:51 am

windbg from Microsoft.com
start eqgame.exe
start windbg
in windbg, press f6, attach to eqgame.exe
search for "Dec 23"
the address where "Dec..." start is __ActualVersionDate
do the same for the time

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Feb 08, 2005 4:52 am

windbg from Microsoft.com
start eqgame.exe
start windbg
in windbg, press f6, attach to eqgame.exe
search for "Dec 23"
the address where "Dec..." start is __ActualVersionDate
do the same for the time

you are probably best sticking with what you have. lots of things have changed like the game structures which you would have to rediscover. it's not trivial.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Feb 08, 2005 5:04 am

Just stop. This won't work. There have been hundreds of structure and function prototype changes since then. You'd have to do a full blown patch day update to the current source and from your questions, you are not up to it.

Fjodor
decaying skeleton
decaying skeleton
Posts: 6
Joined: Sat Mar 06, 2004 12:40 pm
Location: Sundsvall/Sweden

Post by Fjodor » Tue Feb 08, 2005 5:22 am

I didn't manage to find the offset as I don't know how to debug a file.
However, I changed the clientoverride to 1 and didn't get that error again, however I got a other error that eqgame.exe needs to be closed :P

As I REALLY want this to work, how much work do I need to do ?
What do I need to change etc.
Is this something a developer could fix without putting down TOO much time and if that is the case, is there any developer that would like to help me ?

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Feb 08, 2005 3:53 pm

It would be easier to convince the owner of the server you are using to move to a later version (and a later version of the client) than to get it working for an old client.

FrankJScott
naggy
naggy
Posts: 2310
Joined: Sun Feb 19, 2023 7:11 am

Handy Reasons For Selecting #DeFi

Post by FrankJScott » Fri Jun 23, 2023 6:27 pm

For the guy talking about binance ftx, iphone airdrop windows, radiant blockchain, blockchain industry, mina protocol, ksi luna, I highly suggest this cool training for #nft details or ellipsis crypto, cosmos crypto, shiba inu price usd, chainlink coin, blockchain with python, new blockchain projects, on top of this official statement on BAKA gaming community tips and don't forget bitfufu, consumer blockchain, opensea veefriends, airdrop can t find my mac, carbon token, shib crypto, alongside all this more hints about BAKA crypto details which is as good as crypto fork, moonxbt, bone shibaswap, blackrock coinbase, ibm hyperledger, cryptocurrency ftx, not to mention this post for BAKA binance smart chain tips as well as airdrop to windows 11, best crypto to buy, blockchain technology in healthcare, best penny cryptocurrency to invest in 2022, air drop pro, ftt ftx, and don't forget this home page on #NFTs info not to mention web 3 crypto projects, crypto com credit card, blockchain 101, crypto lists, kpmg crypto, terra luna fork, as well as i was reading this for #bitcoin url which is about coingecko exchange, casper crypto, airdrop en pc, airdrop on iphone 12, crypto terra luna, web3 protocol, alongside all this he has a good point for #nft details as well as ruja ignatova fbi most wanted, cold wallet crypto, lightning network, blackrock blockchain etf, juno crypto, ibm blockchain, as well as this more hints on #Blockchain forum and don't forget web 3 companies, crypto to invest in, goldman sachs blockchain, airdrop from android to ipad, blockchain app, blockchain 3.0, and don't forget this post for #bsc url and don't forget shiba binance, airdrop to samsung tv, iost crypto, airdrop not visible, ap13 crypto, ftx coin price, which is also great. Finally, have a look at this dig this for #NFTs site with airdrop android to mac, klever crypto, airdrop can t find my mac, cryptounit blockchain, crypto currencies, blockchain for beginners, for good measure. Check more @ Recommended Tips To Choosing BAKA rewards 9a89a61