Jump to content

Brian

Members
  • Posts

    2223
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by Brian

  1. Yes, a script could display a MVP Ladder using the info from the mvplog table. Turn on mvplog in /conf/log_athena.conf // Log MVP Monster Drops (Note 1) // Outdated. Use Pick_Log instead. But this log could be useful to keep track slayed MVPs log_mvpdrop: yes Can you post a list of what you want the points to be for each MVP?
  2. They are saved in RAM and deleted when the character logs out or when the @var is deleted (set to 0 or string set to ""). Since there is no secondary storage, there is no "save interval". They are updated (in RAM) only when the @var changes.
  3. From within the script if you use strnpcinfo(3) that will reference the NPC's unique name, and in duplicated NPCs, that will be the unique name of the duplicate NPC. If you're planning on accessing variables of other NPCs on the map or triggering event labels in other NPCs on the map, I suggest name the NPCs like this: NPCNAME#mapname BattleNPC#poring_w01 testnpc#poring_w01 BattleNPC#anothermap testnpc#anothermap Then if you want BattleNPC#poring_w01 to trigger something in testnpc#poring_w01 you could do: donpcevent "testnpc#" + strnpcinfo(4);which will be "testnpc#poring_w01" because strnpcinfo(4) returns the name of the map the NPC is in. When you create duplicates on different maps, strnpcinfo(4) will return the mapname and it will work (as long as your npcs are named NPCNAME#mapname.
  4. Can you post the part of your script that creates the duplicate NPCs?
  5. Instead of coordinates x,y use coordinates 0,0. This will warp them to a random spot on the map. Or do you have a list of specific coordinates you want to use (ex: random corner of a PVP map) ?
  6. Your script shows the query that created the `mvprank` table: OnInit: query_sql "CREATE TABLE IF NOT EXISTS `mvprank` (`id` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',`name` VARCHAR( 23 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL ,`mvpkills` BIGINT UNSIGNED NOT NULL ,UNIQUE (`id`)) ENGINE = MYISAM";But how did you create the `mvp` table? Can you post the SQL query you used?
  7. Add OnPCLoadMapEvent in your script so it looks like this: OnPCLoginEvent: OnPCLoadMapEvent: /npc/scripts_mapflags.conf - add this line: npc: npc/mapflag/loadevent.txt/npc/mapflag/loadevent.txt <-- create this file, and add the map(s) that you want OnPCLoadMapEvent to trigger on. If you want every map, use this file: http://pastebin.com/raw.php?i=K5d4b3bp
  8. It sounds like a problem with the client. I tested on 2013-12-23Ragexe and did not get any Gravity error.
  9. For checking if they have an item equipped in that slot, you should use getequipisequiped. Even though 'getequipid' returns -1 if no item is equipped, that is considered a failure of the script command and that's why the map-server shows the debug message.
  10. The screenshot is from clicking this script: statpointcount.txt
  11. I don't remember having that error when I wrote & tested the script last year. It might be because my test server already had check_gotocount increased. Try editing conf/script_athena.conf check_gotocount: 655350
  12. I'll do it! haha I remember at the time I didn't think this would be useful ... but I guess it is!
  13. MD_ASSIST is probably what you are looking for. If you look at the mode for Thief Bug Male (1054): - Aggressive - Assist - Detector - Change Target (Attack) - Change Target (Chase) Then looking at the documentation: doc/mob_db_mode_list.txt MD_AGGRESSIVE | 0x0004 | 4 MD_ASSIST | 0x0008 | 8 MD_DETECTOR | 0x0100 | 256 MD_CHANGETARGET_MELEE | 0x1000 | 4096 MD_CHANGETARGET_CHASE | 0x2000 | 8192
  14. After 1 post (in a non-off topic section), you will be moved from "Limited Members" to Members. Then you can edit your signature, photo, and other profile info.
  15. When I wrote the script, I used a 2010 client. I have not tested on any newer clients -- it may or may not work.
  16. The half-half username style would be hard to implement. I agree with Emistry. I don't think a separate Paid Service group will add much benefit. Right now if you want to look for a paid service, most users just go to the Paid Services forum. Currently, most members who offer paid services have some text and/or image in their signature. I think that is more effective than a group name.
  17. The "Block" link really means click this link to block the user from this PM conversation. If you click the Block link, that will remove the user from that PM conversation only.
  18. I think the only way to block/ignore users is My Settings > 'Ignore' Preferences. There is no quick block button or link on profile popups or profile pages (to avoid accidental blocking). The X next to signatures only blocks their signature, not posts or PMs.
  19. Brian

    Advent

    To clarify: day 1 = earn 10 coins day 2 = 12 coins day 3 = 14 coins day 4 = (oops forgot to collect rewards) 0 coins day 5 = start at 10 coins again? And if they collected coins every day from Dec1 - Dec25, then on Dec 25 they would be collecting 58 coins right? for a maximum total of 850 coins? (if they collected all 15 days)
  20. The person who setup your 2 VPS might even be able to answer your questions and fix the issue.
  21. You can run as many VPS as you want, as long as they are properly configured (most importantly: different IP addresses). How did you create the new VPS -- did you just clone the VPS as-is, or did you create a new VPS and set everything up? When you say "the old one turns off" -- does the VPS actually shutdown? or do you just lose network connectivity?
  22. Yes, the redirect via ipbwiki is to ensure you are automatically logged in to the Wiki with your IPB credentials.
  23. Your profile page only shows the last 5 posts. You can search as Akkarin mentioned, or click Find Content (from a member's profile page, or then popup when you mouse-over their name); both of these display all posts.
×
×
  • Create New...