Jump to content

Leaderboard

Popular Content

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

  1. 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; },{},{}
    2 points
  2. i saw this post on rathena http://rathena.org/board/topic/58583-request-mapname-self-announce/ i wonder why no one every released one I was bored and i was thinking of making something so i remembered that eamod has this feature so i made one for us i don't know how eamod did it but i just do it via script i know theres like 123123 maps out there but it was easy to get them all to work once you know a little bit of programming LOL it will announce to yourself where you are currently this will announce the map listed on mapindex in data folder so it wont announce something like iz_dun01 it will announce it as undersea tunnel works on every map that is enabled by default in hercules but the script is quite simple and i suppose it will work with rathena and eathena too note: if you will encounter errors on your map server just simply look for it in the script and comment them or delete them. if you know how to enable those maps then do so. its yours to decide what you do note 2: i will only support major problems of the script note 3: you may modify it but don't remove the header check the attached picture for an example mapannounce.txt
    1 point
  3. mes "- ^FF0000"+ getd(".@pt_"+ .@j3 +"["+ (.@i+1) +"]") +" ^0000FF"+ getitemname(getd(".@pt_"+ .@j3 +"["+ .@i +"]"))+"^000000";
    1 point
  4. By using color codes before each section that has a different color (this includes if you want text to display as black). mes "- ^FF0000"+ getd(".@pt_"+ .@j3 +"["+ (.@i+1) +"]") +" ^0000FF"+ getitemname(getd(".@pt_"+ .@j3 +"["+ .@i +"]")); That will make your above message display as wanted. ^RRGGBB ex. ^FF0000 = RED ex. ^00FF00 = GREEN ex. ^0000FF = BLUE ex. ^FFFFFF = WHITE ex. ^000000 = BLACK You can also refer to here: Color Codes for a list of other colors, the middle 6 Letters/numbers are what you use.
    1 point
  5. Don't use: ' .@variables ' when in combination with callsub, it acts the same way as callfunc, meaning you can't pass scope variables (Atleast this has been my issue through testing). Replace those with a normal @variable, and see if that works. Because your problem could be that, your trying to pass the .@variables, and run a sql query, leading those variables to be reset to 0. Thus, it can't check against anything, resulting in your 0 players found.
    1 point
  6. Your OS decides what language it picks, depending on the regional settings control panel. OpenSetup currently ships with traditional (default) Spanish (0x01) and Chile (0x0d). 0x03 is supposed to be modern Spanish. I have no idea about the differences, the LANG/SUBLANG pair is decided by the respective translation-author.
    1 point
  7. [info=Development Update][/info] We're standardizing documentation for source, clikc here for more info. Added a new script command, bonus_script, click here for more info
    1 point
  8. This patch working on tortoise svn. Fix error centos. Add version compatible 11682. ExtendedVendingSystem_11682.patch
    1 point
  9. just backup your database. if same. then all old player account still can be used.
    1 point
  10. You can find this sprite in the data.grf or rdata.grf Here you go~ Chewing_Gum.rar
    1 point
  11. Ahahaha, I remember on pRO the 50p Prepaid card -8 Hours of Awesomeness
    1 point
  12. This was implemented in 6572a9f.
    1 point
×
×
  • Create New...