Jump to content

Kido

Members
  • Posts

    1445
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by Kido

  1. reloadatcommand: "Reload atcommand settings."
    reloadbattleconf: "Reload battle settings."
    reloaditemdb: "Reload item database."
    reloadmobdb: "Reload monster database."
    reloadmotd: "Reload Message of the Day."
    reloadmsgconf: "Reload message configuration."
    reloadpacketdb: "Reload packet database."
    reloadpcdb: "Reload player settings."
    reloadquestdb: "Reload quest database."
    reloadscript: "Reload all scripts."
    reloadskilldb: "Reload skills definition database."
    reloadstatusdb: "Reload status settings."
    reload: "Params: <type>\n" "Reload a database or configuration file.\n"
    	"   itemdb                mobdb          skilldb\n"
    	"   atcommand       battleconf     statusdb\n"
    	"   pcdb                    motd             script\n"
    	"   questdb              msgconf       packetdb\n"
    

     

    yeah sir i know that but i want also to know wich .txt exactly does it reload with that command o:

  2.  

    26085,Black_Furry_Coat,Black_Furry_Coat,5,20,,,,10,,1,0xFFFFFFFE,7,2,4096,,70,0,1036,{ bonus bInt,1; bonus bVit,1; bonus bStr,1; bonus bAgi,1; bonus bDex,1; bonus bLuk,1; },{},{}
    
     

     

     

    the bonus didnt work

     

    bump

     

    the bonus part it's ok

    take care on checking this part:

     

    26085,Black_Furry_Coat,Black_Furry_Coat,5,20,,,,10,,1,0xFFFFFFFE,7,2,4096,,70,0,1036,{}.{},{}

     

    also, make sure to use @reloaditemdb after you save the item_db2.txt and the WinSCP stops saving :)

  3. y

     

     

    if you don't get it, just empty your guild tables.

     

    Sir if im not mistaken, all i need to delete then are the information ins thos tables right?

     

    HXJOAIb.png

     

    sorry if im asking something pretty simple, but im so unskilled on the whole thing that i have to make sure what im about to do directly

     

    thank you so much for spending your time helping me :3

     

    yes, empty those tables. not delete the table.. ok? :)

     

    done sir, do i have to recompile or @reloadscript?

    thanks Sir it worked perfectly! ^_^ i also had to recompile, thank you again!

  4. if you don't get it, just empty your guild tables.

     

    Sir if im not mistaken, all i need to delete then are the information ins thos tables right?

     

    HXJOAIb.png

     

    sorry if im asking something pretty simple, but im so unskilled on the whole thing that i have to make sure what im about to do directly

     

    thank you so much for spending your time helping me :3

  5. i think its because the some of the guilds have 10 or more members before you reduce the max members of the guild, i suggest to drop all the guilds in your database.

     

    you mean, delete all guild, guidl_alliance, guild_castle, guild_expulsion, guild_member, guild_position, guild_skill and guild_storage from my SQL?

  6. I reduced the capacity of guildsman from 14 to 9 and now my guilds doe snot have any skills or can not be used at all becasu ppl can not recruit ):

     

    when they change position or nicknames they reset D:!

    they dont ssave, like the pic will show

    Fyx5AHz.png

     

    even the emblem does now show ):

    g9cc.png

    it resets )

     

    skills too ):

    r4xs.png

     

     

    i do not know why, the last time i reduced the capacity of players worked pretty good

     

    any idea how to fix it? please ): 

  7. Do you want to enable only one card not two?

     

    i want to make allow the use of max of 2 of selected mvp card, they can be the same or they can be combined, for example

     

    1 ifrit + 1 kiel =  ok

    1 ifrit + 1 ifrit = ok

    1 ifrit + 1 kiel + 1 ifrit = both 3 cards loose its effects or all items are un-equiped

     

    All mvp cards tha have the "callfunc "Card";" script like the ifrit one o:!

    4430,Ifrit_Card,Ifrit Card,6,20,,10,,,,,,,,136,,,,,{ bonus bBaseAtk,(JobLevel/1); bonus bCritical,(JobLevel/8); bonus bHit,(JobLevel/5); bonus bAspdRate,50; bonus3 bAutoSpellWhenHit,"NPC_EARTHQUAKE",2,10; },{ callfunc "Card"; },{}
    
  8. -   script    Card    -1,{
        setarray .Card[0],4357,4359,4361,4363,4365,4367,4457,4463,4462,4459,4456,4458,4441,4408,4430,4263,4403,4419,4376,4399,4407,4451;
        for ( set .@i,0; .@i < getarraysize(.Card); set .@i,.@i+1 ) {
            if ( isequippedcnt(.Card[.@i]) > 2 ) {
            dispbottom "Superaste el limite de 2 cartas restringidas, por favor usa maximo dos.";
            nude;
            }
        }
        return;
    }
    

    Try this? Why you are using function?

    nope still not working, i were abble to equip 2 hw card and 2 ifrits (testing of course with my gm) 

    -	script	Card	-1,{
        setarray .Card[0],4357,4359,4361,4363,4365,4367,4457,4463,4462,4459,4456,4458,4441,4408,4430,4263,4403,4419,4376,4399,4407,4451;
        for ( set .@i,0; .@i < getarraysize(.Card); set .@i,.@i+1 ) {
            if ( isequippedcnt(.Card[.@i]) > 2 ) {
            dispbottom "Superaste el limite de 2 cartas restringidas, por favor usa maximo dos.";
            nude;
            }
        }
        return;
    }
    

    i found that script on google an started to use it becaus im unskilled on scripting ): and i requested befor for an mvp card restrict but the psot was kinda ignored

  9. Edited my previous post. Change end to return. Sorry i don't have the time to check on my local server so bare with me :)

     

    sorry sir the problem persists, nothing happens ):

    3t3c.png

    function	script	Card	{
    	setarray .Card[0],4357,4359,4361,4363,4365,4367,4457,4463,4462,4459,4456,4458,4441,4408,4430,4263,4403,4419,4376,4399,4407,4451;
    	set .size, getarraysize(.Card);
    	for ( set .@i,0; .@i < .size; set .@i,.@i+1 ) {
    		if ( isequippedcnt(.Card[.@i]) > 2 ) {
    		dispbottom "Superaste el limite de 2 cartas restringidas, por favor usa maximo dos.";
    		nude;
    		}
    	}
    	return;
    }
    

    sorry for bother you this much

  10. Try this one instead : 

    function    script    Card    {
        setarray .Card[0],4357,4359,4361,4363,4365,4367,4457,4463,4462,4459,4456,4458,4441,4408,4430,4263,4403,4419,4376,4399,4407,4451;
        set .size, getarraysize(.Card);
        for ( set .@i,0; .@i < .size; set .@i,.@i+1 ) {
            if ( isequippedcnt(.Card[.@i]) > 2 ) {
                dispbottom "Superaste el limite de 2 cartas restringidas, por favor usa maximo dos.";
                nude;
            }
        }
        end;
    }
    

     

    it did not work ):

     

    this how i have it on my restricted cards

     

    4430,Ifrit_Card,Ifrit Card,6,20,,10,,,,,,,,136,,,,,{ bonus bBaseAtk,(JobLevel/1); bonus bCritical,(JobLevel/8); bonus bHit,(JobLevel/5); bonus bAspdRate,50; bonus3 bAutoSpellWhenHit,"NPC_EARTHQUAKE",2,10; },{ callfunc "Card"; },{}
    

    What's wrong ):?

     

    function	script	Card	{
    setarray .Card[0],4357,4359,4361,4363,4365,4367,4457,4463,4462,4459,4456,4458,4441,4408,4430,4263,4403,4419,4376,4399,4407,4451;
    set .size, getarraysize(.Card);
    for ( set .@i,0; .@i < .size; set .@i,.@i+1 ) {
    if ( isequippedcnt(.Card[.@i]) > 2 ) {
    dispbottom "Superaste el limite de 2 cartas restringidas, por favor usa maximo dos.";
    nude;
    }
    }
    end;
    }
    

    i puted tabs and everything ):

  11. Well i'm trying to restrict mvp card

    where you may use a limite of 2 of the marked as restricted cards

    and if you equip more han 2, you will un-equip all

    this is the script im using

    function	script	Card	{
    setarray .Card[0],4357,4359,4361,4363,4365,4367,4457,4463,4462,4459,4456,4458,4441,4408,4430,4263,4403,4419,4376,4399,4407,4451;
    for( set .@i,0; .@i<getarraysize(.Card); set .@i,.@i+1 ) {
    	if ( isequipped(.Card[.@i]) == 1 ) {
    		set @Card,@Card+1;
    		if ( @Card > 2){
    		dispbottom "Superaste el limite de 2 cartas restringidas, por favor usa maximo dos.";
    		set @Card,0;
    		nude;
    		}
    	}
    }
    end;
    }
    

    The problem is, that when i run that script, i can NOT use 2 mvp cards of the restricted IDs, when i do, everything is un-equiped. Well the main problem is that even if i use 1 of the restricted mvp cards, anyway it will un-equip everything.

     

    I just want to make it un-equip your armos if you use more than 2 of the restricted mvp cards, but this just won't happen, i also tryied to define it more than 3         if ( @Card > 3){ but same problema.

    Please help ):

  12. I was searching for this control panel with the only Clue that this control panel was made from a guy

    nicknamed "Zeph" i totally don't know who is she or he

    i did not found a thing on google ):

    so i was wondering guys if you can help me to get this cool and awesome control panel

    i just love it

    i love the feature that shows how many mvp cards are on the server

    here is a pic

    k0h.png

    well thank you for reading this

    my players and i will always love this help

    thanks again :3

  13. i dont sure at 100%, but try make like this:

    26329,Thanatos_Dragon,Thanatos_Dragon,5,,,0,,0,,1,0xFFFFFFFF,7,63,513,,1,1,1248,{ callfunc "bonus_parametr1"; },{ callfunc "bonus_parametr2"; },{ }

    function script bonus_parametr1 { bonus bIntravision,0; bonus bAllStats,15; bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bLongAtkRate,30; bonus bMatkRate,30; bonus2 bResEff,Eff_Blind,10000; bonus2 bResEff,Eff_Sleep,10000; bonus2 bResEff,Eff_Poison,10000; bonus2 bResEff,Eff_Freeze,10000; bonus2 bResEff,Eff_Silence,10000; bonus2 bResEff,Eff_Stun,10000; bonus2 bResEff,Eff_Curse,10000; bonus2 bResEff,Eff_Confusion,10000; bonus2 bResEff,Eff_Stone,10000; if(isequipped(2647)) bonus bAllStats,10; if(isequipped(4399)) bonus bDef,30; if(isequipped(4399)) bonus bFlee,10; end;}function script bonus_parametr2 { if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief||(BaseJob==Job_Taekwon&&Class!=Job_Soul_Linker)) { bonus2 bSkillAtk,"KN_BOWLINGBASH",10; bonus2 bSkillAtk,"PA_SACRIFICE",10; bonus2 bSkillAtk,"SG_SUN_WARM",10; bonus2 bSkillAtk,"SG_MOON_WARM",10; bonus2 bSkillAtk,"SG_STAR_WARM",10; bonus2 bSkillAtk,"413",10; bonus2 bSkillAtk,"415",10; bonus2 bSkillAtk,"417",10; bonus2 bSkillAtk,"419",10; bonus2 bSkillAtk,"421",10; bonus bInt,100; bonus bMatkRate,-70; end; } else if(BaseClass==Job_Mage||BaseClass==Job_Acolyte||class==Job_Ninja||class==Job_Soul_Linker) { bonus bMatkRate,15; bonus bMaxHPrate,10; } else if(BaseClass==Job_Archer||BaseClass==Job_Gunslinger) { bonus bLongAtkRate,15; end; } else if(BaseJob==Job_Novice||BaseJob==Job_SuperNovice) { bonus bMaxHP,92000; bonus bMaxSP,5000; end; }}


    the bonus of the second parameter is not working D:! the other ones works fine!


    Edit:
    finally it worked, i had to take the script from function 2 to function 1, it ended like this, thank you so much!

    function script bonus_parametr1 {
    bonus bIntravision,0;
    bonus bAllStats,15;
    bonus bMaxHPrate,20;
    bonus bMaxSPrate,20;
    bonus bLongAtkRate,30;
    bonus bMatkRate,30;
    bonus2 bResEff,Eff_Blind,10000;
    bonus2 bResEff,Eff_Sleep,10000;
    bonus2 bResEff,Eff_Poison,10000;
    bonus2 bResEff,Eff_Freeze,10000;
    bonus2 bResEff,Eff_Silence,10000;
    bonus2 bResEff,Eff_Stun,10000;
    bonus2 bResEff,Eff_Curse,10000;
    bonus2 bResEff,Eff_Confusion,10000;
    bonus2 bResEff,Eff_Stone,10000;
    if(isequipped(2647)) bonus bAllStats,10;
    if(isequipped(4399)) bonus bDef,30;
    if(isequipped(4399)) bonus bFlee,10;
    if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief||(BaseJob==Job_Taekwon&&Class!=Job_Soul_Linker)) {
    bonus2 bSkillAtk,"KN_BOWLINGBASH",10;
    bonus2 bSkillAtk,"PA_SACRIFICE",10;
    bonus2 bSkillAtk,"SG_SUN_WARM",10;
    bonus2 bSkillAtk,"SG_MOON_WARM",10;
    bonus2 bSkillAtk,"SG_STAR_WARM",10;
    bonus2 bSkillAtk,"413",10;
    bonus2 bSkillAtk,"415",10;
    bonus2 bSkillAtk,"417",10;
    bonus2 bSkillAtk,"419",10;
    bonus2 bSkillAtk,"421",10;
    bonus bInt,100;
    bonus bMatkRate,-70;
    end;
    }
    else if(BaseClass==Job_Mage||BaseClass==Job_Acolyte||class==Job_Ninja||class==Job_Soul_Linker) {
    bonus bMatkRate,15;
    bonus bMaxHPrate,10;
    }
    else if(BaseClass==Job_Archer||BaseClass==Job_Gunslinger) {
    bonus bLongAtkRate,15;
    end;
    }
    else if(BaseJob==Job_Novice||BaseJob==Job_SuperNovice) {
    bonus bMaxHP,92000; bonus bMaxSP,5000;
    end;
    }
    }
  14. Well i want to combine this script, actually it works pretty good

    26329,Thanatos_Dragon,Thanatos_Dragon,5,,,0,,0,,1,0xFFFFFFFF,7,63,513,,1,1,1248,{ bonus bIntravision,0; bonus bAllStats,15; bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bLongAtkRate,30; bonus bMatkRate,30; bonus2 bResEff,Eff_Blind,10000; bonus2 bResEff,Eff_Sleep,10000; bonus2 bResEff,Eff_Poison,10000; bonus2 bResEff,Eff_Freeze,10000; bonus2 bResEff,Eff_Silence,10000; bonus2 bResEff,Eff_Stun,10000; bonus2 bResEff,Eff_Curse,10000; bonus2 bResEff,Eff_Confusion,10000; bonus2 bResEff,Eff_Stone,10000; if(isequipped(2647)) bonus bAllStats,10; if(isequipped(4399)) bonus bDef,30; if(isequipped(4399)) bonus bFlee,10; },{ specialeffect2 454; specialeffect2 409; specialeffect2 668; },{ }
    

    With this other script

    if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief||(BaseJob==Job_Taekwon&&Class!=Job_Soul_Linker)) bonus2 bSkillAtk,"KN_BOWLINGBASH",10; bonus2 bSkillAtk,"PA_SACRIFICE",10; bonus2 bSkillAtk,"SG_SUN_WARM",10; bonus2 bSkillAtk,"SG_MOON_WARM",10; bonus2 bSkillAtk,"SG_STAR_WARM",10; bonus2 bSkillAtk,"413",10; bonus2 bSkillAtk,"415",10; bonus2 bSkillAtk,"417",10; bonus2 bSkillAtk,"419",10; bonus2 bSkillAtk,"421",10; bonus bInt,100; bonus bMatkRate,-70; else if(BaseClass==Job_Mage||BaseClass==Job_Acolyte||class==Job_Ninja||class==Job_Soul_Linker) bonus bMatkRate,15; bonus bMaxHPrate,10; else if(BaseClass==Job_Archer||BaseClass==Job_Gunslinger) bonus bLongAtkRate,15; else if(BaseJob==Job_Novice||BaseJob==Job_SuperNovice) { bonus bMaxHP,92000; bonus bMaxSP,5000; }
    

    So, when i do it, i have this in the end, but it does not work

    26329,Thanatos_Dragon,Thanatos_Dragon,5,,,0,,0,,1,0xFFFFFFFF,7,63,513,,1,1,1248,{ bonus bIntravision,0; bonus bAllStats,15; bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bLongAtkRate,30; bonus bMatkRate,30; bonus2 bResEff,Eff_Blind,10000; bonus2 bResEff,Eff_Sleep,10000; bonus2 bResEff,Eff_Poison,10000; bonus2 bResEff,Eff_Freeze,10000; bonus2 bResEff,Eff_Silence,10000; bonus2 bResEff,Eff_Stun,10000; bonus2 bResEff,Eff_Curse,10000; bonus2 bResEff,Eff_Confusion,10000; bonus2 bResEff,Eff_Stone,10000; if(isequipped(2647)) bonus bAllStats,10; if(isequipped(4399)) bonus bDef,30; if(isequipped(4399)) bonus bFlee,10; if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief||(BaseJob==Job_Taekwon&&Class!=Job_Soul_Linker)) bonus2 bSkillAtk,"KN_BOWLINGBASH",10; bonus2 bSkillAtk,"PA_SACRIFICE",10; bonus2 bSkillAtk,"SG_SUN_WARM",10; bonus2 bSkillAtk,"SG_MOON_WARM",10; bonus2 bSkillAtk,"SG_STAR_WARM",10; bonus2 bSkillAtk,"413",10; bonus2 bSkillAtk,"415",10; bonus2 bSkillAtk,"417",10; bonus2 bSkillAtk,"419",10; bonus2 bSkillAtk,"421",10; bonus bInt,100; bonus bMatkRate,-70; else if(BaseClass==Job_Mage||BaseClass==Job_Acolyte||class==Job_Ninja||class==Job_Soul_Linker) bonus bMatkRate,15; bonus bMaxHPrate,10; else if(BaseClass==Job_Archer||BaseClass==Job_Gunslinger) bonus bLongAtkRate,15; else if(BaseJob==Job_Novice||BaseJob==Job_SuperNovice) { bonus bMaxHP,92000; bonus bMaxSP,5000; } },{ specialeffect2 454; specialeffect2 409; specialeffect2 668; },{ }
    

    I also tryied this, to put a { } after each if bonus, but that did not work too

    26329,Thanatos_Dragon,Thanatos_Dragon,5,,,0,,0,,1,0xFFFFFFFF,7,63,513,,1,1,1248,{ bonus bIntravision,0; bonus bAllStats,15; bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bLongAtkRate,30; bonus bMatkRate,30; bonus2 bResEff,Eff_Blind,10000; bonus2 bResEff,Eff_Sleep,10000; bonus2 bResEff,Eff_Poison,10000; bonus2 bResEff,Eff_Freeze,10000; bonus2 bResEff,Eff_Silence,10000; bonus2 bResEff,Eff_Stun,10000; bonus2 bResEff,Eff_Curse,10000; bonus2 bResEff,Eff_Confusion,10000; bonus2 bResEff,Eff_Stone,10000; if(isequipped(2647)) bonus bAllStats,10; if(isequipped(4399)) bonus bDef,30; if(isequipped(4399)) bonus bFlee,10; if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief||(BaseJob==Job_Taekwon&&Class!=Job_Soul_Linker)) { bonus2 bSkillAtk,"KN_BOWLINGBASH",10; bonus2 bSkillAtk,"PA_SACRIFICE",10; bonus2 bSkillAtk,"SG_SUN_WARM",10; bonus2 bSkillAtk,"SG_MOON_WARM",10; bonus2 bSkillAtk,"SG_STAR_WARM",10; bonus2 bSkillAtk,"413",10; bonus2 bSkillAtk,"415",10; bonus2 bSkillAtk,"417",10; bonus2 bSkillAtk,"419",10; bonus2 bSkillAtk,"421",10; bonus bInt,100; bonus bMatkRate,-70; } else if(BaseClass==Job_Mage||BaseClass==Job_Acolyte||class==Job_Ninja||class==Job_Soul_Linker) { bonus bMatkRate,15; bonus bMaxHPrate,10; } else if(BaseClass==Job_Archer||BaseClass==Job_Gunslinger) bonus bLongAtkRate,15; else if(BaseJob==Job_Novice||BaseJob==Job_SuperNovice) { bonus bMaxHP,92000; bonus bMaxSP,5000; } },{ specialeffect2 454; specialeffect2 409; specialeffect2 668; },{ }
    

    I would love if some one of you guys can help me to make it work pleasee

     

    thanks again !

×
×
  • Create New...