[idea] Hp Bar

All Helbreath Client Source Discussion here.
joeri
Member
Posts: 126
Joined: Sat Mar 04, 2006 1:19 am

Post by joeri »

ye crap
if you find them crap post the crap :D

u seem to like the word crap right ?
visit a cool site <a href='http://technohell.net' target='_blank'>here</a><br><br><img src='http://i5.photobucket.com/albums/y184/J ... hnoFan.jpg' border='0' alt='user posted image' /><br><img src='http://i5.photobucket.com/albums/y184/Joeri696/240.jpg' border='0' alt='user posted image' /><br><img src='http://i5.photobucket.com/albums/y184/Joeri696/255.jpg' border='0' alt='user posted image' /><br><img src='http://i5.photobucket.com/albums/y184/Joeri696/326.jpg' border='0' alt='user posted image' /><br><br>Diuuude fan :D<br>Go Diuuude Go :D
juggalo2
Spamtastic
Posts: 1144
Joined: Sun Jul 17, 2005 5:28 pm

Post by juggalo2 »

if u cqnt find tehre mailing code then ur just to much of a noob lol tehy take a few sec to get they wernt tyring to hide its in the opens dont forget to get the mail.cpp an .h :P


dotn ahve to mucyh fun with the gay crap now
<img src='http://lifeplaysu420.com/unknow/nightsign.png' border='0' alt='user posted image' /><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Wanna make money for surfing the net sing up at <br><a href='http://www.cashfiesta.com/php/join.php? ... yprivitera' target='_blank'>cash fiesta</a><br>its all free hey why ntot make money while fucking around on the computer<br><br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
joeri
Member
Posts: 126
Joined: Sat Mar 04, 2006 1:19 am

Post by joeri »

juggalo2 wrote: if u cqnt find tehre mailing code then ur just to much of a noob lol tehy take a few sec to get they wernt tyring to hide its in the opens dont forget to get the mail.cpp an .h :P


dotn ahve to mucyh fun with the gay crap now
if u cant find there mailing code then ur just to much of a noob, lol it takes a few seconds to get them, They where not trying to hide it, (???in the opens???) dont forget the mail.cpp and .h :P


dont have to much fun with the gay crap now.

lolz :P
srry juggalo :P
visit a cool site <a href='http://technohell.net' target='_blank'>here</a><br><br><img src='http://i5.photobucket.com/albums/y184/J ... hnoFan.jpg' border='0' alt='user posted image' /><br><img src='http://i5.photobucket.com/albums/y184/Joeri696/240.jpg' border='0' alt='user posted image' /><br><img src='http://i5.photobucket.com/albums/y184/Joeri696/255.jpg' border='0' alt='user posted image' /><br><img src='http://i5.photobucket.com/albums/y184/Joeri696/326.jpg' border='0' alt='user posted image' /><br><br>Diuuude fan :D<br>Go Diuuude Go :D
€M4NU€L
Outpost bitch
Posts: 517
Joined: Sat Nov 19, 2005 9:07 pm
Location: I watch gay porn
Contact:

Post by €M4NU€L »

... :lol: This is a funny thing more than 30 Codes are of Mail System on Client Sources and in HGServer 10+ :o i wont post them for get it ... <_<
<span style='color:blue'>Helbreath Thermal</span> <span style='color:green'>BETA</span> <span style='color:red'>Soon</span>:<br><br>www.youporngay.com<br><br><img src='http://img264.imageshack.us/img264/1041 ... piopk7.jpg' border='0' alt='user posted image' /><br><img src='http://img257.imageshack.us/img257/3762 ... eakxj1.jpg' border='0' alt='user posted image' /><br><img src='http://arthur.crepin.free.fr/images/use ... mpsons.png' border='0' alt='user posted image' /><br><img src='http://img329.imageshack.us/img329/5797/pesgamerrr3.gif' border='0' alt='user posted image' /><br><br><u><b>BLACK GAY LIST:</b></u><br><br><span style='color:red'>€M4NU€L</span>:<br>I look like a girl and he's always complaining someone.
Shetar
Member
Posts: 148
Joined: Sun Nov 30, 2003 12:57 am

