Jump to content

trickerytrickery

Members
  • Posts

    40
  • Joined

  • Last visited

Posts posted by trickerytrickery

  1. On 2/13/2021 at 7:58 PM, Lily said:

    Checked all the lua files and fixed an error in the shadowtable but this had no effect on the bug. However we found a way to solve the issue, in the end it didn't seem to have anything to do with our server files, instead its a compatibility issue with windows 10. Adjusting our client to run as windows XP service pack 3 got rid of the graphic bug entirely.  Now we need to check if there's a way for our launcher to run the exe in compatibility mode  by default. Otherwise every player would have to adjust this individually.

    Autostarting and Forcing ".exe" into Comp. mode requires a entry in the registry.

    As 90% of people scream when launchers or clients get called out from windows defender or other anti virus programs, i´d rather just have people who have the issue enable it for themselfs.

    Its a common enough procedure in ragnarok anways.

  2. As idLaz said in /src/config/core.h

    Recompile after the Change.

    /// Uncomment to enable skills damage adjustments
      /// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the
      /// damage rate of specified skills.
     

    //#define ADJUST_SKILL_DAMAGE

    To

    #define ADJUST_SKILL_DAMAGE

     

     

     

     

  3. Keep in Mind that you have to Enable Skill_Damage_DB.txt

     

    src/config/core.h

     

    Quote
    
    /// Uncomment to enable skills damage adjustments
    /// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the
    /// damage rate of specified skills.
    //#define ADJUST_SKILL_DAMAGE

    Recompile After you comment it in again.

  4. /db/re/skill_db.txt

    2256,11,6,1,-1,0,0,5,1,no,0,0,0,weapon,0,0x4000, NC_BOOSTKNUCKLE,Boost Knuckle

     

     

    // 16 inf3 (skill information 3):
    // 0x00001 - skill ignores land protector
    // 0x00002 - free
    // 0x00004 - usable skills while hiding
    // 0x00008 - skill that can be use while in dancing state
    // 0x00010 - skill that could hit emperium
    // 0x00020 - skill ignores SC_STASIS
    // 0x00040 - skill blocked by kagehumi
    // 0x00080 - skill range affected by AC_VULTURE
    // 0x00100 - skill range affected by GS_SNAKEEYE
    // 0x00200 - skill range affected by NJ_SHADOWJUMP
    // 0x00400 - skill range affected by WL_RADIUS
    // 0x00800 - skill range affected by RA_RESEARCHTRAP
    // 0x01000 - skill that does not affect user that has NC_HOVERING active
    // 0x02000 - skill that can be using while riding warg
    // 0x04000 - skill that can be used while on Madogear
    // 0x08000 - skill that can be used to target while under SC__MANHOLE effect
    // 0x10000 - skill that affects hidden targets
    // 0x20000 - skill that affects SC_GLOOMYDAY_SK
    // 0x40000 - skill that is affected by SC_DANCEWITHWUG

    // 0x80000 - skill blocked by RA_WUGBITE

  5. I can Import the table without problem, however it seems it cant fit key´s in right. (thus i cant really edit it afterwards)

     

    '\xEA\xB2\x8C\xED\x8E\x 9C...' for column 'INFO' at row 1

    ERROR 1366 (HY000): Incorrect integer value

    Worked like a charm 2 Years Ago (Last Server), what happened here?

     

    #Edit 1

    Found out that the Korean Names of the Geffen Magic Tournament Mobs seem to caused atleast one of this Errors

    However "Still no „unique“) column"

    Unbenannt.JPG

     

    #Edit 2

    Ive just added the unique key

    ALTER TABLE `mob_skill_db_re` ADD UNIQUE (`MOB_ID`)

    To Test it, breaks it ofc since the unique is MOB_ID and it cant use more then one per mob, but now it works

    so its def. the unique key

     

    Soo, i guess i have to create another column just for a unique key ?

    Why guys, why ?

  6. Where in the Source does it Calculate the Extra Bonus for Rebirthing or being Doram?

     

    Basehpsp Tables and JobDB1 are all the same, however the 1,25x HP for Rebirth still Counts in, same goes for Dorams 1,5x HP Rate

     

    (I want to disable the Bonus HP% Rebirth Classes and Dorams geht)

  7. Oi Guys,

     

    Anyone have a quick grasp on how i could do the old Swichteroo on Client Sprites?

     

    I want, regardless of what weapon the Player has equipped in his Weapon Slot, the "Unarmed, or Fist" Sprites for everything (Attacking, etc etc.)

     

    ##

    Edit, Already got it.

  8. Not Really, since the Array is not extended in a Static way.

    However, i did find a way though.

    So, all good.

    ./close plox

     

    Its not all good.

    It looks all fine and dandy at first glance, but doesnt work

     

    Can anybody help out make the Enchanter from the first Post only for Shadow Armor, Shadow Weapon and Shadow Boots?

  9. Hello Guys, Ive found the Enchanter from Skorm and would like to use it for Shadow Gear :

     

    Im not quite sure whats happening here, befor the eq array way scrambled - it doesnt recognize the shadow Armor, garment etc.

    Works fine with Costume Mid etc.

     

    (Smokie Card is just for a test)

    prontera,156,191,0      script  Special Enchanter       4_PORING,{
            mes .npc$;
            mes "Hello there!";
            mes "I can enchant your items,";
            mes "for a small fee of "+.pric+"z.";
            emotion e_no1,0; next;
            if(select("Yes:No")&2) { mes .npc$; mes "Alright, thanks anyways!"; close; }
            if(Zeny<.pric) { mes .npc$; mes "I'm sorry you don't have enough Zeny, please come back later."; close; }
    
            mes .npc$;
            mes "Which item would you like to enchant?"; next;
            while(set(.@a,.@a+1)<=.e_len) {
                    if(getequipid(.@a)>-1)
                            set .@menu$, .@menu$+.eqp$[.@a-1]+"- [^0000FF"+getitemname(getequipid(.@a))+"^000000]:";
                    else set .@menu$, .@menu$+"^adb4be"+.eqp$[.@a-1]+"- [Empty]^000000:";
            }
    
            select(.@menu$);
            set .@eq_loc, @menu;
            set .@eq_itm, getequipid(.@eq_loc);
            if(.@eq_itm<0) {
                    mes .npc$;
                    mes "Hmm, I don't think you have anything equipped there.";
                    close;
            }
    
            set .@menu$, "";
            set .@a, .en_orb[0];
            while((set(.@a,.@a+1)-1)<=.en_orb[1])
                    if(getiteminfo(.@a-1,2)>-1)
                            if(set(.@c,countitem(.@a-1))) {
                                    set .@menu$, .@menu$+getitemname(.@a-1)+" x"+.@c+":";
                                    set .@b,.@b+1; set .@item[.@b], .@a-1;
                            }
    
            if(.@menu$=="") {
                    mes .npc$;
                    mes "Hmm, you don't seem to have any enchantment orbs.";
                    close;
            }
    
            mes .npc$;
            mes "Please, select an enchantment from the menu."; next;
            select(.@menu$);
            set .@itm, .@item[@menu];
    
            set .@menu$, ""; set .@a, 0;
            while((set(.@a,.@a+1)-1)<4) {
                    setd(".@crd"+.@a, getequipcardid(.@eq_loc,.@a-1));
                    if(getequipcardid(.@eq_loc,.@a-1))
                            set .@menu$, .@menu$+.@a+.crd_c$[.@a-1]+" Slot- [^a92435"+getitemname(getequipcardid(.@eq_loc,.@a-1))+"^000000]:";
                    else set .@menu$, .@menu$+.@a+.crd_c$[.@a-1]+" Slot- [^30ad25Empty^000000]:";
            }
    
            mes .npc$;
            mes "Select a slot."; next;
            select(.@menu$);
            set .@eqrf,     getequiprefinerycnt(.@eq_loc);
            if(getequipcardid(.@eq_loc,@menu-1)) {
                    mes .npc$;
                    mes "Would you like me to remove this card?"; next;
                    if(select("Yes:No")&2) { mes .npc$; mes "Alright, thanks anyways!"; close; }
                    getitem getequipcardid(.@eq_loc,@menu-1),1;
                    delitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@crd1, .@crd2, .@crd3, .@crd4;
                    setd(".@crd"+@menu, 0);
                    getitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@crd1, .@crd2, .@crd3, .@crd4;
            }
    
            if(rand(100)>.perc) {
                    mes .npc$;
                    mes "I'm sorry but I've failed you!";
                    misceffect 155; emotion e_sob,0;
                    set Zeny,Zeny-.pric;
                    close;
            }
    
            set Zeny,Zeny-.pric;
            delitem .@itm,1;
            delitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@crd1, .@crd2, .@crd3, .@crd4;
            setd(".@crd"+@menu, .@itm);
            getitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@crd1, .@crd2, .@crd3, .@crd4;
            misceffect .efet;
            emotion e_no1,0;
            mes .npc$;
            mes "All done!";
            equip .@eq_itm;
            close;
    
    //NPC Constants
            OnInit:
                    //=-=-=-=-=-=-=Configuration=-=-=-=-=-=-=
                    set      .npc$  ,       "[^0000FFEnchant Expert^000000]"; // NPC Name
                    set      .pric  ,       1000000;                          // Price
                    set      .efet  ,       154;                              // Effect Number
                    set      .perc  ,       rand(50,80);                      // Percent
                    setarray .crd_c$,       "st", "nd", "rd", "th";           // Count
                    setarray .en_orb,       4044, 4044;                       // Range of IDs selected for enchanting.
                    setarray .eqp$  ,       "Shadow Armor", "Shadow Shoes", "Shadow Garment";
                    set      .e_len ,       getarraysize(.eqp$);
                    //=-=-=-=-=-=-=-=-Skorm-=-=-=-=-=-=-=-=-=
    }

     

     

    Found out that if you extend the Array 

    setarray .eqp$  ,    "1", "2", "3", "4", "5", "6", "7", "8","9", "10", "11", "12","13","14","15","16","17","18";
     

    It shows the Shadow Armor etc.

    Howevery does anyone have a quick fix to only display Shadow Armor/Manteau/Boots in the Menu ?

    The array needs to Start at 15, somehow.

  10. 6 minutes ago, Rizta said:

    HOLY! YOU ARE AMAZING! 

     

    Problem solved, someone can close, archive, kill topic and kill me after that. Thanks a lot for your time guys ❤️

    Np, gl with your server mate.

  11. 7 minutes ago, Rizta said:

    im sure i do it like in options, inside game but i really cant remember haha

     

     

     

    The client command is /font to switch between showing names above/below characters.

    /showname also changes the way names are displayed (bolder, with guild title above name; guild and part names are hidden).

    • MVP 1
  12. 27 minutes ago, crazyarashi said:

    Try putting slot on shadow gears and make custom cards to go in the costume slots.

    That is not supported, you can Slot the Gear ofc and make Cards for the Slots, but you cant actually Slot the Cards in the Slot.

  13. As the Title Says :

     

    As of right now, there is no Official Support for Cards in Shadow/Costume Gear as far as i know.

    Ive looked up some Workarounds, however none of them seem to work or are "clean"

     

    Anyone got some Ideas how I could make it work ?

  14. Helloe Matey´s.

     

    I´ve been wondering if there is quite " a Easy Solution " with adding the Feature of Implementing Cards in Costume Gear

    I´ve already looked up RisenX´s variation of the Refine/Cards Diff/Patch, However well, its from 2012 and doesnt seem to be working.

    Right now im trying to duplicate the Intake Card Code and manually inserting it for the Custome, but well, its quite a hassle : /

     

    Anyone smarter than me here?

×
×
  • Create New...