Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by nanakiwurtz

  1. Like this? - script death -1,{ OnInit: set .npcname$,"[Death Announcer]"; // Define the NPC's name OnWhisperGlobal: if (getgmlevel() >= 40) { AnnounceMenu: mes .npcname$; mes "There are several settings for this controller."; mes "Only one announcer may be active at all times."; mes "What would you like to do?"; menu "Set Flavor Text",FlavorText,"Mob Announcer",MobAnnouncer,"PK Announcer",PKAnnouncer,"Nothing",Nothing; Nothing: close; FlavorText: next; mes .npcname$; mes "Pleae input the text you would like to appear when a player is killed."; mes "^AAAAAAExample: Player <had his brains eaten>!^000000"; // @FlavorText$ would replace < > input @FlavorText$; next; mes .npcname$; mes "The message that will be broadcasted when a player dies is:"; mes "^FF0000Player "+@FlavorText$+"!^000000"; mes " "; mes "Is that correct?"; menu "Yes, that's fine",CorrectFlavor,"No, let me change it",FlavorText,"Nevermind",Nothing; CorrectFlavor: set $flavor,1; // At this point, Flavor Text has been defined goto AnnounceMenu; MobAnnouncer: if ($flavor != 1) { // Check if Flavor Text has been defined yet next; mes .npcname$; mes "I'm sorry, but you haven't set the Flavor Text yet!"; next; goto AnnounceMenu; } else { if ($mobactive == 1) { next; mes .npcname$; mes "The Mob Announcer is currently active."; mes "Would you like to disable it?"; menu "Yes",DeactivateMob,"No",AnnounceMenu; DeactivateMob: next; mes .npcname$; mes "The Mob Announcer has been deactivated."; set $mobactive,0; // Define the Mob Announcer as "inactive" goto AnnounceMenu; } else { next; mes .npcname$; mes "Would you like to enable the Mob Announcer?"; mes "This will broadcast player deaths when they're killed by monsters."; menu "Yes",ActivateMob,"No",AnnounceMenu; ActivateMob: next; mes .npcname$; mes "The Mob Announcer has been activated."; set $pkactive,0; // Define the PK Announcer as "inactive" set $mobactive,1; // Define the Mob Announcer as "active" goto AnnounceMenu; } PKAnnouncer: if ($flavor != 1) { // Check if Flavor Text has been defined yet next; mes .npcname$; mes "I'm sorry, but you haven't set the Flavor Text yet!"; next; goto AnnounceMenu; } else { if ($pkactive == 1) { next; mes .npcname$; mes "The PK Announcer is currently active."; mes "Would you like to disable it?"; menu "Yes",DeactivatePK,"No",AnnounceMenu; DeactivatePK: next; mes .npcname$; mes "The PK Announcer has been deactivated."; set $pkactive,0; // Define the PK Announcer as "inactive" goto AnnounceMenu; } else { next; mes .npcname$; mes "Would you like to enable the PK Announcer?"; mes "This will broadcast player deaths when they're killed by other players."; menu "Yes",ActivatePK,"No",AnnounceMenu; ActivatePK: next; mes .npcname$; mes "The PK Announcer has been activated."; set $mobactive,0; // Define the Mob Announcer as "inactive" set $pkactive,1; // Define the PK Announcer as "active" goto AnnounceMenu; } // Announcers OnPCDieEvent: if ($mobevent == 1) {announce strcharinfo(0) + @FlavorText$ +"!",bc_map;} end; OnPCKillEvent: if ($pkevent == 1) {set .@name$, strcharinfo(0);attachrid killedrid;announce strcharinfo(0)+" "+@FlavorText$+" by "+.@name$+"!",bc_map;} end; } } } } else {dispbottom "You are not authorized to use this feature.";end;} }
  2. Hi zeroel90, you can try to use 'GRF Builder' to pack/unpack your files I think the only untranslated problem are the buttons
  3. Just use the search feature, located on upper right of this page. Search for WOE Prize or WOE Reward
  4. Put your .eot files 'outside' of the data folder: C:\Miruku\System\Font Hope this helps
  5. First, use Langtype 1, version 30, 127.0.0.1 address is okay to use as long you are running the client on the same PC as your server. Then, rediff your client using Skip Packet Header Obfuscation diff by Earthlingz, then update your packetdb, and mmo.h. Last, recompile your server.
  6. Yep, the 5 minute delay comes from asura strike skill.
  7. Actually yes it is, but there are some diffs to fix those issues
  8. It depends on how you diff your client, if you choose to read GRF first, then make sure that the path is correct. And use the Blue Ghostring Setup.exe
  9. I mean to join the query using 'query_sql' so the script and the query code won't be separated.
  10. Tadaa... I think you put the LUA/B in the wrong folder? C:\Miruku\data\luafiles514\lua files
  11. I'm sorry icabit, yesterday I was on mobile phone, and forgot to apply your script. Why don't you use 'query_sql' in your script?
  12. Thanks for the update Winz, and welcome back to the forum
  13. Uhmm basically that's the idea You're welcome
  14. It's like platinum skills, you can read the example
  15. Your request is too complex, about aura, you can use if + specialeffect2 + some labels, such as OnPcLoginEvent, OnLoadMapEvent and such. About title, try @fakename
  16. Night shift, very exhausting.. f(>,<' )

  17. Simply make an npc, or just edit sprakki on the novice training ground, then use 'input' + regex to check whether the char name contain 'gm' string. If the name contains the specified string, deny the warp to the next map.
  18. update your packetdb, recheck your packetver, then recompile your server.
  19. If you're using Shinryo's diff patcher, use my rA toolkit to help you get the diff list. Oh so the problem exist in both windowed and full screen?
  20. Which client date are you using and the diff list you use? Or does it belong the 'click delay' issue?
×
×
  • Create New...