Post by Shetar »

€M4NU€L wrote:
joeri wrote: or make it only for players like they did in hb2 :D
HB2 Didn't do with players :lol: look at this i think i found HB2 HP Bar:

Code: Select all

void CGame::PitLordHpGain(int iNpcH) {
	if (m_pNpcList[iNpcH] == NULL) return;

	m_pNpcList[iNpcH]->m_iHP += DEF_PITLORD_HPGAIN;

	if (m_pNpcList[iNpcH]->m_iHP > m_pNpcList[iNpcH]->m_iMaxHP) {
  m_pNpcList[iNpcH]->m_iHP = m_pNpcList[iNpcH]->m_iMaxHP;
	}

	wsprintf(G_cTxt, "Pit Lord Gain Hp. New Hp: %d (Max: %d)", m_pNpcList[iNpcH]->m_iHP, m_pNpcList[iNpcH]->m_iMaxHP);
	PutLogList(G_cTxt);

	SendEventToNearClient_TypeB(MSGID_EVENT_COMMON, DEF_COMMONTYPE_MAGIC, m_pNpcList[iNpcH]->m_cMapIndex, m_pNpcList[iNpcH]->m_sX, m_pNpcList[iNpcH]->m_sY, m_pNpcList[iNpcH]->m_sX, m_pNpcList[iNpcH]->m_sY, 161, m_pNpcList[iNpcH]->m_sType);
}
hahaha, this is NOT the hp bar mate! this is the function which makes PitLord gain health after he killed a target player.

Yea the old HP bar was ugly, I agree.. It's a little smaller now ;)

Don't bother looking for the mail system because it's not finished in the posted source.
Helbreath II Project Manager & All round Developer. <br><i>(Don't worry, we're not dead)</i>
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

finished it with Aryes :)
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
snoopy81
Loyal fan
Posts: 338
Joined: Mon Jul 12, 2004 7:13 pm

Post by snoopy81 »

So Scan spell is becomming free for everybody ?
_\_ _<br> / , \__/ . \ Admin of Equilibrium Project<br> II\ \___ . O<br> III \_/ \ _ / <a href='http://www.equiprojet.com' target='_blank'>http://www.equiprojet.com</a><br> II I¯I
juggalo2
Spamtastic
Posts: 1144
Joined: Sun Jul 17, 2005 5:28 pm

Post by juggalo2 »

here u go

m_pSprite[DEF_SPRID_INTERFACE_ADDINTERFACE] = new class CSprite(m_hPakFile, &m_DDraw, "interface2", 0, FALSE);
m_pSprite[DEF_SPRID_INTERFACE_HPBAR] = new class CSprite(m_hPakFile, &m_DDraw, "interface2", 4, FALSE);

#define DEF_SPRID_INTERFACE_HPBAR 13

#define DEF_SPRID_INTERFACE_SPRFONTS 22

add tehy dd was made there own spirt into interface2
<img src='http://lifeplaysu420.com/unknow/nightsign.png' border='0' alt='user posted image' /><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Wanna make money for surfing the net sing up at <br><a href='http://www.cashfiesta.com/php/join.php? ... yprivitera' target='_blank'>cash fiesta</a><br>its all free hey why ntot make money while fucking around on the computer<br><br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
€M4NU€L
Outpost bitch
Posts: 517
Joined: Sat Nov 19, 2005 9:07 pm
Location: I watch gay porn
Contact:

Post by €M4NU€L »

juggalo2 wrote: here u go

m_pSprite[DEF_SPRID_INTERFACE_ADDINTERFACE] = new class CSprite(m_hPakFile, &m_DDraw, "interface2", 0, FALSE);
m_pSprite[DEF_SPRID_INTERFACE_HPBAR] = new class CSprite(m_hPakFile, &m_DDraw, "interface2", 4, FALSE);

