Client V3.51 & V3.82 C++ Sources

All Helbreath Client Source Discussion here.
Post Reply
Cleroth
Loyal fan
Posts: 416
Joined: Wed Jun 16, 2004 7:08 pm

Post by Cleroth »

I don't see my name on the screenshot though.
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
Dshaked
&lt;3 bd long time
Posts: 747
Joined: Tue Oct 11, 2005 6:40 pm

Post by Dshaked »

Eh? Whats things i need add to fox this? ( dont worry credits are in f12 menu )
Old Helbreath Nemesis Player<br><img src='http://img232.imageshack.us/img232/9784/dshakedqc5.jpg' border='0' alt='user posted image' /><br><img src='http://img232.imageshack.us/img232/6475 ... barqj0.jpg' border='0' alt='user posted image' /><br><a href='index.php?showtopic=7107&hl=' target='_blank'>MainServer Hexing Tutorial</a><br><a href='index.php?showtopic=7663&hl=x-mas' target='_blank'>My Files</a>
sokol
Loyal fan
Posts: 228
Joined: Mon May 02, 2005 7:28 pm
Location: P(r)oland

Post by sokol »

hmm nice look m8 ;)
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Does this client have the Gate pak loading off 3.51 held?

I tried adding it in some case in Loading function of sprites...but no success...either I was doing it WRONG or is my gate.pak that's fucked up since when I open it with Pak_Builder it gives error and doesn't open up.

Messing around found this...
case 48:
  { MakeSprite( "Gail",    DEF_SPRID_MOB  + 7*8*80, 8, TRUE); // Gail (Type: 90)
  MakeSprite( "Gate",    DEF_SPRID_MOB  + 7*8*81, 24, TRUE);// Heldenian Gate (Type: 91)/**/
  m_hPakFile = CreateFile("sprites\\Mpt.pak", GENERIC_READ, NULL, NULL, OPEN_EXISTING, NULL, NULL);
  if( m_hPakFile != INVALID_HANDLE_VALUE )
  { for (i = 0; i < 12; i++) m_pSprite[DEF_SPRID_UNDIES_M + i + 15*0] = new class CSprite(m_hPakFile, &m_DDraw, "Mpt", i + 12*0, TRUE);
    for (i = 0; i < 12; i++) m_pSprite[DEF_SPRID_UNDIES_M + i + 15*1] = new class CSprite(m_hPakFile, &m_DDraw, "Mpt", i + 12*1, TRUE);
    for (i = 0; i < 12; i++) m_pSprite[DEF_SPRID_UNDIES_M + i + 15*2] = new class CSprite(m_hPakFile, &m_DDraw, "Mpt", i + 12*2, TRUE);
    for (i = 0; i < 12; i++) m_pSprite[DEF_SPRID_UNDIES_M + i + 15*3] = new class CSprite(m_hPakFile, &m_DDraw, "Mpt", i + 12*3, TRUE);
    for (i = 0; i < 12; i++) m_pSprite[DEF_SPRID_UNDIES_M + i + 15*4] = new class CSprite(m_hPakFile, &m_DDraw, "Mpt", i + 12*4, TRUE);
    for (i = 0; i < 12; i++) m_pSprite[DEF_SPRID_UNDIES_M + i + 15*5] = new class CSprite(m_hPakFile, &m_DDraw, "Mpt", i + 12*5, TRUE);
    for (i = 0; i < 12; i++) m_pSprite[DEF_SPRID_UNDIES_M + i + 15*6] = new class CSprite(m_hPakFile, &m_DDraw, "Mpt", i + 12*6, TRUE);
    for (i = 0; i < 12; i++) m_pSprite[DEF_SPRID_UNDIES_M + i + 15*7] = new class CSprite(m_hPakFile, &m_DDraw, "Mpt", i + 12*7, TRUE);
    CloseHandle(m_hPakFile);
  }
  m_cLoading = 52;
  }
  break;
It's referring to "Gate" but...still it did not load it up since when I summoned it it crashed... :unsure:
Npc = gate-a  91 2000 800 100 100 1    1      1000 1500 0 0 1 1 8 1600 100 0 10 0 1 3000 2 0 0 0 1 3
Npc = gate-e  91 2000 800 100 100 1    1      1000 1500 0 0 1 2 8 1600 100 0 10 0 1 3000 2 0 0 0 1 3
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

All gate's angle are not in the pak.

When you try to summon it, you must summon it witht the good angle or the client will crash, Even with an original client...
<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 !
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

diuuude wrote: All gate's angle are not in the pak.

When you try to summon it, you must summon it witht the good angle or the client will crash, Even with an original client...
Oh...you mean it must be facing to certain direction :unsure: or what?
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
snoopy81
Loyal fan
Posts: 338
Joined: Mon Jul 12, 2004 7:13 pm

Post by snoopy81 »

Oh...you mean it must be facing to certain direction  or what?
Directions 3 or 5 only.
Go server' function bCreateNewNpc
add/change the code:

