question about data.ini and myserver.grf

banhelba2019

New member
Messages
200
Points
0
Emulator
soooo you can skip to the bold ... 

this is my data.ini and my game works fine and the features ive been opening up are working (stylist)

[Data]
1=english.grf
2=rdata.grf
3=data.grf
4=553-ClothesDyes-251HairDyes.grf
without the dyes grf i get errors on a clean download using stylist but i can place it at the bottom of my priorities

if i move my english.grf anywhere under my datas, my game goes korean 

OK  - I want to figure out how to add a skill....... i follow the steps thoroughly and im not sure what to do about "myserver.grf" with all my custom sprites and things.... i try just adding a new data.grf with only my .... "data/luafiles###/luafile/skillinfoz" then all the .lub files for the custom skills with the edits.... OK - turn it into a grf....  is this right? 

or do i copy everything.... from the clean kro data.grf and just make my own hercules.grf as a clone.... and just leave the data.grf at the bottom.... 

but then where do i keep the english... it has a skillinfoz folder too.....wont that over ride it.....cause i cant place it.... or do i just combine it with my hercules.grf.....

;_________________; 

When making "myserver.grf" do i make a clone of the clean kro data.grf OR just the directories im gonna use, For Sprite (¸ó½ºÅÍ) and my data/luafiles/Skillinfoz directory 

It seems like alot of work unpacking my entire data grf just to edit my lubs since i cant do it in the grf editor? I must be missing something... i dont even wanna think about adding sprites yet

im trying this now incase someone can answer me quicker :D

 
Last edited by a moderator:
ok so i make a new grf using my english translation and make my skillinfoz edits in there now i cant log in...

d232.jpg


i would make the edits in the skillinfoz in my data.grf but everything is NIL in notepad++

this is the same error that i got when i use directories alone... so thats answered 

inside the grf i used i made these edits to data/luafiles514/luafiles/skillinfoz/

skillid.lub

ECLAGE_RECALL = 3035,
    MG_EARTHBOLT = 8443,
skilldescript.lub

 },
    [SKID.MG_THUNDERSTORM] = {
        "Thunder Storm",
        "Max Level: 10",
        "^CC3399Requirement: Lightning Bolt 4^000000",
        "Skill Form: ^FF0000Offensive^000000",
        "Property: ^4cbb17Wind^000000",
        "Target: ^777777Ground^000000",
        "Description: ^777777Summon a storm of lightning on a",
        "targeted area to damage enemies within the",
        "Thunder Storm's range.^000000"
    },
    [SKID.MG_EARTHBOLT] = {
        "Earth Bolt",
        "Max Level:^777777 10 ^000000"
        "Type:^77777 Active ^000000"
        "SP Cost:^777777 20 + 5*SkillLV ^000000"
        "Target:^777777 1 Enemy ^000000"
        "Cast Time:^777777 2 sec ^000000"
        "Cool Down:^777777 1 sec ^000000"
        "Duration:^777777 Instant ^000000"
        "Effect: ^777777 Deals SkillLV bolts of Earth magic damage to one enemy, at 150% MATK per hit.^000000",
    },
skilltreeview.lub

   [19] = SKID.MG_FIREWALL,
    [20] = SKID.MG_EARTHBOLT
skillinfolist.lub

    },
    [SKID.ECL_SEQUOIADUST] = {
        "ECL_SEQUOIADUST",
        SkillName = "Yggdrasil Dust",
        MaxLv = 1,
        SpAmount = { 0 },
        bSeperateLv = false,
        AttackRange = { 7 }
    },
    [SKID.MG_EARTHBOLT] = {
        "MG_EARTHBOLT";
        SkillName = "Earth Bolt",
        MaxLv = 10,
        SpAmount = { 25, 30, 35, 40, 45, 50, 55, 60, 65, 70 },
        _NeedSkillList = {
            { SKID.MG_FIREBOLT, 5},
            { SKID.MG_LIGHTNINGBOLT, 5}
        },


and i made the changes to skill_db.conf since i couldnt find any of the text files the tutorial talks about

{
    Id: 10014
    Name: "GD_DEVELOPMENT"
    Description: "Permanent Development"
    MaxLevel: 1
    SkillInfo: {
        Guild: true
    }
    NumberOfHits: 0
},
{
    Id: 8443
    Name: "MG_EARTHBOLT"
    Description: "Earth Bolt"
    MaxLevel: 10
    Range: 9
    Hit: "BDT_MULTIHIT"
    SkillType: {
        Enemy: true
    }
    SkillInfo: {
        AllowReproduce: true
    }
    AttackType: "Magic"
    Element: "Ele_Earth"
    NumberOfHits: {
        Lv1: 1
        Lv2: 2
        Lv3: 3
        Lv4: 4
        Lv5: 5
        Lv6: 6
        Lv7: 7
        Lv8: 8
        Lv9: 9
        Lv10: 10
    }
    InterruptCast: true
    CastTime: {
        Lv1: 700
        Lv2: 1400
        Lv3: 2100
        Lv4: 2800
        Lv5: 3500
        Lv6: 4200
        Lv7: 4900
        Lv8: 5600
        Lv9: 6300
        Lv10: 7000
    }
    AfterCastActDelay: {
        Lv1: 1000
        Lv2: 1200
        Lv3: 1400
        Lv4: 1600
        Lv5: 1800
        Lv6: 2000
        Lv7: 2200
        Lv8: 2400
        Lv9: 2600
        Lv10: 2800
    }
    CoolDown: 0
    Requirements: {
        SPCost: {
            Lv1: 12
            Lv2: 14
            Lv3: 16
            Lv4: 18
            Lv5: 20
            Lv6: 22
            Lv7: 24
            Lv8: 26
            Lv9: 28
            Lv10: 30
        }
    }
}
 skill.c

case MH_ERASER_CUTTER:
        case MG_EARTHBOLT:
battle.c  

 case NPC_EARTHQUAKE:
                    skillratio += 100 + 100 * skill_lv + 100 * (skill_lv / 2);
                    break;
                case MG_EARTHBOLT:
                    skillratio += 50;
                    break;
skill.h

EL_STONE_RAIN,
    MG_EARTHBOLT = 8443,


my client diff is just recommened nemo things pulled from the git...except to read my lubs instead of luas... not sure how to post that if necessary 

this is making me sad :(  

\

like im making a pre renewal server anyways... im thinking just going to an older kro client where the tutorials might be a bit more similar?

 
Last edited by a moderator:
nevermind...... sorry for all the bumps but it works now, excluding spr and act files there was no need to modify the clients data/skillinfoz and i was just making errors for myself, the only files i had to modify were ones in the server, i havnt added my own sprites yet and for some reason one of my spells always misses 

 
Last edited by a moderator:
Back
Top