Jump to content

j2rhyme

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by j2rhyme

  1. Hi neXus,

     

    You have two options, either you could:

    1. Buy a Host.
    2. Host it on your PC.

    As a server owner myself, I think option #1 would be the best way. As option #2 ain't good in the long run. Because you'd need to have a fast internet connection and a good rig to handle a lot of players. And also, electricity consumption.

     

    If you are asking about how to make your local server go online for your friends to play. Then, you'd need to portforward and change your ips in your login,char,map_athenas. 

  2. Yes. And hi, the problem is now solved. They need to run it as administrator to work. Thank you,

     

    EDIT: In order to avoid making too many posts. A new problem arose;

     

    Same as the first one... But different, I made a patch, and the patcher successfully downloads it, and "I" can enter the game.

    But, my players can't. They'll always be stuck at 100%. But their patcher downloads the patchs. :( Any info regarding this?

     

    Here is a screenshot for more info:

    Krn1b4Y.jpg

    Sorry for the bad quality. I had my players took it.

  3. Hi, I've made a new patcher. Everything with works.... For me atleast,

     

    The patcher can successfuly download patches. But. It doesn't launch the game. Like, when you press start. It just closes, but for me everything works fine. I can patch and launch the game, I've tried to fix it many times already. But to no end,

     

    My players also said that their game.exe is named "SynchRO.exe" which is exactly the same for me. So I don't seem to see the problem. Can anyone help me?

     

    [i use ThorPatcher]

  4. Hi, I would like to know how to update an existing data in sql_query.

    I made a Donation NPC with a Donor Ranking. I've somehow made it work but when I donate twice. I want to add my last donation and my current donation in the ranking. Instead of creating a new one.

    And also, I would like to know how ORDER BY works. I want it ordered by ascending, but clearly I made some mistake because it did not work.

    Here is my code:

    case 2:
        mes "test";
        query_logsql "SELECT `name`, `donateamount` FROM `donornames` ORDER BY `donornames`.`donateamount`", .@donor_name$, .@donate_amount;
        for (set .@i, 0; .@i < getarraysize(.@donate_amount); set .@i, .@i+1){
            mes "^296900["+.@i+"]^000000 - " + "^ff4d00" + .@donor_name$[.@i] + "^000000 has bought " + .@donate_amount[.@i] + " donation tickets.";
    }//endfor
    close;
     
    INGAME SCREENSHOT:

    Untitled.jpg

     
    As you can see here, TEST has donated twice, I want it to show 700 instead of 2 separate lines of 200 and 500. Also I would like it to be in ascending order; the highest donors at the top, while the lowest at the bottom. And I'm sure it's possible with ORDER BY but I'm sure I used it incorrectly. Same with UPDATE.
  5. Hi, I'm currently making a warper that warps you into a dungeon that has pretty much strong monsters.

     

    But there are certain conditions you need to meet before the NPC warps you.

     

    And that is:

     

    Zeny

    Above 90% Perfect Dodge.

    So regarding that, how do I check if a player has above 90 PD? I used bFlee2. But despite that, the warper sees me as someone who has below 90 PD. 

     

    Here's my script

    switch(select("Enter Dome:Cancel"))
    {
     
        case 1:
        if (readparam(bFlee2) < 90) goto L_error;
        close;
    
        case 2:
        mes "^3D7213Dome Warper:^000000";
        mes "Have a nice day! Goodbye.";
    close;
     
    }//end Switch

    EDIT: SOLVED - I experimented with Perfect Dodge in-game and found out that in order to check for 90% Perfect Dodge rate, you'll need to put: if (readparam(bFlee2) < 900). Or if 100%: if (readparam(bFlee2) < 1000).

  6.  

     

    Packet Obfuscation Support
    As of 9d247d8, rAthena is now able to support encrypted packets making servers WPE free!

    Thanks to Hercules for the initial base of it. Thanks to @Napster for getting it applied to rA.

    Enabling support for your server:

    • Packet Obfuscation support is enabled by default. It can be disabled in src/config/core.h by commenting out #define PACKET_OBFUSCATION.
    • When diff'ing your client, make sure to not apply the "Disable encrypted packet" diff.
    • A new definition has been added in db/packet_db.txt called packet_keys_use. Make sure this corresponds to the packet_ver you are using!
    • Clients 2011-10-05 and newer will contain a new definition in db/packet_db.txt called packet_keys. These will have the three default keys for their specific client version. These keys can be changed if you use the diff to change the default key of the client.
      • Keyworld was nice enough to provide a nice GUI to test custom keys. You can find that here.
      • If you happen to change your keys, make sure the ones you apply in the diff match the order in the packet_keys definition.
    • If your server supports multiple clients, make sure all clients are using the same 3 keys.
    • Keep in mind, the maximum key value is 0x7FFFFFFF!

     

     

    Hi, please follow the instructions above.

  7. PROBLEM: "This item has been damaged" popup when attempting to wear items.
     
    SCREENSHOT

    screenr_Athena007.jpg

     

    Can anyone assist me regarding this problem?

     

    Also, dropped items from monsters works fine. I was able to wear any dropped items from monsters. But I can't wear items that are spawned through @item OR @item2

     

    EDIT: Simple equip's like sunglasses are equippable. @item-ed or not.


    BUMP: Any hint regarding the situation will be helpful. Thanks T_T

     

    EDIT2: PROBLEM HAS BEEN SOLVED, For people who will have the similar problem in the preset or in the future:

     

    This happens when you spawn renewal items before switching to pre-renewal settings in the 'renewal.h' file.

     

    That's why you can only spawn pre-renewal items like sunglasses and other stuff. But when you try to spawn renewal items then it will read as 'Invalid Item/itemID.

×
×
  • Create New...