Jump to content

Technoken

Members
  • Posts

    505
  • Joined

  • Days Won

    8

Community Answers

  1. Technoken's post in R > Multi Item exchanger. was marked as the answer   
    Yes. Just edit these. They also have the guide, just read them and you'll be able to follow it.
    // ----------------------------------------------------------- // Basic shop settings. // ----------------------------------------------------------- set .Announce,1; // Announce quest completion? (1: yes / 0: no) set .ShowSlot,1; // Show item slots? (2: all equipment / 1: if slots > 0 / 0: never) set .ShowID,0; // Show item IDs? (1: yes / 0: no) set .ShowZeny,0; // Show Zeny cost, if any? (1: yes / 0: no) set .MaxStack,100; // Max number of quest items purchased at one time. // ----------------------------------------------------------- // Points variable -- optional quest requirement. // setarray .Points$[0],"<variable name>","<display name>"; // ----------------------------------------------------------- setarray .Points$[0],"#CASHPOINTS","Cash Points"; // ----------------------------------------------------------- // Shop IDs -- to add shops, copy dummy data at bottom of file. // setarray .Shops$[1],"<Shop 1>","<Shop 2>"{,...}; // ----------------------------------------------------------- setarray .Shops$[1],"Headgears","Weapons","Other"; // ----------------------------------------------------------- // Quest items -- do NOT use a reward item more than once! // Add(<shop ID>,<reward ID>,<reward amount>, // <Zeny cost>,<point cost>, // <required item ID>,<required item amount>{,...}); // ----------------------------------------------------------- Add(1,5022,1,0,0,7086,1,969,10,999,40,1003,50,984,2); Add(1,5032,1,0,0,1059,250,2221,1,2227,1,7063,600); Add(1,5027,1,0,0,2252,1,1036,400,7001,50,4052,1); Add(1,5045,1,0,0,2252,1,1054,450,943,1200); Add(2,1224,1,0,0,7297,30,969,10,999,50,714,10); Add(2,1225,1,0,0,7292,30,969,10,999,50,714,10); Add(3,531,1,3,0,512,1,713,1); Add(3,532,1,3,0,513,1,713,1); Add(3,533,1,3,0,514,1,713,1); Add(3,534,1,3,0,515,1,713,1); // -----------------------------------------------------------
  2. Technoken's post in Equip Position is Rumbled was marked as the answer   
    This might help you
    EQI_ACC_L (0) - Accessory 1 EQI_ACC_R (1) - Accessory 2 EQI_SHOES (2) - Footgear (shoes, boots) EQI_GARMENT (3) - Garment (mufflers, hoods, manteaux) EQI_HEAD_LOW (4) - Lower Headgear (beards, some masks) EQI_HEAD_MID (5) - Middle Headgear (masks, glasses) EQI_HEAD_TOP (6) - Upper Headgear EQI_ARMOR (7) - Armor (jackets, robes) EQI_HAND_L (8) - Left hand (weapons, shields) EQI_HAND_R (9) - Right hand (weapons) EQI_COSTUME_HEAD_TOP (10) - Upper Costume Headgear EQI_COSTUME_HEAD_MID (11) - Middle Costume Headgear EQI_COSTUME_HEAD_LOW (12) - Lower Costume Headgear EQI_COSTUME_GARMENT (13) - Costume Garment EQI_AMMO (14) - Arrow/Ammunition EQI_SHADOW_ARMOR (15) - Shadow Armor EQI_SHADOW_WEAPON (16) - Shadow Weapon EQI_SHADOW_SHIELD (17) - Shadow Shield EQI_SHADOW_SHOES (18) - Shadow Shoes EQI_SHADOW_ACC_R (19) - Shadow Accessory 2 EQI_SHADOW_ACC_L (20) - Shadow Accessory 1 the equipment slots has been changed. So you need to replace them with the updated one.
     
    e.g
    change
    getequipisequiped(2) == 0 )?"":"Armor [ ^4EEE94"+getequipname(2)+"^000000 ]", to
    getequipisequiped(7) == 0 )?"":"Armor [ ^4EEE94"+getequipname(7)+"^000000 ]", PS:
    Please put a long npc script inside a code box next time, and I think it would be nice if you open another thread for another problem.
  3. Technoken's post in about ladder board & query_sql was marked as the answer   
    replace all global_reg_value with char_reg_num
     
    it was changed since the Script Engine Upgrade update
  4. Technoken's post in Compile warnings after updating to hash d20a7cafc0c32c0d6e2ad67e58f9ba45110d7ac7 was marked as the answer   
    I was thinking why was this warning occurred after I updated. It wasn't there before. I tried to use 1200 on max_skill. Hoping that the mod will still work after this. lol was just about to test it.
     
    EDIT/UPDATE:
    I solved it by using MAX_SKILL 1200 in mmo.h and it's working fine now.
     
    Thanks for those who helped! 
  5. Technoken's post in Misc item effect was marked as the answer   
    it is OnPCStatCalcEvent not OnPCCalcStatEvent.
  6. Technoken's post in Getting Incorrect Item on Item Location (Headgears) was marked as the answer   
    Check this link, you have same topic
  7. Technoken's post in Server title? was marked as the answer   
    at conf/char_athena.conf, change the server_name
    // Server name, use alternative character such as ASCII 160 for spaces. // NOTE: Do not use spaces or any of these characters which are not allowed in // Windows filenames \/:*?"<>| // ... or else guild emblems won't work client-side! server_name: Your_Server_Name
  8. Technoken's post in Treasure Chest Spawn when a mvp killed was marked as the answer   
    Try this
    - script mvp_chest -1,{ OnNPCKillEvent: if ( getmonsterinfo( killedrid, MOB_MVPEXP ) ) { getmapxy(.@map$,.@x,.@y,0); monster .@map$,rand(.@x,.@x-3),rand(.@y-3,.@y),"--ja--",1324,1; } end; } Idk if there's a script that get the killed monster coordinates. But this script will summon the treasure chest near the killer.
     
    EDIT:
    If you want it to be dropped spawned exactly where the monster was killed maybe you can use this patch LINK
  9. Technoken's post in help In game default script ! was marked as the answer   
    There are tons of quest headgears enabled by default.
     
    Check npc/scripts_athena.conf again
    // --------------------------- Quests --------------------------- // - Quests-Tutorials for basic classes (1st class quests) ------ //npc: npc/quests/first_class/tu_acolyte.txt //npc: npc/quests/first_class/tu_archer.txt //npc: npc/quests/first_class/tu_magician01.txt //npc: npc/quests/first_class/tu_ma_th01.txt //npc: npc/quests/first_class/tu_merchant.txt //npc: npc/quests/first_class/tu_sword.txt //npc: npc/quests/first_class/tu_thief01.txt // - Headgear Quests -------------------------------------------- npc: npc/quests/newgears/2004_headgears.txt npc: npc/quests/newgears/2005_headgears.txt npc: npc/quests/newgears/2006_headgears.txt npc: npc/quests/newgears/2008_headgears.txt // - Falicious Okolnir ------------------------------------------ // God Item Second Edition Quests npc: npc/quests/okolnir.txt // - The God Item Quest ----------------------------------------- // - Controller file, allow GMs to change variables. //npc: npc/quests/seals/god_global.txt //npc: npc/quests/seals/brisingamen_seal.txt //npc: npc/quests/seals/god_weapon_creation.txt //npc: npc/quests/seals/megingard_seal.txt //npc: npc/quests/seals/mjolnir_seal.txt //npc: npc/quests/seals/sleipnir_seal.txt // - Seal status board. //npc: npc/quests/seals/seal_status.txt // -------------------------------------------------------------- // - Wandering Minstrel Quest //npc: npc/quests/bard_quest.txt npc: npc/quests/bunnyband.txt npc: npc/quests/cooking_quest.txt npc: npc/quests/counteragent_mixture.txt //npc: npc/quests/dandelion_request.txt //npc: npc/quests/doomed_swords.txt //npc: npc/quests/doomed_swords_quest.txt npc: npc/quests/eye_of_hellion.txt // - Guild Relay Quests npc: npc/quests/guildrelay.txt npc: npc/quests/gunslinger_quests.txt npc: npc/quests/juice_maker.txt //npc: npc/quests/kiel_hyre_quest.txt npc: npc/quests/lvl4_weapon_quest.txt npc: npc/quests/mage_solution.txt npc: npc/quests/monstertamers.txt //npc: npc/quests/mrsmile.txt npc: npc/quests/ninja_quests.txt npc: npc/quests/obb_quest.txt //npc: npc/quests/partyrelay.txt //npc: npc/quests/quests_13_1.txt //npc: npc/quests/quests_13_2.txt npc: npc/quests/quests_airship.txt npc: npc/quests/quests_alberta.txt npc: npc/quests/quests_aldebaran.txt npc: npc/quests/quests_amatsu.txt npc: npc/quests/quests_ayothaya.txt npc: npc/quests/quests_comodo.txt npc: npc/quests/quests_ein.txt npc: npc/quests/quests_geffen.txt npc: npc/quests/quests_gonryun.txt npc: npc/quests/quests_hugel.txt npc: npc/quests/quests_izlude.txt npc: npc/quests/quests_juperos.txt npc: npc/quests/quests_lighthalzen.txt npc: npc/quests/quests_louyang.txt npc: npc/quests/quests_lutie.txt npc: npc/quests/quests_morocc.txt npc: npc/quests/quests_moscovia.txt npc: npc/quests/quests_nameless.txt npc: npc/quests/quests_niflheim.txt npc: npc/quests/quests_payon.txt npc: npc/quests/quests_prontera.txt npc: npc/quests/quests_rachel.txt npc: npc/quests/quests_umbala.txt npc: npc/quests/quests_veins.txt npc: npc/quests/quests_yuno.txt npc: npc/quests/thana_quest.txt // - The Sign Quest // Be sure that the time zone set corresponds with the server's. // For more info, read the comments in npc/quests/the_sign_quest.txt //npc: npc/quests/the_sign_quest.txt
  10. Technoken's post in Server freezing on item obtaining was marked as the answer   
    It's related to what i've posted here LINK
     
    They told me it wasn't because of rAthena fies, rather it's because of the database.
     
    Try to access your log db while the client is frozen and see if will show an error on mapserver.
     
    As of now I still can't fix this issue. Are you also using XAMPP?
  11. Technoken's post in About global_reg_value was marked as the answer   
    It is now global_acc_reg_num and global_acc_reg_str.
     
    #Cashpoints might be located at acc_reg_num
     
    Changed after Script Engine Upgrade update
  12. Technoken's post in R> Item Script was marked as the answer   
    try
    { atcommand "@blvl 1"; atcommand "@jlvl 1"; },{},{}
  13. Technoken's post in getunitdata was marked as the answer   
    Try this
     
     
    replace
    'BossID = monster(.@map$,140,72,"--ja--",2530,1,instance_npcname("#jubileu")+"::OnBlackFace"); with
    monster(.@map$,140,72,"--ja--",2530,1,instance_npcname("#jubileu")+"::OnBlackFace"); 'BossID = $@mobid[0]; anyway just want to ask why are you using ' as the prefix of your variable?
     
    I've been inactive in rathena so i don't know if there's such update.
    But I think if you use 'BossID, it will be saved as character permanent variable.
    Please correct me if i'm wrong.
×
×
  • Create New...