Jump to content

jaBote

Community Contributors
  • Content Count

    2037
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by jaBote

  1. You have to add the lines by using the context lines you're given, so that you can search for them on the file and manually change the lines you want.
  2. Now I realise I've maybe been too short on that explanation. I'll add a sample script of nested menus to elaborate a bit: prontera,119,199,4 script DJ with categories 985,{ mes "Hey, I can play a song for you."; mes "What category do you want to browse?"; switch(select("Rock:Jazz:Rhythm and Blues:HipHop:Nevermind")) { // a : means a new category on a select. case 1: // Rock mes "Select song"; switch(select("Rock 1:Rock 2:Rock 3:Nevermind")) { case 1: playBGMall "Your Rock 1 BGM","prontera"; break; case 2: playBGMall "Your Rock 2 BGM","prontera"; break; case 3: playBGMall "Your Rock 3 BGM","prontera"; // No break needed // No default case, so this won't do anything and go to the NPC ending. } break; // Directly finishes the switch statement. if not present this will also trigger case 2 and followings. case 2: // Jazz mes "Select song"; switch(select("Jazz 1:Jazz 2:Jazz 3:Nevermind")) { case 1: playBGMall "Your Jazz 1 BGM","prontera"; break; case 2: playBGMall "Your Jazz 2 BGM","prontera"; break; case 3: playBGMall "Your Jazz 3 BGM","prontera"; // No break needed // No default case, so this won't do anything and go to the NPC ending. } break; case 3: // R&B mes "Select song"; switch(select("R&B 1:R&B 2:R&B 3:Nevermind")) { case 1: playBGMall "Your R&B 1 BGM","prontera"; break; case 2: playBGMall "Your R&B 2 BGM","prontera"; break; case 3: playBGMall "Your R&B 3 BGM","prontera"; // No break needed // No default case, so this won't do anything and go to the NPC ending. } break; case 4: // HipHop mes "Select song"; switch(select("HipHop 1:HipHop 2:HipHop 3:Nevermind")) { case 1: playBGMall "Your HipHop 1 BGM","prontera"; break; case 2: playBGMall "Your HipHop 2 BGM","prontera"; break; case 3: playBGMall "Your HipHop 3 BGM","prontera"; // No break needed // No default case, so this won't do anything and go to the NPC ending. } break; default: // Case 5 or any other not observed in that menu mes "OK, I'll not play anything"; // Break not needed in the last case } mes "cya!"; close;} For more info about the commands used here, please refer to doc/script_commands.txt. Hope this helped you a bit more.
  3. There are some diffs that just add lines (almost this case), some others just remove lines and most of the diffs add and remove lines out there. It isn't mandatory for diffs to have both additions (+) and deletions (-). Your diff mainly adds lines, just removes a couple of them.
  4. I'd reccommend you to try making an NPC that, when you give him this item and the armor you would want to enchant, it compounds the item on the armor. Else you can't compound this "enchant" on an armor like you would do with a normal card unless you make a big source edit.
  5. Your reply is here: Did you get any errors on map server when parsing the NPC? Your answer is you have to change each set of 4 spaces for a tabulation space.
  6. Are you asking how to diff manually? Just open yourself the files, look for the corresponding line, then remove the lines that start with - and add the ones that start with +
  7. I was just joking because I felt the topic was almost literally asking for that.
  8. Rumors say that the costume officially comes with Beer Hat [0] and Grilled Sausages.
  9. Hello. Some status change names were changed some months ago, so some items may not work. Here's an online comparison between old and new status change names I made at that time (and it's still mostly valid) so that people can compare what's the new and old names for them: http://www.diffnow.com/?report=kze0y New name is on the left, old names are on the right. Just try to fix the SC names on your NPC by changing the names that appear on the right to the ones that appear on the left. Please remember that using an old/invalid SC name will make its value default to 0, which means stone curse by that list. Hope I helped you.
  10. If that's a fragment of Euphy's WoE setter, it's correct. If you just planned to scrap that piece of code, it's also correct but you'll never get the items, unless you also insert this piece of code somewhere else: for(set .@k,0; .@k<getarraysize(.Reward); set .@k,.@k+2) { getitem .Reward[.@k], .Reward[.@k+1];}
  11. Maybe this can help you a bit: http://git-scm.com/book/en/Getting-Started-Git-Basics Also, I must note the fact that you can actively participate on the emulator's development when using Git, by sending pull requests via Github. Check this guide!
  12. No problem, I've had lots of errors related to this and spent a great amount of time not knowing what happened. And more than once, and twice... It's just a quite common mistake. Glad you've solved it!
  13. jaBote

    Help with GvG Map

    Just set a map with the gvg mapflag, either with the setmapflag or the gvgon and gvgoff script commands: *gvgon "<map name>";*gvgoff "<map name>";These commands will turn GVG mode for the specified maps on and off, setting up appropriate map flags. In GVG mode, maps behave as if during the time of WoE, even though WoE itself may or may not actually be in effect. Or you can even use the GM commands @gvgon or @gvgoff ingame on the same map if you want.
  14. Just make another menu with switch(select("Your menu"))
  15. Maybe you're interested on this: conf/battle/player.conf, line 129 // Players' will drop a 'Skull' when killed?// 0 = Disabled// 1 = Dropped only in PvP maps// 2 = Dropped in all situationsbone_drop: 0
  16. Does your login server point you to the appropriate char server and map server port? It seems you're getting lost either by an IP issue or a port issue. Check them thoroughly.
  17. You can only enchant open accesories slots, or else you'll need a source mod for this.
  18. You have it right there in the code: if(@map$ == "") {dispbottom "Syntax: @poring <mapname>";dispbottom "Five Porings will spawn on the map you choose. Recommended usage for this event is 3-5 times per day.";dispbottom "NOTE: Do NOT use capitals in the map name otherwise no Poring will spawn!";end;}
  19. As far as I'm concerned, Visual Studio 2013 isn't supported yet because there have been some changes on the way it handles the solution files. Could you please try compiling on VS2012? I myself use VS2010 without any problem.
  20. Hmmm... So your IPs are all 127.0.0.1. Have you set your packetver in mmo.h to the date of your client?
  21. They are extremely buggy and unstable ATM, but I can't make an official Hercules decision on this.
  22. Prior to committing, you should have set up your git username and email (they can be fake ones if you want) so that your commits can be identified: on Linux: git config --global user.name "Your username"git config --global user.email [email protected]
  23. Hello Triedge. Since this appears to be more of a personal request than a suggestion towards all the Hercules community, I hope you don't mind if I moved this topic to the Source Requests section of this forum. Thank you for your understanding.
  24. It's pretty high, I think the rates can go as long as an int (216). You can test setting that value ridiculously high, until you get a warning or error message upon server startup and then you'll know its limit.
  25. Your answer is here: Then update normally.
×
×
  • Create New...

Important Information

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