Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/12/13 in Posts

  1. Indeed, what Chiron says, you haven't properly set the path(s) in Browedit/data/config/ro.xml Personalize the following lines: <ro directory="C:\Path\to\your\RO\directory\"> <grf>C:\Path\to\your\RO\directory\data.grf</grf>
    1 point
  2. The only announcement / mention on the boards is here: http://rathena.org/board/topic/87083-julyaugust-digest/?hl=a4fdc72# This might not be 100% accurate since I'm new here and havn't worked with the system, but the gist is: Putting source mods directly into the .c files, such as script.c and atcommands.c is messy, because it can make revision updates troublesome - often leading to manually having to merge together your custom file and the new server revision file. The custom folder contains script.inc, script_def.inc, atcommand.inc and atcommand_def.inc. The main part of a script ( BUILDIN_FUNC(command) ) goes into custom/script.inc The definition of a script ( BUILDIN_DEF(command, parameters) ) goes into custom/script_def.inc The main part of a atcommand ( ACMD_FUNC(command) ) goes into custom/atcommand.inc The definition of a atcommand ( { "command", gmlevel,gmlevel, atcommand_command } ) goes into custom/atcommand_def.inc This keeps things organized, and your main eAthena source code clean, allowing for painless revision updates. Does that clear it up?
    1 point
  3. bonus_script "<script code>",<duration>{,<flag>{,<type>{,<char_id>}}} This command will attach a script to a player for a given duration, in seconds. After that time, the script will automatically expire. The same bonus cannot be stacked. Note that the maximum number of 'bonus_script' commands that can run simultaneously for a player is 20 (MAX_PC_BONUS_SCRIPT in 'src/map/pc.h'). Flags: &1: Remove when dead. &2: Removable by Dispell. &4: Removable by Clearance. &8: Remove when logout. Types: 0: Buff 1: Debuff Example: // Apple gives you +5 Str bonus for 1 minute when it's consumed. 512,Apple,Apple,0,15,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ bonus_script "{ bonus bStr,5; }",60; },{},{}
    1 point
  4. I can share about my own experience with eAthena and InnoDB. About a year ago I converted all databases from MyISAM to InnoDB. After configure the best settings for the InnoDB databases in the my.cnf (with mysqltuner.pl help) I turned on the servers I noticed a very poor performance in the databases. The game became unplayable freezing all the time. Note that my hardware is good enough to run the servers AMD FX-8120 Eight-Core 16GB RAM 4x1.5TB HDD In RAID 10 (via hardware) The sum of all ragnarok databases has about 5GB and I configured enough RAM to mysql handle it. So I gave up using the InnoDB and continued to use MyISAM that works very well.
    1 point
  5. MylSAM engine provides simplicity, use less system resources and is much more faster with huge amounts of data. MylSAM doesn't allow to perform more than one operation at same time (Table Transaction Global Mutex), poor data integrity and security. InnoDB is the best choice where all data is correlated (PK/FK and FN) ,indexed and where have chance to perform one more operation at the same time. This provides data integrity and security. InnoDB use more system resources and have performance penalty with large amounts of data. Sry for bad english
    1 point
×
×
  • Create New...