Register for your free account! | Forgot your password?

You last visited: Today at 16:30

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



clickable items

Discussion on clickable items within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2022
Posts: 19
Received Thanks: 0
clickable items

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.
abdallahsabri is offline  
Old 02/06/2023, 18:29   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
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.
Spirited is offline  
Thanks
1 User
Old 02/09/2023, 03:18   #3
 
elite*gold: 0
Join Date: Jun 2022
Posts: 19
Received Thanks: 0
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
---------------
abdallahsabri is offline  
Old 02/09/2023, 12:04   #4
 
elite*gold: 0
Join Date: Dec 2021
Posts: 12
Received Thanks: 26
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!
Cookie Maps the World is offline  
Old 02/09/2023, 19:13   #5
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
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. ><

Spirited is offline  
Thanks
1 User
Old 02/10/2023, 16:54   #6
 
elite*gold: 0
Join Date: Jan 2013
Posts: 89
Received Thanks: 27
Quote:
Originally Posted by Spirited View Post
Please... this is so cringe. ><

boss i print u reply
thisismyaccountokay is offline  
Thanks
1 User
Old 02/11/2023, 01:07   #7
 
elite*gold: 0
Join Date: Jun 2022
Posts: 19
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
Please... this is so cringe. ><

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
abdallahsabri is offline  
Reply


Similar Threads Similar Threads
[help]npc is not clickable
05/02/2013 - EO PServer Hosting - 6 Replies
three of my npcs are not clickable please help, is it the type in cq_npc the reason why there not clickable?
How to make not-clickable profile?
01/11/2013 - Need for Speed World - 4 Replies
I see somebody has not-clickable profile. If you click view profile your game will crash. They do something with profile logo too becuase logo is always loading. If anybody knows how to do that, please pm me. :o
[1.2.5] Xenon 1.9 [Clickable GUI] [TTF] [OptiFine]
09/09/2012 - Minecraft Guides & Strategies - 5 Replies
http://i.imgur.com/HAXZQ.png Features/Keybinds: Up arrow: GUI R: Flight C: Brightness B: Step X: X-ray F: Sprint
HOW TO SET CLICKABLE AREA FOR NPC
03/08/2012 - EO PServer Hosting - 2 Replies
can some1 help me out.. where to adjust the click able area size for NPC need to change that cute NPC.. lol..



All times are GMT +1. The time now is 16:33.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.