#define DEF_SPRID_INTERFACE_HPBAR 13

#define DEF_SPRID_INTERFACE_SPRFONTS 22

add tehy dd was made there own spirt into interface2
Is that what i think it is ? (I think those are the HP Bar Sprites)
<span style='color:blue'>Helbreath Thermal</span> <span style='color:green'>BETA</span> <span style='color:red'>Soon</span>:<br><br>www.youporngay.com<br><br><img src='http://img264.imageshack.us/img264/1041 ... piopk7.jpg' border='0' alt='user posted image' /><br><img src='http://img257.imageshack.us/img257/3762 ... eakxj1.jpg' border='0' alt='user posted image' /><br><img src='http://arthur.crepin.free.fr/images/use ... mpsons.png' border='0' alt='user posted image' /><br><img src='http://img329.imageshack.us/img329/5797/pesgamerrr3.gif' border='0' alt='user posted image' /><br><br><u><b>BLACK GAY LIST:</b></u><br><br><span style='color:red'>€M4NU€L</span>:<br>I look like a girl and he's always complaining someone.
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

eh you could make it not lag by simpley, makeing hp bars only apear when you put your mouse on them, just like when you put your mous on it to see the name of the monster.

pluse the HG is already sending messages of the dmg you do on the monster.
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
Dax
&lt;3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

marleythe9 wrote: eh you could make it not lag by simpley, makeing hp bars only apear when you put your mouse on them, just like when you put your mous on it to see the name of the monster.

pluse the HG is already sending messages of the dmg you do on the monster.
I havn't read much of this topic but based on marleythe9's post my proposal is this:

Once a player/monster enters your screen your client receives their hp and when they receive damage your client alters the hp var accordingly. Thus tracking their hp. Once they leave your screen the hp var is discarded and if they happen to enter your screen again the process will be repeated..

Seems rather simple to me, other people may have other ideas...
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>
Kiruku
Loyal fan
Posts: 268
Joined: Wed Feb 22, 2006 12:00 pm
Contact:

Post by Kiruku »

make a little bar when u go with mouse on monster and when not u cant see hp.... i neef everything for it please try to code it ;)
<img src='http://lichtdrache.lima-city.de/helbrea ... aramba.gif' border='0' alt='user posted image' />
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

good idea, on scroll over then it saves RAM or smth
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
€M4NU€L
Outpost bitch
Posts: 517
Joined: Sat Nov 19, 2005 9:07 pm
Location: I watch gay porn
Contact:

Post by €M4NU€L »

We are still waiting the codes :P
<span style='color:blue'>Helbreath Thermal</span> <span style='color:green'>BETA</span> <span style='color:red'>Soon</span>:<br><br>www.youporngay.com<br><br><img src='http://img264.imageshack.us/img264/1041 ... piopk7.jpg' border='0' alt='user posted image' /><br><img src='http://img257.imageshack.us/img257/3762 ... eakxj1.jpg' border='0' alt='user posted image' /><br><img src='http://arthur.crepin.free.fr/images/use ... mpsons.png' border='0' alt='user posted image' /><br><img src='http://img329.imageshack.us/img329/5797/pesgamerrr3.gif' border='0' alt='user posted image' /><br><br><u><b>BLACK GAY LIST:</b></u><br><br><span style='color:red'>€M4NU€L</span>:<br>I look like a girl and he's always complaining someone.
Pollof
noob
Posts: 15
Joined: Sat Jan 14, 2006 5:51 pm

Post by Pollof »

Kiruku wrote: make a little bar when u go with mouse on monster and when not u cant see hp.... i neef everything for it please try to code it ;)
I was going to say that... but... why not only a % down the (Enemy)... it saves too much ram... n i think it gonna be more easy to do...
Post Reply