Hgsource [code]

All Helbreath Server Source Discussion here.
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

hehehe kind of a noob script but its worked prety well for me cuz like speed casting usaly dosnt get confused by lag or by connection lost so heres a little kinda cool code ;)

search for
wsprintf(G_cTxt, "Speed Cast: (%s)
below this line
PutHackLogFileList(G_cTxt);
add this :) under that line
strcpy(m_pClientList[iClientH]->m_cLockedMapName, "bisle");
      m_pClientList[iClientH]->m_iLockedMapTime = 60*5;
      memcpy(m_pClientList[iClientH]->m_cMapName, "bisle", 7);
just something that if it scans them as speed casting it dosnt just log it in your hb log it also sends them to bisle for 5 min you can change it to lower amount of time like 3 min or what ever just chang ethe 5 to what ever min you want ;)
<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' />
Dyno
Regular
Posts: 68
Joined: Wed May 25, 2005 2:54 am

Post by Dyno »

Not bad Might test it.
DarkieDuck
Loyal fan
Posts: 441
Joined: Wed Feb 18, 2004 7:10 am

Post by DarkieDuck »

Code: Select all

if(moi==thirsty) { // evil
heineken++ }; // wowzor!
hax
Slayer
&lt;3 bd long time
Posts: 947
Joined: Thu Mar 17, 2005 9:08 pm

Post by Slayer »

DarkieDuck wrote:

Code: Select all

if(moi==thirsty) { // evil
heineken++ }; // wowzor!
HAXX?
<img src='http://i9.tinypic.com/2vs292h.jpg' border='0' alt='user posted image' />
DarkieDuck
Loyal fan
Posts: 441
Joined: Wed Feb 18, 2004 7:10 am

Post by DarkieDuck »

noes :(
hax
MOG Hackintosh
Loyal fan
Posts: 362
Joined: Sun May 30, 2004 5:34 am

Post by MOG Hackintosh »

DarkieDuck wrote:

Code: Select all

if(moi==thirsty) { // evil
heineken++ }; // wowzor!
I HAF SORUCES! O.O



MOG
<b>"I think im a hillbilly so pay me for my uber shiz" - Slipknight</b><span style='color:red'><br>yes and the dutch are always celebrating<br>thats holland:<br>"i got a new bicycle!" CHAMPAGNE! :D<br>"new marijuana bar opened" CHAMPAGNE :D <br>"it stopped raining for an hour" CHAMPAGNE! :D <br>"my condom didn't break" CHAMPAGNE! :D <br>"jews moved in next door" CHAMPAGNE! :D<br>"Look! A windmill!" CHAMPAGNE! :D</span>
Slipknight
Loyal fan
Posts: 423
Joined: Thu Apr 07, 2005 7:53 pm

Post by Slipknight »

marleythe9 wrote: hehehe kind of a noob script but its worked prety well for me cuz like speed casting usaly dosnt get confused by lag or by connection lost so heres a little kinda cool code ;)

search for
wsprintf(G_cTxt, "Speed Cast: (%s)
below this line
PutHackLogFileList(G_cTxt);
add this :) under that line
strcpy(m_pClientList[iClientH]->m_cLockedMapName, "bisle");
      m_pClientList[iClientH]->m_iLockedMapTime = 60*5;
      memcpy(m_pClientList[iClientH]->m_cMapName, "bisle", 7);
just something that if it scans them as speed casting it dosnt just log it in your hb log it also sends them to bisle for 5 min you can change it to lower amount of time like 3 min or what ever just chang ethe 5 to what ever min you want ;)
Yeah only problem is that every person in the server would be getting BI banned because the speed hack detection is fucked up and you will find everyone on your servers name in it.

How do I know? Because on my server every player that was on it name was in there including all of my GM's and me so im pretty sure its fucked up.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

I havent tried it on my server, but with this kind of feedback i wont even try to...
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>
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

eh depens... mabey they are realy useing speed hack ... iv tested it :).. like a 90% chance that they were realy speed hacking had many friends test mine :) the speed cast it work very very well never cought the none speed casters.... becouse lag cant effect it realy lag only effects cast delay.....

but iv never had a problem with this for speed cast

but when i insert it for logout hack i would get a few people in the BI becouse of there client crashed on them wile server was scaning.....

but ;) speed cast worked very well for me :) for HGserver 2.24b any way.

