Project 1999

Go Back   Project 1999 > Blue Community > Blue Server Chat

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 12-23-2013, 02:58 PM
Raavak Raavak is offline
Planar Protector

Raavak's Avatar

Join Date: Aug 2010
Location: Creepin' inta your back door.
Posts: 2,038
Default

There are plenty of people reading this that know how it works, but I don't. I think the spawn is determined from the moment the mob dies with a /random generated number, and is therefore set. This number or time is then accessible by a GM with a command, like /spawntimer #. I'm also sure extended windows screws some of this up and it is re-randomed at the end of the window. But, like I said, I don't know... these are guesses. Jeremy, Loly, etc would know (or a P99 coder if they can share).
__________________
[60 Sorcerer] Rakpartha (Erudite)
[60 High Priest] Doktyr (Dwarf)
[45 Shadow Knight] Elandrea (Dark Elf)
Last edited by Raavak; 12-23-2013 at 03:00 PM..
  #2  
Old 12-23-2013, 03:02 PM
Splorf22 Splorf22 is offline
Planar Protector


Join Date: Mar 2011
Posts: 3,237
Default

Quote:
Originally Posted by Raavak [You must be logged in to view images. Log in or Register.]
There are plenty of people reading this that know how it works, but I don't. I think the spawn is determined from the moment the mob dies with a /random generated number, and is therefore set. This number or time is then accessible by a GM with a command, like /spawntimer #. I'm also sure extended windows screws some of this up and it is re-randomed at the end of the window. But, like I said, I don't know... these are guesses.
It would be natural but silly to implement extended windows this way; after all you know whether the timer will fall in the last 25% of the window when you make the initial dice roll. So something like this would work:

Code:
int respawn_ticks(base, variance)
{
    int window = random(0, variance);

    if(variance-window < ONE_DAY && random(0, 100) > 75)
       return respawn_ticks(base+window, ONE_DAY);
   else
      return base+window;
}
__________________
Raev | Loraen | Sakuragi <The A-Team> | Solo Artist Challenge | Farmer's Market
Quote:
Originally Posted by Arteker
in words of anal fingers, just a filthy spaniard
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:22 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.