A forum for feature requests/discussions and user submitted patches that improve MQ2
Moderator: MacroQuest Developers
-
Plazmic
- The One

- Posts: 800
- Joined: Fri Jun 14, 2002 12:31 am
-
Contact:
Post
by Plazmic » Sat Nov 01, 2003 9:14 pm
Change the WritePrivateProfileString calls to use Arg2 instead of Arg1, otherwise you log into 1 fps...
-
wassup
- Official Guardian and Writer of TFM

- Posts: 1487
- Joined: Sat Oct 26, 2002 5:15 pm
Post
by wassup » Sat Nov 01, 2003 9:49 pm
I didn't have a problem with framerate when I logged in, or anytime after.
This is with today's zip file.
-
Plazmic
- The One

- Posts: 800
- Joined: Fri Jun 14, 2002 12:31 am
-
Contact:
Post
by Plazmic » Sat Nov 01, 2003 10:06 pm
It's fine until you do a /maxfps fg #
then it sets the ini to "fg" which on the next login gives you 1 fps ;(
-
wassup
- Official Guardian and Writer of TFM

- Posts: 1487
- Joined: Sat Oct 26, 2002 5:15 pm
Post
by wassup » Sat Nov 01, 2003 10:32 pm
ouch hehe... I experimented a little with that in game... seems some # between 40 and 50 gives acceptable framerates when in fg.
Great new feature without a doubt. I was able to start some apps with EQ in the background and didn;t get the extremely long waiting times for the app to start.
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Sat Nov 01, 2003 11:10 pm
Normally I couldn't very well work on MQ while in game, now I do it all and compile, etc just link after unloading
Fixed the ini bug in dev cvs, dont have time to update zip right now sorry
-
EqMule
- Developer

- Posts: 2697
- Joined: Fri Jan 03, 2003 9:57 pm
-
Contact:
Post
by EqMule » Sat Nov 01, 2003 11:14 pm
updated zip...

o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received

donations for this month's patches.
Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Sat Nov 01, 2003 11:31 pm
Argh, the telnet output is all messed up...
-
EqMule
- Developer

- Posts: 2697
- Joined: Fri Jan 03, 2003 9:57 pm
-
Contact:
Post
by EqMule » Sat Nov 01, 2003 11:36 pm
they usefullness of this command should make up for it

heck I lost my nice colors in the mqchatwindow, but Ill take that any day if I can get my cpu to 42%


o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received

donations for this month's patches.
Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Sun Nov 02, 2003 8:53 am
Telnet output should be fine, I'll double check the StripMQChat function.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Sun Nov 02, 2003 12:38 pm
I fixed it, mostly.
I couldn't find a case where there was a color change like this:
\a#12345
so I'm not sure if that is the right format to skip when sending it to telnet.
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Sun Nov 02, 2003 12:44 pm
It's \a#RRGGBB
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Sun Nov 02, 2003 12:50 pm
Nope it should be ok how it is.
\a gets skipped in output
# is victim of i++
add 6 to skip the RRGGBB
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Mon Nov 03, 2003 4:22 am
With your changes, it should be six.
Why did you make it seven? Or am I missing something?
Code: Select all
#include <stdio.h>
typedef char *PCHAR;
typedef void VOID;
VOID StripMQChat(PCHAR in, PCHAR out)
{
//DebugSpew("StripMQChat(%s)",in);
int i = 0;
int o = 0;
while(in[i])
{
if (in[i]=='\a')
{
i++;
if(in[i]=='-')
{ // skip 1 after -
i+=2;
}
else if (in[i]=='#')
{ // skip 6 after #
i+=7;
}
}
else if (in[i]=='\n')
{
}
else
out[o++]=in[i];
i++;
}
out[o]=0;
//DebugSpew("StripMQChat=>(%s)",out);
}
void main()
{
char szCmd[1024], szOut[1024];
sprintf(szCmd,"\a#rrggbb\aw\ayMaxFPS\ax\a-u:\ax\a-u[\ax\at%d\axForeground\a-u]\ax \a-u[\ax\at%d\ax Background\a-u]\ax",1000/20,1000/50);
StripMQChat(szCmd, szOut);
printf("<%s>\n", szOut);
}
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Mon Nov 03, 2003 9:06 am
Well, I certainly didnt make it skip 2 after '-' so that's someone elses change