Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 20:40

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

Advertisement



[Request]MonsterAppearWhenURightClickItem

Discussion on [Request]MonsterAppearWhenURightClickItem within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 52
Received Thanks: 1
[Request]MonsterAppearWhenURightClickItem

I need someone to make me a code so that a certain monster will appear beside your char when you right click on a rose. I'm a noobish coder and I tried everything and anything I knew before I posted this so please help out I'm ****** =\

+1k if you help ofc =)
Jăy1029 is offline  
Old 12/24/2009, 15:17   #2
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
First of all, what source?
And i think it's the same concept as loading a monster spawn out of the database.
Just head to the function, copy and paste the code for spawning monsters and then you paste it in the handler of the item.
ImmuneOne is offline  
Old 12/24/2009, 15:52   #3
 
elite*gold: 0
Join Date: Dec 2009
Posts: 52
Received Thanks: 1
its for LOTF. And I tried that, it didn't work. I could have done it wrong idk i couldn't rly tell. >.>

Could you get the function and put it in the handler for the rose, then i can paste it in see if i get errors.

btw is this the handler for rose? It was set to give 50cps b4 just ignore that =p

Quote:
else if (ItemParts[0] == "723051")
{
CPs += 50;
MyClient.SendPacket(General.MyPackets.Vital(UID, 30, CPs));
RemoveItem(ItemUID);
}
Jăy1029 is offline  
Old 12/24/2009, 16:12   #4
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
From my 2 weeks knowledge about spawning, the monster data is being called from a file or database including the map identification number along with x, y coordinates, so i guess you'll have to only read other variables and change the map identification number to the current map which the player is on and just add or remove some points to the x and y coordinates of the client then call the spawn function using these arguments :}
Nullable is offline  
Old 12/24/2009, 18:18   #5
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491

Singlemob mob = new mob(blah, blah, blah, blah);
mob.spawn();


basically like spawning guards.. if you need more and EXACT help pm me your teamviewer id and pass and I will do it for you.
PeTe Ninja is offline  
Old 03/02/2010, 02:44   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 52
Received Thanks: 1
**** too bad I got banned from this site for infractions. I quitted everything after that. I would have definatley taken you up on that offer pete xD

Currently working on getting my 5165 source running on windows 7.
Jăy1029 is offline  
Old 03/02/2010, 02:47   #7
 
spare2's Avatar
 
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
Please don't bump a old thread to say something unnecessary. It's considered as necroing.
spare2 is offline  
Old 03/02/2010, 06:43   #8
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,164
^
That and #Closed
Huseby is offline  
Closed Thread


Similar Threads Similar Threads
[Request] Request all 5165 sources/npc dialog
02/28/2010 - CO2 Private Server - 0 Replies
so i want to do a good source like every1 right ? so i stay some time and i got a idea to take lot of 5165 and take what's not bugged and essentialy :mofo: i will release it :D
[REQUEST] speak freakin english -_- florensi hack [REQUEST]
01/22/2010 - Florensia - 1 Replies
any florensia hacks?



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


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.