EQBC Server -- massive command lag on Windows 10 (Solved)

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

Moderator: MacroQuest Developers

Sabotage
decaying skeleton
decaying skeleton
Posts: 1
Joined: Wed Oct 22, 2014 7:14 pm

EQBC Server -- massive command lag on Windows 10 (Solved)

Post by Sabotage » Mon Feb 01, 2016 12:33 pm

I just wanted to throw out an issue I've been having the last few days and was solved by Goyuzund on EZServer.

It started after installing Windows 10:

I was having massive amounts of command lag on EQBC server (the actual CMD window). I was under the impression that I was getting my toons disconnected, but what was instead happening was that the commands were not showing up on the CMD window until I actually made the CMD window my active window. The syntax would all of a sudden speed through and my bots would all do the action I had asked them to do 10,20,30 seconds earlier.

I thought it was related to anti-virus software, or a firewall issue, but no matter what I tried I couldn't fix it.

Goyuzund suggested I change the priority of the EQBC Server window to High or Real Time.

So, open task manager -> details tab -> right click EQBCServer.exe -> Set Priority: real time

Viola. Problem fixed. Toons responding real time as they should be.

Not sure if this is something that can be fixed in the next update of EQBCServer.exe or not, but hopefully if anyone else has the same problem they can now fix it.

DigitalMocking
a grimling bloodguard
a grimling bloodguard
Posts: 620
Joined: Mon Apr 04, 2005 5:53 pm

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by DigitalMocking » Thu Aug 11, 2016 11:25 am

Thanks for that, it made a HUGE difference.

n00bhaxor
a lesser mummy
a lesser mummy
Posts: 58
Joined: Fri Jun 05, 2009 4:53 pm
Location: Dallas, TX

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by n00bhaxor » Sat Jan 07, 2017 1:10 am

THANK YOU! That was driving me crazy. it wasn't bad lag, but it was a bit more delayed than usual.

User avatar
MacQ
Macro Author
Macro Author
Posts: 674
Joined: Sat Apr 02, 2005 2:39 pm

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by MacQ » Sat Jan 07, 2017 12:24 pm

I remember doing a little research on this issue awhile back (i.e., setting program priority level). Unless something has changed, I think you need to manually set a program's priority level each time you start that program, and if you want to set priority level permanently (i.e., it's set each time you start that program) you need to use a third-party application or create a shortcut with an argument on the command line to set priority.


Awhile ago I created a shortcut to launch EQBCS.exe. In the properties of that shortcut, I modified the "Target" to run EQBCS at high priority. So create a shortcut pointing to your EQBCS.exe, then pull up the properties of that shortcut, go to the Shortcut tab and look for Target. In front of that Target insert %windir%\system32\cmd.exe /c start /high. I think generally speaking, it can be a bit dangerous to set program priority to Real Time, priority High or even Above Normal should be good enough.

Here is a list of Windows 10 priority start command line options:
/low
/belownormal
/normal
/abovenormal
/high
/realtime

Here's an example of the Shortcut's Target line based on a user called John and assuming John stored EQBCS.exe in his Documents folder.

Target Line Before:
C:\Users\John\Documents\EQBCS.exe

Target Line After:
%windir%\system32\cmd.exe /c start /high C:\Users\John\Documents\EQBCS.exe

If you have spaces in your path name, I think you need to use quotes but I don't remember if you quote the whole Target line or some part of it; you may have to mess around with that. Hopefully this helps.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by SwiftyMUSE » Sat Jan 07, 2017 2:33 pm

Close...

You are missing the "program name" parameter in the start. The target line after should be:

%windir%\system32\cmd.exe /c start "EQBCs" /high C:\Users\John\Documents\EQBCS.exe
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

User avatar
MacQ
Macro Author
Macro Author
Posts: 674
Joined: Sat Apr 02, 2005 2:39 pm

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by MacQ » Sat Jan 07, 2017 2:46 pm

Interesting rswiders.

My EQBCS shortcut has worked well without incident, however, I was curious so I did add your "program name" suggestion but it still works the same. What does the "program name" get you?

But here is a problem I never resolved, I could never make this Target or something similar work correctly:

%windir%\system32\cmd.exe /c start "EQGame" /abovenormal "C:\Program Files (x86)\Everquest\eqgame.exe" patchme

So I was forced to just use: "C:\Program Files (x86)\Everquest\eqgame.exe" patchme

I would love to get your help solving that target problem. Any suggestions?

LamahHerder
a hill giant
a hill giant
Posts: 299
Joined: Sat Jun 29, 2002 2:37 am

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by LamahHerder » Sat Jan 07, 2017 4:30 pm

did you look at the start command?

start /abovenormal /D "C:\Program Files (x86)\Everquest\" eqgame patchme

I install eq @ c:\eq and mq2 @ c:\mq2 and this works for me

