Jump to content

Brian

Members
  • Posts

    2223
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by Brian

  1. In IP.Board version 3, they changed the location of these links. "Track this topic" is now Follow this topic (button is at the top-right, above Reply). "Download this topic" is now a share link (bottom-left of the page, click )
  2. Correct, checkquest() takes an integer argument, the quest_id. So in JeffShadow90's script it would have only worked if the permanent char variable 'abbey2' was set to the quest_id.
  3. if (checkquest(abbey2) == -1) { Quest variables are character-based. If you want the quest to be per-account, you'll have to use a permanent account variable instead. For example, when the finish the quest do: set #abbey2, 1; and to check if they have completed the quest (on any char on their account): if (#abbey2 == 1) {
  4. 1. import the latest RAthena SQL item/mob databases: https://rathena.svn....runk/sql-files/ - item_db.sql - item_db2.sql - mob_db.sql - mob_db2.sql 2. the file is ../themes/default/purchase/index.php <p>Items in this shop are purchased using <span class="keyword">donation credits</span> and not real money. Donation Credits are rewarded to players who <a href="<?php echo $this->url('donate') ?>">make a donation to our server</a>, helping us cover the costs of maintaining and running the server.</p>
  5. Let's keep advertising in the advertising sections, thanks. @Mysterious: I believe there's a link on his profile page, or you can search Google.
  6. Looks like you are using a custom guild storage script? Did you run the SQL queries that add these columns to the `guild` table? --> gstorage_mode, gstorage_pos, gstorage_password
  7. Correct, when the config is set to 100 that means 100% which is 1x. Since normal card drop rates are 0.01 %, to make it 0.02% (to double it), you would set the config to 200. and yes to make it 25.00%, you would set the config to 250000.
  8. Brian

    Refund Script

    Find this line: set .@price, getd("."+@inventorylist_id[.@i]); and add a line after: set .@price, getd("."+@inventorylist_id[.@i]); if (@inventorylist_refine[.@i] == 10) set .@price, .@price +3;
  9. You do not have to pack it in the GRF. Actually, the ..dataOptionInfo.lua file has to be in the data folder so the client can write to it. - can you double check you have a file "OptionInfo.lua" in your ROdata folder ? - where is your RO folder located? (if it's in Program Files, your client might have write permission to save the file)
  10. err that's not the file I was referring to. I think you opened ..datalua filesoptioninfooptioninfo.lua The file I was referring to is ..dataOptionInfo.lua All you have to do is this: start your RO client login all the way to the map-server type /showname to turn it On/Off how you want it to be logout, close RO and now the setting will be automagically saved in ..dataOptionInfo.lua Now when you distribute your client, include the file ..dataOptionInfo.lua (this contains default settings for some slash-commands).
  11. If your client uses LUA files, simply login and turn /showname On or Off how you want it. The setting will be saved in /data/OptionInfo.lua which you can distribute to your players with your client. If your client is pre-LUA, use the diff option OFF by default /Showname
  12. To add to that -- at one point, the board was serving over 60 simultaneous requests per second !
  13. I think it was a botnet because: on the board index you can see Most Online = 2,985 (from this morning) I checked the board's "sessions" table and there were 2,578 guests (different IPs, all viewing the board index, and all had the same user agent string) I looked up the first 3 IP addresses, and 2/3 were listed with "bad behavior from that IP" two of the botnet zombie IPs have previously posted spam on the old [eathena.ws] forums: - 189.52.5.4 - 198.254.16.200 Your browser probably has the page cached. Try Shift+Refresh or Shift+F5, or clear your browser's cache
  14. Done: Modifications Support & Releases > Client + Client Releases + Client Support + Client Requests
  15. Brian

    Refund Script

    Thanks KeyWorld! Sorry Brenth, I wrote it but couldn't test it because no RO on that computer last night.
  16. Is your IP banned? account.php if ($CONFIG_disable_account || check_ban()) redir("motd.php", "main_div", "Disabled"); functions.php function check_ban() { $query = sprintf(CHECK_BAN, $_SERVER['REMOTE_ADDR']); $result = execute_query($query, 'check_ban', 0, 0); if ($result->count()) { while ($line = $result->fetch_row()) { if (($line[2] == 5 || $line[1] > 0) && (time() - $line[0]) < (86400 * 2)) //2 dias return 1; } } return 0; } Check your `login` SQL table and see if there are any bans for your IP: SELECT * FROM `login` WHERE `last_ip` = 'YOUR_IP_HERE';
  17. Brian

    Refund Script

    Here you go, try this: refund.txt Configure the list of items they can return at the bottom in the OnInit section (there is no limit to how many items you can list): // set .<item_id>, <amount of="" tickets="" to="" refund="">; set .501, 3; set .502, 4; set .503, 15; also set the item_id of your refund Ticket there: set .refund_id, 617; // Item ID of "Ticket" that they will be refunded
  18. This wiki page explains the format of [wiki]DATA.INI[/wiki] Also, did you make sure your client was diffed with the option [Data](7) Enable Multiple GRFs ?
  19. That is_sitting() diff is in the unified diff format. The + lines in green are the ones you add.
  20. Here's the diff to add an is_sitting() script command: http://eathena.kpaste.net/7f8c76eb4
  21. Here are some other advantages to add: + SourceForge allows project admins command-line access to their SVN Repo through SSH (useful for using 'svnadmin', import/export and other tools) - GoogleCode only has a "Reset Repository" button and they allow a pre-revprop-change hook for 'svnsync', but they have no way for you to set the repository's UUID (a must for us, so users can easily relocate from the old eAthena SVN) - on GoogleCode if you do a SVN Blame on a file all the way from revision 1, it usually times out. This has never happened to me on SF-hosted SVNs. I think it's because of some change Google did to their Subversion server to optimize resource usage.
  22. Most likely NO. There will be no RAthena-branded or "official" hosting service. All paid services (even ones by staff members) will have to follow the rules and be approved to be listed in the Paid Services section.
  23. Here you go: // http://rathena.org/board/topic/53708-double-exp-last-3-days-of-the-month/ - script DoubleExp_Last3days -1,{ function getDaysOfMonth; function isLeapYear; OnInit: // save the "regular" rates, as defined in /conf/battle/exp.conf set .base_exp_rate, getbattleflag("base_exp_rate"); set .job_exp_rate, getbattleflag("job_exp_rate"); OnClock0000: // every day, check if it's the last 3 days sleep 500; // slow script execution if (gettime(5) == 1 && (getbattleflag("base_exp_rate")!=.base_exp_rate || getbattleflag("job_exp_rate")!=.job_exp_rate)) { // if it's the 1st of the month and rates are doubled, end the event setbattleflag "base_exp_rate", .base_exp_rate; setbattleflag "job_exp_rate", .job_exp_rate; atcommand "@reloadmobdb"; announce "[server] : the Double Exp Event has ended.", bc_blue announce "Current Rates: Base Exp = "+ .base_exp_rate/100 +"x Job Exp = "+ .job_exp_rate/100 +"x", bc_all,0x00FF00; } } else if (gettime(5) > (getDaysOfMonth() -3)) { // start the Double Exp event setbattleflag "base_exp_rate", .base_exp_rate*2; setbattleflag "job_exp_rate", .job_exp_rate*2; atcommand "@reloadmobdb"; announce "[server] : It's the last 3 days of the month... the Double Exp Event has started!", bc_blue; announce "Current Rates: Base Exp = "+.@rates+"x Job Exp = "+.@rates+"x", bc_all,0x00FF00; } end; function getDaysOfMonth { switch (gettime(6)) { case 2: // February set .@days, isLeapYear(gettime(7)) ? 29 : 28; break; case 9: // September case 4: // April case 6: // June case 11: // November set .@days, 30; break; default: set .@days, 31; break; } return .@days; } function isLeapYear { set .@year, getarg(0); return ( .@year%4 == 0 && (.@year%100 != 0 || .@year%400 == 0) ); } }
  24. Here's the new page for RAthena: https://www.facebook.com/pages/RAthena/255610184497896 It's a bit bare right now, but we'll fill it with info soon!
  25. .com was not available; it's currently registered/parked and the page just has a bunch of search links. We registered .net and .org and decided to use http://rathena.org/ as the primary domain.
×
×
  • Create New...