Thread: dropping more then 1?

Results 1 to 8 of 8
  1. #1 dropping more then 1? 
    Banned

    Join Date
    May 2008
    Posts
    2,327
    Thanks given
    55
    Thanks received
    67
    Rep Power
    0
    ok on my friends server, he has a monster that drops 1m gp and a random peice of rune armor, how i make it so a monster wuld drop 1m? :]

    if possible, as a random drop along with my other drops? :]
     

  2. #2  
    The Godz
    Guest
    Just put them into item2.java, Create in to NPChandler.
     

  3. #3  
    Banned

    Join Date
    May 2008
    Posts
    2,327
    Thanks given
    55
    Thanks received
    67
    Rep Power
    0
    no clue wat u meant?

    i want it 2 drop 1m gp, not 1gp

    like if i set it up for a skeleton to drop item 995, it only drops 1gp...

    how i make it more?? :\
     

  4. #4  
    Registered Member

    Join Date
    Jun 2007
    Posts
    2,237
    Thanks given
    267
    Thanks received
    411
    Rep Power
    1283
    Code:
    public void createGroundItem(int itemID, int itemX, int itemY, int itemAmount)
    	{// Phate: Omg fucking sexy! creates item at absolute X and Y
    		outStream.createFrame(85);								// Phate: Spawn ground item
    		outStream.writeByteC((itemY - 8 * mapRegionY));
    		outStream.writeByteC((itemX - 8 * mapRegionX));
    		outStream.createFrame(44);
    		outStream.writeWordBigEndianA(itemID);
    		outStream.writeWord(itemAmount);
    		outStream.writeByte(0);									// x(4 MSB) y(LSB) coords
    	}
    So you would use something like
    Code:
    createGroundItem(995, NPC.absX, NPC.absY, 2000000);
    Hope i helped
    Don't worry, Be happy.
     

  5. #5  
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    you got dodian server? or? whit one



    click banner to join gtracer!
     

  6. #6  
    Banned

    Join Date
    May 2008
    Posts
    2,327
    Thanks given
    55
    Thanks received
    67
    Rep Power
    0
    minutes, its a czar sorce
     

  7. #7  
    phate
    Guest
    {// Phate: Omg fucking sexy! creates item at absolute X and Y

    haha
     

  8. #8  
    Banned

    Join Date
    Dec 2007
    Age
    28
    Posts
    583
    Thanks given
    122
    Thanks received
    11
    Rep Power
    0
    put 995, then 1000000 can't explain it much more don't just put 995 tab and put 1000000 so it drops 1m.
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •