sup ppl?!
so here's the guide:
1.Download the 3.51 client source code from here,and do what they're saying in that topic:
<a href='index.php?showtopic=6576' target='_blank'>index.php?showtopic=6576</a>
(Credit to Snoopy81 and Diuuude)
and download the 2.20 skin from here:
<a href='http://rapidshare.com/files/11563704/2.20Skin.zip' target='_blank'>http://rapidshare.com/files/11563704/2.20Skin.zip</a>
(Credit to HatoL,I mean me ^^)
2.make a project,and add all the files with your compiler (i recommand VC++ 6,it didn't work for me with Dev C++)
3.now,open the Game.cpp source file
A:Changing the "Loading Data..." sprite's location:
4.search for this line:
Code: Select all
m_pSprite[DEF_SPRID_INTERFACE_ND_LOADING]->PutSpriteFastWidth(472,442, 1, iBarWidth, G_dwGlobalTime);
5.change that line to:
Code: Select all
m_pSprite[DEF_SPRID_INTERFACE_ND_LOADING]->PutSpriteFastWidth(267,446, 1,iBarWidth, G_dwGlobalTime);
6.go to UpdateScreen_OnMainMenu function
and search for this line:
Code: Select all
pMI->AddRect(384,177,548,198);
Code: Select all
pMI->AddRect(114,158,278,179);
pMI->AddRect(84,196,278,217);
pMI->AddRect(114,235,278,256);
Code: Select all
if ((msX >= 384) && (msY >= 177) && (msX <= 548) && (msY <= 198)) m_cCurFocus = 1;
change the first line to:
Code: Select all
the 384 -> 114
the 177 -> 158
the 548 -> 278
the 198 -> 179
Code: Select all
the 384-> 84
the 215 -> 196
the 548 -> 278
the 236 -> 218
Code: Select all
the 384 -> 114
the 254 -> 235
the 548 -> 278
the 275 -> 256
Code: Select all
switch (m_cCurFocus) {
case 1:
m_pSprite[DEF_SPRID_INTERFACE_ND_MAINMENU]->PutSpriteFast(384 , 177, 1, dwTime); //Old 3.51 Version
break;
case 2:
m_pSprite[DEF_SPRID_INTERFACE_ND_MAINMENU]->PutSpriteFast(384, 215, 2, dwTime); //Old 3.51 Version
break;
case 3:
m_pSprite[DEF_SPRID_INTERFACE_ND_MAINMENU]->PutSpriteFast(384, 254, 3, dwTime); //Old 3.51 Version
break;
}
Code: Select all
switch (m_cCurFocus) {
case 1:
m_pSprite[DEF_SPRID_INTERFACE_ND_MAINMENU]->PutSpriteFast(114 , 158, 1, dwTime); //New 2.20 Ver
break;
case 2:
m_pSprite[DEF_SPRID_INTERFACE_ND_MAINMENU]->PutSpriteFast(82, 196, 2, dwTime);//New 2.20 Ver
break;
case 3:
m_pSprite[DEF_SPRID_INTERFACE_ND_MAINMENU]->PutSpriteFast(114, 235, 3, dwTime); //New 2.20 Ver
break;
}
10.now go to the UpdateScreen_OnSelectServer function.
11.search for the line:
Code: Select all
if (m_cCurFocus == 1) DrawNewDialogBox(DEF_SPRID_INTERFACE_ND_LOGIN, 138, 177, 5, TRUE);
(i mean this:)
Code: Select all
if (m_cCurFocus == 1) DrawNewDialogBox(DEF_SPRID_INTERFACE_ND_LOGIN, 130, 177, 5, TRUE);
12.go to the _Draw_OnLogin function.
13.search for these lines:
Code: Select all
if (bFlag == TRUE)
{ if (m_cCurFocus == 3) DrawNewDialogBox(DEF_SPRID_INTERFACE_ND_LOGIN, 80,282, 3, TRUE);
}
Code: Select all
if (m_cCurFocus == 3) DrawNewDialogBox(DEF_SPRID_INTERFACE_ND_LOGIN, 80,282, 3, TRUE);
and enjoy!
(Credit to HatoL BTW,do not copy)