Code: Select all

  switch (m_pNpcList[i]->m_cActionLimit) {
  case 2: // fixed mechants
  case 3: // dummy
  case 5: // struct sade, crops
  	m_pNpcList[i]->m_cBehavior = DEF_BEHAVIOR_STOP;  	
  	switch (m_pNpcList[i]->m_sType) {
  	case 15: // ShopKeeper-W
  	case 19: // Gandlf
  	case 20: // Howard
  	case 24: // Tom
  	case 25: // William
  	case 26: // Kennedy
    m_pNpcList[i]->m_cDir      = 3 + iDice(1,3);
    break;
  	default:
    m_pNpcList[i]->m_cDir      = iDice(1,8);
    break;
  	}
  	break;
  case 8: // Heldenian gate
  	m_pNpcList[i]->m_cDir      = 3;
  	m_pNpcList[i]->m_cBehavior = DEF_BEHAVIOR_STOP;	
  	if (m_pNpcList[i]->m_cArea > 0)
  	{	for(short sx1 = (sX - 1); sx1 <= sX + 1; sx1++)
    for(short sy1 = (sY - 1); sy1 <= sY + 1; sy1++)
    {	m_pMapList[iMapIndex]->SetTempMoveAllowedFlag(sx1, sy1, FALSE);  
  	}	}
  	break;

  default: 
  	m_pNpcList[i]->m_cBehavior = DEF_BEHAVIOR_MOVE;
  	m_pNpcList[i]->m_cDir      = 5;
  	break;
  }
_\_ _<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
sokol
Loyal fan
Posts: 228
Joined: Mon May 02, 2005 7:28 pm
Location: P(r)oland

Post by sokol »

I have question about login.cfg i dont want use it its way to pack it with client or something?
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

sokol wrote: I have question about login.cfg i dont want use it its way to pack it with client or something?
Thanks snoopy81 had something like that :lol:

And for sokol go to GlobalDef.h and change stuff there won't need login.cfg :)
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
snoopy81
Loyal fan
Posts: 338
Joined: Mon Jul 12, 2004 7:13 pm

Post by snoopy81 »

I have question about login.cfg i dont want use it its way to pack it with client or something?
Just perform a search for "LOGIN.CFG" in the sources....

You'll notice than the IP is included inside the client (using a macro in globaldef.h), and that the clients doesn't need LOGIN.CFG....
_\_ _<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
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

Login.cfg is used as an easier way of editing the IP when you test it.

If you remove the file, the client will work, but it'll use the IP and Port hardcoded in the client.
<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 »

On the 12 apr the 3.51 was released by Snoopy81, with the help of diuuude, based on Cleroth work.
~~~

V3.51 compatibility by Cleroth
V3.51 dialogs by Diuuude
Effects, mobs, Apocalypse, Heldenian & finalizing by Snoopy81

~~~
And now . . . .
V3.82 Crafting / Angels by Snoopy81
Image
___________________________________________________

The Angels & crafting msg have been reversed from (partially)
uncrypted 3.60 & 3.81 clients. AS I have little experience of
those clients, I did not built an exact copy. As usual I improved
some things.
As there is no siementec client+server available above v3.51,
I didn't have enought details to aim a perfect copy.

Crafting is strangelly coded in client 382, as if it was intended to
be coded as Manuf., and later made simpler as Alchemy. I
choose to code it this way. The Magin saphirre definition has
been changed, for simpler coding server side; and
independence from item number or name.
Crafting items are in the potion.cfg, so you may adjust them.

Angels inial codelets wer found on this forum, but I realised
that the stats changes drove to a big mess!
Then I designed another system, based on stats adjustement,
and realised when reversing later clients, that I was right.
The Siementec client receives stats adjustements from server,
but my client is able to compute that by himself. So I didn't
code server sending stats adjustments.
The Siementec's Angels status is already in use in my current
server, and I initially used other ones for my 1st Angel codes.
This client and server codes included match together, but not
with Siementec's ones.


___________________________________________________

What is missing to match v3.82 client:
- Druncncity effect.
___________________________________________________

What has been changed/improved from v3.82 client:
- Abaddon's death/corpse.
- Fire Wyvern's death/corpse.
- Use of LOGIN.CFG
- Optional Account creator.
- Optional Server choice.
- Optional numeric format.
- Msg "Adminuser level low".
- Added router compatibility mode (see LOGIN.CFG).
- No more client-side blocking for some TPs.
- Some more explanations for Gail's window.
- No need for cximage.dll (code is included, that
explains bigger exe).
- Removed some msg when dead (too much msg.
scrolls out the 1st one!).
- Various typo fixed.
- Added file version info.
___________________________________________________

v382 known bugs fixed:
- MasterElf arrows.
- Ek anouncer (Name/guild was exchanged).
- Abaddon's death when facing NW.
- Longer top msg when blocked in jail.
- Faster "Level Up" showing.
- Fixed ObserMode.
- Energy Ball fixed.
- Ugly Wyvern fixed.
- Arrows fixed.
___________________________________________________

<a href='http://sn81.free.fr/release/sources%20h ... ent382.zip' target='_blank'>Sources C++ clone client v3.82</a>

Note:
I added all things from my current Client sources (I have alot different things in my server, peculiarlly anti-hacks that will prevent this client to connect my server), so I couldn't perform full testings...
_\_ _<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
SlammeR
Loyal fan
Posts: 219
Joined: Fri Nov 04, 2005 1:52 am
Location: Brazil

Post by SlammeR »

<3 SnoopYYYYY =)))))))))))))
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
Ace
Regular
Posts: 68
Joined: Sat Apr 03, 2004 5:14 am

Post by Ace »

Image

cant enter game becoz not same version how to do ?
Dshaked
&lt;3 bd long time
Posts: 747
Joined: Tue Oct 11, 2005 6:40 pm

Post by Dshaked »

Thx snoopy, I love you.
Old Helbreath Nemesis Player<br><img src='http://img232.imageshack.us/img232/9784/dshakedqc5.jpg' border='0' alt='user posted image' /><br><img src='http://img232.imageshack.us/img232/6475 ... barqj0.jpg' border='0' alt='user posted image' /><br><a href='index.php?showtopic=7107&hl=' target='_blank'>MainServer Hexing Tutorial</a><br><a href='index.php?showtopic=7663&hl=x-mas' target='_blank'>My Files</a>
Post Reply