i wouldnt of posted if it sent everyone to BI... i already tested and been testing it for over 2 weeks

mabey this would help ill show you the full code...
  if ((dwTimeGap < 1500) && (m_pClientList[iClientH]->m_bMagicConfirm == TRUE)) {
  wsprintf(G_cTxt, "Speed Cast: (%s) Player: (%s) - casting magic at irregular rates. ", m_pClientList[iClientH]->m_cIPaddress, m_pClientList[iClientH]->m_cCharName);
  PutHackLogFileList(G_cTxt);
    strcpy(m_pClientList[iClientH]->m_cLockedMapName, "bisle");
      m_pClientList[iClientH]->m_iLockedMapTime = 60*5;
      memcpy(m_pClientList[iClientH]->m_cMapName, "bisle", 7);
  DeleteClient(iClientH, TRUE, TRUE);
  return FALSE;
  }
<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' />
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

i Did have some players say... that they were geting stuck but im not sure.... becouse i had players test it and they were in entry poin of map soo if it dose get conneciton lost all time.. then its probley becouse there in non exist cordenets .... this is if your players are in random spots in the bi... im not sure if this is true or not but they is little Code that may fixe it im not sure...

Test Code:
if ((dwTimeGap < 1500) && (m_pClientList[iClientH]->m_bMagicConfirm == TRUE)) {
  wsprintf(G_cTxt, "Speed Cast: (%s) Player: (%s) - casting magic at irregular rates. ", m_pClientList[iClientH]->m_cIPaddress, m_pClientList[iClientH]->m_cCharName);
  PutHackLogFileList(G_cTxt);
    strcpy(m_pClientList[iClientH]->m_cLockedMapName, "bisle");
      m_pClientList[iClientH]->m_iLockedMapTime = 60*5;
      memcpy(m_pClientList[iClientH]->m_cMapName, "bisle", 7);
      RequestTeleportHandler(iClientH, "2  ", "bisle", -1, -1);
  DeleteClient(iClientH, TRUE, TRUE);
  return FALSE;
  }
<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 »

YAY LETS STOEL HPYNO'S 2.23 CODEZZZ THAEN REMOV TEH CHEK FOR TOWN AND CHAZNGE MAP TO BISLE!! I TEH 1337 C++!!

the problem with cast hack detection is when a player lags in a pit of NPC, continues to cast it will create a backlog of casting packets then the server will receive them all at the same time. the server then says "err no u r teh cast haxx, ban 4 BI kkthx" and you end up with every player in BI bitching about your crappy ripped off code. that is why hypno removed that code and replaced it with a log.
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>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Dax wrote: YAY LETS STOEL HPYNO'S 2.23 CODEZZZ THAEN REMOV TEH CHEK FOR TOWN AND CHAZNGE MAP TO BISLE!! I TEH 1337 C++!!

the problem with cast hack detection is when a player lags in a pit of NPC, continues to cast it will create a backlog of casting packets then the server will receive them all at the same time. the server then says "err no u r teh cast haxx, ban 4 BI kkthx" and you end up with every player in BI bitching about your crappy ripped off code. that is why hypno removed that code and replaced it with a log.
Welcome back Dax :)
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>
Jaap
Loyal fan
Posts: 390
Joined: Thu Apr 22, 2004 8:21 am

Post by Jaap »

Slipknight wrote: How do I know? Because on my server every player that was on it name was in there including all of my GM's and me so im pretty sure its fucked up.
Man you got a sevrar full of hacker men1! KOOLZ!!
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

LOLOL BE HAX WITH TIMESTAMPS NIGGA
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
Slipknight
Loyal fan
Posts: 423
Joined: Thu Apr 07, 2005 7:53 pm

Post by Slipknight »

Dax wrote: YAY LETS STOEL HPYNO'S 2.23 CODEZZZ THAEN REMOV TEH CHEK FOR TOWN AND CHAZNGE MAP TO BISLE!! I TEH 1337 C++!!

the problem with cast hack detection is when a player lags in a pit of NPC, continues to cast it will create a backlog of casting packets then the server will receive them all at the same time. the server then says "err no u r teh cast haxx, ban 4 BI kkthx" and you end up with every player in BI bitching about your crappy ripped off code. that is why hypno removed that code and replaced it with a log.
This explains why every player is in the hack log then ^^ .
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
Post Reply