Jump to content

Nitrate

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by Nitrate

  1. 1 hour ago, benching said:

    You can start checking in the "status_calc_luk"(something like that) from file "status.c".

     

    Thank you for that. I think I found it.

    if (bl->type&battle_config.enable_perfect_flee) {
            stat = status->flee2;
            stat += status->luk + 10; // (every 10 luk = +1 perfect flee)
            status->flee2 = cap_value(stat, 0, SHRT_MAX);
        } else
            status->flee2 = 0;

     

    EDIT: Weird, setting the "10" value to any other value doesn't seem to change anything in terms of flee2's computation. Any ideas?

  2. Is there a way to provide stat bonuses on certain maps for players? For example, players would receive a bonus 100 flee when inside PvP or bonus 50 flee when inside GVG maps.

    Thank you.

     

    EDIT: If it is not possible, can someone point me where in the source code can I edit so that i can make flee2 increase by 1 per 2 luk instead of 10? I know this is not the correct subforum for this question but the first one is my main concern.

  3. Hello, I would just like to ask if this is possible, and if it is, how to do it.

     

    My idea would be getting a variable from a certain database table and turning it into a character variable.

     

    For example:

     

    I have a table named `table_a`, and in that table there would be the following : `char_id`, `account_id`, `char`, `variable_a`. Let's say variable_a is a number not less than 0.

     

    Now lets say I would like to attach into a OnPcLoginEvent that when a player logs in, the variable_a would, lets say become a permanent character variable (ex: VariableA). How would I be able to do it? set VariableA,???;

     

    I hope some can guide me with this. Thank you

  4. If you just change 150 to 15 then it's just 15% to freeze per 3 hits.

    Instead use the renewal code and put a 15 in there.

     

    Im sorry, I do not understand. Does this mean that they removed the 150% freeze in renewal?

    Should i just copy the renewal script and replace the pre-re script with it and just put 15 instead of 65?

  5. Can someone please give me a quick script that automatically joins you to #main channel when you log-in.

    something that automatically runs "@channel join #main" when you log-in.

     

     

    And also something that announces when a new player first time log-in in the server.

    something that checks if you are a novice level 1, and if you are, lets say zero on #newplayer variable.

    if you are, it announces "Welcome (char name) to rAthenaRO!".

    and then it sets the variable to 1 so it doesnt trigger again when make new novices.

     

    Thank you!

  6. Hello, I'm having troubles with my client (2013-08-07) *quite unsure tho, but i know thats my client ver*

     

    I am having errors when I am opening the descriptions for equip items. (rightclicking them in-game)

    This doesn't happen when I dont have anything equipped on the equip slot that it would take up.

     

    Elaborate:

     

    I dont have an upper headgear, I right-click an upper headgear on my inventory for description, it shows up.

    I am wearing an upper headgear, I right-click another upper headgear on my inventory for description, it errors my client.

     

    Now, I know about the 2nd "Equipped Description" thing that should show up beside the non-equipped headgear's description.

    It was working fine for me during the start. 

     

    I want to ask if I could've messed up my files to make it error now.

     

    Files I edited or tinkered with are :

     

    data/luafiles514/lua files/datainfo/accessoryid.lub

    data/luafiles514/lua files/datainfo/accname.lub

    data/luafiles514/lua files/datainfo/accname_eng.lub

    System/itemInfo.lub

     

    Any advices? Thank you


    NVM Fixed.

     

    My number on my DATA.ini was off. Sorry.

     

     

    EDIT: 

     

    NVM, fixed it bros.

    My numbering in my DATA.ini was off. Sorreh! :D

  7. I am currently looking for a source mod, or client mod (don't really know how it would be done, cant remember) that can let me change a specific item's name color.

     

    I had seen something like this here before, released, and i cant seem to find it any longer.

    If you happen to know where it is located, kindly just link me up to it.

     

    Thank you.

  8.  

    like this :) congrats for conclution ur project..do you want to improve again?

     

    thx to  kangfredy

     

    but what is the improve meaning?

     

    I come up with new ideas about this (floating item price).

     

    1.  Limited supply of goods in NPC shop.

     

         - Like buying store, but it add floating item price.

     

         - This will let inflation be more real.

     

    2. Stock market

     

         - ex: Prontera pharmaceutical . Izlude blacksmith factory ...and so on.

     

         - Changes in the value of stocks according to the inflation of items.

     

                 + ex: Prontera pharmaceutical provides red potions. When red potion's buy_sell be increase, Prontera stock's price will be increase.

     

    3. Black market

     

         - Black market randomly sell what players sold.

     

     

    I don't have much time, so I slowly get it done, and enjoying it.

     

     

    like wow, this is some next level ideas.

    looking forward for it. do it!

  9. Will there be any more updates on this?

    This seems to be a great source mod that could open up plenty of things to a server.

     

    Interested in using it.

     

    EDIT: Or if someone is able to give me a copy of a r17310 of rA, I would like to test this out. Kindly link me up please.

  10. Is it possible to be able to read the total stats instead of the base stat only on item scripts?

     

    I am talking about  if(readparam(bAgi)

     

    Which reads the user's base Agility stats, is there a parameter to read the total stat of let's say, Agility, meaning the total of both base Agility and additional Agility?

×
×
  • Create New...