Jump to content

scrubtasticx

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by scrubtasticx

  1. SO i got my wings working only problem is all the wings once put on all look like angel wings its just when im wearing them otherwise its all fine any idea what im doing wrong?

     

    AccessoryID.lub  ACCESSORY_Angel_Wings = 1059,
                                ACCESSORY_Butterfly_Wings = 1059

    }

    i have tried to change one of the 1059 to 1060 but same results .

     

    Accname.lub      [ACCESSORY_IDs.ACCESSORY_Angel_Wings] = "_Angel_Wings",
                               [ACCESSORY_IDs.ACCESSORY_Butterfly_Wings] = "_Butterfly_Wings"
    }

     

    Iteminfo.lua           [19900] = {
            unidentifiedDisplayName = "Angel Wings",
            unidentifiedResourceName = "Angel_Wings",
            unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
            identifiedDisplayName = "Angel Wings",
            identifiedResourceName = "Angel_Wings",
            identifiedDescriptionName = {
                "Angel Wings.",
                "Class:^6666CC Costume^000000",
                "Location:^6666CC Upper^000000",
                "Weight:^009900 0^000000",
                "Level Requirement:^009900 1^000000",
                "Jobs:^6666CC All classes^000000"
            },
            slotCount = 0,
            ClassNum = 1059
        },
        [19901] = {
            unidentifiedDisplayName = "Butterfly Wings",
            unidentifiedResourceName = "Butterfly_Wings",
            unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
            identifiedDisplayName = "Butterfly Wings",
            identifiedResourceName = "Butterfly_Wings",
            identifiedDescriptionName = {
                "Butterfly Wings.",
                "Class:^6666CC Costume^000000",
                "Location:^6666CC Upper^000000",
                "Weight:^009900 0^000000",
                "Level Requirement:^009900 1^000000",
                "Jobs:^6666CC All classes^000000"
            },
            slotCount = 0,
            ClassNum = 1059
        },

     

    ItemDB.txt            //Custom Wings
    19900,Angel_Wings,Angel Wings,5,,0,10,,10,,0,0xFFFFFFFF,7,2,1024,,1,0,1059,{},{},{}
    19901,Butterfly_Wings,Butterfly Wings,5,,0,10,,10,,0,0xFFFFFFFF,7,2,1024,,1,0,1060,{},{},{}

  2. i got the item to show but its completly wrong the guide is outdated for eathena i tried to make updated edits but i just dont know enough would anyone be kind enough to look at the wings i downloaded and tell me what i need to change in the 4 txt files and the accessory and accname lub? it was these wings 

    https://rathena.org/board/files/file/2464-9-wings-from-the-past-made-in-2006/    (Just the Angel Wings)

     

    thanks all for help much appreciated

  3. I'm pretty sure it is not possible as instances would require database entries which as of this moment the db is not structured for and the server would have to be coded to support the database changes although it would take some work I don't think server side it's impossible now client side I don't know much about so I can't answer that

  4. I put it in my itemdb2 the txt and the sql just to be safe they all look right to me but here is my entry 

     
    REPLACE INTO `item_db2` VALUES (1990,'Angel_Wings','Angel Wings',5,5000,NULL,400,NULL,8,NULL,1,0xFFFFFFFE,7,2,4,NULL,NULL,1,3,'bonus2 bSubRace,7,10;',NULL,NULL);

    Had no errors on query all looks good dunno

     

     

     
     
  5. I did I tried changing it to 1990 and still same results I have checked my 2 lub files and all three of the txt files and it all seems correct I mean even if I messed the accessory and acc lubs up the item should still load just no graphics right ? I'm super confused to why it's not loading 

  6. Hi I'm trying to add angel wings to my server I got all files in my grf correctly I have added wings to itemdb2 in sql and done all nessecary txt files and lub files when I get in game and @item 35000 it says invalid item number or name any reason why it wouldn't be adding it to db? And yes my client is diffed to have higher item numbers thanks guys I'm running newest rev of rathena 

  7. Just thought i would post this. I edited a old bank not exchange npc i found on these forums that gave you phisical notes and instead switched him to work like bRO's exchange npc. Where it stores the notes on the npc instead of VIA inventory.

     

    anyway here is the script.

    //||------------------------------------------------------------------------------||
    //||---------------------Simple Bank Note NPC ------------------------------------||
    //||---------------------------by: Whathell---------------------------------------||
    //||-----------------------------Additions----------------------------------------||
    //||---------------------------by: Scrubtasticx-----------------------------------||
    
    prontera,147,184,4	script	Bank Exchange	833,{
    
    //|=====================Settings==============================
    set @npcname$,"^ff0000[Bank Exchange]^000000"; //npc name
    set @banknoteprice,1000000; //price you want for each bank note
    set @banknoteid,7922;	//the item id for your bank note
    set @maxzeny,2000000000; //put in the max zeny you have for your server
    //|===========================================================
    	mes @npcname$;
    	mes "Hi "+ strcharinfo(0) +", I can change your bank notes into zeny, and vice versa.";
    	mes "Each bank note is worth 1 Million Zeny. You currently have [^0000FF" + #banknoteid + "^000000] Bank Notes.";
    	next;
    	mes @npcname$;
    	mes "So tell me,what can I do for you?";
    		switch(select("Exchange Bank Notes to Zeny:Exchange Zeny to Bank Notes")) {
    	case 1:
    	next;
    	mes @npcname$;
    	mes "Please put in the amount of Bank Notes you want to exchange:";
    	input @notedeposit;
    	next;
    	set deposit,@notedeposit;
    	
    		if (@notedeposit <= 0) {
    		mes @npcname$;
    		mes "Please come back if you change your mind.";
    		close;
    		} else if (#banknoteid < deposit) {
    		mes @npcname$;
    		mes "You dont have enough Bank Notes to complete this transaction.";
    		close;
    		} else if ((@banknoteamount*@banknoteprice)+Zeny > @maxzeny) {
    		mes @npcname$;
    		mes "You cannot exchange this number of Bank Notes because you will exceed the maximum amount of zeny you can hold.";
    		close;
    		}
    		next;
    		set @price,@banknoteprice*@notedeposit;
    		set #banknoteid,#banknoteid - @notedeposit;
    		set Zeny,Zeny+@price;
    		mes @npcname$;
    	mes "Transaction complete, you currently have [^0000FF" + #banknoteid + "^000000] Bank Notes.";
    	break;
    	case 2:
    	next;
    	mes @npcname$;
    	mes "Please put in the amount of Bank Notes you want.";
    	next;
    	input @notewithdraw;
    		if (@notewithdraw <= 0) {
    		mes @npcname$;
    		mes "Please come back if you change your mind.";
    		close;
    		} else if (@notewithdraw*@banknoteprice > Zeny) {
    		mes @npcname$;
    		mes "I'm sorry but you lack Zeny to complete this transaction.";
    		close;
    	}
    	next;
    	set @pricea,@notewithdraw*@banknoteprice;
    	set Zeny,Zeny-@pricea;
    	set #banknoteid,#banknoteid + @notewithdraw;
    	mes @npcname$;
    	mes "Transaction complete, you currently have [^0000FF" + #banknoteid + "^000000] Bank Notes.";
    	break;
    	}
    	close;
    	end;
    	}
    

    hope everyone enjoys it ;P

    bankexchange.txt

  8. this is a script i found on these forums cannot get it to compile seeing if anyone can fix please..

    thankyou in advance

    //||------------------------------------------------------------------------------||
    //||---------------------Simple Bank Note NPC ------------------------------------||
    //||---------------------------by: Whathell---------------------------------------||
    //||------------------------------------------------------------------------------||
    //||------------------------------------------------------------------------------||
    prontera,147,184,4 script Banker 833,{
    //|=====================Settings==============================
    set @npcname$,"^ff0000[banker]^000000";  //npc name
    set @banknoteprice,1000000;   //price you want for each bank note
    set @banknoteid,7922; //the item id for your bank note
    set @maxzeny,2000000000;   //put in the max zeny you have for your server
    //|===========================================================
    mes @npcname$;
    mes "Hi "+ strcharinfo(0) +", I can change your bank notes into zeny, and vice versa.";
    mes "Each bank note is worth 1 Million Zeny.";
    next;
    mes @npcname$;
    mes "So tell me,what can I do for you?";
    switch(select("Exchange Bank Notes to Zeny:Exchange Zeny to Bank Notes")) {
     case 1:
      next;
      mes @npcname$;
      mes "Please put in the amount of Bank Notes you want to exchange:";
    next;
    input @banknoteamount;
    if (@banknoteamount <= 0) {
     mes @npcname$;
     mes "Please come back if you change your mind.";
     close;
    } else if (countitem(@banknoteid) < @banknoteamount) {
     mes @npcname$;
     mes "You dont have enough Bank Notes to complete this
    transaction.";
     close;
    } else if ((@banknoteamount*@banknoteprice)+Zeny > @maxzeny) {
     mes @npcname$;
     mes "You cannot exchange this number of Bank Notes because you
    will exceed the maximum amount of zeny you can hold.";
     close;
    }
    next;
    set @price,@banknoteprice*@banknoteamount;
    delitem @banknoteid,@banknoteamount;
    set Zeny,Zeny+@price;
    mes @npcname$;
    mes "Transaction complete! Here's your money.";
    break;
      case 2:
    next;
    mes @npcname$;
    mes "Please put in the amount of Bank Notes you want.";
    next;
    input @noteamount;
    if (@noteamount <= 0) {
    mes @npcname$;
      mes "Please come back if you change your mind.";
     close;
    } else if (@noteamount*@banknoteprice > Zeny) {
    mes @npcname$;
    mes "I'm sorry but you lack Zeny to complete this transaction.";
    close;
    }
    next;
    set @pricea,@noteamount*@banknoteprice;
    set Zeny,Zeny-@pricea;
    getitem @banknoteid,@noteamount;
    mes @npcname$;
    mes "Transaction complete! Here are your Bank Notes.";
    break;
    }
    close;
    end;
    }
    

  9. i tried a bunch of different things with that sample still cannot get it so display correctly.

    ok i got it to go into costume slot with this code

    26000,_archangelwings, Arch Angel Wings,5,0,,1000,,0,,0,0xFFFFFFFE,7,2,4096,,1,0,1000,{ bonus bAllStats,3; },{},{}
    

    now is there anyway to get it to show BOTH costume AND lowerhead gear at same time?

  10. Im trying to get my wings to go into COSTUME slow. when i go to put them on the costume slot lights up like it is right but it still equips to the regular headgear slot here is my code for the wings did i do somthing wrong?

    26000,_archangelwings, Arch Angel Wings,5,100000,,1000,,5,,1,0xFFFFFFFE,2,2,1,,0,4096,1000,{ bonus bAllStats,3; },{},{}
    

    thanks in advance..

×
×
  • Create New...