Jump to content

cozzy09

Members
  • Posts

    53
  • Joined

  • Last visited

Posts posted by cozzy09

  1. guys please help everytime I logged in to my server the NPCs won't load and I can't move my character and when I check on the map I got this error when I logged in

    [Warning]: pc_group_pc_load:  (AID:2000008) logged in with unknown group id (99)! kicking...
    [info]: '[GM] Cozzy' logged in. (AID/CID: '2000008/150007', Packet Ver: '26', IP: '112.203.136.100', Group '99').
    [info]: Player AID:2000008/CID:150007 logged off.
    

    please help me to fix this thanks in advance

  2. more info:

    files in :

    data\sprite\¾ÆÀÌÅÛ

    frog_umbrella.act

    frog_umbrella.spr

    data\sprite\¾Ç¼¼»ç¸®\¿©

    ¿©_frog_umbrella.act

    ¿©_frog_umbrella.spr

    data\sprite\¾Ç¼¼»ç¸®\³²

    ³²_frog_umbrella.act

    ³²_frog_umbrella.spr

    texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection

    frog_umbrella.bmp

    texture\À¯ÀúÀÎÅÍÆäÀ̽º\item

    frog_umbrella.bmp

    idnum2itemdesctable.txt

    26001#

    A Frog Umbrella

    Weight :^777777 0^000000

    #

    idnum2itemdisplaynametable.txt

    26001#frog_umbrella#

    idnum2itemresnametable.txt

    26001#frog_umbrella#

    num2itemdesctable.txt

    26001#

    Frog Umbrella

    #

    num2itemdisplaynametable.txt

    26001#frog_umbrella#

    num2itemresnametable.txt

    26001#frog_umbrella#

    accname.lua

    [ACCESSORY_IDs.ACCESSORY_FROG_UMBRELLA] = "_frog_umbrella"

    accessoryid.lua

    ACCESSORY_FROG_UMBRELLA = 875

    item_db.txt

    26001,frog_umbrella,Frog Umbrella,5,20,,700,,2,,0,0xFFFFFFFE,7,2,256,,38,1,875,{},{},{}

    that's all the info I have so please help me if something is wrong there

    bump please help

  3. guys can you help me please i'm trying to add a custom item on my RO server and did everything on the rathena wiki on adding custom items but when I equipped the item the sprite is the Orc Hero Helm not the custom item can someone please help me

    I already changed the items db sprite ID to 874 which is also the same ID I put in the accessoryid.lua and accname.lua please help me thanks ^_^

  4. why is that I got some error when I start game after patching it but when I open my exe it works fine though when I go to my custom map I got an error again when I already fixed that please help me thanks

    this is the error

    post-1917-0-59287600-1358260995_thumb.png

  5. guys can anyone help me I'm trying to add new items to my server but after starting my server I got lots of error from lua folder that says "buf too new: read version 5.1; expected at most 5.0" and some says "attemp to call a nil value" too many to mention the title but almost all the message are like that please can anyonne help me I downloaded the lua files from http://svn6.assembla.com/svn/ClientSide/Lua_Project/lubs/ and put the lua folder on the data folder. Thanks in advance ^_^

  6. still got an error this is the code again

    
    [Error]: script error on npc/custom/added/endless_tower.txt line 445
       parse_callfunc: not enough arguments, expected ','
      440 :                        else if('ET_Floor == 101)
      441 :                                set .@map$,has_instance("6@tower");
      442 :                        else if('ET_Floor < 100)
      443 :                                set .@map$,has_instance((('ET_Floor-1) / 25 + 1)+"@tower");
      444 :                        mes "Alive mobs(variable): "+'ET_Mobs;
    *  445 :                        mes "Alive mobs(real): " + mobcount(.@map$')';
      446 :                        close;
      447 :                case 5:
      448 :                        mes "Are you sure?";
      449 :                        next;
      450 :                        if(select("Yes:No") == 2) close;
    
    

  7. On this code about the Endless Tower I got an error that says parse line need ';' but I already have it as you can see. Can someone help me please thanks in advance ^_^

    
    case 4:
    mes "Floor: "+'ET_Floor;
    mes "Lasttime varibale: "+'ET_Lasttime;
    if('ET_Leadertalk == 5)
    mes "Naght Sieger floor reachable";
    else
    mes "Naght Sieger floor not reachable";
    if('ET_Floor == 100)
    set .@map$,has_instance("5@tower");
    else if('ET_Floor == 101)
    set .@map$,has_instance("6@tower");
    else if('ET_Floor < 100)
    set .@map$,has_instance((('ET_Floor-1) / 25 + 1)+"@tower");
    mes "Alive mobs(variable): "+'ET_Mobs;
    mes "Alive mobs(real): " + getmapmobs(.@map$);[color=#ff0000] // Error Line[/color]
    close;
    

  8. hi I know this script for so long that I know it has no error but why is that when I use it today on my pre-renewal server I got an error.

    This is the Script it is a private mvp/branch room

    http://www.eathena.ws/board/index.php?act=attach&type=post&id=5277

    and my error is on this line

    
    switch ( select(.menu$) ) {
    case 1:
    mes "[MVP Summoner]";
    [color=#ff0000]if ( getmapmobs("this") > 0 ) { // error line[/color]
    mes "I cannot offer heal service when there are monsters around.";
    close;
    }
    

    error says parse_simpleexpr: unmatch ')'

    can anyone help me please? thanks in advance ^_^

  9. @capuche

    yup that will work but it won't go on my conditional statement if I put close before the conditional statement already tried that

    @snow

    it closes the message of my NPC that says stopping now but it will open a new message where there is nothing in it and it doesn't go on my conditional statement as well

  10. I am trying to make new event NPC I' almost done but I have 1 minor problem when it does all what I wanted to do it the NPC won't close it's message window my script goes like this

    // ----------------------------------- STATE: ON -------------------------------------
     on:
     mes "[ ^336699Warper^000000 ]";
     mes "Do you want to stop me warping?";
     menu "Yes, Stop warping",yesStop,"No, Wait",noStop;
    
     yesStop:
     next;
     set $state,0;
     set $qstate,0;
     delwaitingroom;
     mes "[ ^336699Warper^000000 ]";
     mes "Ok, stopping now";
    
     if (condition)
     {
      goto yesWin;
     }
     else if (condition)
     {
      goto noWin;
     }
     else
     {
      goto draw;
     }
    
     noStop:
     next;
     mes "[ ^336699Warper^000000 ]";
     mes "Ok talk to me when you want to stop me warping";
     close;
    
    // ---------------------------------- WARP PLAYERS ---------------------------------
    yesWin:
    next;
    mapwarp "map","map2",xxx,yyy;
    sleep 5000;
    mapannounce "map","message",0;
    sleep 3000;
    mapannounce "map","message",0;
    next;
    close;
    
    noWin:
    next;
    mapwarp "map","map2",xxx,yyy;
    sleep 5000;
    mapannounce "map","message",0;
    sleep 3000;
    mapannounce "map","message",0;
    next;
    close;
    
    draw:
    next;
    mapwarp "map","map2",xxx,yyy;
    mapwarp "map","map2",xxx,yyy;
    sleep 5000;
    mapannounce "map","message",0;
    sleep 3000;
    mapannounce "map","message",0;
    next;
    close;
    
    

    when I go yesStop it will do all the commands I put there even the conditional statement but it won't close the final window where the NPC says "Ok, stopping now"

    hope someone can help me and thanks in advance for those who will try to help ^_^

  11. hi I made a tuxedo equipable item that supposed to be when equip it will change your outfit... I already made a cool summer outfit to work that when you equip it your costume will change into a summer outfit then when remove the equip item it will remove the outfit as well on the item_db2.txt it is something like this

    20000,Cool_Summer_Outfit,Cool Summer Outfit,5,,,10,,,,,0xFFFFFFFF,7,2,136,,,,,{},{setoption Option_Summer,1;},{setoption Option_Summer,0;}

    then I tried to make a tuxedo like that

    20001,Tuxedo,Tuxedo,5,,,20,,,,,0xFFFFFFFF,7,2,136,,,,,{},{ setoption Option_Wedding,1; },{ setoption Option_Wedding,0; }

    both the are the same but the tuxedo won't work can someone help me please XD

    btw I also made a santa's suit and it work as well only the tuxedo is the problem XD

  12. @Danker

    don't worry it doesn't have 802 in my accessoryid.lua

    @rlt

    idnum2itemdisplaynametable.txt

    30002#Hanging_Dolls#

    idnum2itemresnametable.txt

    30002#hanging_dolls#

    num2itemdesctable

    30002#

    Hanging like a boss

    Defense :^777777 2^000000

    Equipped on :^777777 Upper^000000

    Weight :^777777 1^000000

    Applicable Job :^777777 Every Job^000000

    #

    accessoryid.lua

    ACCESSORY_HANGING_DOLLS = 802,

    accname.lua

    [ACCESSORY_IDs.ACCESSORY_HANGING_DOLLS] = "hanging_dolls",

    item_db2.txt

    30002,Hanging_Dolls,Hanging_Dolls,5,,,100,,2,,0,0xFFFFFFFE,7,2,513,,0,0,802,{},{},{}

    that is all the info of that item XD

    @keim

    it is in that folder

  13. I really appreciate you help guys thanks... I understand everything that you were teaching me but still got some error I checked the accessoryid.lua it has ACCESSORY_HANGING_DOLLS = 802, and i put it in the item_db2 before the {},{},{} as 802 but when I equipped it now nothing appears and when I open my character window I have some error XD

  14. why is that mob race of the day won't work on me? I just copied the txt file put it in the npc folder/custom then on the scripts_custom then tried it w/ 2 character same enemy zombie different mrotd but still the same level? can anyone help me on this script or in my problem?

    
    prontera,155,181,5 script ROTD 436,{
    while(1){
    
    mes "^FF0000ROTD^000000 refer to ^0000FFRace of the Day^000000";
    mes "In another word, it mean that the ^FF0000Monster's Race^000000 that you killed by day will grant you ^FF0000Extra Bonus EXP / Item / Zeny ^000000.";
    next;
    mes "[ ^FF0000Today's ROTD^000000 ] = ^0000FF"+.ROTD$[.Race]+"^000000 Race";
    mes "^FF0000_____________________________^000000";
    mes "Bonus Lists :";
    mes "^FF0000@^000000 EXP  = ^0000FF"+( ( !.BonusEXP )?"No":.BonusEXP+" %" )+"^000000 EXP Bonus";
    mes "^FF0000@^000000 Zeny = ^0000FF"+( ( !.BonusZeny )?"No":.BonusZeny )+"^000000 Zeny";
    mes "^FF0000@^000000 Item = ^0000FF"+( ( !.BonusItemAmount )?"No Items":.BonusItemAmount+" x "+getitemname( .BonusItem ) )+"^000000";
    if( .BonusItemAmount ){
    mes "^FF0000@^000000 Rate = ^0000FF"+.BonusRate+"^000000 %";
    mes "^FF0000_____________________________^000000";
    mes "The Amount of Bonus Reward is given ^FF0000Randomly^000000 at a fixed Rate.";
    }
    next;
    switch(select("^4EEE94ROTD Information^000000",
    "^0000FFSet a New Monster's Race^000000",
    ( getgmlevel() < 80 )?"":"^FF0000[GM]^000000Set EXP Bonus",
    ( getgmlevel() < 80 )?"":"^FF0000[GM]^000000Set Item / Zeny Bonus")){
    
    Case 1:
    mes "Today's ROTD has choosen ^0000FF"+.ROTD$[.Race]+"^000000 Race , which will grant you some ^FF0000Extra Bonus EXP^000000.";
    mes "The amount of ^FF0000EXP Bonus^000000 are ^0000FF"+.BonusEXP+" %^000000.";
    next;
    mes "For ^0000FFParty Members^000000 , they will only receive ^FF0000Bonus EXP^000000 if they didnt killed any monster.";
    mes "Besides, they have to stay in the ^FF0000Same Map^000000 in order to get the ^FF0000EXP Bonus^000000.";
    next;
    break;
    
    Case 2:
    mes "Choose ^FF0000Randomly / Manually^000000 ?";
    for( set .@i,0; .@i < getarraysize( .ROTD$ ); set .@i,.@i+1 ){
    mes "[ ^FF0000"+.@i+"^000000. ] ^0000FF"+.ROTD$[.@i]+"^000000 Race";
    }
    message strcharinfo(0),"Input the Number. Choose Random if you want it Randomise a Race for you.";
    input .Race,0,getarraysize( .ROTD$ )-1;
    next;
    if( .Race == getarraysize( .ROTD$ )-1 ){
    set .Race,rand( getarraysize( .ROTD$ )-1 );
    }
    mes "[ ^FF0000ROTD Update^000000 ]";
    mes "[ ^FF0000Updated^000000 ] = ^0000FF"+.ROTD$[.Race]+"^000000 Race";
    mes "[ ^FF0000Bonus EXP^000000 ] = Extra ^0000FF"+.BonusEXP+"^000000 %";
    announce "[ ROTD ] : New Race : "+.ROTD$[.Race]+" with Bonus EXP of "+.BonusEXP+" % ",bc_blue;
    delwaitingroom;
    waitingroom "[ROTD]:"+.ROTD$[.Race]+" ",0;
    next;
    break;
    
    Case 3:
    mes "Set ^FF0000Random EXP / Manually^000000";
    mes "Input 0 for ^0000FFRandom Bonus EXP Rate^000000";
    mes "Input ^FF0000RATE^000000 for ^0000FFManual Bonus EXP Rate^000000";
    mes "^FF0000EXP Range^000000 : 1% ~ 100%";
    mes "Current Rate = [ ^0000FF"+.BonusEXP+"^000000 % ]";
    input .BonusEXP,0,100;
    if( .BonusEXP == 0 ){
    set .BonusEXP,rand( 1,100 );
    }
    next;
    mes "The New EXP Rate is [ ^0000FF"+.BonusEXP+"^000000 % ]";
    announce "[ ROTD ] : New Race : "+.ROTD$[.Race]+" with Bonus EXP of "+.BonusEXP+" % ",bc_blue;
    next;
    break;
    
    Case 4:
    mes "You may set a ^FF0000 Item / Zeny Bonus^000000 for the ^0000FFROTD^000000.";
    mes "This will work when you have killed a ^FF0000ROTD's Monster^000000, there will be a chances for Player to gain the ^FF0000Item / Zeny^000000.";
    next;
    mes "Input the ^FF0000Zeny Bonus^000000";
    message strcharinfo(0),"You may input 0 to disable it. [ Use it Wisely ]";
    input .BonusZeny;;
    mes "Input the ^FF0000Item ID^000000";
    do{
    input .BonusItem,0,32767;
    }while( getitemname( .BonusItem ) == "null" );
    mes "Input the ^FF0000Item Bonus Amount^000000";
    mes "Range of Amount = 0 ~ 30,000";
    message strcharinfo(0),"You may input 0 to disable it. [ Use it Wisely ]";
    input .BonusItemAmount,0,30000;
    next;
    mes "^FF0000Rate^000000 to get it ??";
    mes "^FF0000100 = 100%^000000";
    mes "^FF0000 10 =  10%^000000";
    mes "^FF0000  1 =   1%^000000";
    mes "^FF0000  0 = DISABLED^000000";
    input .BonusRate,0,100;
    next;
    mes "[ ^FF0000ROTD Update^000000 ]";
    mes "^0000FFZeny Bonus^000000 : "+.BonusZeny+" Zeny";
    mes "^0000FFItem Bonus^000000 : "+.BonusItemAmount+" x "+getitemname( .BonusItem );
    mes "^0000FFItem Rate^000000  : "+.BonusRate+" %";
    next;
    break;
    }
    }
    close;
    
    OnInit:
    OnClock0000:
    setarray .ROTD$[0],
    "Formless",
    "Undead",
    "Brute",
    "Plant",
    "Insect",
    "Fish",
    "Demon",
    "Demi-Human",
    "Angel",
    "Dragon",
    "Random";
    
    set .Race,rand( 10 );
    set .BonusEXP,rand( 1,100 );
    set .ExpLvlRange,10;
    delwaitingroom;
    waitingroom "[ROTD]:"+.ROTD$[.Race]+" ",0;
    end;
    
    OnNPCKillEvent:
    if( getmonsterinfo( killedrid,19 ) != .Race  )end;
    set .@Location$,strcharinfo(3);
    set .BaseLvl,BaseLevel;
    getpartymember getcharid(1),1;
    getpartymember getcharid(1),2;
    for ( set .@a, 0; .@a < .partymembercount; set .@a, .@a +1 ){
    if ( isloggedin( .partymemberaid[.@a] )  ){
    attachrid( .partymemberaid[.@a] );
    if( strcharinfo(3) == .@Location$ && ( .BaseLel - BaseLevel ) <= .ExpLvlRange ){
    getexp ( getmonsterinfo( killedrid,3 ) * .BonusEXP / 100 ),( getmonsterinfo( killedrid,4 ) * .BonusEXP / 100 );
    }
    }
    }
    if( rand(100) <= .BonusRate && .BonusItemAmount ){
    getitem .BonusItem,rand( 1,.BonusItemAmount );
    }
    if( rand(100) <= .BonusRate && .BonusZeny ){
    set Zeny,Zeny + rand( 1,.BonusZeny );
    }
    end;
    }
    

    btw this is emistry's rotd code thanks for those who will help :D

×
×
  • Create New...