Jump to content

Gidz Cross

Members
  • Posts

    464
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Gidz Cross

  1. Please read the script first. https://github.com/Stolao/Npc_Release/blob/f20a0d61899156c7d776dae419eff2cfadec6d07/Daily_Reward/DailyReward_v2.txt#L320
  2. Hello rathena 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. 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. 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 [email protected]$; mes "input how many times to broadcast"; next; input [email protected]; if (countitem(Poring_Coin) < [email protected]) { 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) < [email protected]) { // hacking recheck mes "you don't have enough "+ F_MesItemInfo(Poring_Coin); close; } delitem Poring_Coin, [email protected]; while ([email protected]++ < [email protected]) { announce [email protected]$, bc_all; sleep 1000; } end; } Thank you so much!
  3. This is for older client. New method is already introduced. Its like adding sprite for garments. And id like to know it as well. Hmmmm. Anyone?
  4. Well then... I guess the only thing we use Also, I already tried that. Renaming all 4th job classes with costume_2. can you share yours? Thanks
  5. We use the same server settings. What i advice to you is to make another stylist exclusive to Doram and those expanded classes (star emperor, soul reaper). On my test server. i have 2 stylist. 1 for normal 3rd job base classes and another one for 3rd job who is using bodystyle. Understood? Special thanks to @Balfear.
  6. Just go to "special place" where no one is around.
  7. What i posted is PROMOTIONAL CODE. not like. Peace
  8. Original thread here https://herc.ws/board/topic/18975-promotional-code/ I somehow stumbled upon this thread and decided to ask if this is working on rathena. Luckily annie replied. Link here: https://herc.ws/board/topic/18975-promotional-code/?do=findComment&comment=98439 @topic This will be a nice feature indeed. And i think its a must.
  9. Like i said in your other post. Your client side is dirty. Re create your whole client side.
  10. Your client side is dirty. It means re create your client. Re diff it.
  11. I have reported it but im not sure it meant to be. If it is how to enable headgears to appear when using @autotrade when server restarts. https://github.com/rathena/rathena/issues/5408
  12. Anyone? This is still my unresolved mystery. Hehe!
  13. Dont know that. How? I will try now thank you! ♥ *Edit It works @Balfear!!!!! You da man!
  14. Oh! lemme check body instead. Wait. *Edit (Result) Nope. It doesnt work. I know when it comes to database, you have to re log to take its effect. This ive tried if(body <=1){ mes @header$; mes "bahu ka!"; mes " "; mes " "; mes " "; mes "bantut!"; close; } doesnt work. Unless someone tell me how to query like that on npc. But i guess thats the only way to do because we dont have @bodystyle checker?
  15. Well we have weight check, zeny check, base level and job level checker and class checker. I wonder if we have @bodystyle checker? Im trying to set condition. Thanks! Idea: if(@bodystyle <=1){ mes @header$; mes "bahu ka!"; mes " "; mes " "; mes " "; mes "bantut!"; close; } But it doesnt seem to work. Ive tried many variable. No map error tho. But it doesnt work. Ive tried the following: if ([email protected] < 1 || [email protected] > [email protected]) if (!bodystyle <= 1) if (bodystyle <= 1) if (@bodystyle <= 1) if (body_style <= 1) Thanks!
  16. Look for the word that display on your equipment window. (use, eqp etc etc etc)
  17. Thank you so much @Emistry. Will give feedback after i test this. Having debug messages and some bugs
  18. Hi! Can i request something about the default Mushroom Event that comes in our git? Can i request to put time duration? Because the event wont re start if there is still some mushroom left. Imagine having 1 mushroom left in prontera. Let's say its very impossible to find. The event will not end until the mushroom is fully killed. Thanks in advance guys! This is the script Trunk\npc\custom\events\mushroom_event.txt //===== 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) { [email protected] = mobcount( .event_map$, strnpcinfo(0) + "::OnMobKilled" ); if ([email protected] > 0) { mes "There are " + [email protected] + " 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) + "::OnMinute30"; mes "[ Find The Mushroom ]"; mes "Event started!"; close; OnInit: .prize = 30000; // Reward item ID .amount = 1; // Reward item amount .GM = 60; // GM level required to access NPC setarray .maps_list$[0],"izlude","geffen","morocc","prontera"; // Possible maps end; OnMinute30: // Start time (every hour) if (.status) end; if (agitcheck() || agitcheck2() || agitcheck3()) end; .status = 1; [email protected] = rand(1,50); // How many Mushrooms should spawn? .event_map$ = .maps_list$[ rand(getarraysize(.maps_list$)) ]; [email protected]$ = strnpcinfo(0) + "::OnMobKilled"; killmonster .event_map$, [email protected]$; monster .event_map$,0,0,"Please don't kill me!",1084,[email protected], [email protected]$; announce "We will be having Find Mushroom Event!",0; sleep 5000; announce "Total of " + [email protected] + " Mushrooms have been spawned in " + .event_map$ + ".",0; sleep 2500; announce "Every Mushroom you kill will give you 1 " + getitemname(.prize) + " and 1 Activity Point.",0; sleep 2500; announce "Now lets do this! Goodluck!",0; end; OnMobKilled: dispbottom "You got 1 Activity Point for Killing the Mushroom"; set #ACTIVITYPOINTS, #ACTIVITYPOINTS += 1; if (playerattached() == 0) end; getitem .prize, .amount; [email protected] = mobcount( .event_map$, strnpcinfo(0) + "::OnMobKilled" ); if ([email protected] > 0) announce "[ " + strcharinfo(0) + " ] has killed a Mushroom. There are now " + [email protected] + " 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; }
  19. hi guys. I may have done something regarding backslide skill. I cannot use it anymore. It's always skill has failed. Tried navigating with db folder they are all par with the latest pull from git. Please help. Thanks!
  20. Hello rathena peeps. Can i request a Random Castle Drop Exchanger? So this will be the flow. For example you have Billow. And you wanted to gamble it by exchanging it to random castle drop. The payment will be 1 castle drop (id#7073 to id#7092) and extra item(id#XXXXX). Billow + Item = 1 Random castle drop (You can received billow again because its random) Something like that. Thanks!
  21. sorry for necro-quote. But do you have gepard? Im experiencing the same problem. The only thing is i have gepard.
×
×
  • Create New...

Important Information

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