Register for your free account! | Forgot your password?

You last visited: Today at 08:40

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


[Release] 5165 Item Verify; Event display

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2008
Posts: 70
Received Thanks: 8
Lightbulb [Release] 5165 Item Verify; Event display

Uses
:if you need something that asks the player if he/she wants to use it
:if you need to implement an event that teleports the players to it

NOTE: if your advanced just grab the codes, you know what to do... just pay attention to the red text

ITEMS

STEP 1 : Item Definitions
For da noobehs
alrite.. so if you have say a CPS bag or watever ur doing and you need a window to pop up upon usage in 5165 source then you must edit the item definition or add in new definition with the red code

Spoon Fed
Go to the character.cs, Search for case 729910: and around this area either create your new item definition by using this example or edit a pre-existing definition by deleteing the contents (the {} stuff) and adding your own stuff to it.


Example code:
My Cp MiniBag Definition... all you need is the red stuff:

Step 2: DIALOG CREATION

For da noobehs
Ok now that you have made the item say (call for NPC ####) you must create that NPC... either by yourself or using my example... the importantance is matching the case number with the number you input on step one

Spoon Fed
Go to NPCDialog.cs and search for case 4466: which should be the talisman socketer if you haven't edited that, if not just look for the last region and create a new one under it, (to preserve the order) now you must create an NPC for the item to draw text from. use my example or edit my finished code

Any new NPC creation starts with this:
NOTE:remember that you can only hold 6 Argument links... per talk... try to add more and your npc wont even talk
My NPC... watch the ####:
after you have edited this and made the adjustments to the #### that i input... your addition to the server should be ok.. if not go back and double check everything to make sure theres no repeated case numbers

EVENTS!!
i dont know the exact way to spoon feed or give a guide about this due to the extent of a true event which such has been created by mainly elite coders... all that i can give you is the red code above which will display a messege from an npc which is



anyway hope this helps =) have fun coding



joker769 is offline  
Old 03/21/2011, 17:28   #2
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 369
Awesome we can now send a npc from an item.


Syst3m_W1z4rd is offline  
Old 03/22/2011, 05:27   #3
 
elite*gold: 0
Join Date: Nov 2008
Posts: 70
Received Thanks: 8
If anyone has a question about a possible code, or even a thought of a coding idea, please post on my wall or email me at so i can either resarch or make a code for u ^.^.. yes its free cuz i needs ideas too =p

Same email, Skype: ghost-mp-
joker769 is offline  
Reply

Tags
5165, display, edit, event, npc



« [ConquerServer_v2_Auth] to work with latest Patch | [Rel]HellmouthCo Equipment Socket »

Similar Threads
[RELEASE]Level 135 item (5165)
01/02/2011 - CO2 PServer Guides & Releases - 27 Replies
WARNING: I have taken this from another forum and do NOT hit +thanks, Thanks Well guys i got these 135+ items for all classes and i thot id be nice and release them here this is for 5165 client...
[Release]Bound Item Command(5165)
08/05/2010 - CO2 PServer Guides & Releases - 15 Replies
Got bored... this is the usage: /free Item Quality Plus -Damage Socket1 Socket2 if (Cmd == "/free") { uint ID = 0; foreach (DatabaseItem DI in...
[Release] event handler / system message for 5165 source
05/01/2010 - CO2 PServer Guides & Releases - 10 Replies
i was partially made this and completed by pringle, i dont know if pringle is in here in this forum. but still credit to him. Go to Program.cs and find:public static Random Rnd = new Random(); Above this add:public static DateTime SystemMsgTime...
Basic Item Display tool
01/09/2007 - CO2 Main - Discussions / Questions - 4 Replies
I'd like to code a little tool that can DISPLAY 2 things for me. I will settle for a standalone program that shows a message in a separate window, until i learn how to have it display within the conquer game window. I intend to do something that...



All times are GMT +2. The time now is 08:40.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.