start /abovenormal /D c:\eq\ eqgame.exe patchme


I think your issue was you did not specify working directory....

User avatar
MacQ
Macro Author
Macro Author
Posts: 674
Joined: Sat Apr 02, 2005 2:39 pm

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by MacQ » Sun Jan 08, 2017 2:48 pm

LamahHerder, thank you. I am actually using the start command, it is in the examples I posted above. Those are all examples of a Target field contained in the properties of different Shortcuts.

It was my impression start is an embedded command and to use it requires a command window to be launched, which is why I am proceeding the start command, used within the Target field of a Shortcut, with %windir%\system32\cmd.exe . Remember, I'm creating a Shortcut and I don't believe a shortcut Target allows you to begin with the start command, it will error out. If I were building a BAT file, then yes, I believe I could simply use the start command without calling for another command (cmd.exe) window.

I awhile back I resolved the issue by using a BAT file that is called via a Shortcut, but I was hoping to use a Shortcut to directly call EQGame.exe by putting the full command string into the Target field of the Shortcut and eliminate the BAT file all together.

You gave an example of:
start /abovenormal /D c:\eq\ eqgame.exe patchme

Are you saying that is the exact line in the Target field of a Shortcut you are using to launch EQ or is that a line from a BAT file?

LamahHerder
a hill giant
a hill giant
Posts: 299
Joined: Sat Jun 29, 2002 2:37 am

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by LamahHerder » Sun Jan 08, 2017 3:50 pm

I dont think there is a start.exe as such so you do need to do your cmd.exe /c start

I tried this shortcut in Win10 and checked task manager Details tab (add column base priority) and it shows my eqgame as Above Normal

I dragged eqgame to desktop > create shortcut
Then I went to properties to modify it...

Target = C:\Windows\System32\cmd.exe /c start "eqgame" /abovenormal "c:\eq\eqgame.exe" patchme
Start in = C:\eq

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by EqMule » Sun Jan 08, 2017 4:02 pm

You guys know you can set priority to above normal by using /setprio 4 as well right? (For eqgame, but this thread kinda derailed into that from eqbcs so I'm just saying...)
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image 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.

User avatar
MacQ
Macro Author
Macro Author
Posts: 674
Joined: Sat Apr 02, 2005 2:39 pm

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by MacQ » Sun Jan 08, 2017 4:06 pm

Thanks EQMule, that command slipped by me. I just found it in your 17 June, 2016 release notes.

When you /setprio, is that saved in an INI file for use again or do we need to /setprio each time we start MQ/EQ?

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by EqMule » Sun Jan 08, 2017 5:16 pm

It's not a saved setting.
I suppose you could add it to a config file to get run once every time you log in or whatever charselect.cfg for example
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image 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.

User avatar
MacQ
Macro Author
Macro Author
Posts: 674
Joined: Sat Apr 02, 2005 2:39 pm

Re: EQBC Server -- massive command lag on Windows 10 (Solved

Post by MacQ » Sun Jan 08, 2017 11:59 pm

Thanks for the heads up on that command EQMule. I can see it's defiantly a handy command.

It might make a nice addition to store the priority in an INI file, maybe the Macroquest.ini.

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

Free Advice For Choosing Green Energy

Post by FrankJScott » Wed Mar 01, 2023 6:45 am

In reply to the people inquiring about tesla powerwall 2 price, gallagher s40, best solar panel company, solar panel fitting, tidal hydroelectric power, types of solar energy, heliene solar panels, wind turbines for domestic use, largest hydroelectric power plant, source of geothermal energy, solar abs, I highly suggest this useful hydro site alongside all solaredge p401, powerpods wind turbine, offshore hydropower, tesla roof cost, orsted wind power, solar wind system, hydro power dam, grid tie inverter, dc solar, best solar panels for sale, solar plate system, electric windmill, solar panels generate electricity, loom solar 440 watt price, hydro wind energy, look at this recommended hydro site on top of pes solar, solar air heater, geothermal ground loop, types of hydroelectric energy, sun solar company, diy vertical wind turbine, gamesa wind turbines private limited, solar panel efficiency, wind energy to electrical energy, ground source heat pump for sale, thermal heat pump system, loom solar ac module 1 kw price, whole home solar system, small scale hydroelectric power, 5 uses of geothermal energy, try this cool renewable energy tips for water electricity generator, hydro power plant in chhattisgarh, ebay solar panels, solar powered fan for shed, solar incentives, livguard solar panel, geothermal system for home, tesla solar roof cost 2021, wind and solar, best vertical axis wind turbine, geothermal heating and cooling system, . See More Visit Website For Good Mastiff Dog Info ce3c8de

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

Best Product Blog

Post by FrankJScott » Fri Aug 18, 2023 7:21 pm

Why don't you Google it! before you post