Jump to content

Brian

Members
  • Posts

    2223
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by Brian

  1. log_pick is the correct variable name in source. The default table name is picklog. trunk/conf/log_athena.conf These should be left the defaults: log_gm_db: atcommandlog log_branch_db: branchlog log_chat_db: chatlog log_mvpdrop_db: mvplog log_npc_db: npclog log_pick_db: picklog log_zeny_db: zenylog unless you rename the tables.
  2. hmm both look fine to me: 2 GB ram and 8 hours wait_timeout (the default). I don't know what could be causing it. If you have a separate machine, or even your own computer to test on, can you run rAthena and see if you get "MySQL Server has gone away" ?
  3. Brian

    MapFlags

    The wiki has information about mapflags. Here's how to add the pvp mapflag to ordeal_1-2 ordeal_1-2 mapflag pvp Just paste that at the bottom of your script.
  4. Did you manually edit an account_id in SQL? Maybe you added an extra 0, then that changed the AUTO_INCREMENT value, then the next account that FluxCP registered had the extra zero too. The easy way to fix it would be re-import main.sql (but this would delete all your existing data). Or you can: 1. edit all the account_id and remove the extra zero (you would also have to edit `account_id` columns in other tables like char, storage, global_reg_value, etc. 2. edit the `login` table's AUTO_INCREMENT value and remove the extra zero. ALTER TABLE `buildbot_rag`.`login` AUTO_INCREMENT=2000335;
  5. How much RAM does your server have? free -m Is MySQL Server running on the same machine or a separate VPS? What is the 'wait_timeout' config on your MySQL Server? (connect to MySQL and execute this query) SHOW VARIABLES LIKE 'wait_timeout';
  6. Yesterday, someone in class saw my laptop and thought I liked Pokemon. I didn't tell him what I really like...
  7. This error usually happens when you edit some /src files, then only recompile one server. You need to recompile all 3: login, char, map. Compiling#Unix
  8. Two methods: 1. instead of enabling trunk/conf/battle/player.conf bone_drop, write a custom OnPCDieEvent script to attachrid (if a player killed them), 'getitem2' a named skull (or 'makeitem' if they are overweight, hmm but we don't have makeitem2 ) 2. or edit the source trunk/src/map/pc.c pc_dead() function: Instead of map_addflooritem() you'd use pc_additem().
  9. Two people have updated Miruku: Miruku updated 05/09/2012 Miruku 07-09-2012 (7th September 2012)
  10. When you compile on Windows, the executable server files will only run on Windows platforms. When you compile on Linux (ex: CentOS), the executable files will only run on Linux. Compiled exe's will usually work on different versions of the same OS (ex: compile on Windows XP will probably work on Windows 7), but it's best to compile on the same machine you will be running the server on. What you can do is edit/update your files on Windows, then upload (or zip and upload) the files to your CentOS server. Then compile on CentOS (see: Compiling#Unix).
  11. The original rentitem2.diff I posted in March 2010 works for e/rAthena r14260. The diff no longer works due to these changes: - r15420/trunk/src/map/script.c - r16361/trunk/src/map/script.c I have updated the diff with these changes, and now it works on the current rAthena (r16852). rentitem2_r16852.diff
  12. Drake is in /pre-re/ OR /re/ depending on if you're using Renewal or not --> /mobs/dungeons/treasure.txt
  13. Thank you for your suggestion. This has been added in r16852.
  14. ^ It's because you did this. http://stackoverflow...ct-can-be-found move your /trunk/src folder out of /trunk (like move it to your Desktop) SVN Update /trunk to revision 16600 (because that's what your /src folder is at) open /Desktop/src and copy all the files to /trunk/src SVN Update /trunk to the latest revision
  15. Hi Lelouch, thank you for your suggestion. At this time we will leave the IP.Downloads categories as-is (Free and Paid files together in the same categories), for the reasons other members stated above: you can filter by Free/Paid, and the price (or word FREE) in the green box indicates if a file is paid or free.
  16. @person who reported broken file: Did you right-click registerdll.bat > Run as Administrator? Or if you get this error then you need: COMDLG32.zip
  17. checkweight() will return 1 if the total weight of a specified number of specific items does not exceed the invoking character's carrying capacity. It also checks that the player has room in their inventory for the item(s) they will be receiving. If you only want to check if their inventory is full but ignore their total weight, use checkweight() with an item that has 0 weight. // Clothing_Dye_Coupon has weight 0 if (checkweight(6046,1) == 0) { mes "Your inventory is full."; } else { mes "You have at least 1 free inventory space."; }
  18. It's because you set all your item_drop_*****_max to 1000. 1000 = 10.00 % You should leave all the item_drop_*****_max at 10000 (10000 = 100.00 %) unless you want the max drop chance to be less than 100%.
  19. I think it would be something like: Novice (9) + First Job (max 49) + Trans Second Job (max 69). So the maximum would be 127 skill_points. (I'm not sure how 3rd jobs affect this) XD High Priest job 70, who job changed at level 50 High Acolyte: --> 9 + (50-1) + (70-1) = 127 High Priest job 68, who job changed at level 45 High Acolyte: --> 9 + (45-1) + (68-1) = 120 We can check these variables to see what level they jobchanged at. jobchange_level jobchange_level_3rd
  20. The .act file can be edited so the sprite is not halfway in the ground. I think someone uploaded the fixed sprite on eAthena, but I can't find the topic. http://www.eathena.ws/board/index.php?showtopic=185887 http://www.eathena.ws/board/index.php?showtopic=258093
  21. Players who used @allskill would have more skills than normal, so it might be better to reset their skill_point based on JobLevel.
  22. - script Only1perIP -1,{ OnPCLoadMapEvent: // Which maps to check? (remember to add 'loadevent' mapflag at the bottom) set .@maps$, "schg_cas06,schg_cas07,schg_cas08"; if (!compare(","+.@maps$+"," , ","+strcharinfo(3)+",")) end; // check for other online characters from their IP if (query_sql("SELECT `char`.`name` FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id " + "WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online AND login.account_id!="+getcharid(3), .@name$) > 0) { // check if they are on the same map for (set .@i,0; .@i<getarraysize(.@name$); set .@i,.@i+1) { getmapxy .@map$, .@x,.@y,0, .@name$[.@i]; if (.@map$ == strcharinfo(3)) { announce "Sorry, only 1 character per IP is allowed on this map.", bc_blue|bc_self; sleep2 1000; warp "SavePoint",0,0; } } } end; } schg_cas06 mapflag loadevent schg_cas07 mapflag loadevent schg_cas08 mapflag loadevent
  23. Will you post your neoncube.ini settings here in [/font] tags?
×
×
  • Create New...