Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    409

Everything posted by Emistry

  1. did you reload the Setting after edit that ??? Did you set to allow player use command ? /conf/battle/gm.conf // (@) GM Commands available only to GM's? (Note 1) // set to 'No', Normal players (gm level 0) can use GM commands _IF_ you set the command level to 0. // set to 'Yes', Normal players (gm level 0) can never use a GM command even if you set the command level to 0. atcommand_gm_only: no
  2. Yes....learn Source Code...and modify your Emulator Source Code
  3. Did you load the SQL files already ??
  4. Emistry

    This or That?

    Sing Debate or Discuss ??
  5. 345
  6. prontera,164,178,4 <TAB> script <TAB> Donation Npc <TAB> 710,{
  7. Erm...since i am a Gundam Lovers.....i also played this game ~~
  8. Choose your desired Patch File..and Click Download..... http://rathena.org/t...-07-07aRagexeRE http://rathena.org/t...-07-07bRagexeRE
  9. what i mean here is.... this will only happen when your server only have 1 GM for the whole server... Otherwise the NPC will just remain Online when there is Other GM other than your GM online.....
  10. mapname mapflag nowarp it is TAB between these word....not "Spacing"
  11. you can do in a easier way.... Change.... Change all "Zeny" into "Cash" For Example : into this for(set @i,0; !compare(getarg(@i+1),"Cash"); set @i,@i+2) delitem getarg(@i),getarg(@i+1); set #CASHPOINTS,#CASHPOINTS - getarg( @i ); for(set @i,0; !compare(getarg(@i+1),"Cash"); set @i,@i+2) mes "^FF0000" + ((countitem(getarg(@i))>=getarg(@i+1))? "^00FF00":"") + "" + getarg(@i+1) + " " + getitemname(getarg(@i)) + " [" + countitem(getarg(@i)) + "/" + getarg(@i+1) + "]"; if(getarg(@i)) mes "^FF0000" + ((#CASHPOINTS>=getarg(@i))? "^00FF00":"") + "" + getarg(@i) + " Cash Points"; When setup.....do like this way... ( Change SZENY into Cash ) case 1: callsub OnBuyItem,7539,100,7420,120,7227,200,1000,"Cash",30169,1,"announce";
  12. Well...you ca try this also.... Added 5 Rounds + Simplified some part of your script...hope it work fine.... // Edited version by painisinsane/Eclipse. // Creator of EclipseRO // Please dont remove Credits! // Credits: http://www.paste-it....public/a5d2cd4/ quiz_01 mapflag nowarpto quiz_01 mapflag nowarp quiz_01 mapflag noteleport quiz_01 mapflag nomemo quiz_01 mapflag nosave SavePoint quiz_01 mapflag nobranch quiz_01 mapflag noicewall quiz_01 mapflag nopenalty quiz_01 mapflag nobranch quiz_01 mapflag noexp quiz_01 mapflag noreturn quiz_01 mapflag pvp_noparty quiz_01 mapflag restricted 1 - script RFYL#disable -1,{ OnInit: disablenpc "Zombie Master"; disablenpc "Present For You"; } quiz_02,124,352,3 script Zombie Minion 1015,{ if (getgmlevel() >= 40) goto LMS_Admin; mes "[Minion]"; mes "Hello " + strcharinfo(0) + ", my master is busy."; mes "*sigh*"; close; LMS_Admin: mes "[Minion]"; mes "Hello " + strcharinfo(0) + ", would you like me to call my Boss?"; mes "He is the only one who can start it!"; menu "Start Event",RFYL,"Spectate",M_warp,"End Event",M_EndEvent,"No Thanks",leave; RFYL: next; mes "[Minion]"; mes "Ok, I'll call him this instant."; close2; set $@offvar,1; goto StartEvent; M_warp: mes "[Minion]"; mes "Very well, I will warp you to the map!"; warp "quiz_01",42,369; close; leave: next; mes "[Minion]"; mes "Ok " + strcharinfo(0) +", nice seeing you."; close; M_EndEvent: mes "[Minion]"; mes "Ok master, I will stop the event for you right away!"; next; set $@offvar,1; disablenpc "Zombie Master"; disablenpc "Present For You"; killmonsterall "quiz_01"; areawarp "quiz_01",10,10,450,450,"prontera",149,169; stopnpctimer; disablenpc "Zombie Minion"; warp "prontera",149,169; sleep 180000; enablenpc "Zombie Minion"; StartEvent: announce "Zombie Vs. Novice event Will begin in 3 minutes. Head East/North",0; killmonsterall "quiz_01"; sleep 55000; announce "Zombie Vs. Novice event will begin in 2 minutes! Head East/North",0; sleep 5000; announce "Zombie Master: I have now appeared in Event Room!",0; enablenpc "Zombie Master"; sleep 60000; announce "Zombie Vs. Novice event will begin in 1 minute!",0; sleep 30000; mapannounce "quiz_01","In 30 seconds the zombies will spawn!",0; sleep 25000; for( set .@i,5; .@i > 0; set .@i + 1 ){ announce "Zombie Vs. Novice event will begin in ~"+.@i+" seconds.~",0; sleep 1000; } announce "Zombie Vs. Novice event has now begun!!",0,0x00FF00; disablenpc "Zombie Master"; disablenpc "Present For You"; sleep 10000; for( set .@x,0; .@x <= 6; set .@x,.@x + 1 ){ mapannounce "quiz_01","Round "+( .@x + 1 )+"!!",0; for( set .@y,0; .@y <= 6; set .@y,.@y + 1 ){ monster "quiz_01",42,369,"Zombie-"+( .@x + 1 ),1015,1; sleep ( .@y * 10000 ); } sleep 55000; monster "quiz_01",42,369,"Zombie-"+( .@x + 1 ),1015,1; } initnpctimer; end; OnTimer0500: if ( !getmapusers("quiz_01") ){ killmonsterall "quiz_01"; announce "'Zombie Vs. Novice' event has ended. No one joined.",0; stopnpctimer; end; }else if ( getmapusers("quiz_01") > 1 ){ mapannounce "quiz_01",getmapusers("quiz_01") +"has survived the event.",0,0x00FF00;; initnpctimer; end; } initnpctimer; end; OnPCDieEvent: if ( strcharinfo(3) == "quiz_01") { sleep2 1; warp "prontera",149,169; atcommand "@alive "+ strcharinfo(0); dispbottom "you have lost..."; } sleep2 0500; if ( .@mapnvz$ == "quiz_01" && getmapusers("quiz_01") == 1 ) { killmonsterall "quiz_01"; mapannounce "quiz_01","You have won, approach the Present For You Npc please.",0; enablenpc "Present For You"; stopnpctimer; } end; } quiz_01,42,378,3 script Present For You 72,{ mes "[Present For You]"; mes "Please tell me your name."; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Present For You]"; mes "Are you sure that is your name?"; close; } mes "[Present For You]"; mes "Congrats. You've won."; close2; announce "Present For You: We have a winner! "+.@name$+" has won the Novice vs Zombie event!",0; getitem 7539,30; // Change This item id to what ever you want warp "prontera",149,169; disablenpc "Present For You"; if( $@offvar < 5 ){ set $@offvar,$@offvar + 1; donpcevent "Zombie Minion::StartEvent"; } end; } quiz_02,124,351,3 script Zombie Master 1298,{ if ( BaseLevel > 1 || Class > 0 ) goto NO; mes "[^0000FFZombie Master^000000]"; mes "You wish to participate the Zombie Vs. Novice event?"; next; if( select("Yes:No") ){ case 1: sc_end SC_ALL; sc_start SC_DECREASEAGI,1200000,10; percentheal 100,100; sc_start SC_STRIPSHIELD,1200000,5; sc_start SC_STRIPWEAPON,1200000,5; sc_start SC_STRIPARMOR,1200000,5; sc_start SC_STRIPHELM,1200000,5; statusup2 bStr,-999; statusup2 bAgi,-999; statusup2 bVit,-999; statusup2 bInt,-999; statusup2 bDex,-999; statusup2 bLuk,-999; warp "quiz_01",42,369; end; break; case 2: mes "Come back when your ready."; close; break; NO: mes "[^0000FFZombie Master^000000]"; mes "You are not a Novice, level 1."; close; } OnInit: disablenpc "Zombie Master"; disablenpc "Prize"; end; }
  13. Yes...just same as what i thought...why you are going to duplicate it ? just another unecessary load / burden to a server ( even though 1 NPC wont affect much ) Beside...your NPC has been built-in with GM Features...and this wont be shown to Players... so..what to worry about it ? there is no need to "Hide" your NPC in another map....
  14. You mean you are going to make alot NPC for it ? so that each NPC can represent 1 GM in the Game ? and then can show the "Online / Offline" Status of the GM ?
  15. try this into mapannounce .Map$,"["+strcharinfo(0)+"] killed a Mushroom, Left "+( mobcount( strcharinfo(3),strnpcinfo(0)+"::OnMobKill" )+" Mushroom now..!",0; this will never happen....those normal mushroom / monsters spawn usually didnt attached with a custom "OnKill" event or whatever custom things upon killed.... unless you did attach a same OnKill Label with it...
  16. 343
  17. Read this Wiki..should be able to help you ~~ http://rathena.org/wiki/Edit_Max_Level
  18. Emistry

    Greetings!

    Welcome to rAthena
  19. Emistry

    Wiki

    Ya..i did using this way last time...but now...thank to Gepard ...he give me another great way xD so that wont need to repeatly click on the Mark Forum as read.. ^^ anyway...close topic xD solved...
  20. 337
  21. change this into this disablenpc " Present For You";
  22. 335
  23. Emistry

    Wiki

    owh..there is a way for this...xD wow..thx Gepard..xD i didnt wonder there is this option xD thank you ~
  24. this is useless.....just a "Message" tell you what it is... even you put there...also nothing will affect....since it is "Comment out" already.....
  25. Yes...just like Faluk said... you have to edit the Function there... change 571 callfunc "refinemain","Hollgrehenn",0; 575 callfunc "refinemain","Aragham",0; 579 callfunc "refinemain","Antonio",0; 583 callfunc "refinemain","Fredrik",0; 587 callfunc "refinemain","Lambert",0; 591 callfunc "refinemain","Manthasman Pruhag",0; 595 callfunc "refinemain","Fulerr",0; into this 571 callfunc "refinemain","Hollgrehenn",1; 575 callfunc "refinemain","Aragham",1; 579 callfunc "refinemain","Antonio",1; 583 callfunc "refinemain","Fredrik",1; 587 callfunc "refinemain","Lambert",1; 591 callfunc "refinemain","Manthasman Pruhag",1; 595 callfunc "refinemain","Fulerr",1;
×
×
  • Create New...