[req] (clientside?) Paralize

All Helbreath Client Source Discussion here.
Post Reply
Drajwer
<3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

I need code what when you are paralized you cant move, turn around and attack, casting changing weapons ... you are paralized and you are REAL paralized :)

i dont need codes, just advice.
thanks

Edit:

nvm, easy fix+1. i just put some "if (m_bParalyze) return;" in some functions.
maybe under the client motion handler you could include a check to see if player is para. if yes the return.
exacly :)
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
omar_omiez
Loyal fan
Posts: 235
Joined: Mon Jul 12, 2004 9:36 am

Post by omar_omiez »

maybe under the client motion handler you could include a check to see if player is para. if yes the return.
- Tbone<br><a href="http://cyborg.namedecoder.com"><br><img src="http://cyborg.namedecoder.com/webimages ... ng"<br></a>
snoopy81
Loyal fan
Posts: 338
Joined: Mon Jul 12, 2004 7:13 pm

Post by snoopy81 »

The code for that is not hard, but it would increase very seriouslly the power of Paralyse spell...

Is that a positive thing?
(Maybe with a High level Paralyse variant)

Code:
in CommandProcessor, near the end:
Find:
bSendCommand(MSGID_COMMAND_MOTION, DEF_OBJECTSTOP, m_cPlayerDir, NULL, NULL, NULL, NULL);
Add before:

Code: Select all

if( m_bParalyze ) return;
Find below:
case DEF_OBJECTATTACK:
case DEF_OBJECTGETITEM:
case DEF_OBJECTMAGIC:
and add after Case XXX:

Code: Select all

if( m_bParalyze ) return;
Now, change weapons:
BOOL CGame::bCheckItemOperationEnabled(char cItemID)
add same code....
_\_ _<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
Cleroth
Loyal fan
Posts: 416
Joined: Wed Jun 16, 2004 7:08 pm

Post by Cleroth »

And then a big hacker comes and reverses that in 5 minutes.
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
Jensen
Loyal fan
Posts: 300
Joined: Tue Aug 02, 2005 7:40 am
Location: Illinois, USA
Contact:

Post by Jensen »

make sure its added on both server and client, so server ignores if a hacked client is used, and the player with the normal client knows that its not supposed to have the ability to attack
-><-
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

i dont care about hack clients since i got client source and good packer like armadillo B)

if they come, i do something ;)
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
Shetar
Member
Posts: 148
Joined: Sun Nov 30, 2003 12:57 am

Post by Shetar »

Drajwer wrote: i dont care about hack clients since i got client source and good packer like armadillo B)

if they come, i do something ;)
Send me your client, I got a hacked version in like uhh.. 10 seconds?

Is that a pokemon in your avatar?? it's gay :rolleyes: :lol:
Helbreath II Project Manager & All round Developer. <br><i>(Don't worry, we're not dead)</i>
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

Its not pokemon and you wont do hack client ;)
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
snoopy81
Loyal fan
Posts: 338
Joined: Mon Jul 12, 2004 7:13 pm

Post by snoopy81 »

It's very easy to intercept any MOVE msg, and know your "fully paralysed" client tryed to move.....
_\_ _<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
Post Reply