|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc. |

04-22-2007, 11:55 AM
|
 |
Discordant
|
|
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
|
|
This seems like a awsome Idea, you could use this possibly for special events and such.
As far as to your problem, as I know nothing about Mysql yet, but what if you you made sqls that completely replace the whole spawn data in that zone, and then you could possibly have a batch file that sources in the new zone spawns, not repops, and then boots the zone, closing the zone before it. The only issue with this is if anyone is in that zone, they get disconnected...... hmm, well nevermind, i thouhgt i had something.
Ok, what about this, can you run scripted gm commands some how, maybe through a keyboard API or something that you create you a gm, run a bare bones client that you will not use, and at a scheduled time of day, have the api run a repop command that will be layered into the client therefore running the repop for you......
I dont know, im just tooting my horn here, as I haves a now Idea /sigh
|
 |
|
 |

04-25-2007, 02:35 PM
|
Fire Beetle
|
|
Join Date: Dec 2006
Location: Vienna
Posts: 28
|
|
I may be talking way off base here, but why couldn't the spawn tables just incorporate a temporal component? No script that needs to be run to swap the pops, but extend the model to incorporate time of day and you have a much more flexible solution... some mobs could only be up during certain hours of the day.
Dang, now you're gonna make me go look at the spawn code...
|

04-26-2007, 02:43 AM
|
 |
Discordant
|
|
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
|
|
I think its more along the lines of it having to be coded into the emulator itself. Like a line that tells it to re pop using said database information. This could be used in conjonuction with your idea archon. The database would contain spawn times for select spawns, and the emulator would see this when its internal time hit 8:00am or 8:00pm, at which time it would prepare or just directly respawn using those special spawns from the databse.
|

04-27-2007, 11:03 AM
|
 |
Demi-God
|
|
Join Date: Aug 2003
Posts: 1,056
|
|
I don't know anything about the coding in the emu( I know some coding of a different sort though, as I work for a controls company, or building automation if you will)... so not sure if this is even feasable or not, but what if you ran the zone (kith) dynamically, and did NOT spawn anything yet. Then make a call to the system (read emu) time to sync it with the world, THEN spawn the zone accordingly..? I know it sounds "easier said than done" but ideas start from somewhere yes?
__________________
Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
|
|

04-29-2007, 11:46 PM
|
Fire Beetle
|
|
Join Date: Dec 2006
Location: Vienna
Posts: 28
|
|
There is always the option of trying to include a daemon in the emulator (might be there already for all I know) that would allow events to be queued up. When the appointed hour came nigh, the daemon could spawn an event thread and hand it the event ID so it could deal with the event details.
For this "normal during day, undead at night", at 0 hour you could wipe the zone of "normals", then do a repop of the undead (making critters warp all over the place at they repop at designated points).
Or the thread could find each appropriate mob and swap it out at their current location, in their current state (kinda like the moonlight in Pirates of the Caribbean) according to the event rules.
|

04-30-2007, 10:42 AM
|
AX Classic Developer
|
|
Join Date: May 2006
Location: filler
Posts: 2,049
|
|
It would be nice if someone could come up with some simple code to deal with this, that could be presented to the devs. _condition and condition_value already deal with this, and there is some code made out to this:
http://eqemulator.net/forums/showthread.php?t=18171
I doesn't appear to work right with me, or maybe I'm trying to get it to do what it was not intended to do.
Something that would change values in the above tables and repop in a timely manner would be enough.
I miss the "witching hours" at night in Lake Rathe and just trying to get out of Kithicor before the zombies came out. Also, things like night time in South Karana when the Sentry Alechin turned into a Werewolf. Hope to one day get all that back again.
|

05-01-2007, 03:39 AM
|
Fire Beetle
|
|
Join Date: Dec 2006
Location: Vienna
Posts: 28
|
|
According to that post, sure looks like the day shift / night shift should work now... unless that bit of code was never included in a build, or got obsoleted out of the codebase...
I'll have to see if I can replicate that setup and give it a go...
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 05:17 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |