Jump to content

Brian

Members
  • Posts

    2223
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by Brian

  1. To call functions like that, you have to define the function within the npc object, not as a separate object. There's an example in trunk/doc/script_commands.txt prontera,150,150,0 script TestNPC 123,{ function MyAdd; mes "Enter two numbers."; next; input .@a; input .@b; mes .@a+" + "+.@b+" = "+MyAdd(.@a,.@; close; function MyAdd { return getarg(0)+getarg(1); } }
  2. open /config/access.php find 'changesex' => AccountLevel::NORMAL, and change to a higher level (change it to AccountLevel::NOONE to disable Change Gender for everyone)
  3. on your config\application.php put // at the front of 'changesex' => 'Change Gender', // 'changesex' => 'Change Gender', Removing that line from /config/application.php only hides Change Gender from the menu. They can still access it at <CP_url>/?module=account&action=changesex To disable Change Gender, you must remove their permission to use it. Edit /config/access.php and change 'changesex' => AccountLevel::NORMAL, to a higher level (to disable it completely, use AccountLevel::NOONE )
  4. Brian

    Ctrl + V

    http://www.projecthoneypot.org/ip_59.99.193.12
  5. If all the sprites are free and all your own work, yes you can advertise your website on rAthena - the Arts & Writings section or Sprites & Pallette Downloads (IP Downloads) would probably fit best. If your website will have free and paid services / sprites you are trying to sell, you would need a Paid Services topic approved first before you can advertise anywhere on rAthena.
  6. Can a rake kill a gargantuar?

    1. Show previous comments  4 more
    2. nanakiwurtz

      nanakiwurtz

      Hmhmhm... Yeti is so hard to found

      How far have you made in the unlimited survival level?

    3. Brian

      Brian

      I've never played Survival: Endless mode (I have the iPhone/iPod touch version).

    4. nanakiwurtz
  7. Having foreign key constraints would be handy when doing this For your other check constraints examples (checking if partner_id exists in char.char_id and checking buy/sell price values), does MySQL support that? I know MSSQL does, but I don't know how to in MySQL.
  8. permissions - you mean which GM level(s) can use the command? That's the whole idea of groups instead of levels. Within the group config, you set which commands they can use in the commands: { } block. trunk/conf/groups.conf
  9. How much do i need to donate to be Donator?
    Members who donate $10 or more will receive a donator tag.
  10. thanks Ind, and Happy Friday!
  11. Use this instead: fluxcp-renewal - Finally native rAthena Support.
  12. In your clientinfo.xml, put their account ID in <yellow> instead of <aid>.
  13. Sum up multiple getmapusers. getmapusers("abbey01") (getmapusers("abbey01") + getmapusers("abbey02") + getmapusers("abbey03"))
  14. getmapusers returns -1 when the map does not exist. Adding all those -1 + -1 + -1 is giving you the negative number. It's because your script never sets these array elements [2] [3] [4] and [5]. setarray $@pt2pvp$[1],"pvp_y_4-2"; setarray $@pt3pvp$[1],"pvp_y_5-2"; setarray $@pt4pvp$[1],"pvp_y_6-2"; setarray $@pt5pvp$[1],"pvp_y_7-2"; It only sets the [1] array element.
  15. Are you not using rAthena? We added delchar and charat 7 months ago in r15039.
  16. It should be possible with a script: display message using waitingroom (ex: "Hello World ... ") sleep a short time (250 ms?) rotate the string 1 character left ("ello World ... H") delwaitingroom and display the new message, goto #2 and repeat prontera,155,188,0 script test 910,{ end; OnInit: set .message$, "Hello World! "; while (1) { set .message$, delchar(.message$+charat(.message$,0),0); delwaitingroom; waitingroom .message$, 0; sleep 200; } }
  17. Maybe your client is missing the MVP Tombstone NPC sprite.
  18. This means the installer script does not have write permissions to create the config file. Make sure your website files are chmod'd to the user & group that your webserver runs as, and make sure the CeresCP folder has 755 permission (rwxr-xr-x)
  19. Welcome to the staff !

    1. Fluffle Puff

      Fluffle Puff

      thank you! I'll do my best!

  20. Actually, I think script files can have any extension as long as you have the exact filename in scripts_custom.conf
×
×
  • Create New...