agamanaros
Members-
Posts
34 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by agamanaros
-
Hi Sir @Poring King,I tried your script and it works perfectly however Im just wondering if its possible that instead of choosing which headgear to disable, once @hidehg is called all of the headgear views will be 0? Thank you sir and more power!
-
Hi @BigBurrito, Your script works fine however, I'm wondering if its possible to keep this script running while still inside the woe map? Please check the video to fully understand my query. Thank you and more power! 2021-02-15 00-49-17.mkv
-
Loop npc function while item is equipped
agamanaros replied to agamanaros's question in Scripting Support
2020-11-20 04-43-39.mkv 2020-11-20 04-45-35.mkv 2020-11-20 04-56-16.mkv -
@autoattack error in normal characters after use of @jump
agamanaros posted a question in Scripting Support
Good day! I would like to seek anyone's opinion about my problem. And my apologies if Im in the wrong section however, Im not sure if the problem is on the script or sprite. So the problem all started when, I tried installing @autoattack feature in my server however upon checking when using @autoattack and @jump at the same time it shows a sprite error. However, If I use a GM account in a GM suit it doesn't show any errors when using @autoattack and @jump at the same time. I tried literally all jobs if any jobs work but all we're having the same error. I even tried making a custom item/costume that has a GM Suit(GM Suit Costume), And still it shows the same error. I included a video of my problem below. I could really need a help right now. Thank you! ^^ 2020-11-20 04-45-35.mkv 020-11-20 04-56-16.mkv 2020-11-20 04-43-39.mkv -
Good day! I would like to seek anyone's opinion about my problem. I tried installing @autoattack feature in my server however upon checking when using @autoattack and @jump at the same time it shows a sprite error. However, If I use a GM account in a GM suit it doesn't show any errors when using @autoattack and @jump at the same time. I tried literally all jobs if any jobs work but all we're having the same error. I even tried making a custom item/costume that has a GM Suit(GM Suit Costume), And still it shows the same error. I included a video of my problem below. I could really need a help right now. Thank you! ^^ 2020-11-20 04-43-39.mkv 2020-11-20 04-45-35.mkv 2020-11-20 04-56-16.mkv
-
Good day, I'd like to know if its possible to loop a script function called by item script. And script will run a loop while item is equipped? I'm trying to make a simple function script that would do @jump every 10 seconds while item 35815 is equipped. function script autojump { OnInit: while(1) { warp strcharinfo(3),0,0; } end; } 35815,Auto_Attack_Floater,Auto Attack Floater,5,20,,150,,6,,1,0xFFFFFFFF,63,2,2048,,1,1,4249,{},{ callfunc "autojump"; },{ callfunc "autojump"; } Thank you and more power!
-
Cell_PK dispbottom when going in/out to the specific cell.
agamanaros posted a question in Script Requests
Hi! I was able to make cell_pk work however I'd like to know if there's way for an npc script that would display a message to the character when he/she goes in/or in that specific cell? here's my script below, - script FreePKZone -1,{ OnInit: setcell "prontera", 185, 161, 193, 169, cell_pk, 1; end; } Thank you and more power to us all! -
Hi sir I would like to know if its possible to convert this mod to the latest git. I tried using your mod however it doesn't work in the latest git. Thank you and more power! .
-
Hi sir do you mind sharing this url to me? Thanks in advance!
-
Good day, I would like to ask if it possible to create an that would let the players request a song that can be pulled out from youtube? The thought would be like players will talk to the npc and type in a title of the song then the npc will search that song in youtube and will play it in prontera/maintown. Thank you and more power!
-
Good day! I'm posting this message to seek for anyone's assistance regarding my npc script. I'm trying to do a OnClock Trigger however for whatever reason its not triggering. There's no error in maps and the more weird thing is if I use OnMinute to trigger npc to show and hide it works.
-
How to change changelook LOOK_HEAD_TOP, # back to 0?
agamanaros replied to agamanaros's question in Script Requests
I tried adding mes " "; before the end; however that doesn't seem to do the trick. -
How to change changelook LOOK_HEAD_TOP, # back to 0?
agamanaros replied to agamanaros's question in Script Requests
Is it possible sir to add like a 2 seconds delay time once the progress bar is complete before it executes the script again? Then adding setpcblock PCBLOCK_MOVE while progressbar is still casting? so they'll have time to move before the progressbar recast again? Thanks sir! -
How to change changelook LOOK_HEAD_TOP, # back to 0?
agamanaros replied to agamanaros's question in Script Requests
I really appreciate the response @LearningRO, I think this requires source modification. I'll update you once I tried your advise. Thanks again man! -
How to change changelook LOOK_HEAD_TOP, # back to 0?
agamanaros replied to agamanaros's question in Script Requests
Thanks for the reply @LearningRO , It worked however if I set the script to autofish it doesn't work. Is there a work around we can do even if autofish,1? Thank you sir 2020-06-23 23-31-16.mp4 -
How to change changelook LOOK_HEAD_TOP, # back to 0?
agamanaros replied to agamanaros's question in Script Requests
brasilis,253,60,0 script Fishing Hole 844,{ //Fishing rod set [email protected],2764; //Fishing Lure set [email protected],2775; //Auto-Fish set [email protected],1; //Auto-Fish on Fail set [email protected],1; Fish: if (isequipped([email protected])) && (isequipped([email protected])){ specialeffect EF_BUBBLE,"Fishing Hole"; dispbottom "[Fishing] Casting..."; set [email protected],15; if (isequipped(2550)) { //Fisher's Muffler set [email protected],[email protected] - 2; } if (isequipped(2443)) { //Fisher's Boots set [email protected],[email protected] - 2; } if (isequipped(2764)) { //Fishing Pole set [email protected],[email protected] - 3; } if (isequipped(2775)) { //Fishing Lure set [email protected],[email protected] - 1; } changelook LOOK_HEAD_TOP,102; changelook LOOK_HEAD_MID,471; changelook LOOK_HEAD_BOTTOM,383; sc_start SC_SUMMER,7500,0; progressbar "ffffff",[email protected]; if (rand(1,80) == 2){ getitem 32552,1; //Fish with Blue Back specialeffect2 EF_TEMP_OK; announce "Wow! What a lucky bastard, "+strcharinfo(0)+" has caught a Blue Fish! Go to @fish to join now!",8; mapannounce strcharinfo(3),strcharinfo(0)+" has caught a Blue Fish!",bc_map,"0xff77ff"; if([email protected]==1){ goto Fish;}else{ end;} } if (rand(1,6) == 1) ||(rand(1,6) == 3) || (rand(1,6) == 6){ setarray [email protected][0],579,908,909,963,956,6049,918,960,910,938,624;// List of Junk/Other set [email protected],[email protected][rand(getarraysize([email protected]))]; getitem [email protected],1; } else { dispbottom "[Fishing] Nothing was caught..."; if([email protected] == 1){ goto Fish;} else{ end;} } if (rand(1,100) == 3){ setarray [email protected][0],644,603,617; set [email protected], [email protected][rand(getarraysize([email protected]))]; getitem [email protected],1; //Reward } if([email protected] == 1){ goto Fish;} else{ end;} } else { dispbottom "[Fishing] You need a Rod and Lure."; end; } } brasilis,251,56,0 duplicate(Fishing Hole) Fishing Hole #1 844, brasilis,251,58,0 duplicate(Fishing Hole) Fishing Hole #2 844, brasilis,251,60,0 duplicate(Fishing Hole) Fishing Hole #3 844, brasilis,251,62,0 duplicate(Fishing Hole) Fishing Hole #4 844, brasilis,251,64,0 duplicate(Fishing Hole) Fishing Hole #5 844, brasilis,253,56,0 duplicate(Fishing Hole) Fishing Hole #6 844, brasilis,253,58,0 duplicate(Fishing Hole) Fishing Hole #7 844, brasilis,253,60,0 duplicate(Fishing Hole) Fishing Hole #8 844, brasilis,253,62,0 duplicate(Fishing Hole) Fishing Hole #9 844, brasilis,253,64,0 duplicate(Fishing Hole) Fishing Hole #10 844, brasilis,255,56,0 duplicate(Fishing Hole) Fishing Hole #11 844, brasilis,255,58,0 duplicate(Fishing Hole) Fishing Hole #12 844, brasilis,255,60,0 duplicate(Fishing Hole) Fishing Hole #13 844, brasilis,255,62,0 duplicate(Fishing Hole) Fishing Hole #14 844, brasilis,255,64,0 duplicate(Fishing Hole) Fishing Hole #15 844, brasilis,257,56,0 duplicate(Fishing Hole) Fishing Hole #16 844, brasilis,257,58,0 duplicate(Fishing Hole) Fishing Hole #17 844, brasilis,257,60,0 duplicate(Fishing Hole) Fishing Hole #18 844, brasilis,257,62,0 duplicate(Fishing Hole) Fishing Hole #19 844, brasilis,257,64,0 duplicate(Fishing Hole) Fishing Hole #20 844, Here's the sourcecode sir. -
How to change changelook LOOK_HEAD_TOP, # back to 0?
agamanaros replied to agamanaros's question in Script Requests
Do you mind showing me how sir? I can't trigger the changelook, Also Im not getting any errors in maps. -
How to change changelook LOOK_HEAD_TOP, # back to 0?
agamanaros replied to agamanaros's question in Script Requests
Thanks for the reply @Mabuhay. Do you mind showing me how? I'm kinda new at scripting. Thanks! I tried adding changelook 0 to every end; but apparently its not working -
How to change changelook LOOK_HEAD_TOP, # back to 0?
agamanaros posted a question in Script Requests
Good day! I would like to ask for assistance regarding my fishing script. I added changelook LOOK_HEAD_TOP,102; changelook LOOK_HEAD_MID,471; changelook LOOK_HEAD_BOTTOM,383; while fishing. Now, the problem is I dont know how to change it back to 0 when player stops fishing. Thanks in advance! fishing.txt -
Thank you guys.
-
Hi, I'm seeking for any assistance that could guild/provide me an item script for bag of zeny. An item that once consume the character would get an random amount of zeny between 10k-50k. Thank you.
-
Still the same sir .. I also found out that its not just with the refiner npc but also with the card remover npc and also when compounding a card in an item ... I'm wondering if it has something to do with the src ... Please help
-
Up
-
I'm having a bit of troubles with my normal refiner, I never change nor touch anything in the script but the menu's of the npc are all messed up and also when I try to refine an item it says "I don't think I can refine this item at all...." Please help me, Thank you very much // Weapon/Armor Refiners //============================================================ prt_in,63,60,0 script Hollgrehenn 85,{ callfunc "refinemain","Hollgrehenn",0; end; } morocc_in,73,38,6 script Aragham 99,{ callfunc "refinemain","Aragham",0; end; } payon,144,173,5 script Antonio 88,{ callfunc "refinemain","Antonio",0; end; } alberta_in,28,58,0 script Fredrik 85,{ callfunc "refinemain","Fredrik",0; end; } yuno_in01,171,21,4 script Lambert 88,{ callfunc "refinemain","Lambert",0; end; } ein_in01,24,87,5 script Manthasman 826,{ callfunc "refinemain","Manthasman Pruhag",0; end; } lhz_in02,282,20,7 script Fulerr 869,{ callfunc "refinemain","Fulerr",0; end; } //============================================================ //= Main Refiner Function //============================================================ //= To allow auto safe refining/multiple refining set the //= second argument to '1' in the function call. //= If you enable this function, be sure to edit the value of //= [email protected] to the max safe refine in refine_db.txt as well. //============================================================ function script refinemain { disable_items; [email protected]_name$ = getarg(0); set [email protected],getarg(1); mes "["+ [email protected]_name$ +"]"; mes "I'm the Armsmith."; mes "I can refine all kinds of weapons, armor and equipment, so let me"; mes "know what you want me to refine."; next; setarray [email protected]$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; set [email protected]$,""; for(set [email protected],1; [email protected]<=10; set [email protected],[email protected]+1) { if(getequipisequiped([email protected])) { set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected]) + "]"; set [email protected],1; } set [email protected]$, [email protected]$ + ":"; } if ([email protected] == 0) { mes "["+ [email protected]_name$ +"]"; mes "I don't think I can refine any items you have..."; close; } set [email protected], select([email protected]$); if(!getequipisequiped([email protected])) { //custom check mes "["+ [email protected]_name$ +"]"; mes "You're not wearing"; mes "anything there that"; mes "I can refine."; emotion e_an; close; } //Check if the item is refinable... if(!getequipisenableref([email protected])) { mes "["+ [email protected]_name$ +"]"; mes "I don't think I can"; mes "refine this item at all..."; close; } //Check to see if the items is already +10 if(getequiprefinerycnt([email protected]) >= 10) { mes "["+ [email protected]_name$ +"]"; mes "I can't refine this"; mes "any more. This is as"; mes "refined as it gets!"; close; } set [email protected], getequipid([email protected]); // save id of the item set [email protected]nerycnt, getequiprefinerycnt([email protected]); //save refinery count switch(getequipweaponlv([email protected])){ case 0: //Refine Armor set [email protected],2000; set [email protected],985; //Elunium set [email protected],4; break; case 1: //Refine Level 1 Weapon set [email protected],50; set [email protected],1010; //Phracon set [email protected],7; break; case 2: //Refine Level 2 Weapon set [email protected],200; set [email protected],1011; //Emveretarcon set [email protected],6; break; case 3: //Refine Level 3 Weapon set [email protected],5000; set [email protected],984; //Oridecon set [email protected],5; break; case 4: //Refine Level 4 Weapon set [email protected],20000; set [email protected],984; //Oridecon set [email protected],4; break; case 5: //Refine other stuff? set [email protected],2000; set [email protected],985; //Elunium set [email protected],4; break; } // If the VIP system is enabled, the prices for non-VIP players are considerably higher. if (VIP_SCRIPT && !vip_status(1)) { switch(getequipweaponlv([email protected])) { case 0: set [email protected], [email protected] * 10; break; case 1: set [email protected], [email protected] * 40; break; case 2: set [email protected], [email protected] * 50; break; case 3: set [email protected], [email protected] * 2; break; case 4: set [email protected], [email protected] * 2; break; case 5: set [email protected], [email protected] * 10; break; } } if([email protected] != 1) { mes "["+ [email protected]_name$ +"]"; mes "To refine this I need"; mes "one ^003366"+getitemname([email protected])+"^000000 and"; mes "a service fee of " + [email protected] + " Zeny."; mes "Do you really wish to continue?"; next; if(select("Yes:No") == 2){ mes "["+ [email protected]_name$ +"]"; mes "Yeah..."; mes "There's no need to"; mes "rush. Take your time."; close; } if(getequippercentrefinery([email protected]) < 100) { mes "["+ [email protected]_name$ +"]"; mes "Oh no! If I continue to"; mes "refine this, there's a risk it could"; switch([email protected]) { case 985: mes "be destroyed! That means that ^FF0000this equipment^000000, and ^FF0000any cards^000000 or special properties added to this armor, ^FF0000will be gone^000000."; break; default: mes "be destroyed, and you'd ^FF0000lose the weapon^000000, any ^FF0000cards in the weapon^000000,"; mes "or any added special properties."; break; } next; mes "["+getarg(0)+"]"; mes "I can't make it any clearer."; mes "Once a weapon is destroyed,"; mes "there's no getting it back."; mes "You really have a chance to"; mes "^FF0000lose this weapon^000000 forever."; mes "Do you still want to refine?"; next; if(select("Yes:No") == 2){ mes "["+ [email protected]_name$ +"]"; mes "I completely agree..."; mes "I might be a great refiner, but sometimes even I make mistakes."; close; } } if((countitem([email protected]) < 1) || (Zeny < [email protected])) { mes "["+ [email protected]_name$ +"]"; mes "You don't seem to have"; mes "enough Zeny or "+getitemname([email protected])+"..."; mes "Go get some more. I'll be"; mes "here all day if you need me."; close; } set Zeny, [email protected]; delitem [email protected],1; // anti-hack if (callfunc("F_IsEquipIDHack", [email protected], [email protected]) || callfunc("F_IsEquipRefineHack", [email protected], [email protected])) { mes "["+ [email protected]_name$ +"]"; emotion e_an; mes "Wait a second..."; mes "Do you think I'm stupid?!"; mes "You switched the item while I wasn't looking! Get out of here!"; close; } if(getequippercentrefinery([email protected]) <= rand(100)) { failedrefitem [email protected]; mes "["+ [email protected]_name$ +"]"; emotion (!rand(5))?e_cash:e_omg; set [email protected],rand(1,3); if ([email protected] == 1) { mes "OH! MY GOD!"; mes "Damn it! Not again!"; mes "I'm terribly sorry, but you know practice does make perfect."; mes "Um, right? Heh heh..."; } else if([email protected] == 2) { mes "Nooooooo!"; mes "It broke!"; mes "I-I'm sorry!"; } else { mes "Crap!"; mes "It couldn't take"; mes "much more tempering!"; mes "Sorry about this..."; } close; } mes "["+getarg(0)+"]"; successrefitem [email protected]; emotion e_heh; set [email protected],rand(1,3); if ([email protected] == 1) { mes "Perfect!"; mes "Heh heh!"; mes "Once again,"; mes "flawless work"; mes "from the master~"; } else if([email protected] == 2) { mes "Success...!"; mes "Yet again, my amazing"; mes "talent truly dazzles"; mes "and shines today."; } else { mes "Heh heh!"; mes "I'm all done."; mes "No doubt, my work is"; mes "to your satisfaction."; mes "Sheer, utter perfection~"; } close; } // New Refining Functions ======================== if(getequiprefinerycnt([email protected]) < [email protected]) { mes "["+ [email protected]_name$ +"]"; mes "I can refine this to the safe limit or a desired number of times. It's your choice."; next; set [email protected],select("To the safe limit, please.","I'll decide how many times.","I've changed my mind..."); } else set [email protected],2; switch([email protected]){ case 1: set [email protected],[email protected] - getequiprefinerycnt([email protected]); break; case 2: next; mes "["+ [email protected]_name$ +"]"; mes "How many times would you like me to refine your item?"; next; input [email protected]; set [email protected],[email protected] + getequiprefinerycnt([email protected]); if ([email protected] < 1 || [email protected] > 10) { mes "["+ [email protected]_name$ +"]"; mes "I can't refine this item that many times."; close; } if([email protected] > [email protected]) { set [email protected],[email protected] - [email protected]; mes "["+ [email protected]_name$ +"]"; mes "This will try to refine the equipment " + [email protected] + " times past the safe limit. Your equipment may be destroyed... is that ok?"; next; if(select("Yes...","No...") == 2){ mes "["+ [email protected]_name$ +"]"; mes "You said so... So be it."; close; } } break; case 3: next; mes "["+ [email protected]_name$ +"]"; mes "You said so... So be it."; close; } set [email protected],[email protected] * [email protected]; mes "["+ [email protected]_name$ +"]"; mes "That will cost you " + [email protected] + " " + getitemname([email protected]) + " and " + [email protected] + " Zeny. Is that ok?"; next; if(select("Yes","No...") == 2){ mes "["+ [email protected]_name$ +"]"; mes "You said so... So be it."; close; } if(countitem([email protected]) < [email protected] || Zeny < [email protected]) { mes "["+ [email protected]_name$ +"]"; mes "Is that all you got? Unfortunately I can't work for you at a lower price. Try putting yourself in my shoes."; close; } set Zeny, Zeny - [email protected]; delitem [email protected],[email protected]; while([email protected]){ if (getequipisequiped([email protected]) == 0) { mes "["+ [email protected]_name$ +"]"; mes "Look here... you don't have any items on..."; close; } if (getequipid([email protected]) != [email protected] || ([email protected] == 1 && getequippercentrefinery([email protected]) < 100)) { mes "["+ [email protected]_name$ +"]"; mes "Clang... No, but did you imagine I could be so stupid?!"; mes "You changed it..."; mes "Get out before I stun you with my Hammer!!"; close; } mes "Clang, clang!!!"; if([email protected] == 2 && getequippercentrefinery([email protected]) <= rand(100)) { failedrefitem [email protected]; emotion e_omg; mes "["+ [email protected]_name$ +"]"; mes "WAHHHH!!! I'm so sorry... I warned you this could happen..."; set [email protected],[email protected] - 1; if([email protected] == 0) close; mes "Here's the unused Zeny and materials back..."; getitem [email protected],[email protected]; set [email protected],[email protected] * [email protected]; set Zeny, Zeny + [email protected]; close; } successrefitem [email protected]; emotion e_no1; set [email protected],[email protected] - 1; next; } mes "["+ [email protected]_name$ +"]"; mes "All finished... Come again soon."; close;
-
Thank you @Emistry, But do you think its possible for both npc and player to do an emotion of /dice every time they roll?