Jump to content

Nyaniverse

Members
  • Posts

    45
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Nyaniverse

  1. 8 hours ago, Seller said:

    the npc doesnt appear at all in my game when i reload it.

    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. 9 hours ago, GM Winter said:

    no sorry im looking for a script with sql also so that i can also trace the characters who changes their names i also try the item Character Name Change Coupon    Item ID# 12790 
    but nothing change im using pre renewal i only import it in pre re, i need the change name script because i want to implement the character selling system and i want them to allow to change the name of it anyways ty buds

    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. On 1/13/2024 at 11:00 AM, Gidz Cross said:

    WOW. Maybe add remarks to sellers like "Character already completed Kiel Hyre Quest. Already completed LHZ quest etc etc."

    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: 

     

     

    • Upvote 1
    • Love 2
    • Like 2
  5. *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

  6. 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~
     

     

    • Upvote 1
  7. 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?

  8. 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

    Spoiler

     

     

  9. 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!
     

     

    • Love 1
  10. 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)

    Spoiler

     

     

  11. 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";

     

  12. 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])];
                            }
  13. 8 hours ago, Chaos92 said:

    Maybe use Gepard Shield ?

    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.

      

    9 hours ago, Oklonir said:

    Good morning community.

    I'm facing a big problem on my server due to NODELAY and I was wondering if anyone could help me block it and put an end to it.

    Some players use it and it's notable, but I wanted to put an end to it on the server.

    Thank you in advance for everyone's attention!


    I suggest adding hard delays to skills that are susceptible to NDLs, example: champ skills, bowling bash, and such

    Good luck.

    • Upvote 1
  14. On 11/29/2023 at 12:02 PM, jamesandrew said:

    I need help with an NPC script that resets the SN Death Counter in return for 10 Apples.

    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

    • MVP 1
×
×
  • Create New...