Jump to content

gidzdlcrz

Members
  • Content Count

    74
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by gidzdlcrz

  1. Weird discovery. Sometimes it doesnt have a problem. Sometime it does. Look at the animation. The slow ones is the custom statue. I wonder why.
  2. from there. You click the OPEN SQL SCRIPT FILE. After you saw the texts generated in your query window hit the lightning logo. Do the same with logs.
  3. Hello hercules folks. Ive been using this broadcaster npc of mine way back year 2014. Now i would like to update its feature. prontera,187,210,3 script Broadcaster#1::BC 894,{ set @npcname$, "^FF9300 Broadcaster ^000000"; set @header$,"[^0000ff" + @npcname$ + "^000000]"; set broadcastfee, 3000000; mes @header$; mes "Hi, I'm the Broadcaster."; mes "I can Broadcast a message for you."; mes " "; mes " "; mes " "; mes "It costs ^ff0000"+ broadcastfee +"^000000 zeny."; next; mes @header$; mes "Would you like to Broadcast?"; next; switch (select("Yes","Nevermind")){ case 1: if(Broadcast> gettimetick(2)) { mes @header$; mes "Sorry you have to wait for 1 min."; close; } mes @header$; if(Zeny<3000000) goto $nozenybc; set Zeny,zeny - broadcastfee; mes "Please input your message."; next; input broadcast$; announce "Shout from "+strcharinfo(0)+": "+broadcast$+"",0,0x5AFF00; // Edit 5AFF00 for color code HTML Color Code close2; set Broadcast, gettimetick(2)+60; //Timer 60 = 1 minute/s dispbottom "Broadcaster: Please wait for 1min until next broadcast to avoid flooding."; end; case 2: mes @header$; mes "Suit yourself."; close; } $nozenybc: mes "You don't have enough zeny."; close; } ^ This is the script. Simple Broadcaster NPC with a fee for every broadcast. Now there's this Ragnarok Server that using somehow similar NPC. Yet, they have 3rd option. Its called Automated Broadcast. Check my screenies below. This is the broadcaster NPC with Auto Broadcast menu. (see the rest of the screenshot below to see how the NPC's behavior) After you input your desired number you can review it to proceed or not. Annie made me a script which is similar to this one. Can be used as a case 3 for my script. But i dont know how to link it to my current script. Also, its asking for item. I cant make it to ask for zeny instead. Here's what annie wrote. prontera,155,185,5 script sjdfsdlf 1_F_MARIA,{ mes "input your broadcast message"; mes "each broadcast use 1 "+ F_MesItemInfo(Poring_Coin); if (!countitem(Poring_Coin)) close; next; input .@text$; mes "input how many times to broadcast"; next; input .@num; if (countitem(Poring_Coin) < .@num) { mes "you don't have enough "+ F_MesItemInfo(Poring_Coin); close; } mes "after closing this dialog box I'll start broadcast"; close2; if (countitem(Poring_Coin) < .@num) { // hacking recheck mes "you don't have enough "+ F_MesItemInfo(Poring_Coin); close; } delitem Poring_Coin, .@num; while (.@loop++ < .@num) { announce .@text$, bc_all; sleep 1000; } end; } Good Script indeed. Thank you so much!
  4. rAthena conversion annie. Thanks!
  5. Waiting for this. Imagine some people would like to have some peace and quiet time. They will be opt out to PVP Announcements. Hehe! Anyway here's the script you can add to manually truncate the PVP Ladder (Must be 99 GM Account). Again, same principle. Just add the BOLD to the script. Find these lines.
  6. For the people who wants their costume robe to show up! Find these lines and add this BOLD. Alright. *Edit again. I forgot to mention that this is for rathena. 😝
  7. OMG its really Christmas! Those small fonts. 😁
  8. Wow this is huge jump from 2.9. This comes with statues too! Is it Christmas? Thanks annie! Will this work to rathena?
  9. Hey @AnnieRuru. It works! Sorry for the late feedback.
  10. I second this. Think of it as same function but different approach. Thanks annie! ♥
  11. You have to buff it up. Mind you walking speed are not stackable.
  12. Err! Why i didnt get notification for this. I will try @AnnieRuru. I'll give feedback after i test this. ♥
  13. we also have this on Herc as ive checked my fresh trunk. //===== Hercules Script ====================================== //= Find the Mushroom //===== By: ================================================== //= Mysterious //===== Current Version: ===================================== //= 3.6a //===== Description: ========================================= //= Find the Mushroom - random amount of Mushrooms spawns in random maps. //= Players need to find these mushrooms and kill them to gain prizes! //===== Additional Comments: ================================= //= 3.0 Fully Functional with Rewritten script. [Mysterious] //= 3.6a Slightly edited. [Euphy] //============================================================ prontera,142,228,6 script Find the Mushroom BLACK_MUSHROOM,{ mes "[ Find The Mushroom ]"; if (!.status) mes "There is no event at the moment!"; else { mes "There are "+.Spawn+" Mushrooms left in "+.Map$+"!"; mes "Find and kill the mushrooms to gain "+getitemname(.Prize)+"!"; } if (.status || getgmlevel() < .GM) close; mes "Start the event?"; next; if(select("- No", "- Yes") == 1) close; donpcevent strnpcinfo(NPC_NAME)+"::OnMinute10"; mes "[ Find The Mushroom ]"; mes "Event started!"; close; OnInit: set .Prize,512; // Reward item ID set .Amount,10; // Reward item amount set .GM,60; // GM level required to access NPC setarray .maps$[0],"izlude","geffen","morocc","prontera"; // Possible maps end; OnMinute10: // Start time (every hour) if (.status) end; set .status,1; set .Spawn,rand(1,10); // How many Mushrooms should spawn? set .Map$,.maps$[rand(getarraysize(.maps$))]; killmonster(.Map$, "all"); monster .Map$,0,0,"Please don't kill me!",1084,.Spawn,strnpcinfo(NPC_NAME)+"::OnMobKilled"; announce "Find the Mushroom : Total of "+.Spawn+" Mushrooms have been spawned in "+.Map$+"!",0; sleep 2500; announce "Find the Mushroom : Every Mushroom you kill will give you "+getitemname(.Prize)+"!",0; end; OnMobKilled: set .Spawn, .Spawn - 1; if (playerattached() != 0) { getitem .Prize, .Amount; if (.Spawn) announce "[ "+strcharinfo(PC_NAME)+" ] has killed a Mushroom. There are now "+.Spawn+" Mushroom(s) left.",bc_map; } if (!.Spawn) { announce "The Find the Mushroom Event has ended. All the Mushrooms have been killed.",0; set .status,0; } end; } Link: https://github.com/HerculesWS/Hercules/blob/stable/npc/custom/events/mushroom_event.txt
  14. Will test this. *Edit Doesn't work. I even tried OnTimer.. Hmmm
  15. ^ Well then lemme quote this and post to rathena forums.
  16. //===== rAthena Script ======================================= //= Find the Mushroom //===== By: ================================================== //= Mysterious //===== Current Version: ===================================== //= 3.6a //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Find the Mushroom - random amount of Mushrooms spawns in random maps. //= Players need to find these mushrooms and kill them to gain prizes! //===== Additional Comments: ================================= //= 3.0 Fully Functional with Rewritten script. [Mysterious] //= 3.6a Slightly edited. [Euphy] //============================================================ prontera,142,228,6 script Find the Mushroom 1084,{ mes "[ Find The Mushroom ]"; if (.status == 1) { .@count = mobcount( .event_map$, strnpcinfo(0) + "::OnMobKilled" ); if (.@count > 0) { mes "There are " + .@count + " Mushrooms left in " + .event_map$ + "!"; mes "Find and kill the mushrooms to gain " + getitemname(.prize) + "!"; close; } .event_map$ = ""; .status = 0; mes "All the mushrooms are killed?"; } mes "There is no event at the moment!"; if (.status || getgmlevel() < .GM) close; mes "Start the event?"; next; if (select("- No:- Yes") == 1) close; donpcevent strnpcinfo(0) + "::OnMinute10"; mes "[ Find The Mushroom ]"; mes "Event started!"; close; OnInit: .prize = 512; // Reward item ID .amount = 10; // Reward item amount .GM = 60; // GM level required to access NPC setarray .maps_list$[0],"izlude","geffen","morocc","prontera"; // Possible maps end; OnMinute10: // Start time (every hour) if (.status) end; .status = 1; .@spawn = rand(1,10); // How many Mushrooms should spawn? .event_map$ = .maps_list$[ rand(getarraysize(.maps_list$)) ]; .@label$ = strnpcinfo(0) + "::OnMobKilled"; killmonster .event_map$, .@label$; monster .event_map$,0,0,"Please don't kill me!",1084,.@spawn, .@label$; announce "Find the Mushroom : Total of " + .@spawn + " Mushrooms have been spawned in " + .event_map$ + "!",0; sleep 2500; announce "Find the Mushroom : Every Mushroom you kill will give you " + getitemname(.prize) + "!",0; end; OnMobKilled: if (playerattached() == 0) end; getitem .prize, .amount; .@spawn = mobcount( .event_map$, strnpcinfo(0) + "::OnMobKilled" ); if (.@spawn > 0) announce "[ " + strcharinfo(0) + " ] has killed a Mushroom. There are now " + .@spawn + " Mushroom(s) left.",bc_map; else { announce "The Find the Mushroom Event has ended. All the Mushrooms have been killed.",0; .status = 0; .event_map$ = ""; } end; } ^ This is the whole script. Can we have an option to set time limit for this quest? Because it wont re start until all the mushroom has been slain. I am thinking to have 30 minutes for every event. Thanks!
  17. Will this work to rathena? Thanks Annie! ♥
  18. gidzdlcrz

    bts quest!

    The one you recorded is a Break the Seal Quest. The one you posted is a different version. They all come in Seal quests like annie told you. Whats wrong with the one you have? Basically they are just the same thing. And its working upon testing it.
  19. @AnnieRuru I can pay you with different project in mind rather than this. I'll contact you once i think of something. Anyway regarding to the topic. I already have an idea. Thanks for the option 1. ♥
  20. Welcome back @AnnieRuru ♥ Sorry. Anyway this is included in rathena/herc trunk. \npc\custom\quests\thq So this is how it works. You will go there to register yourself as a Treasure Hunter. Once you do. You will able to take the quest/go to their exclusive member token shop. Basically its a point system. Anyway. The main concern is regarding the THQS_QuestNPC.txt. This is the npc in charge of giving you a quest. But its somehow lacking feature. Some server already made possible to re check your the quest you've taken. Let me provide you screenshot. Okay this is me taking a quest Lets say i selected Aww shoot! Now i already taken the quest and for some reason i forgot what it is.. The option i will have is to talk again to the same NPC and cancel my quest (pay the fine) This is what im requesting. An option to recheck what quest you've taken.
×
×
  • Create New...

Important Information

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