Jump to content

renegade

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by renegade

  1. Let's say I get a NPC that loads before the one below to set @mapname$ = prontera.

    @mapname$,97,147,0 script exampleNPC 48,{
    mes "hi";
    close;
    }

    It doesn't work (obviously because it's not within the brackets)

     

    Is there a method for a NPC to spawn/create another NPC? I have some unique uses in mind for this.

  2. Hello there everyone!

     

    So I'm trying to add job restrictions to items, and I stumbled on this piece of information:

     

     

     

    (S.) Novice (2^00): 0x00000001
    Swordman (2^01): 0x00000002
    Mage (2^02): 0x00000004
    Archer (2^03): 0x00000008
    Acolyte (2^04): 0x00000010
    Merchant (2^05): 0x00000020
    Thief (2^06): 0x00000040
    Knight (2^07): 0x00000080
    Priest (2^08): 0x00000100
    Wizard (2^09): 0x00000200
    Blacksmith (2^10): 0x00000400
    Hunter (2^11): 0x00000800
    Assassin (2^12): 0x00001000
    Unused (2^13): 0x00002000
    Crusader (2^14): 0x00004000
    Monk (2^15): 0x00008000
    Sage (2^16): 0x00010000
    Rogue (2^17): 0x00020000
    Alchemist (2^18): 0x00040000
    Bard/Dancer (2^19): 0x00080000
    Unused (2^20): 0x00100000
    Taekwon (2^21): 0x00200000
    StarGladiator (2^22): 0x00400000
    Soul Linker (2^23): 0x00800000
    Gunslinger (2^24): 0x01000000
    Ninja (2^25): 0x02000000
    Gangsi (2^26): 0x04000000
    Death Knight (2^27): 0x08000000
    Dark Collector (2^28): 0x10000000
    Kagerou/Oboro (2^29): 0x20000000
    Rebellion (2^30): 0x40000000
    Some other commonly used values:
    All Classes  : 0xFFFFFFFF
    Every Job Except Novice  : 0xFFFFFFFE

     

    So say I want to do all classes EXCEPT Acolyte. What would it be? The wiki fails to provide information regarding this, only showing "Every job except novice".

     

    Would I have to do this manually? Adding the hex values of every class except for acolyte? This doesn't seem like the answer.

     

    The acolyte is just an example. I would really like to learn how to know how to do this.

     

    Another one I stumbled across is "Everyjob except Thief:  0xFFFFFFBF".

     

    Can anyone educate me?

     

  3. Let's say I enable a bow to be used by a swordsman or any class. How would I make this possible without an error/invisible weapon?

     

    If I equip it, I would get an error (understandable) and then when I attack monsters I would be holding an invisible sword.

     

    How do I make it so that, a swordsman, can use a bow without this error?

     

    Is it as simple as copy/pasting the weapon sprites to the folder? IIRC job sprites also have a role in weapon usage.

  4. Hi there,

    You've all been really helpful so far! I've got anorher quick question.

    For the item db #1-499, they're not in use. Is there a reason items start at 500... Then 501 and so on?

    Also, would it be safe to use item id #1-499 for my server's custom items?

  5.  

     

    Hey, is there any way to disable all npcs on a city? It seems town npcs are usually scattered among many files. 
     
    For instance, an alberta npc is located in... npc/merchants/icecream.txt
     
    Is there a faster way at disabling all npcs on a map(mapflag or otherwise) then only allowing npcs from "npc/custom_albertanpc.txt"?
     
    (Looking for solutions without duplicating the map)

     

     

    Are you against instancing the map?

    Instancing would allow you to make a 'duplicate' of the map, without adding a separate rsw. It literally makes a mirror of the map and you are able to specify which NPCs (or none) carry over.

     

     

    Regards,

    ~Azura Skyy

     

     

    That's an interesting feature. The limitations seem to be that only a single party and members can enter though.

     

    I'd like the map accessible by anybody, as if it were any other map.

     

    If I were to use instances, would it be possible to do that?

  6. Hey, is there any way to disable all npcs on a city? It seems town npcs are usually scattered among many files. 

     

    For instance, an alberta npc is located in... npc/merchants/icecream.txt

     

    Is there a faster way at disabling all npcs on a map(mapflag or otherwise) then only allowing npcs from "npc/custom_albertanpc.txt"?

     

    (Looking for solutions without duplicating the map)

  7. Quick question about Item DB.

     

    What are some free item IDs range? 

     

    What are # of free item ids in the latest hercules build that is free to use? As in what is a general range of item ids unused?

     

    e.g. 33000-34000, etc.

     

    That are not used?

     

    20002/20003 for example are not listed in item_db.conf, however they are in "system/iteminfo.lua"

     

    So what are some safe item numbers(preferably in large ranges) to use?

×
×
  • Create New...