Jump to content

Initsuga

Members
  • Posts

    40
  • Joined

  • Last visited

Everything posted by Initsuga

  1. thank you sir, but i got another one. [UPDATE] all good, i made it work! thank you! btw sir where do i edit the script to put the id number of my vip ticket? @crazyarashi
  2. ill try this later. thank you sir! Hi @crazyarashi! i'm having error with the script. how can i fix this?
  3. Hi! just saw this script here in rathena and planning to change it. but i dont how. can someone help me to change the script for availing VIP, instead of cashpoints ill change it to VIP ticket?
  4. i already add my texture folder to my main grf. ............................................................................ here's my item_db still looking for help guys! UPDATE.. i can use the item but the problem here is the bmp in texture
  5. i use notepad++ for editing and already saved it. i close the notepad++ and reopen it to check if the new items was saved and yes it does. i dont know where this error came from.
  6. yup here it is. i already did add. help please
  7. Hi! Need help here. I followed the steps on how to make custom items and I think everything is fine. Attached is the print screen of what I did item collection ÆÀÌÅÛ ¿© ³² Last line of my accessoryid.lub ACCESSORY_KAZEKAGE_HAT = 2001, ACCESSORY_KOKOROKAGE_HAT = 2002, ACCESSORY_MIZUKAGE_HAT = 2003, ACCESSORY_RAIKAGE_HAT = 2004, ACCESSORY_TSUCHIKAGE_HAT = 2005 } Last line of my accname.lub [ACCESSORY_IDs.ACCESSORY_KAZEKAGE_HAT] = "_KAZEKAGE_HAT", [ACCESSORY_IDs.ACCESSORY_KOKOROKAGE_HAT] = "_KOKOROKAGE_HAT", [ACCESSORY_IDs.ACCESSORY_MIZUKAGE_HAT] = "_MIZUKAGE_HAT", [ACCESSORY_IDs.ACCESSORY_RAIKAGE_HAT] = "_RAIKAGE_HAT", [ACCESSORY_IDs.ACCESSORY_TSUCHIKAGE_HAT] = "_TSUCHIKAGE_HAT" } But when I @item the new custom items this I got this error. Need help!!!!!
  8. I don't know if im in the right section but i need your help guys! I've beed scanning and editing stuffs in my SDE, iteminfo.lua, and item_db. i dont know if i did something wrong but when i look my items in game like valkyrie armor all of them appears apple. i try to go back to my SDE to check what happened and i got this error can someone help me please.
  9. What do you mean by patching it sir? I got it now. [Problem Solved]
  10. Oh ok! Im using 2015-11-04aRagexe.exe right now. Can you teach me how to change item descrition?
  11. oh sorry for this sir. my bad thank you so much! this thing helped me a lot. btw, after changing item effect how can i change item description?
  12. Hi! ' Can someone teach me how to add or change effect of items like poring card or valkyrie armor. i don't know how what to do or how to start with this. TYIA!
  13. // Settings : // - Only required to edit the ShopSetting() Function // Notes : You may also add / remove Menu ( If any ) // - Shop Currency can be either ItemID or Variable Name, but must write within Quotation Marks ( "" ) // Ex. of Variable. -> Zeny , #CASHPOINTS , #KAFRAPOINTS , CustomVariable , #CustomVariable // - ERROR Message are used to show Invalid Settings in your NPC. // Leave this alone... - shop Emistry_Shop -1,512:100 prontera,143,178,5 script Sample 757,{ function ShopSettings; function ValidateCost; function CurrencyInfo; function ClearData; function ValueConvert; function ErrorNotice; mes "Each Shop from the Menu may purchase using ^FF0000Different Currency^000000."; mes "^00FF00____________________________^000000"; mes "So,Which shop you would like to look at it"; next; // Menu Selection select("Shop 1","Shop 2","Shop 3"); ClearData(); ShopSettings( @menu ); npcshopitem "Emistry_Shop",512,100; npcshopdelitem "Emistry_Shop",512; for(set .@i,0; .@i < getarraysize( @ItemLists ); set .@i,.@i+1) npcshopadditem "Emistry_Shop",@ItemLists[.@i],@ItemCost[.@i]; mes "Okay...wait awhile"; mes "^00FF00____________________________^000000"; CurrencyInfo( @Currency$ ); mes "^00FF00____________________________^000000"; callshop "Emistry_Shop",1; npcshopattach "Emistry_Shop"; end; function ShopSettings { switch( getarg(0) ){ Case 1: // Currency [ Item ID / Variable Name ] set @Currency$,"7179"; // Item ID Lists setarray @ItemLists[0],6174,7146; // Item Price setarray @ItemCost[0],10,1; break; Case 2: // Currency [ Item ID / Variable Name ] set @Currency$,"7227"; // Item ID Lists setarray @ItemLists[0],2306,2302,2303,2304,2305,2301; // Item Price setarray @ItemCost[0],2,2,3,4,5,6; break; Case 3: // Currency [ Item ID / Variable Name ] set @Currency$,"#CASHPOINTS"; // Item ID Lists setarray @ItemLists[0],2306,2302,2303,2304,2305,2301; // Item Price setarray @ItemCost[0],20,22,34,445,52,641; break; // Case 4,5,6.....etc... default: ErrorNotice( "Invalid Menu Selection for Menu "+@menu+"." ); close; } if( @Currency$ == "" ) ErrorNotice( "Invalid Currency Setting in Menu "+@menu+" ." ); if( getarraysize( @ItemCost ) != getarraysize( @ItemLists ) || getarraysize( @ItemLists ) != getarraysize( @ItemCost ) ) ErrorNotice( "Missing or Extra Value of Item or Cost Settings in Menu "+@menu+" ." ); return; } function ErrorNotice { mes "^FF0000ERROR^000000 - "+getarg(0); mes "^00FF00____________________________^000000"; mes "Inform this Message to ^0000FFGame Staffs^000000 immediately !"; close; } function CurrencyInfo { if( getitemname( atoi( getarg(0) ) ) != "null" ){ mes "Item Currency : ^FF0000"+getitemname( atoi( getarg(0) ) )+"^000000"; mes "Available Amount : ^0000FF"+ValueConvert( countitem( atoi( getarg(0) ) ) )+"^000000"; }else if( getitemname( atoi( getarg(0) ) ) == "null" ){ mes "Variable Currency : ^FF0000"+getarg(0)+"^000000"; mes "Available Amount : ^0000FF"+ValueConvert( getd( getarg(0) ) )+"^000000"; } return; } function ValidateCost { if( getitemname( atoi( getarg(0) ) ) != "null" ){ if( countitem( atoi( getarg(0) ) ) < getarg(1) ) return 1; }else{ if( getd( getarg(0) ) < getarg(1) ) return 1; } return 0; } function ClearData { set @Currency$,""; set @TotalCost,0; deletearray @bought_nameid[0],getarraysize( @bought_nameid ); deletearray @bought_quantity[0],getarraysize( @bought_quantity ); deletearray @ItemLists[0],getarraysize( @ItemLists ); deletearray @ItemCost[0],getarraysize( @ItemCost ); return; } function ValueConvert { set .@num, atoi(""+getarg(0)); if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0); set .@l, getstrlen(""+.@num); for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) { set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$; if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$; } return .@num$; } OnBuyItem: ShopSettings( @menu ); for(set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1) for(set @j,0; @j < getarraysize( @ItemLists ); set @j,@j+1) if( @ItemLists[@j] == @bought_nameid[@i] ) set @TotalCost,@TotalCost + ( @ItemCost[@j] * @bought_quantity[@i] ); mes "^FF0000 BILLING LIST^000000"; mes "^00FF00____________________________^000000"; for( set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1 ) mes "^FF0000"+@bought_quantity[@i]+" x ^0000FF"+getitemname( @bought_nameid[@i] )+"^000000"; mes "^00FF00____________________________^000000"; if( getitemname( atoi( @Currency$ ) ) != "null" ) mes "Total Cost : ^0000FF"+ValueConvert( @TotalCost )+" x "+getitemname( atoi( @Currency$ ) )+"^000000"; else if( getitemname( atoi( @Currency$ ) ) == "null" ){ mes "Total Cost : ^0000FF"+ValueConvert( @TotalCost )+" "+@Currency$+"^000000"; } mes "^00FF00____________________________^000000"; if( ValidateCost( @Currency$,@TotalCost ) ){ if( getitemname( atoi( @Currency$ ) ) != "null" ) mes "[ ^FF0000X^000000 ] Insufficient ^0000FF"+getitemname( atoi( @Currency$ ) )+"^000000"; else{ mes "[ ^FF0000X^000000 ] Insufficient ^0000FF"+@Currency$+"^000000"; } }else{ if( select( "^0000FFPurchase^000000:Cancel" ) == 1 ){ if( getitemname( atoi( @Currency$ ) ) != "null" ) delitem atoi( @Currency$ ),@TotalCost; else{ set getd( @Currency$ ),getd( @Currency$ ) - @TotalCost; } for(set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1) getitem @bought_nameid[@i],@bought_quantity[@i]; message strcharinfo(0),"Purchased "+getarraysize( @bought_nameid )+" Items."; mes "Thank you for shopping."; } } ClearData(); close; } i saw this code also here in rathena and i want some of the items here when purchase will be rental. can someone help me please!
  14. Hi sir! Thank you for your reply. And yes it is via npc. How can i use that script? I mean where .txt will i insert that rentitem ITEMID,86400;
  15. Hi! Does anyone know how to edit an item that it will expire in 1 day. What are the steps on how to do it? sorry! i dont know if im in the right thread TYIA!
  16. Hi! sino po dito may alam pano i edit ang isang item na mag expire siya nang 1day. Anong steps po sa pag gawa nito? TYIA!
  17. Initsuga

    vip NPC

    thank you so much @crazyarashi!
  18. Initsuga

    vip NPC

    ohh i see! thank you so much! problem solved! btw, do you know how to rename the npc to "VIP healer". cause the npc name is "healer" only i mean this picture...
  19. Initsuga

    vip NPC

    Hi! i was trying to put vip npc on my ragnarok offline and i copied this script in the post that i saw....... now i saw error in line 1 of my mapserv.bat and the npc is not showing on prontera after i @reload script see picture of error... can anyone help me with this please... TYIA!
  20. Hi sir need help! na download ko na yung Visual Studio and na install ko na din. pero hndi ko alam pano gamitin to. plano ko na sana i baguhin max level sa offline server ko at i re-compile to gamit ang visual studio. pwede pa tulong kung anong step ang una kong gawin for example pag change ng max level? Thank you in advance! @Nerks
  21. Hi! I'm trying to run runsever_PRERE.bat for me to play it pre-renewal but it's not working. attached is the runserver_PRERE.bat cmd that i run. Anyone that has the same problem with me? Help Please.
×
×
  • Create New...