Page 1 of 2

[ManaServ] Mob random Spawn

Posted: 02 Feb 2010, 21:00
by strikerbcb
It's possible to spawn mobs in a map to random locations, instead fixed spawn points ? If yes, how ?

thanks.

Re: [ManaServ] Mob random Spawn

Posted: 02 Feb 2010, 21:03
by Crush
Just define a spawn area which covers the whole map.

Re: [ManaServ] Mob random Spawn

Posted: 03 Feb 2010, 00:41
by strikerbcb
humm ... and i can put more than one type of mob in ONE spawn area ?

Re: [ManaServ] Mob random Spawn

Posted: 03 Feb 2010, 00:50
by Jaxad0127
No. Might be something to look at adding.

Re: [ManaServ] Mob random Spawn

Posted: 03 Feb 2010, 06:52
by Crush
strikerbcb wrote:humm ... and i can put more than one type of mob in ONE spawn area ?
No, but you can create several spawn areas which overlap.

Re: [ManaServ] Mob random Spawn

Posted: 08 Feb 2010, 01:31
by strikerbcb
well i think its not a good pratice ... i think permit to put x = 0 and y = 0 in the spawn point made the spawn be random, AND add support to more than one type of mob per spawn point, its give some more organization in map creation and organization.

Well .. it´s only what i thinking about this ...

Re: [ManaServ] Mob random Spawn

Posted: 08 Feb 2010, 11:09
by DarkLord
You can't even walk properly in the ManaServ testing server :(

Re: [ManaServ] Mob random Spawn

Posted: 08 Feb 2010, 13:59
by Crush
DarkLord wrote:You can't even walk properly in the ManaServ testing server :(
That's one of the many reasons why we are still sticking to eAthena.

Re: [ManaServ] Mob random Spawn

Posted: 08 Feb 2010, 14:53
by Jaxad0127
I don't see any issues with moving around. Make sure you are using the latest client and server git.

Re: [ManaServ] Mob random Spawn

Posted: 08 Feb 2010, 15:56
by Bertram
DarkLord wrote:You can't even walk properly in the ManaServ testing server :(
:arrow: Are you completely sure?
Many improvements have been made on the movement code (hopefully), and I have no real problems in using it with the latest git version. (only small glitches left).

But I'm striving for feedback on it.

So please, could you use the latest git and tell me any kind of misbehaviour encountered?

Best regards.

Re: [ManaServ] Mob random Spawn

Posted: 08 Feb 2010, 20:35
by Crush
Lol, just took a look at the gameserver source to see if I could implement it and I saw that defining zones which span the whole map regardless of its size are already possible:

Code: Select all

        // Reset the spawn area to the whole map in case of dimensionless zone
        if (mZone.w == 0 || mZone.h == 0)
        {
            mZone.x = 0;
            mZone.y = 0;
            mZone.w = realMap->getWidth() * realMap->getTileWidth();
            mZone.h = realMap->getHeight() * realMap->getTileHeight();
        }
Just set width and height to 0 and your monsters spawn on the whole map.

Re: [ManaServ] Mob random Spawn

Posted: 10 Feb 2010, 08:54
by DarkLord
jaxad0127 wrote:I don't see any issues with moving around. Make sure you are using the latest client and server git.
Yeah but it's 4144's patch> Latest version but friggin bugs.

Re: [ManaServ] Mob random Spawn

Posted: 10 Feb 2010, 09:36
by Crush
I doubt that 4144 even tested his patch on a Manasource server. Please use the latest git build of the client without modifications when you want to give us feedback.

When you report bugs we are not responsible for your report is worthless to us. Even worse: You could cause developers to spend hours trying to reproduce a bug which doesn't exist. Hours they could spend on fixing real bugs or programming new features.

Re: [ManaServ] Mob random Spawn

Posted: 10 Feb 2010, 12:14
by DarkLord
Would you please just stop coming down on me and stay out of it unless you have something constructive to say? You may dislike me but just shut your mouth (well stop typing) and don't speak to me.

Re: [ManaServ] Mob random Spawn

Posted: 10 Feb 2010, 15:24
by Jaxad0127
DarkLord wrote:Would you please just stop coming down on me and stay out of it unless you have something constructive to say? You may dislike me but just shut your mouth (well stop typing) and don't speak to me.
We could say the same to you. You repeatedly talk about bugs int he software without giving us any information about which version and such.