Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[NPC] Mob Spawner, shortened

bleh....
Loyal Member
Joined
Oct 15, 2008
Messages
2,898
Reaction score
1,129
Re: Mob Spawner, shortened

Read the first post and you'll know.
 
Newbie Spellweaver
Joined
Jun 7, 2010
Messages
18
Reaction score
0
Re: Mob Spawner, shortened

PHP:
public int getMonsterCount() {
                List<MapleMapObject> monsters = getMapObjectsInRange(new Point(0, 0), Double.POSITIVE_INFINITY, Arrays.asList(MapleMapObjectType.MONSTER));
                return monsters.size();
        }

Shawn - [NPC] Mob Spawner, shortened - RaGEZONE Forums


What should I do?
 
Supreme Arcanarch
Loyal Member
Joined
Oct 18, 2009
Messages
914
Reaction score
335
Re: Mob Spawner, shortened

No you wont, the function is missing the imports, so you need to add them in order to work.
 
Experienced Elementalist
Joined
Jul 8, 2008
Messages
297
Reaction score
126
Re: Mob Spawner, shortened

At the very top of the java file, you put in the imports you are missing..

import.java.util.Arrays;

And then the other ones you are missing, and then you're done.

Okay?
-facepalm if you still don't get it-
 
Newbie Spellweaver
Joined
Jun 7, 2010
Messages
18
Reaction score
0
Re: Mob Spawner, shortened

At the very top of the java file, you put in the imports you are missing..

import.java.util.Arrays;

And then the other ones you are missing, and then you're done.

Okay?
-facepalm if you still don't get it-

I have already done that. Compiled without any errors. -Facepalm myself if you guys still don't get what I mean.-
 
LeviathanStory
Joined
Apr 21, 2007
Messages
251
Reaction score
0
Re: Mob Spawner, shortened

PHP:
C:\Documents and Settings\Owner\Desktop\New Folder\Server\src\scripting\npc\NPCConversationManager.java:47: <identifier> expected
import.java.util.Arrays;
C:\Documents and Settings\Owner\Desktop\New Folder\Server\src\scripting\npc\NPCConversationManager.java:48: <identifier> expected
import.java.awt.Point;
2 errors
 
Newbie Spellweaver
Joined
Aug 12, 2009
Messages
45
Reaction score
1
Re: Mob Spawner, shortened

Your son has grown fast bless you both :)
 
Master Summoner
Loyal Member
Joined
Apr 20, 2008
Messages
578
Reaction score
76
Re: Mob Spawner, shortened

It's impossible to use the "Kill All Monsters" option properly when the NPC doesn't even let you get to that point if monsters exist in the map.
 
bleh....
Loyal Member
Joined
Oct 15, 2008
Messages
2,898
Reaction score
1,129
Re: Mob Spawner, shortened

It's impossible to use the "Kill All Monsters" option properly when the NPC doesn't even let you get to that point if monsters exist in the map.

Almost 3 months and finally someone figured it out :O
 
Master Summoner
Loyal Member
Joined
Apr 20, 2008
Messages
578
Reaction score
76
Re: Mob Spawner, shortened

Wow, I didn't realize this was bumped...
 
Back
Top