Jump to content

Yugosh

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by Yugosh

  1. hmm error?

    my server write like this

    script error on db/item_db2.txt line 1188

    parse_simpleexpr: unmatch ')'

    * 1188 : { if ((Class==Job_Assassin_Cross) || (Class==Job_Champion) || (Class==Job_Clown) || (Class==Job_Gypsy) || (Class==Job_Star_Gladiator) || (Class==Job_Stalker)) bonus bAgi,285; bonus bDex,285; if ((Class==Job_Lord_Knight) || (Class==Job_Paladin) || (Class==Whitesmith) || (Class==Creator)) bonus bDex,285; bonus bStr,285; if ((Class==Job_High_Wizard || (Class==Job_Professor) || (Class==Job_Super_Novice) || (Class==Job_High_Priest)) 'b'onus bAgi,285; bonus bInt,285; if ((Class==Job_Gunslinger) || (Class==Job_Sniper) bonus bDex,350; if (Class==Job_Ninja)) bonus bStr,230; bonus bAgi,230; bonus bDex,230; }

    help please need help :(

    Help me please master :(

    need help :(

    i dint get any effect.

    24099,Black_Flaming_Fairy_Wings,Black Flaming Fairy Wings,5,20,,100,,0,,1,0xFFFFFFFF,31,2,1,,0,0,32003,{ if ((Class==Job_Assassin_Cross) || (Class==Job_Champion) || (Class==Job_Clown) || (Class==Job_Gypsy) || (Class==Job_Star_Gladiator) || (Class==Job_Stalker)) bonus bAgi,285; bonus bDex,285; if ((Class==Job_Lord_Knight) || (Class==Job_Paladin) || (Class==Whitesmith) || (Class==Creator)) bonus bDex,285; bonus bStr,285; if ((Class==Job_High_Wizard || (Class==Job_Professor) || (Class==Job_Super_Novice) || (Class==Job_High_Priest)) bonus bAgi,285; bonus bInt,285; if ((Class==Job_Gunslinger) || (Class==Job_Sniper)) bonus bDex,350; if (Class==Job_Ninja) bonus bStr,230; bonus bAgi,230; bonus bDex,230; },{},{}
    

    somebody can help me??

  2. hello master :)

    i need help in item_db2

    i use custom Item n want make a effect like this.

    Assassin,Champion,Clown/Gypsy,Star Gladiator,Stalker]

    +285 Dex +285 Agi

    [Lord Knight,Paladin,Whitesmith,Creator]

    +285 Dex +285 Str

    [Mages,Super Novice,Priests]

    +285 Agi +285 Int

    [Gunslinger,Snipers]

    +350 Dex

    [Ninja]

    +230 All Stat no Vit no Luk no Int

    Effect Like Soc**tyRO

    now i try the code like this

    24099,Black_Flaming_Fairy_Wings,Black Flaming Fairy Wings,5,20,,100,,0,,1,0xFFFFFFFF,31,2,1,,0,0,32003,{ if (BaseClass==Job_Assassin_Cross || BaseClass==Job_Champion || BaseClass==Job_Clown || BaseClass==Job_Gysp || BaseClass==Job_Star_Gladiator || BaseClass==Job_Stalker ) {bonus bAgi,285; bonus bDex,285; if (BaseClass==Job_Lord_Knight || BaseClass==Job_Paladin || BaseClass==Whitesmith || BaseClass==Creator) { bonus bDex,285; bonus bStr,285; if (BaseClass==Job_High_Wizard || BaseClass==Job_Professor || BaseClass==Job_Supernovice || BaseClass==Job_High_Priest) {bonus bAgi,285; bonus bInt,285; if (BaseClass==Job_Gunslinger || BaseClass==Job_Sniper) {bonus bDex,350; if (BaseClass==Job_Ninja) {bonus bStr,230; bonus bAgi,230; bonus bDex,230; } } } } } },{},{}
    

    but that's didnt get anything effect

    and if i use like this

    24099,Black_Flaming_Fairy_Wings,Black Flaming Fairy Wings,5,20,,100,,0,,1,0xFFFFFFFF,31,2,1,,0,0,32003,{ if (BaseClass==Job_Assassin_Cross || BaseClass==Job_Champion || BaseClass==Job_Clown || BaseClass==Job_Gysp || BaseClass==Job_Star_Gladiator || BaseClass==Job_Stalker ) bonus bAgi,285; bonus bDex,285; if (BaseClass==Job_Lord_Knight || BaseClass==Job_Paladin || BaseClass==Whitesmith || BaseClass==Creator) bonus bDex,285; bonus bStr,285; if (BaseClass==Job_High_Wizard || BaseClass==Job_Professor || BaseClass==Job_Supernovice || BaseClass==Job_High_Priest) bonus bAgi,285; bonus bInt,285; if (BaseClass==Job_Gunslinger || BaseClass==Job_Sniper) bonus bDex,350; if (BaseClass==Job_Ninja) bonus bStr,230; bonus bAgi,230; bonus bDex,230; },{},{}
    

    no error and get effect but if i change job cant get perfect Effect !

    please master help me. :( whats my fault

  3. Every job sprite has its own attack animations / weapon sprites.

    Acolyte does not have the katar sprite or animation for it.

    Datafolder structure:

    data\sprite\인간족 <- Everything that has to do with the jobs including the weapon sprites for the jobs.

    data\sprite\인간족\몸통\남 or 여 <- The jobsprites

    Acos just can´t equip katars. And even if they could, they wouldn´t have the sprite for it.

    oh oke. thanks bro.

    1 more again so where i can search that sprite? hmm

    thanks alot for the help

  4. So you are an assassin and when you use that item you get the baby aco sprite right?

    And the error pops up when you use katars?

    Well thats because acolyte doesn´t have the katar sprite and animation for it.

    owh so where can i search the acolyte sprite?

    baby_acolyte_suit.spr and baby_acolyte_suit.act in sprite folder all i put it.

    so what the problem??

  5. master rathena i need help.

    i finished make job suit like this

    itemdb

    30009,baby_acolyte_suit,baby_acolyte_suit,5,1000,,300,,3,,4,0xFFFFFFFF,31,2,16,,0,1,0,{ bonus bStr,100; bonus bAgi,100; bonus bInt,100; bonus bDex,100; changebase 4027; },{},{ changebase Class; }
    

    and than i have sprite also. so that can change but i have 1 problem.

    my job is Ass if i used baby acolyte suit and i use example katar that error in sprite.

    huh but I've put the sprite

    idnum2itemresnametable

    30009#baby_acolyte_suit#
    

    sprite name is baby_acolyte_suit

    아이템

    악세사리

    남 여

    all i have so what the problem? please help me master

  6. @Yugosh: You need to use rAthena for "freeloop" to work. You can delete the lines "freeloop(1)" and "freeloop(0)" if you want - it only adds support for large shops (causing the mapserver to detect an infinity loop), which "sleep" commands would also be a viable workaround for.

    so how to setup category in your script???

    anw Thanks your script

  7. @luphy

    im sory if i got same problem with any member and you already fixed.

    this my problem about your QuestShop

    my Code

    //===== rAthena Script =======================================

    //= Euphy's Quest Shop

    //===== By: ==================================================

    //= Euphy

    //===== Current Version: =====================================

    //= 1.4a

    //===== Compatible With: =====================================

    //= rAthena SVN r15340+

    //===== Description: =========================================

    //= A dynamic quest shop based on Lunar's, with easier config.

    //= Includes support for multiple shops & cashpoints.

    //= Item Preview script by ToastOfDoom.

    //============================================================

    prontera,164,203,6 script Quest Shop 998,{

    function Add; function Chk; function Slot; function A_An;

    if(.Shops$ != "") set .@i,1;

    else {

    set .@menu$,"";

    for(set .@i,1; .@i<=getarraysize(.Shops$); set .@i,.@i+1)

    set .@menu$, .@menu$+.Shops$[.@i]+":";

    set .@i, select(.@menu$); }

    dispbottom "Select one item at a time.";

    callshop "qshop"+.@i,1;

    npcshopattach "qshop"+.@i;

    end;

    function Add {

    if (getitemname(getarg(1))=="null") {

    debugmes "Quest reward #"+getarg(1)+" invalid (skipped)."; return; }

    for(set .@n,5; .@n<127; set .@n,.@n+2) {

    if (!getarg(.@n,0)) break;

    if (getitemname(getarg(.@n))=="null") {

    debugmes "Quest requirement #"+getarg(.@n)+" invalid (skipped)."; return; } }

    for(set .@i,2; .@i<.@n; set .@i,.@i+1)

    set getd(".q_"+getarg(1)+"["+(.@i-2)+"]"), getarg(.@i);

    npcshopadditem "qshop"+getarg(0),getarg(1),((.ShowZeny)?getarg(3):0);

    return; }

    function Chk {

    if (getarg(0)<getarg(1)) { set @qe0,1; return "^FF0000"; }

    else return "^00FF00"; }

    function Slot {

    set .@s$,getitemname(getarg(0));

    switch(.ShowSlot){

    case 1: if (!getitemslots(getarg(0))) return .@s$;

    case 2: if (getiteminfo(getarg(0),11)>0) return .@s$+" ["+getitemslots(getarg(0))+"]";

    default: return .@s$; } }

    function A_An {

    setarray .@A$[0],"a","e","i","o","u";

    set .@B$, "_"+getarg(0);

    for(set .@i,0; .@i<5; set .@i,.@i+1)

    if (compare(.@B$,"_"+.@A$[.@i])) return "an "+getarg(0);

    return "a "+getarg(0); }

    OnBuyItem:

    set .@q[0],@bought_nameid;

    copyarray .@q[1],getd(".q_"+@bought_nameid+"[0]"),getarraysize(getd(".q_"+@bought_nameid+"[0]"));

    if (!.@q[1]) { message strcharinfo(0),"An error has occurred."; end; }

    mes "[Quest Shop]";

    mes "Reward: ^0055FF"+((.@q[1]>1)?.@q[1]+"x ":"")+Slot(.@q[0])+"^000000";

    mes "Requirements:";

    if (.@q[2]) mes " > "+Chk(Zeny,.@q[2])+.@q[2]+" Zeny^000000";

    if (.@q[3]) mes " > "+Chk(getd(.Points$[0]),.@q[3])+.@q[3]+" "+.Points$[1]+" ("+getd(.Points$[0])+"/"+.@q[3]+")^000000";

    if (.@q[4]) for(set .@i,4; .@i<getarraysize(.@q); set .@i,.@i+2)

    mes " > "+Chk(countitem(.@q[.@i]),.@q[.@i+1])+((.DisplayID)?"{"+.@q[.@i]+"} ":"")+Slot(.@q[.@i])+" ("+countitem(.@q[.@i])+"/"+.@q[.@i+1]+")^000000";

    next;

    set @qe1, getiteminfo(.@q[0],5); set @qe2, getiteminfo(.@q[0],11);

    addtimer 1000, strnpcinfo(1)+"::OnEnd";

    while(1){

    switch(select(" ~ Purchase ^0055FF"+getitemname(.@q[0])+"^000000:"+((((@qe1&1) || (@qe1&256) || (@qe1&512)) && @qe2>0 && !@qe6)?" ~ Preview...":"")+": ~ ^777777Cancel^000000")) {

    case 1:

    if (@qe0) {

    mes "[Quest Shop]";

    mes "You're missing one or more quest requirements.";

    close; }

    if (!checkweight(.@q[0],.@q[1])) {

    mes "[Quest Shop]";

    mes "^FF0000You need "+(((.@q[1]*getiteminfo(.@q[0],6))+Weight-MaxWeight)/10)+" additional weight capacity to complete this trade.^000000";

    close; }

    if (.@q[2]) set Zeny, Zeny-.@q[2];

    if (.@q[3]) setd .Points$[0], getd(.Points$[0])-.@q[3];

    if (.@q[4]) for(set .@i,4; .@i<getarraysize(.@q); set .@i,.@i+2)

    delitem .@q[.@i],.@q[.@i+1];

    getitem .@q[0],.@q[1];

    if (.Announce) announce strcharinfo(0)+" has created "+A_An(getitemname(.@q[0]))+"!",0;

    specialeffect2 699;

    close;

    case 2:

    set @qe3, getlook(3); set @qe4, getlook(4); set @qe5, getlook(5);

    if (@qe1&1) atcommand "@changelook 3 "+@qe2;

    if (@qe1&256) atcommand "@changelook 1 "+@qe2;

    if (@qe1&512) atcommand "@changelook 2 "+@qe2;

    set @qe6,1;

    break;

    case 3:

    close; } }

    OnEnd:

    if (@qe6) { atcommand "@changelook 3 "+@qe3; atcommand "@changelook 1 "+@qe4; atcommand "@changelook 2 "+@qe5; }

    for(set .@i,0; .@i<7; set .@i,.@i+1) setd "@qe"+.@i,0;

    end;

    OnInit:

    freeloop(1);

    // --------------------- Config ---------------------

    // Custom points, if needed: "<variable>","<name to display>"

    setarray .Points$[0],"#CASHPOINTS","Cash Points";

    set .Announce,1; // Announce quest completion? (1: yes / 0: no)

    set .ShowSlot,1; // Show item slots? (2: all equipment / 1: if slots > 0 / 0: never)

    set .DisplayID,0; // Show item IDs? (1: yes / 0: no)

    set .ShowZeny,0; // Show Zeny cost, if any? (1: yes / 0: no)

    // Shop categories, if needed: "<Shop 1>","<Shop 2>"{,...};

    // Duplicate dummy data for any additional shops (bottom of script).

    // If no categories, use the second line instead (remove //).

    setarray .Shops$[1],"Headgears","Weapons","Other";

    // set .Shops$,"n/a";

    // Add(<shop number>,<reward ID>,<reward amount>,<Zeny cost>,<point cost>,

    // <required item ID>,<required item amount>{,...});

    // Shop number corresponds with order above (default is 1).

    // Note: Do NOT use a reward item more than once!

    Add(1,30009,1,0,0,30001,50,0,0,0,0,0,0,0,0);

    Add(1,30010,1,0,0,30001,50,0,0,0,0,0,0,0,0);

    Add(1,30011,1,0,0,30001,50,0,0,0,0,0,0,0,0);

    Add(1,30012,1,0,0,30001,50,0,0,0,0,0,0,0,0);

    Add(2,1224,1,0,0,7297,30,969,10,999,50,714,10);

    Add(2,1225,1,0,0,7292,30,969,10,999,50,714,10);

    Add(3,531,1,3,0,512,1,713,1);

    Add(3,532,1,3,0,513,1,713,1);

    Add(3,533,1,3,0,514,1,713,1);

    Add(3,534,1,3,0,515,1,713,1);

    // --------------------------------------------------

    freeloop(0);

    for(set .@i,1; .@i<=getarraysize(.Shops$); set .@i,.@i+1)

    npcshopdelitem "qshop"+.@i,909;

    end;

    }

    // -------- Dummy data (duplicate as needed) --------

    - shop qshop1 -1,909:-1

    - shop qshop2 -1,909:-1

    - shop qshop3 -1,909:-1

    and this my SS server error.

    33a41np.jpg

×
×
  • Create New...