Few Enquiries

08/14/2011 21:34 Andrew.A#1
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?
08/14/2011 23:36 BaussHacker#2
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.
08/15/2011 00:04 Andrew.A#3
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.
08/15/2011 02:12 Sp!!ke#4
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# ?
08/15/2011 03:07 Andrew.A#5
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.
08/15/2011 04:18 pro4never#6
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.
08/15/2011 06:39 Andrew.A#7
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
08/15/2011 14:01 pro4never#8
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.