-
Posts
122 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Everything posted by fictionx
-
And i have no doubt ;D
-
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
-
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
-
Oh, thank you !
-
Stolao's Auto Event [v2.5A]
fictionx replied to Stolao's topic in Game, Event, Quest Script Releases
up for this -
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.
-
Thank you so much !
-
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.-
-
help Warnings in Setunitdata - Error in finding object with given game ID 0!
fictionx replied to fictionx's question in Scripting Support
Thank you -
Yes
-
Hello, i've the following warning in setunitdata: Script: 1@tnm2,0,0,0 script #tnm2topmob CLEAR_NPC,{ OnStart: initnpctimer; 'TNM_STONEMOVE = 0; end; OnTimer2000: .@map$ = instance_mapname("1@tnm2"); .@label$ = instance_npcname("#tnm2topmob")+"::OnStone"; .@label2$ = instance_npcname("#tnm2topmob")+"::OnSummon"; setarray .@x[0],192, 205, 141, 68, 90; setarray .@y[0],86, 161, 213, 167, 86; mapannounce instance_mapname("1@tnm2"),"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(.@map$,.@x[.@i],.@y[.@i],"",2938,1,.@label$+(.@i+1)); setunitdata 'TNM_FLAMECROSS,29,1; unitskilluseid 'TNM_FLAMECROSS, 353, 1; donpcevent instance_npcname("#tnm2flamecross")+"::OnStart"; for(.@i = 0; .@i < 5; ++.@i) { 'TNM_STONE[.@i] = monster(instance_mapname("1@tnm2"),.@x[.@i],.@y[.@i],"Magic Seal",2938,1,.@label$+(.@i+1)); areamonster .@map$,.@x[.@i]-2,.@y[.@i]-2, .@x[.@i]+2,.@y[.@i]+2,"--en--",2939,1,.@label2$+(.@i+1); setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster .@map$,.@x[.@i]-2,.@y[.@i]-2, .@x[.@i]+2,.@y[.@i]+2,"--en--",2940,1,.@label2$+(.@i+1); setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster .@map$,.@x[.@i]-2,.@y[.@i]-2, .@x[.@i]+2,.@y[.@i]+2,"--en--",2941,1,.@label2$+(.@i+1); setunitdata 'TNM_FLAMECROSS,9,0x400085; } end; OnTimer6000: setnpctimer 10000; mapannounce instance_mapname("1@tnm2"),"Lucille : Defeat Satan Morroc before he fully recovers!", 0x1, 0x00ff00, 0x190, 18, 0, 0; end; OnTimer30000: setnpctimer 10000; ++ 'TNM_STONEMOVE; .@map$ = instance_mapname("1@tnm2"); mapannounce .@map$,"Lucille : Magic seals are moving again! #"+'TNM_STONEMOVE+".", 0x1, 0x00ff00, 0x190, 12, 0, 0; switch('TNM_STONEMOVE) { case 1: setarray .@x[0],186, 199, 141, 74, 94; setarray .@y[0],91, 163, 207, 165, 91; break; case 2: setarray .@x[0],178, 188, 141, 87, 99; setarray .@y[0],100, 160, 196, 162, 98; break; case 3: setarray .@x[0],159, 166, 141, 107, 114; setarray .@y[0],117, 152, 175, 156, 114; break; case 4: setarray .@x[0],147, 152, 141, 122, 125; setarray .@y[0],128, 146, 155, 150, 126; break; case 5: setarray .@x[0],140, 141, 140, 130, 131; setarray .@y[0],135, 143, 144, 143, 135; break; } for(.@i = 0; .@i < 5; ++.@i) { if(!'TNM_STONE[.@i]) continue; .@label$ = instance_npcname("#tnm2topmob")+"::OnSummon"+(.@i+1); killmonster .@map$,.@label$; unitwarp 'TNM_STONE[.@i],.@map$,.@x[.@i],.@y[.@i]; areamonster .@map$,.@x[.@i]-2,.@y[.@i]-2, .@x[.@i]+2,.@y[.@i]+2,"--en--",2939,1,.@label$; setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster .@map$,.@x[.@i]-2,.@y[.@i]-2, .@x[.@i]+2,.@y[.@i]+2,"--en--",2940,1,.@label$; setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster .@map$,.@x[.@i]-2,.@y[.@i]-2, .@x[.@i]+2,.@y[.@i]+2,"--en--",2941,1,.@label$; setunitdata 'TNM_FLAMECROSS,9,0x400085; } if('TNM_STONEMOVE >= 5) donpcevent instance_npcname("#tnm2topmob")+"::OnPushBack"; end; OnPushBack: .@map$ = instance_mapname("1@tnm2"); .@label$ = instance_npcname("#tnm2topmob")+"::OnSummon"+(.@i+1); sleep 2000; mapannounce .@map$,"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 .@x[0],192, 205, 141, 68, 90; setarray .@y[0],86, 161, 213, 167, 86; for(.@i = 0; .@i < 5; ++.@i) { if(!'TNM_STONE[.@i]) continue; .@label$ = instance_npcname("#tnm2topmob")+"::OnSummon"+(.@i+1); killmonster .@map$,.@label$; unitwarp 'TNM_STONE[.@i],.@map$,.@x[.@i],.@y[.@i]; setunitdata 'TNM_STONE[.@i],2,10; //MaxHP = 10; areamonster .@map$,.@x[.@i]-2,.@y[.@i]-2, .@x[.@i]+2,.@y[.@i]+2,"--en--",2939,1,.@label$; setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster .@map$,.@x[.@i]-2,.@y[.@i]-2, .@x[.@i]+2,.@y[.@i]+2,"--en--",2940,1,.@label$; setunitdata 'TNM_FLAMECROSS,9,0x400085; areamonster .@map$,.@x[.@i]-2,.@y[.@i]-2, .@x[.@i]+2,.@y[.@i]+2,"--en--",2941,1,.@label$; setunitdata 'TNM_FLAMECROSS,9,0x400085; } end; OnStone1: 'TNM_STONE[0] = 0; killmonster instance_mapname("1@tnm2"),instance_npcname("#tnm2topmob") + "::OnSummon1"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnStone2: 'TNM_STONE[1] = 0; killmonster instance_mapname("1@tnm2"),instance_npcname("#tnm2topmob") + "::OnSummon2"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnStone3: 'TNM_STONE[2] = 0; killmonster instance_mapname("1@tnm2"),instance_npcname("#tnm2topmob") + "::OnSummon3"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnStone4: 'TNM_STONE[3] = 0; killmonster instance_mapname("1@tnm2"),instance_npcname("#tnm2topmob") + "::OnSummon4"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnStone5: 'TNM_STONE[4] = 0; killmonster instance_mapname("1@tnm2"),instance_npcname("#tnm2topmob") + "::OnSummon5"; donpcevent instance_npcname("#tnm2topmob") + "::OnStoneKilled"; end; OnSummon1: OnSummon2: OnSummon3: OnSummon4: OnSummon5: end; OnStoneKilled: .@count = 0; for(.@i = 0; .@i < 5; ++.@i) { if('TNM_STONE[.@i]) .@count ++; } if(.@count <= 0) { stopnpctimer; mapannounce instance_mapname("1@tnm2"),"Lucille : Looks like all the Magic Seals are destroyed. Satan Morroc is rapidly losing power!!", 0x9, 0x00ff00; mapwarp instance_mapname("1@tnm2"),instance_mapname("1@tnm2"),139,133; donpcevent instance_npcname("Satan Morroc#tnm01")+"::OnStart"; donpcevent instance_npcname("#tnm2flamecross")+"::OnEnd"; } else { mapannounce instance_mapname("1@tnm2"),"Lucille : Good, keep this up! There are "+.@count+" Magic Seals left.", 0x1, 0x00ff00, 0x190, 12, 0, 0; } end; } 1@tnm3,0,0,0 script #tnmskill CLEAR_NPC,{ end; OnStart: initnpctimer; 'TNM_SKILL = monster(instance_mapname("1@tnm3"),1,1,"",2960,1); setunitdata 'TNM_SKILL, 29, 1; unitskilluseid 'TNM_SKILL, 353, 1; end; OnTimer15000: initnpctimer; getunitdata 'BossID,.@bossdata; .@x = .@bossdata[6]; .@y = .@bossdata[7]; switch(rand(2)) { case 0: setarray .@spiralx[0], 0, 4, 0, -6, -6, 0, 9, 10, 0, -13, -15, -14, -9; setarray .@spiraly[0], 4, -1, -6, -3, 4, 9, 3, -5, -12, -7, 0, 9, 16; unittalk 'BossID,"Ohahaha¡"; for(.@i = 1; .@i <= getarraysize(.@spiralx); ++.@i) { sleep 200; if('TNM_SKILL) unitskillusepos 'TNM_SKILL,711,1,.@x+.@spiralx[.@i-1],.@y+.@spiraly[.@i-1]; } break; case 1: unittalk 'BossID,"How does my Hell Flame taste?"; for(.@i = 1; .@i <= 5; ++.@i) { sleep 500; if('TNM_SKILL) unitskillusepos 'TNM_SKILL,711,1,.@x+.@i*3,.@y+.@i*3; unitskillusepos 'TNM_SKILL,711,1,.@x-.@i*3,.@y+.@i*3; unitskillusepos 'TNM_SKILL,711,1,.@x-.@i*3,.@y-.@i*3; unitskillusepos 'TNM_SKILL,711,1,.@x+.@i*3,.@y-.@i*3; } break; } end; OnEnd: unitkill 'TNM_SKILL; stopnpctimer; OnInstanceInit: 'TNM_SKILL = 0; end; } 1@tnm3,0,0,0 script #tnm3trap CLEAR_NPC,{ end; OnStart: 'TNM_TRAP = monster(instance_mapname("1@tnm3"),1,1,"",2960,1); setunitdata 'TNM_TRAP, 29, 1; unitskilluseid 'TNM_TRAP, 353, 1; for(.@i = 1; .@i <= 10; ++.@i) enablenpc instance_npcname("#tnm3trap"+.@i); end; OnEnd: unitkill 'TNM_TRAP; OnInstanceInit: 'TNM_TRAP = 0; for(.@i = 1; .@i <= 10; ++.@i) { stopnpctimer instance_npcname("#tnm3trap"+.@i); disablenpc instance_npcname("#tnm3trap"+.@i); } end; } Greetings !
-
Stolao's Auto Event [v2.5A]
fictionx replied to Stolao's topic in Game, Event, Quest Script Releases
i'm the only one who not matter what day i pick, always the script prefer to set sunday? -
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
-
compatible the script from ivion called "The Invasor "
fictionx replied to fictionx's question in Scripting Support
Thank you !, now working -
compatible the script from ivion called "The Invasor "
fictionx replied to fictionx's question in Scripting Support
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 .@a$[0],"Sbirro","Hero"; * 299 : set .@b$,callfunc("F_InsertArticle"),.n$[.c]')'+" "+.@a$[.a - 1]; 300 : if(playerattached()) { 301 : set .@c$,strcharinfo(0)+" has killed "+.@b$+"."; 302 : getitem .pci,(1 + .a) * 10 * .pcr2 / 100; 303 : } 304 : else set .@c$,"A"+.@b$+" has been killed."; -
Mob DB Mob Skills Quest DB Instance GhostPalace.txt
-
compatible the script from ivion called "The Invasor "
fictionx posted a question in Scripting Support
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 -
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.-
-
Hi, i want to request if someone can provide me the following map: force_ele Greetins.-
-
Looking nice !. Thank you
-
it's all fucked, all my project and night without sleep are down. sadly
-
Single Strip(Soul Linked Rogue/Stalker Update
fictionx replied to mauiboy's question in Source Support
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); } } }