clickable items

02/05/2023 18:38 abdallahsabri#1
Hello ElitePvp mem,
i ask about how can i get the function when i use right click on any item clickable.
like metor scrol ----- metor scrol hide and client.inventory.add(metor,0,10);
how can i get the function or make a new one for special item or make item clickable.
i hope for replay <3.
verision 6609.
thanks for all <3.
02/06/2023 17:29 Spirited#2
Quote:
Originally Posted by abdallahsabri View Post
Hello ElitePvp mem,
i ask about how can i get the function when i use right click on any item clickable.
like metor scrol ----- metor scrol hide and client.inventory.add(metor,0,10);
how can i get the function or make a new one for special item or make item clickable.
i hope for replay <3.
verision 6609.
thanks for all <3.
All items are usable / "right click"able. You just need to program in the action for that item where the rest of those actions are in your source code.
02/09/2023 02:18 abdallahsabri#3
Quote:
Originally Posted by Spirited View Post
All items are usable / "right click"able. You just need to program in the action for that item where the rest of those actions are in your source code.
Thank you boss, i dun believe that you will reply me....
you was a big dream to reply me.
i always learn from you, boss.
-----------------------------------------------
can you give me simple function for it?
cuz i learn c# out conquer here in conquer for npc they only use switch
so for npc i am well.
but for right click able i dun find it i dun see any right click event in classes
so i hope you give me an example for right click function, dude.
------------------------------------
infact your reply was a dream for me and for all beginner <3
---------------
02/09/2023 11:04 Cookie Maps the World#4
Quote:
Originally Posted by abdallahsabri View Post
Thank you boss, i dun believe that you will reply me....
you was a big dream to reply me.
i always learn from you, boss.
-----------------------------------------------
can you give me simple function for it?
cuz i learn c# out conquer here in conquer for npc they only use switch
so for npc i am well.
but for right click able i dun find it i dun see any right click event in classes
so i hope you give me an example for right click function, dude.
------------------------------------
infact your reply was a dream for me and for all beginner <3
---------------
OMG You got a reply from THE Spirited?!?!??! I'm super jealous! I've always wanted a reply from him and for his amazing help! A couple people have said that they've gotten replies from in in private messages but I've been too scared!
02/09/2023 18:13 Spirited#5
Quote:
Originally Posted by Cookie Maps the World View Post
OMG You got a reply from THE Spirited?!?!??! I'm super jealous! I've always wanted a reply from him and for his amazing help! A couple people have said that they've gotten replies from in in private messages but I've been too scared!
Quote:
Originally Posted by abdallahsabri View Post
Thank you boss, i dun believe that you will reply me....
you was a big dream to reply me.
i always learn from you, boss.
-----------------------------------------------
can you give me simple function for it?
cuz i learn c# out conquer here in conquer for npc they only use switch
so for npc i am well.
but for right click able i dun find it i dun see any right click event in classes
so i hope you give me an example for right click function, dude.
------------------------------------
infact your reply was a dream for me and for all beginner <3
---------------
Please... this is so cringe. ><

[Only registered and activated users can see links. Click Here To Register...]
02/10/2023 15:54 thisismyaccountokay#6
Quote:
Originally Posted by Spirited View Post
Please... this is so cringe. ><

[Only registered and activated users can see links. Click Here To Register...]
boss i print u reply
02/11/2023 00:07 abdallahsabri#7
Quote:
Originally Posted by Spirited View Post
Please... this is so cringe. ><

[Only registered and activated users can see links. Click Here To Register...]
Not yet, just a true.
i still wait function to process while player click item.

example:

i go to handle.cs
make function something like that,

public void NewItem(int item_id, int count)
{
if (GameState.Client.Inventory.Containt(item_id, count))
{
Client.Player.ConquerPoints += 100,000;
Client.Inventory.Remove(item_id, count);
}
}

where can i get item to tell him when i click you go to NewItem(); ?
i mean this point, i can make my own void but how can i connect the item with this void ?
or it work automatic if the player have this item in his item and clicked it this void work but how ?
i should tell him

if (item_id == GoldPrize)
do void;

am i right or what <3 sorry boss i got crazy for this point.
sorry for bad grammer but i do my best