|
You last visited: Today at 00:29
Advertisement
Random Spawn
Discussion on Random Spawn within the CO2 Private Server forum part of the Conquer Online 2 category.
06/28/2014, 09:09
|
#1
|
elite*gold: 0
Join Date: Jun 2014
Posts: 127
Received Thanks: 0
|
Random Spawn
How to make This a Random Spawn Cord.
PHP Code:
#region SnowBanshe
if (Now64.Minute == 27 && Now64.Second == 00 && Kernel.Spawn == false)
{
if (Kernel.Maps.ContainsKey(1762))
{
Kernel.Spawn = true;
Database.MonsterInformation mob;
Database.MonsterInformation.MonsterInformations.TryGetValue(4171, out mob);
client.Map.Spawnthis(mob, client, 1762, 342, 363);
Kernel.SendWorldMessage(new MessiProject.Network.GamePackets.Message("Warning SnowBanshee Appeared At Forzen Grotto 2nd Floor Hunt it Fast And Claim your Prize", Color.Red, 2012));
}
}
#endregion
|
|
|
06/28/2014, 10:42
|
#2
|
elite*gold: 0
Join Date: Jun 2014
Posts: 69
Received Thanks: 13
|
at
client.Map.Spawnthis(mob, client, 1762, 342, 363);
instead of using 342/363
use an instance of system random class then call next(min/max) for both x,y
but you have to nerf that out, a nice method to get a valid coords within a radius around point
but the easiest solution would be creating a directory of points where to randomly (using system random instance) pick up one of them
|
|
|
06/28/2014, 14:18
|
#3
|
elite*gold: 0
Join Date: Mar 2014
Posts: 219
Received Thanks: 27
|
Messi project. Wow. Such source...
|
|
|
06/28/2014, 19:40
|
#4
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Please google before you post.

|
|
|
06/29/2014, 01:39
|
#5
|
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
|
Probably a better idea to point him towards thread safe randoms. Lord knows that source probably has some crazy thread issues underneath. Or of course its running off one thread period, that wouldn't surprise me.
|
|
|
06/29/2014, 22:03
|
#6
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
|
Quote:
Originally Posted by Wolfy.
Messi project. Wow. Such source...
|
no , it is what we call bigshow
a little better
@TopicOwner
PHP Code:
var cord = Map.RandomCoordinates(); client.Entity.Teleport(Map.ID, cord.Item1, cord.Item2);
try something like this
|
|
|
06/29/2014, 22:14
|
#7
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Quote:
Originally Posted by abdoumatrix
no , it is what we call bigshow
a little better
@TopicOwner
PHP Code:
var cord = Map.RandomCoordinates();
client.Entity.Teleport(Map.ID, cord.Item1, cord.Item2);
try something like this
|
I don't mean to be negative, but a little better than shoulder deep in shit is waste deep in shit. Neither of which seem very appealing. On topic: At least there's a method for it already.
|
|
|
06/29/2014, 23:38
|
#8
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
|
Quote:
Originally Posted by Spirited
I don't mean to be negative, but a little better than shoulder deep in **** is waste deep in ****. Neither of which seem very appealing. On topic: At least there's a method for it already.
|
it is just a good source if u want to make server for u and ur friends
or if u want to try learning but as ur knowledge increase in programing u will know what is good and bad in it what will happen when u see some other good references and sources.
it just fit in specific time and specific knowladge.
|
|
|
07/01/2014, 04:17
|
#9
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
|
Quote:
Originally Posted by Aceking
Probably a better idea to point him towards thread safe randoms. Lord knows that source probably has some crazy thread issues underneath. Or of course its running off one thread period, that wouldn't surprise me.
|
No need to use a thread safe random with the overhead. Creating a Random object in few classes / methods is not a big task.
|
|
|
 |
Similar Threads
|
Java Color.rgb(random,random,random)
05/19/2014 - Java - 4 Replies
Guten Abend liebe Community,
ich habe ein Anliegen.
Wie ist es möglich bei der Methode : setTextColor(Color.rgb(0,0,0));
anstatt (0,0,0) 3 random Integer zu verwenden wenn ja wie?
Ich habe es mal so probiert:
final Random r = new Random();
|
Spawn Random
01/20/2014 - Flyff Private Server - 0 Replies
Hello, i need for spawn random in guild siege but i don't the folder. It is the eveschool.cpp ? Thanks
|
question random spawn.
04/23/2013 - Shaiya Private Server - 6 Replies
Probably a stupid question, but... I want to do a few bosses spawn "randomly". that would spawn the boss., not in one place., and randomly in one of the 3 \ 4 of coordinates ....
or randomly on the map, anywhere .. how can implement it?
or unrealistic at all?...what I tried, does not work.
|
[Guide] Unique spawn Area & Multi-spawn! & hints to Add New Uniqes ! [Vsro]
02/17/2013 - SRO PServer Guides & Releases - 31 Replies
Please Follow this thread, this topic OUTDATE and it have alot of wrong information
http://www.elitepvpers.com/forum/private-sro-expl oits-hacks-bots-guides/2339110-epic-release-us-uni que-spot.html
Well as you can read from the topic title
lets start
USE
|
[SALE] Random ISRO chars in random servers CHEAP, from 1$ to 3$
06/03/2012 - Silkroad Online Trading - 4 Replies
Hello, I want to sell all those chars very cheap for PayPal money from 1$ to 3$ , because I need some money to buy usb joystick to play FIFA on pc ^^
If you buy them all, I can sell all those chars for 15$!!!
Contacts - skype: myntex2
I ACCEPT PAYPAL ONLY
So let's start:
|
All times are GMT +1. The time now is 00:31.
|
|