Register for your free account! | Forgot your password?

You last visited: Today at 06:29

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

Advertisement



Few Enquiries

Discussion on Few Enquiries within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 187
Received Thanks: 45
Few Enquiries

Hey erm I have a few questions I would like answered =/

1)Does anyone know how to add new mounts to the game just like adding new gears?

2)How would I go about spawning monsters at a certain time?

3)How do I get weapon accessories to show when I equip them?
Andrew.A is offline  
Old 08/14/2011, 23:36   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
1)Does anyone know how to add new mounts to the game just like adding new gears?

I don't exactly know if they are added different than any other items, but I assume it's an itemtype, so it would be in itemtype.dat, you will need a dat crypter in order to edit it, there is quite a few around the forum. Also item adding guides.

2)How would I go about spawning monsters at a certain time?

I have released an example with timers 1 or 2 years back, but it was about some others things, however there is a lot examples on it. Might look up on System.Timers or System.Threading, threading would be the best thing to do, when doing such things. You can use DateTime.Now to check for the actual time.

3)How do I get weapon accessories to show when I equip them?

What do you mean exactly? Like they aren't spawning? Could be wrong client or another patch than your packet is updated to, then you would need to update your packet to the right structure.
BaussHacker is offline  
Old 08/15/2011, 00:04   #3
 
elite*gold: 0
Join Date: Aug 2007
Posts: 187
Received Thanks: 45
Checked the item adding guides and attempted to apply it using the mounttype.dat, itemadd.ini, itemtype.dat and some others... Didn't work =X

I can equip weapon accesories, just you only see them on the status page and I can only get the right hand to equip and they dissapear on logout.
Andrew.A is offline  
Old 08/15/2011, 02:12   #4
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
Quote:
Originally Posted by Andrew.A View Post
Hey erm I have a few questions I would like answered =/

1)Does anyone know how to add new mounts to the game just like adding new gears?

2)How would I go about spawning monsters at a certain time?

3)How do I get weapon accessories to show when I equip them?
Stupid Questions !

1. new mounts ? I think you speak about "Steed Soul"

A: Upgrade source on 5000+

2. Search on epvp about how to spawming monters on at certain time ! I'm sure you will find a thread about that..

3. Offsets for accesorry on 5370 was 62/64 now I think is 66 for first accesory and for second is 68 !

but if you can't code why try to get a server with C# ?
Sp!!ke is offline  
Old 08/15/2011, 03:07   #5
 
elite*gold: 0
Join Date: Aug 2007
Posts: 187
Received Thanks: 45
1) No I don't mean steed souls, you have no idea what I'm doing #TryAgain
2)Im on PATCH 5375 #TryHarder
3)Are you dumb enough to think I didn't search? #TryEvenHarder
4)Nothing is wrong with my offsets, I said I can equip them so they can't be wrong. #StopTrying.

Stupid Questions?
Stupid Answers.
Andrew.A is offline  
Old 08/15/2011, 04:18   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,381
Actually the offsets are exactly your problem.

They are not displaying on char because the specialized item usage packet has offsets for all equipped items. You can see them in info panel cause you did use the item but not on char cause your display gear packet has no handling/incorrect offsets for accessories.


@ spawning at a certain time. It HAS been posted, you're most likely looking for it wrong though... first try looking at the theory behind spawn on item usages (spawn methods), then look at timing methods (threads or timers, again mentioned) and combine the two (if time = x do spawn method)

@ custom mounts. I've never heard of anyone sucessfully adding custom mounts to co... never hurt to do more testing and research but I wouldn't hold my breath if I were you.
pro4never is offline  
Old 08/15/2011, 06:39   #7
 
elite*gold: 0
Join Date: Aug 2007
Posts: 187
Received Thanks: 45
Ive figured out spawning and I've figured out timings but I can't put them together...

Custom mounts, Ill figure it out eventually haha
Andrew.A is offline  
Old 08/15/2011, 14:01   #8
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,381
Here's a simple example (not that I'd ever use it 'as is')

public class SpawnThread

{

public void Run()
{
while (true)
if(DateTime.Now.Hour == XX && DateTime.Now.Minute == XX&& DateTime.Now.Second < 10)
//Spawn monster code
Thread.Sleep(9000);
}
}

Then on server startup..

SpawnThread st = new SpawnThread()
Thread spawnThread = new Thread(st.Run);
spawnThread.Start();

Or something similar.
pro4never is offline  
Reply




All times are GMT +1. The time now is 06:29.


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

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