Perfect NPC

Page 1 of 2 12 LastLast
Results 1 to 25 of 26
  1. #1
    Proficient Member oOBlissOo is offline
    MemberRank
    Feb 2010 Join Date
    svchost.exeLocation
    157Posts

    Perfect NPC

    Ok so you all know if you don't know how to code its impossible to make npc spawn-able by gm code

    only one actually is the Instant Bank or Banker Pang

    this lil tut will make it so any gm can spawn a banker pang that has a bunch of neat lil menus

    this is normal banker pang that just allows u to open the bank


    Open Character.inc and Ctrl+F search for InstantBank
    you will get this

    Code:
    MaFl_InstantBank
    {
    	setting
    	{
    		AddMenu( MMI_BANKING );
    		SetImage
    		(
    		IDS_CHARACTER_INC_000417
    		);
    		m_szDialog= "";
    	}
    
    	SetName
    	(
    	IDS_CHARACTER_INC_000418
    	);
    }

    this is one with buffs

    Code:
    MaFl_InstantBank
    {
    	setting
    	{
    		AddMenu( MMI_BANKING );
    		AddMenu( MMI_NPC_BUFF );
    //		( SKILL ID, 스킬레벨, 가능한 플레이어 최소, 최대 레벨, 지속시간(ms) )
    		SetBuffSkill( SI_ASS_HEAL_PATIENCE,	20, 1, 121, 7200000 );
    		SetBuffSkill( SI_ASS_CHEER_QUICKSTEP,	20, 1, 121, 7200000 );
    		SetBuffSkill( SI_ASS_CHEER_HASTE, 	20, 1, 121, 7200000 );
    		SetBuffSkill( SI_ASS_CHEER_CATSREFLEX,	20, 1, 121, 7200000 );
    		SetBuffSkill( SI_ASS_CHEER_CANNONBALL,	20, 1, 121, 7200000 );
    		SetBuffSkill( SI_ASS_CHEER_MENTALSIGN,	20, 1, 121, 7200000 );
    		SetBuffSkill( SI_ASS_CHEER_HEAPUP, 	20, 1, 121, 7200000 );
    		SetBuffSkill( SI_ASS_CHEER_BEEFUP,	20, 1, 121, 7200000 );
    		SetBuffSkill( SI_ASS_CHEER_ACCURACY,	20, 1, 121, 7200000 );
    		SetImage
    		(
    		IDS_CHARACTER_INC_000417
    		);
    		m_szDialog= "";
    	}
    
    	SetName
    	(
    	IDS_CHARACTER_INC_000418
    	);
    }
    This One Is With Everything in the shop u have to tweak it a bit im just doing basic items so you will have to go into the propitem.txt and change it
    Code:
    MaFl_InstantBank
    {
    	setting
    	{
    		AddMenu( MMI_BANKING );
    		AddMenu( MMI_TRADE  );
    		AddVendorItem( 0, IK3_SCROLL, -1, 1, 49, 100 );
    		AddVendorItem( 0, IK3_CLOAK, -1, 1, 49, 100 );
    		AddVendorItem( 0, IK3_TICKET, -1, 1, 49, 100 );
    		AddVendorItem( 1, IK3_STICK, -1, 1, 30, 100 );
    		AddVendorItem( 1, IK3_BOARD, -1, 1, 30, 100 );
    		AddVendorItem( 1, IK3_ACCEL, -1, 1, 1, 100 );
    		AddVendorItem( 0, IK3_SCROLL, -1, 50, **** 100 );
    		AddVendorItem( 2, IK3_SWD, 1, 15, 27, 50 );
    		AddVendorItem( 2, IK3_AXE, 1, 15, 27, 50 );
    		AddVendorItem( 2, IK3_CHEERSTICK, 3, 15, 27, 50 );
    		AddVendorItem( 2, IK3_KNUCKLEHAMMER, 3, 15, 27, 50 );
    		AddVendorItem( 2, IK3_BOW, 2, 15, 27, 50 );
    		AddVendorItem( 2, IK3_YOYO, 2, 15, 27, 50 );
    		AddVendorItem( 2, IK3_WAND, 4, 15, 27, 100 );
    		AddVendorItem( 2, IK3_STAFF, 4, 15, 27, 100 );
    		AddVendorItem( 3, IK3_SUIT, 4, 15, 27, 25 );
    		AddVendorItem( 3, IK3_HELMET, 4, 15, 27, 25 );
    		AddVendorItem( 3, IK3_GAUNTLET, 4, 15, 27, 25 );
    		AddVendorItem( 3, IK3_BOOTS, 4, 15, 27, 25 );
    		SetImage
    		(
    		IDS_CHARACTER_INC_000417
    }
    		m_szDialog= "";
    	}
    
    	SetName
    	(
    	IDS_CHARACTER_INC_000418
    	);
    	AddVendorSlot( 0,
    	IDS_CHARACTER_INC_000066
    	);
    
    	AddVendorSlot( 1,
    	IDS_CHARACTER_INC_000837
    	);
    
    	AddVendorSlot( 2,
    	IDS_CHARACTER_INC_000835
    	);
    		AddVendorSlot( 3,
    	IDS_CHARACTER_INC_000055
    	);
    }
    
    }
    here are some basic ways to do this im sure you can think up a million and 5 things to put in here i did im just too lazy to put em in here xDDD

    experiment with this and post here some ways you did it
    oh if your wondering how to spawn this type in /cn "Banker Pang"
    or /cn 417

    some of the IDS_CHARACTER_INC are different than your files because i edited mine so they aren't original just go to your character.txt.txt and Ctrl+F the tab your lookin for and there ya go

    just to let you know the max menus you can have is 15 any more than that and your world server will crash if you spawn it
    but that just could be the mixture of the menus i got 16 with small ones and 10 with big ones so stick with 15 as max ^_~

    thank me if this helped oh this is also a good substitute for pangs in siege or w/e and they don't dissapear till server restarts


  2. #2
    Eternal Games Owner ZuminaSpanky is offline
    MemberRank
    Nov 2009 Join Date
    346Posts

    Re: Perfect NPC

    Genius. Never thought of this even though the concept is simple. xD

  3. #3
    Proficient Member oOBlissOo is offline
    MemberRank
    Feb 2010 Join Date
    svchost.exeLocation
    157Posts

    Re: Perfect NPC

    IKR? XD it actually just came to me like an hour ago n thought i would try it and it worked i was like wewt kk on to my next wonder blunder CUSTOM MOBS WEWT

  4. #4
    Cyclops-Network Owner Alexsh is offline
    MemberRank
    Sep 2009 Join Date
    New YorkLocation
    306Posts

    Re: Perfect NPC

    o_o. I tried this before and it didn't work for me.

  5. #5
    Proficient Member oOBlissOo is offline
    MemberRank
    Feb 2010 Join Date
    svchost.exeLocation
    157Posts

    Re: Perfect NPC

    guess u didnt do it right cuz it works for me

  6. #6
    Cyclops-Network Owner Alexsh is offline
    MemberRank
    Sep 2009 Join Date
    New YorkLocation
    306Posts

    Re: Perfect NPC

    Quote Originally Posted by oOBlissOo View Post
    guess u didnt do it right cuz it works for me
    I just tried it again and it still failed :< Ohwell tho I don't need it, Nice release though.

  7. #7
    Proficient Member oOBlissOo is offline
    MemberRank
    Feb 2010 Join Date
    svchost.exeLocation
    157Posts

    Re: Perfect NPC

    just remember u need it in the res files too not just the resource folder

  8. #8
    Banned aldieri is offline
    BannedRank
    Oct 2008 Join Date
    ArizonaLocation
    250Posts

    Re: Perfect NPC

    Might also have to add this to defineobj? I haven't tested it its in both my resource and res files though ill look into after im a little bit less sober.

  9. #9
    Proficient Member oOBlissOo is offline
    MemberRank
    Feb 2010 Join Date
    svchost.exeLocation
    157Posts

    Re: Perfect NPC

    omfg lol xDDDDD and ya u dont have to change that

  10. #10
    Banned aldieri is offline
    BannedRank
    Oct 2008 Join Date
    ArizonaLocation
    250Posts

    Re: Perfect NPC

    v14,v11 or v15? Which did you use.?

  11. #11
    Gamma 404 is offline
    MemberRank
    Jul 2007 Join Date
    3,143Posts

    Re: Perfect NPC

    He used v16..

    LOL

    That was sacrasm
    Last edited by 404; 19-04-10 at 10:21 AM.

  12. #12
    Proficient Member oOBlissOo is offline
    MemberRank
    Feb 2010 Join Date
    svchost.exeLocation
    157Posts

    Re: Perfect NPC

    LOOOL ya i used v16 rofl v14 with v15 items but v14 server so a normal v14 server will work fine

  13. #13
    Eternal Games Owner ZuminaSpanky is offline
    MemberRank
    Nov 2009 Join Date
    346Posts

    Re: Perfect NPC

    I can confirm it works too.

    Now all I need to know is change the timer of the instant pang

  14. #14
    Infraction Banned BGxApixen is offline
    MemberRank
    May 2009 Join Date
    939Posts

    Re: Perfect NPC

    This is genius! I never thought this could be so simple, and no one thought about it.

    For Once, I thank you.

  15. #15
    Member Achilles' is offline
    MemberRank
    Oct 2009 Join Date
    58Posts

    Re: Perfect NPC

    Naise, I could use this ;D

    i thankd you ;3

  16. #16
    the sound's resound echo Jelle is offline
    MemberRank
    Jun 2009 Join Date
    ._.Location
    1,036Posts

    Re: Perfect NPC

    Doesnt spawn :/
    Can you give a better explaination about how to spawn it?

  17. #17
    Proficient Member oOBlissOo is offline
    MemberRank
    Feb 2010 Join Date
    svchost.exeLocation
    157Posts

    Re: Perfect NPC

    for every one whos having issues with spawning the pang its cuz ur propitem.txt.txt and or propitem.txt isnt in syc with server or client or there is some one in range of u who doesnt have them in sync and easy fix which i shoulda mentioned is type in /ci "Scroll of Private Custody"
    this spawns the scroll that will summon the pang for 3 min sorry if i forgot to mention this cuz its kinda important xP

  18. #18
    the sound's resound echo Jelle is offline
    MemberRank
    Jun 2009 Join Date
    ._.Location
    1,036Posts

    Re: Perfect NPC

    K ill try
    Btw, is it possible to change the 3 minutes to longer?
    ________________________
    Edit:
    Does not work, when I use the scroll, it just opens a bank option :/
    Last edited by Jelle; 02-05-10 at 03:17 PM.

  19. #19
    Proficient Member oOBlissOo is offline
    MemberRank
    Feb 2010 Join Date
    svchost.exeLocation
    157Posts

    Re: Perfect NPC

    probably i duno never looked into it try the propmover.txt

    also thank me by clicking the lil black heart ^_~

  20. #20
    the sound's resound echo Jelle is offline
    MemberRank
    Jun 2009 Join Date
    ._.Location
    1,036Posts

    Re: Perfect NPC

    Quote Originally Posted by oOBlissOo View Post
    probably i duno never looked into it try the propmover.txt

    also thank me by clicking the lil black heart ^_~
    Nothing worked for me, so I did it the ehm harder way : )
    But I thank you for being patient and helping me (multiple times)!

  21. #21
    Valued Member Habb0 is offline
    MemberRank
    Jan 2007 Join Date
    NetherlandLocation
    133Posts

    Re: Perfect NPC

    Hey uhm just a question, maybe a stupid one :P
    is it possible to make it so that for the buffer you could add a button that says Fast restat so that when you click that button your stats will be reset for like 40/60 mill? Or something like that :)

    If so could you tell me how, because im not much of a coder xD

  22. #22
    Proficient Member oOBlissOo is offline
    MemberRank
    Feb 2010 Join Date
    svchost.exeLocation
    157Posts

    Re: Perfect NPC

    unless u know how to code you cant, but u can put the restat into the npc shop

  23. #23
    Proficient Member MikeDecibel is offline
    MemberRank
    Jul 2010 Join Date
    MadrigalLocation
    160Posts

    Re: Perfect NPC

    Nice release but its even not working for me..

  24. #24
    i sell platypus Improved is offline
    MemberRank
    Jun 2009 Join Date
    DenmarkLocation
    2,819Posts

    Re: Perfect NPC

    Check Propmover.txt.txt, mdldyna.inc, defineObj.h, propitem.txt/.txt, do they match up? .-.

  25. #25
    [R8]ℓσℓ32 caja is offline
    MemberRank
    Oct 2008 Join Date
    Here!Location
    1,502Posts

    Re: Perfect NPC

    Quote Originally Posted by Aspire View Post
    Nice release but its even not working for me..
    What it's not working?



Page 1 of 2 12 LastLast

Advertisement