Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by nanakiwurtz

  1. Are you using fresh rAthena from GitHub?
  2. if you're using Windows, open up your SQL GUI application, such as MySQL Workbench, and then import the file item_db_re.sql from the /sql/ folder into your database
  3. It looks like you haven't import the sql properly
  4. iz_ac01,100,39,4 script Captain Joe 470,{ if (BaseClass == Job_Novice) { mes "Welcome,"; mes "this is the"; mes "Prontera Chivalry."; mes "What brings you here?"; next; switch(select("I want to change my job to Swordman.:I want to change my job to a Knight.:Just visiting.")) { case 1: mes "[Captain Joe]"; mes "I see."; mes "A Swordman, you say?"; mes "You've come to the right place, "+((Sex)?"lad":"lass")+"."; mes "but you dont need any quest if you want to become one!"; mes "I sense great honor and pride in you so I can change you now into a swordsman."; next; callfunc "Job_Change",Job_Swordsman; callfunc "F_ClearJobVar"; // Clears all job variables for the current player mes "[Captain Joe]"; mes "I hereby declare you a member of the Prontera Chivalry."; mes "Protect the weak and live with honor."; next; getitem 656,7; //Awakening_Potion mes "[Captain Herman]"; mes "Oh..."; mes "We have prepared a small gift to congratulate you on your job change. Please use it when you are in battle as you honorably protect others."; next; mes "[Captain Herman]"; mes "Go forth!"; mes "The future of Rune-Midgard rests on your shoulders!"; close; case 2: mes "[Captain Herman]"; mes "Ah, I see that you have great ambition. But you must first become a Swordman before becoming"; mes "a Knight. One step at a time..."; next; mes "[Captain Herman]"; mes "First, visit the Swordman guild in Izlude. Then, come visit us again once you have become a well experienced Swordman."; close; case 3: mes "[Captain Herman]"; mes "Aha~"; mes "You must have lots of free time. Why don't you go hunt some monsters instead of wandering about aimlessly?"; close; } } else if (BaseJob == Job_Swordman) { mes "Ah, a member of our Chivalry."; mes "I hope you are living up to my expectations. We have vowed to be strong for our kingdom, even if death is upon us..."; mes "What brings you here?"; next; switch(select("I want to change my job to a Knight.:Just visiting.")) { case 1: mes "[Captain Joe]"; mes "I see."; mes "A Knight?, you say?"; mes "You've come to the right place, "+((Sex)?"lad":"lass")+"."; mes "but you dont need any quest if you want to become one!"; mes "I sense great honor and pride in you so I can change you now into a knight."; next; callfunc "Job_Change",Job_Knight; callfunc "F_ClearJobVar"; // Clears all job variables for the current player mes "[Captain Joe]"; mes "I hereby declare"; mes "you a member of"; mes "the Prontera Chivalry."; mes "Protect the weak and"; mes "live with honor."; next; getitem 656,7; //Awakening_Potion mes "[Captain Herman]"; mes "Oh..."; mes "We have prepared a small gift to congratulate you on your job change. Please use it when you are in battle as you honorably protect others."; next; mes "[Captain Herman]"; mes "Go forth!"; mes "The future of"; mes "Rune-Midgard"; mes "rests on your"; mes "shoulders!"; close; case 2: mes "[Captain Herman]"; mes "Ah, I see you can look around here for some quest in the mean time"; mes "Good luck, Honorable Knight."; close; } } else if (BaseJob == Job_Knight) { mes "Welcome back to the Prontera Chivalry, will give our lives for king and country! Please enjoy your stay."; close; } else { mes "Welcome. We, the proud Knights of the Prontera Chivalry, will give our lives for king and country! Please enjoy your stay."; close; } } Untested
  5. Update your server at least to ebaefc14762b519479ec17596dedf8f53cb37388
  6. Have you imported the file "sql-files/upgrades/upgrade_20150831.sql" ?
  7. For script #2, you might want to edit your global_reg_value, because since commit https://github.com/rathena/rathena/commit/6295c77d393555fe5a366f092a75f4cf0d2de933 it has changed name to char_reg_str and char_reg_num
  8. Is the question about "scripting only" or about "opening/playing on someone's/your own server"? For scripting, it's because I love to learn something new. Because for me personally, "learning is a never ending process"... My favorite philosophy is "Something that is used will grow, something that is unused will be fade away" (or something like that) By keeping my mind active, my brain cells won't easily fade away. Same thing goes with your muscles, if you don't use them, they will never grow. Ahh.. What I'm talking about? I'm getting off-topic... Forgive me for my OOT post... Ahahahahahaha...
  9. Hello again, have you post a report on https://github.com/rathena/rathena/issues ? It's more convenient to make a report on "GitHub Issue" than reporting on forum, thanks
  10. Hello, if you feel that this is a bug on rAthena code, please post your report on 'GitHub Issue' instead. And please use proper git hash.
  11. Don't use global variable, use NPC variable instead. And why you don't use the chat channel system
  12. Use checkcell + cell_chkreach
  13. Hello, if you feel that this is a bug on latest version of rA, please make a report on GitHub Issue instead
  14. A monster who attacks another monster, but not attacking players? Or...?
  15. If I'm not mistaken, I read from somewhere that if you agree using Win 10, it means you're giving Win 10 the power to disable any illegal app/games
  16. All kind of projects will likely be dead in the future if it's not an open-source project Should we put this to archive? Or maybe the OP will come back and continue to work on this project..
  17. - script Poring -1,{ // Start time OnClock0000: OnClock0400: OnClock0800: OnClock1200: OnClock1600: OnClock2000: setarray .Maps$[0],"payon","comodo","morocc","geffen"; // Possible maps, add how many you want .Prize = 674; // Reward item ID .Amount = 2; // Reward item amount .Spawn = rand(100,200); // How many Killer-Poring will spawn? - Give no Price kill Player .Spawn2 = rand(10,15); // How many Normal-Poring will spawn - Give price .Map$ = .Maps$[rand(getarraysize(.Maps$))]; announce "Poring Catcher: El evento ah comenzado y el premio son las famosas "+getitemname(.Prize)+"!",0; sleep 2500; announce "Actualmente existen unos "+(.Spawn+.Spawn2)+" Porings Salvajes en "+.Map$+"!",0; monster .Map$,0,0,"Event Poring",1002,.Spawn,strnpcinfo(0)+"::OnMobKilled"; monster .Map$,0,0,"Event Poring",1002,.Spawn2,strnpcinfo(0)+"::OnMobKiller"; initnpctimer; end; OnMobKilled: if (playerattached()) { announce ""+strcharinfo(0)+" ah sido explotado por un Poring Salvaje.",0; atcommand "@nuke "+strcharinfo(0); } end; OnMobKiller: if (playerattached()) { getitem .Prize, .Amount; announce ""+strcharinfo(0)+" consiguio el premio por matar al Poring correcto.",0; } end; OnTimer3600000: if (mobcount(.Map$,strnpcinfo(0)+"::OnMobKilled") || mobcount(.Map$,strnpcinfo(0)+"::OnMobKiller")) { killmonster .Map$,strnpcinfo(0)+"::OnMobKilled"; killmonster .Map$,strnpcinfo(0)+"::OnMobKiller"; announce "El Poring Catcher evento ha finalizado...",0; } stopnpctimer; end; } Untested
  18. Try to update your repo, today the dev had pushed a commit to fix that issue
×
×
  • Create New...