Register for your free account! | Forgot your password?

You last visited: Today at 10:20

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


Mobs Spawn Range!

Discussion on Mobs Spawn Range! within the CO2 Programming forum part of the CO2 Main - Discussions / Questions category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 752
Received Thanks: 276
Mobs Spawn Range!

am doing it like this
Code:
mob.Map = gen.mapid;
mob.Location = new Location((short)(gen.bound_x + new Random().Next(0, gen.bound_cx)), (short)(gen.bound_y + new Random().Next(0, gen.bound_cy)));
but it's seems like this random is not working right it gives wrong coords is there onther way to get the right value between bound_x,bound_y and bound_cx,bound_cy?


Edit:

nvm solved!



Mr_PoP is offline  
Old 08/04/2011, 13:39   #2
 
elite*gold: 0
Join Date: Apr 2008
Posts: 752
Received Thanks: 276
Quote:
Originally Posted by Cyanogen View Post
*
lol what that star for lmao?
Mr_PoP is offline  
Reply



« Anti-botting for co? | C# Tutorial through source code! »

Similar Threads
Wo spawn mobs
01/28/2011 - Minecraft - 12 Replies
wo spawn mops also creeper,spinne.monster usw am besten auf welchen stein?
[Help]TQ binarys Mobs spawn
06/22/2009 - CO2 PServer - Discussions / Questions - 0 Replies
hey i need help on how to increase the size of the spawn and make more spawn...
[Help]TQ binarys Mobs spawn
06/22/2009 - CO2 Main - Discussions / Questions - 3 Replies
how can i make more mobs spawn in the binarys
Range mobs follow and not hit?
01/31/2008 - Dekaron - 5 Replies
Is this possible, and if so, would anyone please help me out on how to do it?
How to spawn mobs
01/09/2008 - EO PServer Hosting - 5 Replies
Ok Im no pro but I found this out and it works for me. 1: Use somthing like navcat 2: open in my Db cq_generator 3: Look for colum row npctype For this example I will use Madbulls in cronus also easy to test. Mob Ids: 1000 = Normal Madbulls 1001 = Madbulls Lv12 (maybe Boss)



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


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

BTC: 3KeUpz52VCbhmLwuwydqxu6U1xsgbT8YT5
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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