• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[NPC] Mob Spawner, shortened

Newbie Spellweaver
Joined
Oct 22, 2010
Messages
42
Reaction score
6
Can you tell me Shawn.Where do i put those PHP Code beside the script of the npc?Could you tell me where i put it?
 
bleh....
Loyal Member
Joined
Oct 15, 2008
Messages
2,898
Reaction score
1,129
o_0 You highlight the code inside, copy it, paste it into whatever NPC you want and save. That's it 0_o
 
Newbie Spellweaver
Joined
Jan 31, 2007
Messages
71
Reaction score
6
Had an error for this code:
PHP:
public void killAllMonsters(int mapid) { 
           MapleMap map = c.getChannelServer().getMapFactory().getMap(mapid); 
           map.killAllMonsters(false); // No drop. 
       }

For this line : 'map.killAllMonsters(false); // No drop. '.

Help?
 
for(alive>0){makeMoney()}
Loyal Member
Joined
Aug 1, 2006
Messages
357
Reaction score
68
Code:
menu = ["Papulatus Clock","Headless Horseman","Black Crow","Anego","Rooster","BigFoot","MushMom"];

can be avoided by using #oMOBID#
 
Back
Top