Jump to content

TheDerpySupport

Members
  • Posts

    208
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by TheDerpySupport

  1. 48 minutes ago, interring said:

    Hello, i've been searching a script for quite some time but no luck.. The script goes like this

     
    Cashshop that uses coins in inventory as the currency. In cashshop window showing the amount of the coins in inventory. Cashpoints = coins amount in inventory.
     
    I found a patch made by lnd on 2012 regarding this script, but i wonder will it compatible with latest rathena server..
     
    Thanks for drop by reading my post!

    You can do this using an itemshop type NPC.

    -%TAB%itemshop%TAB%<NPC Name>%TAB%<sprite id>,<costitemid>{:<discount>},<itemid>:<price>{,<itemid>:<price>...}
    <map name>,<x>,<y>,<facing>%TAB%itemshop%TAB%<NPC Name>%TAB%<sprite id>,<costitemid>{:<discount>},<itemid>:<price>{,<itemid>:<price>...}

     

    • Like 1
  2. 36 minutes ago, HeyC said:

    Hi,

    Everytime that I try to make the scr_logo, theres a part of the pink background that keeps surrounding all the letters or images.

    Does anyone knows why and how to fix it?
    Thanks

     

    screenrAthena015.jpg

    This is due to you trying to use transparent pixels/anti-aliasing on the image instead of solid pixels; You will need to completely redo the outer edge of the image in a solid pixel and then when you fill the transparency with pink it will be fixed.

    • Upvote 1
  3. 13 minutes ago, AnnieRuru said:

    correction ....

    rand(2) actually produce number 0 or 1 ..

    if ( rand(50) < 4 ) actually means 4 out 50, means land on 0,1,2,3 is true condition, 4~49 is false condition

    when you quote the code ... didn't you see it has case 0: ?
    and the default: case is actually case 14:

    Thanks for the correction, I wasn't aware it randomizes 0 as a number /no1

    • Love 1
  4. 20 minutes ago, IvanD said:

    do you have a script for it sir? ?

    i = getlook(LOOK_CLOTHES_COLOR); setlook LOOK_CLOTHES_COLOR,1;

    setlook LOOK_CLOTHES_COLOR, i;

    The top part you put in your OnEquip and the 2nd part is OnUnequip;

    • Upvote 1
  5. 42 minutes ago, IvanD said:

    is this possible?

    Script that change color of clothing (to clothing #300) when wearing apple of archer (clothing goes back when  AOA unequipped)

    It is very doable however its a little messy because if you change your palette while the headgear is equipped you'd go back to the previous color you had

  6. 38 minutes ago, caspa said:

    How do you increase the chance rate to get the reward on the cluckers npc event? 
     

    
        if (.startcluck) {
            specialeffect2 EF_HIT3;
            switch(rand(15)) {
                case 0: npctalk "CLUUUUUUCK!!!"; sc_start SC_Sleep,10000,0; emotion e_gg; break;
                case 1: npctalk "Cluuuuuck!~"; break;
                case 2: sc_start SC_Sleep,10000,0; emotion e_omg;break;
                case 3: sc_start SC_Freeze,10000,0; break;
                case 4: npctalk "CLUUUUUUUUUCK!!!"; sc_start SC_Freeze,10000,0; break; emotion e_omg; break;
                case 5: sc_start SC_Sleep,10000,0; break;
                case 6: sc_start SC_Stone,10000,0; emotion e_gg; break;
                case 7: npctalk "CLUUUUUUCK!!!"; sc_start SC_Sleep,10000,0; emotion e_gg; break;
                case 8: npctalk "Cluck! CLUUUCK!!"; sc_start SC_Sleep,10000,0; emotion e_gg; break;
                case 9: sc_start SC_Stun,10000,0; break;
                case 10: sc_start SC_Sleep,10000,0; emotion e_gg; break;
                case 11: npctalk "Cluck! Cluck!"; emotion e_omg; break;
                case 12: sc_start SC_Stun,10000,0; break;
                case 13: npctalk "Cluuuuuck!~"; sc_start SC_Stun,10000,0; break;
                default:
                    if (rand(50) < 4) {
                        npctalk "Woof!... Wooff!...";
                        specialeffect2 EF_SPHERE;
                        announce "[Cluck Cluck Boom] : '" + strcharinfo(0) + "' squeezed out the prize, Well done!",bc_map,0x00FFFF;
                        getitem $cluck_item_id,$cluck_item_amount;
                        set .startcluck,0;
                    } else {
                        npctalk "Cluck! CLUUUCK!!";
                        sc_start SC_Freeze,10000,0; emotion e_omg;
                    }
                    break;
            }
            end;
    

     

     


    i don't understand the rand(50) < 4 part.. what does it mean?

    does it mean that in random number from 1 to 50 i have 4% chance of getting the item? or what? LOL! i don't understand T_T

    It means it generates a number at random 1~50 and if it lands on 1, 2, or 3 you win; You can either lower the rand(50) or increase the number less than to look for.

    • Upvote 1
  7. 9 minutes ago, immortalis said:

    @TheDerpySupport thank god you've replied to my inquiry you are a god sent. This kind of files are what I'm looking i think (Kek!) /no1

    Just one last thing can you give me some piece of examples so i can have a look on how to use your quest functions? thanks again

     

    I havent started writing quests yet; i took the time to learn how to create episodes for my project so i didnt have to later kinda like a lightbulb moment, it came to me and i pursued it until i got what i wanted lol

  8. 56 minutes ago, immortalis said:

    @sader1992 thank you again for your enlightening answers, i think i got the gist of it already as i already made my own custom quest but the only problem is how to make them appear on the other tabs, i searched the forums but i have no luck but as i've searched google i stumbled upon an answer in hercules forums but i think it is not applicable in rathena or maybe i'm only doing something wrong.

    1668555270_questpic.png.c739b0fca5c887a79528186fd42fb1e2.png

    Check out my files on it.
    https://github.com/TheDerpySupport/Untold-RO/tree/master/data/luafiles514/lua files/quest

  9. 51 minutes ago, rakuzas said:

    crash.png.601fe455c2f5e075765546445327cdd8.png


    Hello guys,

    How to fix this? New fresh server with 2017 client but got this error..  What is this exactly? Create new char.. Then crash.. Relogin again.. Got this error..


    And also.. Can you guys please guide me how to make 2018 client connect with rAthena server? Tried with 2018 client but it does not reading clientinfo.xml.. Keep said disconnect message..

    For the last part you have to set your packetversion in source and recompile your server;

    Àΰ£Á·(Job/Hair)/¸öÅë (Job)/

    So it's a female act file you're missing. As far as the costume_11 folder I have no clue but you probably need to upgrade your kRO files.

  10. 6 minutes ago, HeyC said:

    Hi.

    Guys, how can i make an npc count mutiple items before "goto" next part?

    For example:

    check if player has 10 jellopy and 10 feather, then "goto" GvI

    GvI:

    delitem 909,10;

    delitem 949,10;

    close;

    You'll use an AND statement designated by &&, you need it double like this, in your IF statement.

    if(countitem(1111) >= 10 && countitem(1111) >= 10 )

     

  11. 14 minutes ago, HeyC said:

    Hi,

    I've checked rAthena's wiki to learn how to add custom items, but I can't edit or decompile that iteminfo.lub. 
    I tried to use that Luadec and that Chunkspy from This tutorial, but still I can't decompile the item.

    Can anyone help me please?

    Try using this: https://github.com/zackdreaver/ROenglishRE

    It provides a completely translated iteminfo. All lub files in this are also Lua files renamed to lub so there is no need for luadec or all that nonsense

  12. 6 hours ago, IvanD said:

    Can anyone help me... I want an item ID: 1000 When worn  gives casting bar for 5 sec (if possible reduce cast bar time by 3 sec if worn ID:1001

    when item upg +1....it  cast heal skill and when used the character will say “HP 1” instead of  “Heal!”.

    when item upg +2....it  cast heal 2 skill and so on up to +20 "HP 2" .

     

    thank u I’m greatly happy to have this script thank u in advance!

    Part of this probably won't be doable as the client will always show the skillname being used along with !!. You would have to create custom skills, duplicates of heal, and change their name client side but even so they would still have the !! at the end of them

    • Like 1
  13. 15 minutes ago, Akkarin said:

    That too. Until we are sure that this app can do what we need it to do, it'll remain open for only staff to post projects. We can iron out any kinks when we open it up for members to post projects (which will all be hidden until a member of staff approves it). 

    Possibly make it available only to post projects by donators or staff? Seems like the most efficient thing to do

  14. 1 hour ago, Akkarin said:

    Well.. as i stated in the first post, the devs create the projects and goals and that members don't have this ability until we can decide on a method of screening so members aren't scammed.

    I believe more so that we need to devise a way so that there arent 100x the same feature request

  15. I think for something like that, it should be a requested thing. Member consults a Member of staff and that Staff member can bring it to every staff member's attention which can go from there

    3 minutes ago, AnnieRuru said:

    curious then ...

    let's say a member wants a feature implement ...
    and have enough cash want to kick start a campaign ...
    but the feature is not listed in the crowdfunding list ...
    so how members going to start a gathering for a support ?

    maybe add another subforum for the discussion ?

     

  16. 5 minutes ago, LordJasz said:

    Heello ppl.
    This is my 1st time posting on rAthena (sorry if the post is not on the right place).
    How can I remove the entire Achievements System in order to don't receive any message when doing anything.

    I checked on Hexed the option Hide Achievements Button but it still popup messages when killing mvp, reaching some level etc.

    I found a way to "disable" but the server always debug errors (and i want the server working 100% Healthy).

    THX ❤️

    You will need to remove the achievements server side
     

    rathena\db\(pre-)re\achievement_db.yml

    and client side

    RO\System\achievement_list.lub

     

    • Love 1
  17. 2 hours ago, behemothcze said:

    image.png.76cd200016fd0f4b619394e899c6b624.png

    i was puting some costume items then suddenlly the error show,  i download my files again( cleaned)  but i guess the client side got affected dunno why

     

    how to fix this please.

     

    Could you tell me what costumes you tried? You could be missing the lua files for the item or not have the sprites.

×
×
  • Create New...