speed, skill, jump and unequipitem disabling

11/20/2011 22:29 abdeen#1
Okay so i want to know ho to disable Steed Speed, a skill, Jump and Unequip item or equip item on a map ?

so any help with a simple code ?
11/20/2011 22:35 pro4never#2
I see you still haven't taken our advice to learn basic C# programming outside of conquer servers...

What you are talking about is simply checking conditions and either running or bypassing a section of code...

So for example...


When trying to use the skill you want to disable you'd check

if(my map == map I don't want to use it on)
return;

or something along those lines.

Same with all your other checks.
11/20/2011 22:40 abdeen#3
Quote:
Originally Posted by pro4never View Post
I see you still haven't taken our advice to learn basic C# programming outside of conquer servers...

What you are talking about is simply checking conditions and either running or bypassing a section of code...

So for example...


When trying to use the skill you want to disable you'd check

if(my map == map I don't want to use it on)
return;

or something along those lines.

Same with all your other checks.

Well , i twas my idea before i start this thread.

but i want to know where to add this code ?

to make the source reach it



Edit ##


i disabled the skills and equip/unequip item , and when i tried to disable steed speed or jump , it`s didn`t worked for me , but i added

PHP Code:
if (client.Map.ID == Here is the map id)
                
client.Entity.Teleport(client.Map.IDclient.Entity.Xclient.Entity.Y); 
and worked fine , but still not what i am looking for , i want to disable jump while the player on the wanted map .
11/21/2011 14:34 |xabi|#4
@abden

For Jumb Players

Go Packethandle.cs

and Find For

static void PlayerJump(Data generalData, Client.GameState client)

then add this code

if (client.Map.ID == Here is the map id)
{
return;
}
11/21/2011 14:46 BaussHacker#5
Remember to send a pull back.