Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/10/13 in all areas

  1. not know the function of the number. Maybe for rAthena is correct this: similar to "npctalk" but is possible implement this for rAthena? Thank you. I already brought up this point. You can find it here and why it was rejected.
    2 points
  2. Xantara's FluxCP Everyone knows of FluxCP. However, with the creation of rAthena, there became a need to support renewal changes and other features such as the new group system. This is where my Control Panel comes in. Xantara's FluxCP is a free and open source control panel to work with rAthena. Forked from FluxCP by Paradox924X and Byteflux at r1121. I will continually merge updates from the original FluxCP. Demo: http://web.artistic-coder.com/fluxcp-rA Note: this site is used to test new functionality and custom addons so it may not always be functioning properly Features The original/base FluxCP already comes with a lot of features. Here I will only highlight those that came after the fork. For a full list, click here. Updated Ragnarok Data Full Birthdate Functionality Working GM Group System Mob Skills SQLized Zeny Log Page Specific Item Drop Rates Toggle for Pre-Renewal or Renewal SQL Data Alchemist Ranking Blacksmith Ranking Paginated Item Shop Character/job images (static) WIP Account management system (link one or more in-game accounts to one CP account) Queued Accepted Suggestions (have suggestions? post them here!) Search in logs page Pin code functionality Character sprites with palettes (would replace static images) Requirements Apache webserver with PHP 5.2 or greater PDO extension with MySQL support (http://www.php.net/pdo) PHP GD2 for security images (Optional) Enabled Zip extension for exporting guild emblems (Optional) Apache/mod_rewrite for using the "Clean URLs" feature Download There are three ways to get a copy of this Control Panel. For detailed installation instructions, click here (TBD). 1. GIT Clone git clone https://github.com/missxantara/fluxcp-ra.git * For Windows, you can take a look at using TortoiseGit with its friendly user interface. 2. SVN Checkout svn checkout https://github.com/missxantara/fluxcp-ra/trunk/ * For Windows, you can take a look at using TortoiseSVN with its friendly user interface. 3. ZIP Download https://github.com/missxantara/fluxcp-ra/archive/master.zip Extra Downloads Extract to the root folder of your FluxCP system Job Image Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Jobs_Images_2012-04-28.zip Updated details: April 28, 2013 Credits: Xantara Monster Image Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Monsters_Eclage_14.2.zip Updated details: Mob ID #2380 of Eclage (Episode 14.2) Credits: Brynner Item Icon Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Item_Icons_2012-04-08.zip Updated details: April 8, 2013 Credits: Latheesan's Extractor Item Image Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Item_Images_2012-04-08.zip Updated details: April 8, 2013 Credits: Latheesan's Extractor Quick Links Wiki: https://github.com/missxantara/fluxcp-ra/wiki Bug/Suggestion Reports: https://github.com/missxantara/fluxcp-rA/issues GitPage: http://missxantara.github.io/fluxcp-ra Misc. Feel free to post any suggestions here. If suitable, they may be polled by general users before being decided to be implemented or not. If you have a feature already coded that you would like to share, please do send a GIT pull request or send me an SVN diff of the work - I'd love to take a look at it! Please note that working on this open-source project will furthermore serve as a learning opportunity for me. If you find that I've implemented something that could be improved, I urge you to let me know - your knowledge on this subject would be greatly appreciated! Like my work? Rep up the topic first post
    1 point
  3. [media=] [/media] Script \ Design : Goddameit Map : TrojanWorm Rules : 1. break stone +5 point to self team, -3 point to enemy. 2. after broke, stone will respawn in 10 seconds. 3. kill enemy will +1 point. 4. which team's point is highest, is winner. Stone location: 128,120 --> A 127,46 --> B Active time: OnClock0100: OnClock0300: OnClock0500: OnClock0700: OnClock0900: OnClock1100: OnClock1300: OnClock1500: OnClock1700: OnClock1900: OnClock2100: OnClock2300: callsub OnActive; end; Set: 1 min for register, 30 seconds for join team (after this time, you still can join in), 100 seconds for battle time. Reward: No. Script download : Custom Battle Ground_goddameit+TrojanWorm.txt Map download : endless_war ; endless_war Note: just a little creation, enjoy it. Note2: I just enjoy finishing this game, so don't approve any suggest, sorry. bug report only.
    1 point
  4. Heyho, I stopped my work on any ragnarok server. So this is a small farewell gift. This small scripts can be used as Cronjob (http://en.wikipedia.org/wiki/Cronjob) to decrease you administrative work. You normaly just have to change the config variables. Script 1: Auto RO server restart when crashed (should be started via cronjob every 5 minutes or less) #!/bin/bash ###CONFIG START### SERVER_USER="foo" PATH_TO_RO="/home/bar/rathena/" ###CONFIG END### ERROR=0 if [ "$(ps auxf | grep 'login-server' | grep -v 'grep')" == "" ]; then ERROR=1 fi if [ "$(ps auxf | grep 'char-server' | grep -v 'grep')" == "" ]; then ERROR=1 fi if [ "$(ps auxf | grep 'map-server' | grep -v 'grep')" == "" ]; then ERROR=1 fi if [ $ERROR == 1 ]; then su $SERVER_USER | $PATH_TO_RO/athena-start restart fi Script 2: SQL Backup (should be started every day) #!/bin/bash ###CONFIG START### PATH_TO_BACKUPS="/home/foo/backups" DB_HOST="localhost" DB_USER="foo" DB_PASSWORD="secretpw" WHICH_DATABASES="ragnarok" USER_NAME="foo" USER_GROUP="bar" ###CONFIG END### find -P $PATH_TO_BACKUPS -maxdepth 1 -type f \( -name '*.sql' \) -ctime +15 -exec rm {} \; mysqldump -h$DB_HOST -u$DB_USER -p$DB_PASSWORD --databases $WHICH_DATABASES > $PATH_TO_BACKUPS/$(date +%Y-%m-%d).sql chown $USER_NAME:$USER_GROUP $PATH_TO_BACKUPS/$(date +%Y-%m-%d).sql Script 3: Logs -> History DB If you have the logs and ragnarok tables in the same database, you can may think of archive some of old logs to another database. (should be started 2 times a month) #!/bin/bash ###CONFIG START### PATH_TO_RO="/home/bar/rathena" DB_HOST="localhost" DB_USER="bar" DB_PASSWORD="secretpw" DB_RAGNAROK_DATABASE="ragnarok" DB_LOG_DATABASE="ragnarok-log" ###CONFIG END### mysqldump -h$DB_HOST -u$DB_USER -p$DB_PASSWORD --compact --no-create-info $DB_RAGNAROK_DATABASE atcommandlog branchlog charlog chatlog npclog picklog zenylog > $PATH_TO_RO/temp.sql mysql -h$DB_HOST -u$DB_USER -p$DB_PASSWORD -D$DB_RAGNAROK_DATABASE -e"DELETE FROM atcommandlog WHERE 1=1; DELETE FROM branchlog WHERE 1=1; DELETE FROM charlog WHERE 1=1; DELETE FROM chatlog WHERE 1=1; DELETE FROM npclog WHERE 1=1; DELETE FROM picklog WHERE 1=1; DELETE FROM zenylog WHERE 1=1;" mysql -h$DB_HOST -u$DB_USER -p$DB_PASSWORD -D$DB_LOG_DATABASE < $PATH_TO_RO/temp.sql rm $PATH_TO_RO/temp.sql (before you start this script, you should insert a structure only dump into your history database) I hope this may help you and the config is understandable. Greetings, Loki1991(before you start this script, you should insert a structure only dump into your history database)
    1 point
  5. How if rA implements new system, give a look of that system works? example, for latest systems are Channel System (on r17228) and Cash Shop Support (on r17242) or Wiki about them, if anyone contribute them. xD #CMIIW
    1 point
  6. Requested on: Request for PCOnEquipEvent: & PCOnUnEquipEvent: yes, can you do it for me please? I don't know this is usefull or not, there is a share before or not, I don't know. How it's working? Samples OnPutOnEquip: test-onputonequip.txt - script PutOnEquip -1,{ OnPutOnEquip: message strcharinfo(0),"You put on "+getitemname(puton)+"(ID: "+puton+")"; end; } OnPutOffEquip: test-onputoffequip.txt - script PutOffEquip -1,{ OnPutOffEquip: message strcharinfo(0),"You put on "+getitemname(putoff)+"(ID: "+putoff+")"; end; } Download Rev.1: OnPutOn-OffEquip-rA-svn17245-rev1.patch Initial Release: OnPutOn-OffEquip-rA-svn17245.patch *I'm really don't know if this is useful or not. LOL but at least, we will know what item that is put on/off by player. *
    1 point
  7. <p>i've work on it today with what Lilith have done I now need the missing translation for the langage.</p> <p>here the current avancement :</p> <p> </p> <p>enable/disable langage => ok</p> <p>map multi msg => ok</p> <p>import "foo" => ok</p> <p>fallback lang not enable => ok</p> <p>fallback lang return ?? => ok</p> <p> </p> <p>@langtype => ok</p> <p>check enable/disable => ok</p> <p>account wide ? => ok</p> <p>kept in deco/reco => ok</p> <p>reset to default if langtype disable => ok</p> <p>available in charserv => impl not tested</p> <p>available in logserv => impl not tested</p> <p> </p> <p>@reloadmsgconf => ok</p> <p>rerad import as well ? => ok</p> <p>reload charmsg => not impl yet</p> <p>reload loginmsg => not impl (needed ?)<br /> <br /> Just need some optimisation and eventually some cleaning but it's probably ready for a beta release. Waiting Lilith opinion.</p>
    1 point
  8. sclientinfo.xml adalah fail yang mengkonfigurasi Client Sakray anda diubahsuai supaya ia boleh menyambung kepada Client eAthena, bagi pelanggan bukan sakray fail ini biasanya dipanggil clientinfo.xml. contohnya :
    1 point
  9. OnPutOnEquip and OnPutOffEquip special label btw, if you ask player to use certain item, example 5013, why don't edit the scirpts on item_db?
    1 point
  10. refer isequipped if (isequipped(4001)) mes "A poring card is useful, don't you think?"; refer countitem if( countitem( 4001 ) ){ // Check for Poring Card getitem 607,1; // get 1 Yggdrasilberry delitem 4001,1; // delete 1 Poring Card } refer Variables if( Weight > ( MaxWeight / 2 ) ){ mes "You are overweight.."; // more than 50% } refer Variables#Account_Variables if( #gained_item ){ // check variable mes "You already get the items."; }else{ #gained_item = 1; // assign variable getitem 607,1; }
    1 point
  11. Ah, thank you Mysterious, I'd forgotten about that.
    1 point
  12. unittalk getcharid(3),"text";'unittalk' is much more versatile, I don't see why another command is needed.
    1 point
  13. http://rathena.sourceforge.net/tools/login_background/
    1 point
  14. I believe we should begin to have the script command "playertalk" imported into the SVN. Why? Well, there are instances that are being released by Gravity that requires the 'playertalk' command; such as Glast Heim Memorial (English: Glast Heim Memorial) and Sara's Memories Instance for example. (I currently didn't see any changes in the Trac regarding this if this was even implemented. If it was, disregard this topic). //ADD playertalk. (credits: Karmic) //====================================================== //script.c // +/*========================================== // +* playertalk (sends message to surrounding area) // +*------------------------------------------*/ //+BUILDIN_FUNC(playertalk) //+{ //+ int display_name; //+ const char* message; //+ char message_output[255]; //+ struct map_session_data *sd = script_rid2sd(st); //+ //+ display_name = script_getnum(st, 2); //+ message = script_getstr(st, 3); //+ //+ if(display_name) //+ sprintf(message_output, "%s: %s", sd->status.name, message); //+ else //+ sprintf(message_output, "%s", message); //+ //+ clif_disp_overhead(sd, message_output); //+ //+ return 0; //+} // /*========================================== // * npctalk (sends message to surrounding area) // *------------------------------------------*/ // BUILDIN_FUNC(npctalk) // // // // // BUILDIN_DEF(npctalk,"s"), // [Valaris] // +BUILDIN_DEF(playertalk,"is"), // [Karmic] // BUILDIN_DEF(mobcount,"ss"), Might as well have it in the SVN before we start adding translated instances, no? (Per this topic) What does everyone think?
    1 point
×
×
  • Create New...