Official eMule-Board: Rememeber Server Priority From Server.met - Official eMule-Board

Jump to content


Page 1 of 1

Rememeber Server Priority From Server.met for static servers.

#1 User is offline   leuk_he 

  • MorphXT team.
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5975
  • Joined: 11-August 04

Posted 08 December 2005 - 12:27 PM

There is a small "feature" that makes you think setting the priority for servers does not work. In reality the "static server"is just too static. If you make a server static then the fact that a server is static AND the priority becomes static,

if you change the priority of a static server, the server will go back to the old priority after a restart.

This is very simply resolved (in 0.46c):

Serverlist.cpp member AddServersFromTextFile() (line 821)

Quote

if (!theApp.emuledlg->serverwnd->serverlistctrl.AddServer(nsrv, true))
  {
  delete nsrv;
  CServer* srvexisting = GetServerByAddress(strHost.GetBuffer(), _tstoi(strPort));
  if (srvexisting) {
    srvexisting->SetListName(strName.GetBuffer());
    srvexisting->SetIsStaticMember(true);
    // srvexisting->SetPreference(priority); // leuk_he remember priority in server.met
    if (theApp.emuledlg->serverwnd)
    theApp.emuledlg->serverwnd->serverlistctrl.RefreshServer(srvexisting);
  }

Download the MorphXT emule mod here: eMule Morph mod

Trouble connecting to a server? Use kad and /or refresh your server list
Strange search results? Check for fake servers! Or download morph, enable obfuscated server required, and far less fake server seen.

Looking for morphXT translators. If you want to translate the morph strings please come here (you only need to be able to write, no coding required. ) Covered now: cn,pt(br),it,es_t,fr.,pl Update needed:de,nl
-Morph FAQ [English wiki]--Het grote emule topic deel 13 [Nederlands]
if you want to send a message i will tell you to open op a topic in the forum. Other forum lurkers might be helped as well.
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users