Jump to content

fictionx

Members
  • Posts

    121
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by fictionx

  1. Hello rAthena developers, Because rAthena is one the best updated emulators, i suggest tu implement the new Refinary UI. Hercules already have a WIP for this, and i think can be really usefull for the rAthena community. More Info: https://www.youtube.com/watch?v=Q1aU69qlYJA
  2. Hi, is there any feature that will allow me to bypass the line of sight when the monster is behind of a structure? When i try to attack a monster that is behind of a structure, the character do not do anything, just keeps in the place. Greetings
  3. How can i fix this? : DB error - Column count doesn't match value count at row 1 [Debug]: at cashshop.c:296 - INSERT INTO `sales`(`nameid`,`start`,`end`,`amount`) VALUES ( '919', FROM_UNIXTIME(1482976800), FROM_UNIXTIME(1482980400), '100', '1' ) when i try to put a item in the window the console give me that error.
  4. Hi, i want to know how can i do to detect a pool of items declared by the npc. For example, if the player have 3 jelloy, 3 apple, 6 sticky. The npc will remove that 12 pcs of items and give 6 kafra card, or if he have 1 jello and 2 apple the npc will give 3 kafra cards. The Jellopys, Apples and sticky have been declared in the script, and the script will delete the amount that the player have of any of these items and give kafra cards depending of the items deleted. The ingredients can be combine, like the example above. Greetigs.-
  5. Hello, i've the following warning in setunitdata: Script: [email protected],0,0,0 script #tnm2topmob CLEAR_NPC,{ OnStart: initnpctimer; 'TNM_STONEMOVE = 0; end; OnTimer2000: [email protected]$ = instance_mapname("[email protected]"); [email protected]$ = instance_npcname("#tnm2topmob")+"::OnStone"; [email protected]$ = instance_npcname("#tnm2topmob")+"::OnSummon"; setarray [email protected][0],192, 205, 141, 68, 90; setarray [email protected][0],86, 161, 213, 167, 86; mapannounce instance_mapname("[email protected]"),"Lucille : 5 Magic Seals will spawn on the five corners. Destroy them before they reach Satan Morroc.", 0x1, 0x00ff00, 0x190, 18, 0, 0; 'TNM_FLAMECROSS = monster([email protected]$,[email protected][[email protected]],[email protected][[email protected]],"",2938,1,[email protected]$+([email protected]+1)); setunitdata 'TNM_FLAMECROSS,29,1; unitskilluseid 'TNM_FLAMECROSS, 353, 1; donpcevent instance_npcname("#tnm2flamecross")+"::OnStart"; for([email protected] = 0; [email protected] < 5; [email protected]) { 'TNM_STONE[[email protected]] = monster(instance_mapname("[email protected]"),[email protected][[email protected]],[email protected][[email protected]],"Magic Seal",2938,1,[email protected]$+([email protected]+1)); areamonster [email protected]$,[email protected][[email protected]]-2,[email protected][[email protected]]-2, [email protected][[email protected]]+2,[email protected][[email protected]]+2,"--en--",2939,1,[email protected]$+([email protected]+1); setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster [email protected]$,[email protected][[email protected]]-2,[email protected][[email protected]]-2, [email protected][[email protected]]+2,[email protected][[email protected]]+2,"--en--",2940,1,[email protected]$+([email protected]+1); setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster [email protected]$,[email protected][[email protected]]-2,[email protected][[email protected]]-2, [email protected][[email protected]]+2,[email protected][[email protected]]+2,"--en--",2941,1,[email protected]$+([email protected]+1); setunitdata 'TNM_FLAMECROSS,9,0x400085; } end; OnTimer6000: setnpctimer 10000; mapannounce instance_mapname("[email protected]"),"Lucille : Defeat Satan Morroc before he fully recovers!", 0x1, 0x00ff00, 0x190, 18, 0, 0; end; OnTimer30000: setnpctimer 10000; ++ 'TNM_STONEMOVE; [email protected]$ = instance_mapname("[email protected]"); mapannounce [email protected]$,"Lucille : Magic seals are moving again! #"+'TNM_STONEMOVE+".", 0x1, 0x00ff00, 0x190, 12, 0, 0; switch('TNM_STONEMOVE) { case 1: setarray [email protected][0],186, 199, 141, 74, 94; setarray [email protected][0],91, 163, 207, 165, 91; break; case 2: setarray [email protected][0],178, 188, 141, 87, 99; setarray [email protected][0],100, 160, 196, 162, 98; break; case 3: setarray [email protected][0],159, 166, 141, 107, 114; setarray [email protected][0],117, 152, 175, 156, 114; break; case 4: setarray [email protected][0],147, 152, 141, 122, 125; setarray [email protected][0],128, 146, 155, 150, 126; break; case 5: setarray [email protected][0],140, 141, 140, 130, 131; setarray [email protected][0],135, 143, 144, 143, 135; break; } for([email protected] = 0; [email protected] < 5; [email protected]) { if(!'TNM_STONE[[email protected]]) continue; [email protected]$ = instance_npcname("#tnm2topmob")+"::OnSummon"+([email protected]+1); killmonster [email protected]$,[email protected]$; unitwarp 'TNM_STONE[[email protected]],[email protected]$,[email protected][[email protected]],[email protected][[email protected]]; areamonster [email protected]$,[email protected][[email protected]]-2,[email protected][[email protected]]-2, [email protected][[email protected]]+2,[email protected][[email protected]]+2,"--en--",2939,1,[email protected]$; setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster [email protected]$,[email protected][[email protected]]-2,[email protected][[email protected]]-2, [email protected][[email protected]]+2,[email protected][[email protected]]+2,"--en--",2940,1,[email protected]$; setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster [email protected]$,[email protected][[email protected]]-2,[email protected][[email protected]]-2, [email protected][[email protected]]+2,[email protected][[email protected]]+2,"--en--",2941,1,[email protected]$; setunitdata 'TNM_FLAMECROSS,9,0x400085; } if('TNM_STONEMOVE >= 5) donpcevent instance_npcname("#tnm2topmob")+"::OnPushBack"; end; OnPushBack: [email protected]$ = instance_mapname("[email protected]"); [email protected]$ = instance_npcname("#tnm2topmob")+"::OnSummon"+([email protected]+1); sleep 2000; mapannounce [email protected]$,"Thanatos : The seals are too close to Satan Morroc. Let me help you.", 0x1, 0x00ff00, 0x190, 12, 0, 0; sleep 2000; specialeffect 894,AREA,instance_npcname("Thanatos#tnm02"); setnpctimer 10000; 'TNM_STONEMOVE = 0; setarray [email protected][0],192, 205, 141, 68, 90; setarray [email protected][0],86, 161, 213, 167, 86; for([email protected] = 0; [email protected] < 5; [email protected]) { if(!'TNM_STONE[[email protected]]) continue; [email protected]$ = instance_npcname("#tnm2topmob")+"::OnSummon"+([email protected]+1); killmonster [email protected]$,[email protected]$; unitwarp 'TNM_STONE[[email protected]],[email protected]$,[email protected][[email protected]],[email protected][[email protected]]; setunitdata 'TNM_STONE[[email protected]],2,10; //MaxHP = 10; areamonster [email protected]$,[email protected][[email protected]]-2,[email protected][[email protected]]-2, [email protected][[email protected]]+2,[email protected][[email protected]]+2,"--en--",2939,1,[email protected]$; setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster [email protected]$,[email protected][[email protected]]-2,[email protected][[email protected]]-2, [email protected][[email protected]]+2,[email protected][[email protected]]+2,"--en--",2940,1,[email protected]$; setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster [email protected]$,[email protected][[email protected]]-2,[email protected][[email protected]]-2, [email protected][[email protected]]+2,[email protected][[email protected]]+2,"--en--",2941,1,[email protected]$; setunitdata 'TNM_FLAMECROSS,9,0x400085; } end; OnStone1: 'TNM_STONE[0] = 0; killmonster instance_mapname("[email protected]"),instance_npcname("#tnm2topmob") + "::OnSummon1"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnStone2: 'TNM_STONE[1] = 0; killmonster instance_mapname("[email protected]"),instance_npcname("#tnm2topmob") + "::OnSummon2"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnStone3: 'TNM_STONE[2] = 0; killmonster instance_mapname("[email protected]"),instance_npcname("#tnm2topmob") + "::OnSummon3"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnStone4: 'TNM_STONE[3] = 0; killmonster instance_mapname("[email protected]"),instance_npcname("#tnm2topmob") + "::OnSummon4"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnStone5: 'TNM_STONE[4] = 0; killmonster instance_mapname("[email protected]"),instance_npcname("#tnm2topmob") + "::OnSummon5"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnSummon1: OnSummon2: OnSummon3: OnSummon4: OnSummon5: end; OnStoneKilled: [email protected] = 0; for([email protected] = 0; [email protected] < 5; [email protected]) { if('TNM_STONE[[email protected]]) [email protected] ++; } if([email protected] <= 0) { stopnpctimer; mapannounce instance_mapname("[email protected]"),"Lucille : Looks like all the Magic Seals are destroyed. Satan Morroc is rapidly losing power!!", 0x9, 0x00ff00; mapwarp instance_mapname("[email protected]"),instance_mapname("[email protected]"),139,133; donpcevent instance_npcname("Satan Morroc#tnm01")+"::OnStart"; donpcevent instance_npcname("#tnm2flamecross")+"::OnEnd"; } else { mapannounce instance_mapname("[email protected]"),"Lucille : Good, keep this up! There are "[email protected]+" Magic Seals left.", 0x1, 0x00ff00, 0x190, 12, 0, 0; } end; } [email protected],0,0,0 script #tnmskill CLEAR_NPC,{ end; OnStart: initnpctimer; 'TNM_SKILL = monster(instance_mapname("[email protected]"),1,1,"",2960,1); setunitdata 'TNM_SKILL, 29, 1; unitskilluseid 'TNM_SKILL, 353, 1; end; OnTimer15000: initnpctimer; getunitdata 'BossID,[email protected]; [email protected] = [email protected][6]; [email protected] = [email protected][7]; switch(rand(2)) { case 0: setarray [email protected][0], 0, 4, 0, -6, -6, 0, 9, 10, 0, -13, -15, -14, -9; setarray [email protected][0], 4, -1, -6, -3, 4, 9, 3, -5, -12, -7, 0, 9, 16; unittalk 'BossID,"Ohahaha¡"; for([email protected] = 1; [email protected] <= getarraysize([email protected]); [email protected]) { sleep 200; if('TNM_SKILL) unitskillusepos 'TNM_SKILL,711,1,[email protected][email protected][[email protected]],[email protected][email protected][[email protected]]; } break; case 1: unittalk 'BossID,"How does my Hell Flame taste?"; for([email protected] = 1; [email protected] <= 5; [email protected]) { sleep 500; if('TNM_SKILL) unitskillusepos 'TNM_SKILL,711,1,[email protected][email protected]*3,[email protected][email protected]*3; unitskillusepos 'TNM_SKILL,711,1,[email protected]@i*3,[email protected][email protected]*3; unitskillusepos 'TNM_SKILL,711,1,[email protected]@i*3,[email protected]@i*3; unitskillusepos 'TNM_SKILL,711,1,[email protected][email protected]*3,[email protected]@i*3; } break; } end; OnEnd: unitkill 'TNM_SKILL; stopnpctimer; OnInstanceInit: 'TNM_SKILL = 0; end; } [email protected],0,0,0 script #tnm3trap CLEAR_NPC,{ end; OnStart: 'TNM_TRAP = monster(instance_mapname("[email protected]"),1,1,"",2960,1); setunitdata 'TNM_TRAP, 29, 1; unitskilluseid 'TNM_TRAP, 353, 1; for([email protected] = 1; [email protected] <= 10; [email protected]) enablenpc instance_npcname("#tnm3trap"[email protected]); end; OnEnd: unitkill 'TNM_TRAP; OnInstanceInit: 'TNM_TRAP = 0; for([email protected] = 1; [email protected] <= 10; [email protected]) { stopnpctimer instance_npcname("#tnm3trap"[email protected]); disablenpc instance_npcname("#tnm3trap"[email protected]); } end; } Greetings !
  6. i'm the only one who not matter what day i pick, always the script prefer to set sunday?
  7. Royale Design View File Hello everyone! This design was made by eAdev. i'm the exclusive owner. I'm selling this for the reason that i'm not using it anymore. PSD for change the quicklinks, and the footer logo. Include some fonts. You can edit what you want. it's already coded, this CP its only compatible with hercules emulator Submitter fictionx Submitted 01/14/15 Category Garbage Bin Content Author  
  8. Thanks for reply, i've the following error: script error on npc/custom/Invasion.txt line 299 parse_line: expected ';' 294 : Onm9: 295 : if(.a > 0) { 296 : set .d,.d - 1; 297 : if(.a != 3) { 298 : setarray [email protected]$[0],"Sbirro","Hero"; * 299 : set [email protected]$,callfunc("F_InsertArticle"),.n$[.c]')'+" "[email protected]$[.a - 1]; 300 : if(playerattached()) { 301 : set [email protected]$,strcharinfo(0)+" has killed "[email protected]$+"."; 302 : getitem .pci,(1 + .a) * 10 * .pcr2 / 100; 303 : } 304 : else set [email protected]$,"A"[email protected]$+" has been killed.";
  9. Mob DB Mob Skills Quest DB Instance GhostPalace.txt
  10. Hi, who can help me in make compatible the script from ivion called "The Invasor ". The current problem that i have with this script is when i try to start the invasion, nothing happend no monster appear in the map. I have no error in the console or warnings. Greetings.- Invasion.txt
  11. Hi, i've a problem when i try to update my repository. i used git stash && git pull && git stash pop, but i have the following errors: <<<<<<< HEAD #define MAX_STORAGE 600 ///Max number of storage slots a player can have, (up to ~850 tested) #define MAX_EXTRA_STORAGE 1///eAmod Extra Storage Size <<<<<<< Updated upstream <<<<<<< Updated upstream ======= #define MAX_STORAGE 600 ///Max number of storage slots a player can have >>>>>>> 9910478ce2be160492d2cd072d906d1365de5113 ======= >>>>>>> Stashed changes ======= >>>>>>> Stashed changes ======= enum e_storage_mode { STOR_MODE_NONE = 0x0, STOR_MODE_GET = 0x1, STOR_MODE_PUT = 0x2, STOR_MODE_ALL = 0x3, }; struct s_storage { bool dirty; ///< Dirty status, data needs to be saved bool status; ///< Current status of storage (opened or closed) uint16 amount; ///< Amount of items in storage bool lock; ///< If locked, can't use storage when item bound retrieval uint32 id; ///< Account ID / Character ID / Guild ID (owner of storage) enum storage_type type; ///< Type of storage (inventory, cart, storage, guild storage) uint16 max_amount; uint8 stor_id; ///< Storage ID struct { unsigned get : 1; unsigned put : 1; } state; union { // Max for inventory, storage, cart, and guild storage are 1637 each without changing this struct and struct item [2014/10/27] struct item items_inventory[MAX_INVENTORY]; struct item items_storage[MAX_STORAGE]; struct item items_cart[MAX_CART]; struct item items_guild[MAX_GUILD_STORAGE]; } u; }; struct s_storage_table { char name[NAME_LENGTH]; char table[DB_NAME_LEN]; uint16 max_num; uint8 id; >>>>>>> 9910478ce2be160492d2cd072d906d1365de5113 how can i fix this? Greetings.-
  12. Hi, i want to request if someone can provide me the following map: force_ele Greetins.-
  13. it's all fucked, all my project and night without sleep are down. sadly
  14. Try this. In skill.c search case SC_STRIPACCESSARY: { unsigned short location = 0; int d = 0; Add after that: unsigned char ii = 0; Search: //Attempts to strip at rate i and duration d if( (i = skill_strip_equip(src,bl, location, i, skill_lv, d)) || (skill_id != ST_FULLSTRIP && skill_id != GC_WEAPONCRUSH ) ) clif_skill_nodamage(src,bl,skill_id,skill_lv,i); after that, add: if (!i && (skill_id == RG_STRIPWEAPON || skill_id == RG_STRIPSHIELD || skill_id == RG_STRIPARMOR || skill_id == RG_STRIPHELM)) { int idx = sd ? pc_search_inventory(sd, 7139) : -1; if (idx >= 0) { struct status_change *sc_ = status_get_sc(src); if (sc_->data[SC_SPIRIT]) { if (sc_->data[SC_SPIRIT]->val2 == SL_ROGUE) { if (rnd() % 100 >= ii) { enum sc_type sc_atk; if (skill_id == RG_STRIPWEAPON) sc_atk = SC_STRIPWEAPON; else if (skill_id == RG_STRIPSHIELD) sc_atk = SC_STRIPSHIELD; else if (skill_id == RG_STRIPARMOR) sc_atk = SC_STRIPARMOR; else if (skill_id == RG_STRIPHELM) sc_atk = SC_STRIPHELM; else sc_atk = SC_NONE; if (sc_atk != SC_NONE) { sc_start(src,bl, sc_atk, 100, skill_lv, d); clif_skill_nodamage(src, bl, skill_id, skill_lv, i); i = 1; } } pc_delitem(sd, idx, 1, 0, 1, LOG_TYPE_NONE); } } }
  15. Thanks to the contributors and the development to make this happen !
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.