Jump to content

Nyaniverse

Members
  • Posts

    45
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Nyaniverse

  1. What is the console error? For one, I downloaded it but I'm not adding it to my server since I don't have access to it right now. But a quick glance I can tell the tab spacing on the NPC header is not correct. Post your console error and I can help you out.
  2. If you're not being picky, just use logmes and it should work. *logmes "<message>"; This command will write the message given to the map server NPC log file, as specified in 'conf/log_athena.conf'. In the TXT version of the server, the log file is 'log/npclog.log' by default. In the SQL version, if SQL logging is enabled, the message will go to the 'npclog' table, otherwise, it will go to the same log file. If logs are not enabled, nothing will happen.
  3. This is actually a good idea, I might add it as a separate information query on the NPC. I'm slightly busy at the moment, so might take some time for me to add it. But this is very do-able.
  4. Good day everynyan~ I'm here again to showcase a newly finish system for a server that I am helping out with~ It's a simple Sell Character system, much like Shakto's but also not quite the exact same. Feature: Preview character information (Status/Equipment) Sold characters are categorized based on their Class Checks if character/account is online (in-game or in the server select/character select screen) Blocks usage of character that is being sold - will be prompted to either remove the character from Sell List or will be blocked from moving indefinitely Sellers can receive their earnings via the same NPC Logs buyer ID, seller ID, character ID and time of purchase Logs earnings and time of claim for earnings Lots of configuration options, such as to check for Bound items (account,party,guild) and more\ Credit to @Cydhfor making this script possible via:
  5. if (.@fake_icon_time_ms = 0) { Try changing that line to this one if (.@fake_icon_time_ms == 0) {
  6. *summon "monster name",<monster id>{,<Time Out>{,"event label"}}; This command will summon a monster. (see also 'monster') Unlike monsters spawned with other commands, this one will set up the monster to fight to protect the invoking character. Monster name and mob id obey the same rules as the one given at the beginning of this document for permanent monster spawns with the exceptions mentioned when describing 'monster' command. The effect for the skill 'Call Homunculus' will be displayed centered on the invoking character. Timeout is the time in milliseconds the summon lives, and is set default to 60000 (1 minute). Note that also the value 0 will set the timer to default, and it is not possible to create a spawn that lasts forever. If an event label is given, upon the monster being killed, the event label will run as if by 'donpcevent'. Returned value is the game ID of the spawned monster. // Will summon a dead branch-style monster to fight for the character. summon "--ja--",-1; Just add an OnEvent label, set it so that a character variable is set, something like summon_avail = 1; And when you kill another monster that can be "summoned", check if summo_avail is 1, if it's not, summon, if its 1, ignore
  7. Note, your solution only displays the first item on the list. If they bought multiple cards, then it won't announce the rest. Example: Player A bought Poring, Drops and Fabre Card - the only one that will be showed on announce is Poring Card
  8. Won't work if you don't have Gepard, nor it's color nick addon.
  9. Hello everynyan! I am very intrigued with Ragnarok Landverse's core systems and features, and I wanted to try to see if I can try to even get close to replicating their Gear Score system. And this is what I have done so far. This feature is based off of what's available on their wiki/information pages, here. Features: Gear Score rating is updated upon logout and when issuing @gscore command in-game Ranking buff is based off server-time, Ranker buff will always expire at 00:00 server time Weapon on L-HAND does not count towards Gear Score rating Reads Upper Headgear, Body, Garment, Footgear, R-Hand and L-Hand (shields only) Reads cards, number of cards, number of options and equipment slots Note: This will never be as complex or as intricate as Ragnarok Landverse, more so, this is only made to see if I can replicate what they have done to and I guess to practice my scripting knowledge. Any feedback, criticism or ideas are all welcome~
  10. Solved. Resolved by using a combination of getequipweaponlv and getequipcardcnt, in conjunction with adding a function to the card upon Equip and UnEquip to identify that it's been equipped on L-Hand.
  11. Hi, I'm somewhat familiar with scripting already with rAthena, however, there is one issue I am facing that I haven't figured out at all or any other way to do the checks properly. It's on how to figure out if the card is being equipped on the L-Hand side or R-Hand side of equipment (specifically, Assassin dual wielding and such) This is what I came up with, but looking at it more, it doesn't really do what I need it to do. if(getarg(3) == 1 && Class == 12 || Class == 4013){ .@right = getequipid(EQI_HAND_R); .@left = getequipid(EQI_HAND_L) for(.@i = 0; .@i < 4; .@i++){ .@rc[.@i] = getequipcardid(EQI_HAND_R,.@i); .@lc[.@i] = getequipcardid(EQI_HAND_R,.@i); if(inarray(.@rc[0], .@lc[@i]) == -1) Is there any other method that can be used to check if card is in the left-hand or right-hand?
  12. This auto-lootfeature was requested by RagnaVerse and exclusive to their server. I have been given permission to showcase the system with the caveat to add their logo on the video. If this is in violation to any rules, please feel free to remove the showcase video. Features Limit VIP Autoloot (alootid) based off their VIP Tier Easily add/update/remove items on their existing loot list Loot list is saved account-wide, so you don't have to keep entering the same IDs over and over again Display your autoloot list on demand (using @command) Loot list is carried over even if player changes their VIP tier (add / reduce number of aloot id slots) Note: The bug at the end of the video where it spams aloot id is already fxied, but is not represented on this video showcase
  13. Update: New Features: Added previous week/month ranking on options Added option for GM to reset weekly/monthly rankings or both If anyone has any ideas that might be good to add to this NPC, please feel free to comment and I'll see if I can add that said feature~
  14. Update!! Fixed an issue wherein players can pre-register, level up a novice to max level and wait for the next race (this removes the race variiable from everyone) Fixed an issue that can reset race data when restarting server or reloading script
  15. Both of your requests have been asked in the forum already years past, I would suggest trying the search feature, it should give you similar scripts you can try to implement to your script.
  16. I advice looking at the regular refiner and basing your script off of it. https://github.com/rathena/rathena/blob/bfae557aeb76cfd762ae7752c30a16f9e575a7d1/npc/merchants/refine.txt#L642
  17. Hello everynyan~ This script is an identical copy of Ragnarok Landverse's Pet Combine System. Just wanted to see if I could make it work on older clients without the newer UI~ and apparently it can be done as you can see, albeit it's pretty weird using the sell window. Of course, I added my own twist to the combining process~ Can't be Nyani without a lil' bit of sprinkle of Nyani. Comments, suggestions and feedback are so appreciated!
  18. Update: New Features Username searching feature Additional option to wipe all supplies sent to streamers (can be configured what IDs that will be removed) Daily supply distribution with automatic reset at X time, available logs to check when stream/supply was claimed Separate supply list for 'Casual' and 'Official' streamers Has streamer ranking that settles every week for weekly, and every 1st of the month for monthly, keeps a record for all-time ranking as well When streamer is removed, data will not show on rankings, but ranking information is preserved, so if streamer is added back, they will go back to their previous rank/point New feature video (updated initial post as well)
  19. Solved. For anyone looking the solution, it's using INNER JOIN on SQL .@sql$ = " SELECT `acc_reg_num`.`value`,`streamer_db`.`name`" + " FROM `acc_reg_num`" + " INNER JOIN `streamer_db`" + " ON `acc_reg_num`.`account_id` = `streamer_db`.`aid`" + " WHERE `acc_reg_num`.`key` = '#s_alltime' " + " AND `acc_reg_num`.`value` >= 1" + " ORDER BY `acc_reg_num`.`value` DESC LIMIT 20";
  20. I'm trying to match the points to their names and aid on another table, but somehow the points are not going to their assigned aid, any clues on how to properly set it? .@sql$ = " SELECT `account_id`,`value` " + " FROM `acc_reg_num`" + " WHERE `key` = '#s_alltime' " + " AND `value` >= 1" + " ORDER BY `value` DESC LIMIT 20"; query_sql(.@sql$,.@aid,.@total); query_sql("SELECT `aid`,`name` FROM `test_db`",.@said,.@name$); //comparing who's going to be in the ranking for(.@i = 0; .@i < getarraysize(.@aid); .@i++) if(inarray(.@said[0],.@aid[.@i]) != -1){ .@all_time$[.@i] = .@name$[inarray(.@aid[0],.@said[.@i])]; .@all_time[.@i] = .@total[inarray(.@aid[0],.@said[.@i])]; }
  21. Gepard Shield has a known by pass, players who don't own such third party, of course can't take advantage of it, but it still poses a great issue. I suggest adding hard delays to skills that are susceptible to NDLs, example: champ skills, bowling bash, and such Good luck.
  22. Check mapflags, you'll be able to easily identify which mapflag to use.
  23. prontera,150,150,4 script Resetter 69,{ if(PC_DIE_COUNTER > 0 && countitem(501) >= 10){ delitem 501,10; PC_DIE_COUNTER = 0; mes "Your PC_DIE_COUNTER has been reset to 0."; close; } mes "No die counter or not enough Red Potion."; close; } It's just a rough script but you should be able to make it work the way you want it, it has everything you need
  24. That might be the problem, if im not mistaken, it reflects perfectly fine on my end. I might be wrong though, so let's see if anyone else can put in more info for us.
×
×
  • Create New...