Building 2.20 Client Up

All Helbreath Client Source Discussion here.
Dax
<3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

Code: Flashing "Level Up!" Button

Function: DrawDialogBox_IconPannel
Insert:

Code: Select all

	if((m_iLU_Pool > 0) && (m_bIsDialogEnabled[12] == FALSE)) PutString_SprFont2( 557, 395, "Level Up!", (timeGetTime()/3)%255, (timeGetTime()/3)%255, 0);
Function: _iCheckDlgBoxFocus
Find:

Code: Select all

if (cButtonSide == 1) {
Insert after:

Code: Select all

if((m_iLU_Pool > 0) && (m_bIsDialogEnabled[12] == FALSE) && (msX > 555) && (msX < 625) && (msY > 395) && (msY < 407)){
  	PlaySound('E', 14, 5);
  	EnableDialogBox(12, NULL, NULL, NULL);
This is the button code used inside of the HBU 0.3 client. I originaly coded it but then Aryes added the pwnt flashing after that. He also replaced the 10 pixels i took away to stop the client walking when you click the button. This can be fixed by disabling walking when the user clicks the specified margins of the button whilst the client's LU_Pool is greater than 0.
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
Shetar
Member
Posts: 148
Joined: Sun Nov 30, 2003 12:57 am

Post by Shetar »

The Unadvised Client already has level up fixed, don't worry about it. Almost done with dialog screens, then it's time for the aura's. When I'm done with those I'll release v1!

*P.S. thx bd :)
Helbreath II Project Manager & All round Developer. <br><i>(Don't worry, we're not dead)</i>
Calibula
Regular
Posts: 87
Joined: Sun Jul 11, 2004 9:17 am

Post by Calibula »

Well... Audioslave and i, are going to do a server and he is programming v3.51... An advise is to do client like this: 2.20 -> 2.23 -> 2.24 -> 2.95 -> 3.0 -> 3.2 -> 3.51. I think is better becuase you are not going to have many mistakes...

Bye!
Shetar
Member
Posts: 148
Joined: Sun Nov 30, 2003 12:57 am

Post by Shetar »

That's the worst advice I ever saw lol.

Why?
If you update per version, you'll keep changing the notify messages and values because some of them have been changed a couple of times. Spare yourself some time and immediately jump to 3.51, it doesn't matter in most cases such as Trade, Level Up, Auras, Spell Effects etcetera.
Helbreath II Project Manager & All round Developer. <br><i>(Don't worry, we're not dead)</i>
KLKS
Loyal fan
Posts: 218
Joined: Sun Feb 22, 2004 2:32 pm

Post by KLKS »

sync ur work guys, find some1 who's willing to code and share and work it up, having 2 coding teams is better than just one, ne1 willing to take up the cause ?
Shetar
Member
Posts: 148
Joined: Sun Nov 30, 2003 12:57 am

Post by Shetar »

I'm already working on Client source for Unadvised. Atm fixing aura's, when I finish that the v1 will be posted here.
Helbreath II Project Manager & All round Developer. <br><i>(Don't worry, we're not dead)</i>
Post Reply