Jump to content

Mystery

Members
  • Posts

    2192
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Mystery

  1. This could be helpful: http://rathena.org/wiki/Custom_skill Searching the Wiki is plentiful ;3
  2. //Change these variables! $mysqlserver = "----"; //IP of the mySQL server $db = "ragnarok"; //ragnarok database $user = "---"; //mySQL user $pass = "---"; //mySQL user password $date = "2012-06-30"; //Delete all account of users that hasnt logged in since.. MySQLServer = Your SQL Server's IP. Not your server's IP.
  3. Mystery

    job name

    Use a hexeditor, open your client and search for your jobs. However, changing the names of the jobs might cause unsuspected problems.
  4. Mystery

    job name

    How to make what? a Custom Class? You can try eAthena's wiki: http://eathena.ws/wi...php/New_Classes but the article is suggesting to use xRay which is no longer supported. The article was updated 2 years ago D; On the other hand.. you can use this one on rAthena: http://rathena.org/wiki/Custom_Jobs Client Side: (XRAY Required unless you plan to replace 3rd class id's.) but you still don't get the help for the diffing of the client part.
  5. Mystery

    job name

    Going back to xray would be very hard.. just because they are: Outdated No longer supported No longer seen?
  6. Mystery

    job name

    Yes, the job title after the level is hard coded into the client from clients 2011-11 above? or maybe a bit earlier. And when adding a new custom class, I believe it'll be stated "Poring" in the title =/ unless you know how to change/add it otherwise. No matter how many times I changed it VIA the Server side and through the msgstringtable, I could not change the job title. Thus, it was hard coded into the client.
  7. You input the number of rounds you want VIA the NPC itself in-game: case 2: mes .@n$; mes "Input the number of rounds you want the event to last."; mes "Current number: [^0000FF"+$Rounds+"^000000]"; next; input .@Rounds; set $Rounds,.@Rounds; From what I see, it does begin every 4 hours: OnClock0000: OnClock0400: OnClock0800: OnClock1200: OnClock1600: OnClock2000: OnClock2400: But what you want is so that the NPC checks the area to see if players are participating? You can't really do that unless you make it check the current map (in which it's placed on) to see if there are 1> players. However, doing so will cause the NPC to continue on even if it counts 1+ players on the map who are just (walking through) if you set the Event in a town or field, dungeon etc. Can use any of these: --------------------------------------- *getmapusers("<map name>") This function will return the number of users currently located on the specified map. Currently being used in the PVP scripts to check if a PVP room is full of not, if the number returned it equal to the maximum allowed it will not let you enter. --------------------------------------- *getareausers("<map name>",<x1>,<y1>,<x2>,<y2>) This function will return the count of connected characters which are located within the specified area - an x1/y1-x2/y2 square on the specified map. This is useful for maps that are split into many buildings, such as all the "*_in" maps, due to all the shops and houses. --------------------------------------- for your preference. On a side note, please make your script in a [./code] tag since it has more than 10 lines.
  8. Mystery

    job name

    Job titles are hard coded into the client so you can no longer change them via the msgstringtable.
  9. It should. The code should be saved in a .php format. After so, upload it to your main site so that directory should be <yourdomain>/<filename>.php. Once it's loaded by the site, you should get this header written on your screen: <h2>This script will now clean up your database!</h><br><br> Make sure you configure the configurations first. Also, if you wanna make a back-up of files just incase.. I recommend you do so.
  10. It deletes accounts, yup. $num = 0; $result = mysql_query("SELECT * FROM `login` WHERE lastlogin < '$date 00:00:00' ") or die(mysql_error()); If an account's ID last login date was below that date that is specified, the script will automatically delete those accounts since they are "outdated". So, the script will delete all the char's, items, variables, etc. that's attached to that account. Are you asking to make an NPC script out of this? You could always just use it on your website.. much easier than making a NPC script out of this since the coding is already intended to be used VIA your website.
  11. It's intended to be a PHP script and not an NPC.
  12. Exactly what the console says bud . You're missing that merchants directory. According to the newest rAthena SVN: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/ npc/merchants exists. I suggest you keep updated with rAthena since the NPC folder has been rearranged in r16545.
  13. Suggest you create your own hexed client by downloading a non-hexed one here: http://supportmii.com/ro1/Clients/ and diffing it yourself using http://rathena.org/board/topic/53421-weediffgen/page__hl__weediff
  14. Mystery

    packet_db

    https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/clif.h {// packet DB MAX_PACKET_DB = 0xA00, MAX_PACKET_VER = 30, MAX_PACKET_POS = 20, }; Max packet allowed is 30.
  15. Leave everything at default: item_rate_card: 1000 item_rate_card_boss: 500 item_drop_card_min: 1 item_drop_card_max: 10000 And only change the item_rate_card (For normal monsters) and item_rate_card_boss (For MvPS). Do not touch the Min and Max.
  16. I believe that has to do with your data folder. Or, your client is not reading data.grf and rdata.grf where all the effects and casting circles are kept. How did you put your data.ini?
  17. Correct. data/luafiles514/lua files. Next those will be changed VIA your msgstringtable. You can download a good msgstringtable here: http://rathena.org/board/topic/68560-navigation-problem/#entry125839 Also, make sure you have a System/ folder as well in your main directory where RO is installed: http://svn6.assembla.com/svn/ClientSide/Lua_Project/System/
  18. Flux's functionality is a lot different from SGCP. Their SQL databases are probably a lot different as well. I don't suggest you copy anything over but instead make a new directory for the FluxCP.
  19. You would have to add your own skills to that mob by going to your mob_skill.txt or take it from Mineral and just change the ID to your monster's ID. https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/pre-re/mob_skill_db.txt 1614,Mineral@CR_REFLECTSHIELD,attack,252,2,1000,1000,5000,no,self,always,0,,,,,,, 1614,Mineral@NPC_RANDOMATTACK,attack,183,2,500,500,5000,yes,target,always,0,,,,,,, 1614,Mineral@NPC_BARRIER,attack,204,1,500,3000,5000,no,self,myhpltmaxrate,30,,,,,,18, 1614,Mineral@NPC_SPLASHATTACK,attack,174,1,500,0,5000,no,target,attackpcge,2,,,,,,, 1614,Mineral@TF_HIDING,attack,51,1,500,500,50000,yes,self,always,0,,,,,,19, 1614,Mineral@TF_HIDING,idle,51,1,500,500,5000,yes,self,always,0,,,,,,19,
  20. Jhosef, they have been quite busy lately. As Arceniel already stated, you should just wait patiently until they get back to you.
  21. Are you set as Pre-renewal or Renewal in your renewal.h ?
  22. Follow this if you haven't done so already: http://rathena.org/wiki/Custom_weapons
  23. Line: 1466 = Usable Items Line: 1472 = Etc. Items Line: 2051 = Equipment and Line: 2052 = Personal/Favourite Tab
×
×
  • Create New...