New MQ in-game text display code

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Mon Oct 27, 2003 3:35 pm

Window wasn't getting alot of use... just an occasional /who and tested a few echo's.

louseman
decaying skeleton
decaying skeleton
Posts: 8
Joined: Mon Oct 27, 2003 4:16 pm

Post by louseman » Mon Oct 27, 2003 4:18 pm

The crashes seem to be caused by the lock state of the MQ window (if it's unlocked and you click Lock, it crashes; if it's locked when you log in, you'll crash after a few minutes). I can't tell for certain though.
Last edited by louseman on Mon Oct 27, 2003 4:29 pm, edited 2 times in total.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Oct 27, 2003 4:26 pm

I'll check that, thanks
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

louseman
decaying skeleton
decaying skeleton
Posts: 8
Joined: Mon Oct 27, 2003 4:16 pm

Post by louseman » Mon Oct 27, 2003 4:30 pm

Since it's not possible to change the font size for the MQ window in game (since you can't chat to it), any chance we can get a line added to Macroquest.ini with our preference? (i.e. automatically /chatfontsize # in the MQ window when client loads) I hate the default text size.

Looks great otherwise, aside from the crashes hehe.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Oct 27, 2003 4:52 pm

We can probably keep chat window settings (x,y and size) in the macroquest ini, and could make a special command to set the MQ chat font size also.

Going to be working on the crash issue now.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Oct 27, 2003 5:15 pm

It might have something to do with item tags....
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

Post by MacroFiend » Mon Oct 27, 2003 6:56 pm

Lax, great work on this. One request/question. How hard would it be to add another MQ.ini parameter to use or not use this addition? My reasoning is this. Upcoming EQ updates mention the inclusion of the ability to change the font used inside EQ.

Sadly, I forsee this requiring struct changes for the chat ui components which would break your addition and all of MQ until the UI struct is fixed. If we have the ability to enable/disable this feature, it would be possible to work through other structs and fixes while the chat ui structs are repaired.

Just a thought. Not sure how hard it would be to maintain both sets of code.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Oct 27, 2003 7:21 pm

They're likely messing with a lot of structs. I should be able to have my IDC up the same day as patch, and this struct should be fixed just about as fast as the others ;) I do agree other than that.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
fice
a hill giant
a hill giant
Posts: 187
Joined: Thu Jul 17, 2003 3:28 pm

Post by fice » Tue Oct 28, 2003 12:08 pm

how do I close the window? by default i use /filter macros none, when i changed it to all the window popped but when i changed it back to none window stayed there and couldn't close it

also is there any possible way to make it like the telnet server so that when you do /who it also shows the regular version on the main chat? otherwise it's not logging a lot of data to the txt :P

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Oct 28, 2003 12:16 pm

If you close the window, MQ will crash. So, you can't close it. You can minimize it and tuck it away in a corner if you'd like

The who thing is someone else's territory :P
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Wishbringer
Contributing Member
Contributing Member
Posts: 230
Joined: Thu Nov 14, 2002 7:00 am

Post by Wishbringer » Tue Oct 28, 2003 1:56 pm

Saving Coord (x,y,width,height,alpha1,alpha2) would be nice...
Don't know if it is in source, but don't work for me, allways pops up at note-window coord.

If you implement coord saving in ini-files, please not in macroquest.ini or eqgame.ini.
Char based saving would be nice, like char based saving for ui.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Tue Oct 28, 2003 2:08 pm

Honestly I can't see a reason why the data couldn't be pushed into your UI_Character_Server.ini file. We already read it, how hard would it be to write to it?
MQ2: Think of it as Evolution in action.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Oct 28, 2003 2:10 pm

Actually it can be stored quite easily in the per-character UI files. There's even a function to call to handle it ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

|| Napolion ||
a ghoul
a ghoul
Posts: 96
Joined: Sat Dec 28, 2002 7:45 am

Post by || Napolion || » Tue Oct 28, 2003 2:20 pm

Startede MQ with the new window, but when I log out my char and in a other the window are closed and EQ crashed when I use a /who or any other MQ command the makes output to it.
|| Napolion ||

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Tue Oct 28, 2003 2:21 pm

Sure is, now you just have to determine which ini file to use... oops, sorry, the mouse parser already does that :)

Code: Select all

	//Get path to EverQuest directory 

	GetModuleFileName(NULL, gszEQPath, sizeof(gszEQPath)); 
	if (pSearch=strstr(_strlwr(gszEQPath), szSearchString)) 
	{ 
		*pSearch=0; 
	} else { 
		strcpy(szSearchString,"\\eqgame.exe"); 
		if (pSearch=strstr(gszEQPath, szSearchString)) 
			*pSearch=0; 
	}
and

Code: Select all

	//develop full character UI ini file name 

	if (!EQADDR_SERVERNAME) 
		return FALSE;
	sprintf(UIFile,"%s\\UI_%s_%s.ini",gszEQPath,pCharInfo->Name,EQADDR_SERVERNAME); 
MQ2: Think of it as Evolution in action.