[ManaServ] Mob random Spawn

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

User avatar
strikerbcb
Novice
Novice
Posts: 155
Joined: 15 Apr 2005, 06:42
Location: Brasil
Contact:

[ManaServ] Mob random Spawn

Post by strikerbcb »

It's possible to spawn mobs in a map to random locations, instead fixed spawn points ? If yes, how ?

thanks.
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: [ManaServ] Mob random Spawn

Post by Crush »

Just define a spawn area which covers the whole map.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
strikerbcb
Novice
Novice
Posts: 155
Joined: 15 Apr 2005, 06:42
Location: Brasil
Contact:

Re: [ManaServ] Mob random Spawn

Post by strikerbcb »

humm ... and i can put more than one type of mob in ONE spawn area ?
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: [ManaServ] Mob random Spawn

Post by Jaxad0127 »

No. Might be something to look at adding.
Image
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: [ManaServ] Mob random Spawn

Post 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.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
strikerbcb
Novice
Novice
Posts: 155
Joined: 15 Apr 2005, 06:42
Location: Brasil
Contact:

Re: [ManaServ] Mob random Spawn

Post 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 ...
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
User avatar
DarkLord
Warrior
Warrior
Posts: 390
Joined: 02 Dec 2009, 01:05
Location: Australia

Re: [ManaServ] Mob random Spawn

Post by DarkLord »

You can't even walk properly in the ManaServ testing server :(
Regards,
DarkLord

Occasionally playing TMW.

Running Windows 8.1 Pro, OS X Mavericks and Ubuntu 13.10
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: [ManaServ] Mob random Spawn

Post 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.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: [ManaServ] Mob random Spawn

Post by Jaxad0127 »

I don't see any issues with moving around. Make sure you are using the latest client and server git.
Image
User avatar
Bertram
Manasource
Manasource
Posts: 1026
Joined: 07 Sep 2004, 14:55
Location: France

Re: [ManaServ] Mob random Spawn

Post 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.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: [ManaServ] Mob random Spawn

Post 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.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
DarkLord
Warrior
Warrior
Posts: 390
Joined: 02 Dec 2009, 01:05
Location: Australia

Re: [ManaServ] Mob random Spawn

Post 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.
Regards,
DarkLord

Occasionally playing TMW.

Running Windows 8.1 Pro, OS X Mavericks and Ubuntu 13.10
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: [ManaServ] Mob random Spawn

Post 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.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
DarkLord
Warrior
Warrior
Posts: 390
Joined: 02 Dec 2009, 01:05
Location: Australia

Re: [ManaServ] Mob random Spawn

Post 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.
Regards,
DarkLord

Occasionally playing TMW.

Running Windows 8.1 Pro, OS X Mavericks and Ubuntu 13.10
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: [ManaServ] Mob random Spawn

Post 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.
Image
Post Reply