Jump to content

iFoxkun

Members
  • Posts

    189
  • Joined

  • Last visited

Everything posted by iFoxkun

  1. While I noticed I had some missing sprites for my .act file, I found stumbled on not knowing how to use or flip "mirror" an image D;. How do I do this D;
  2. Spriting for the first time D:

  3. Yeah thanks~ one more thing, how do i use "mirror" in actor and actor2 D:
  4. Oh no I was using mobile, Ill send my upload right now~ I didn't have a signature in mobile that's why here~ Chapters 3, 4, 5~ scripting_tutorial3&4&5.txt
  5. WOAH! Damn nice script goddammeit ~ for sure gonna use this. D:< im on mobile
  6. Edit: Nevermind Got it, *if this is a double post ~ sorry D:.*
  7. Ohhh~ Thanks, actually is it possible to delete that frame?
  8. iFoxkun

    Question

    If it were headgears just copy the item_db info of it Ex. 5132,Angeling_Hat,Angeling Hat,5,20,,700,,2,,0,0xFFFFFFFF,7,2,256,,0,0,[color=#ff0000]204[/color],{ bonus2 bSubRace,RC_DemiHuman,10; },{},{} The red colored "204" is the view id, to classify which view the item uses. Each headgear uses a view ID. so if you were to duplicate this Ex. [color=#00ffff]32767[/color],Angeling_Hat,Angeling Hat,5,20,,700,,2,,[color=#0000ff]1[/color],0xFFFFFFFF,7,2,256,,0,0,[color=#FF0000]204[/color],{ [color=#ee82ee]bonus bAllstats,30;[/color] },{},{} The Cyan "32767" is a different item ID for another item (must change to a different Item ID not taken to duplicate The Blue "1" is the changed slot (you can change) The Red "204" is the same id, so it gets the view id of the Angeling Hat The Violet "bonus bAllstats,30;" is a different effect (you can change) Of course you must add the Item description in idnum2desctable.txt Ex. 32767# (description) # Item Display name in idnum2displaynametable.txt Ex. [code] 32767#Angeling_Hat# And to get the Item.bmp and Collection.bmp You must add the name of the .bmps to the idnum2itemresnametable.txt Ex. 32767#(name of bmp files)#
  9. Woah is this Vana? o_o

  10. When I tried to recolor a sprite, "White Fairy Wings." I recolored it to pink, apparently the .bmp files look okay. but, when I tried to convert all the .bmp files to sprites it ended up like this. BMP files *Before* in the BMP Folder SPR & ACT files *After* in the other folder. When I loaded up the .Act file in ActOR the sprites were like flipped over, black shade in the bottom etc http://www.mediafire...70ctx545y7yuwla
  11. Okay sige~ Change your script to this~ it can old up to 128 items compared to yours which is only 64 due to only 1 array. this has 2 arrays. 1 for price & 1 for item id. To make a another same npc. Change "TCG_SHOP2" to "TCG_SHOP3", change the number only to make it easier.
  12. prontera,139,182,5 script TCG Mids 793,{ mes .name$; mes "You currently have "+countitem(.tcg_item)+" TCG."; mes "Would you like to look at the shop?"; next; if(select("Yes:No") == 2) {close;} close2; callshop "TCG_SHOP2",1; npcshopattach "TCG_SHOP2"; dispbottom "You currently have "+countitem(.tcg_item)+" TCG."; end; OnBuyItem: for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { for(set @j,0; @j < getarraysize(.TCG_ITEMS2); set @j,@j+1) { if(.TCG_ITEMS2[@j] == @bought_nameid[@i]) { set @itemcost,(.ITEMPRICE2[@j]*@bought_quantity[@i]); set @totalcost,(@totalcost+@itemcost); break; } } } if(@totalcost > countitem(.tcg_item)) { dispbottom "You don't have enough TCG."; } else { for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { getitem @bought_nameid[@i],@bought_quantity[@i]; } delitem .tcg_item,@totalcost; dispbottom "Thank you for shopping."; dispbottom "You now have "+countitem(.tcg_item)+" TCG left."; } set @totalcost,0; deletearray @bought_nameid[0],128; deletearray @bought_quantity[0],128; end; OnInit: npcshopdelitem "TCG_SHOP2",909; // Leave this alone set .name$,"[TCG Mids]"; set .tcg_item,7227; // Input TCG ID setarray .TCG_ITEMS2[0],20000; // Item IDs - 128 max setarray .ITEMPRICE2[0],25 // Item prices - Should followe ID's order for(set .@i,0; .@i < getarraysize(.TCG_ITEMS2); set .@i,.@i+1) { npcshopadditem "TCG_SHOP2",.TCG_ITEMS2[.@i],.ITEMPRICE2[.@i]; } end; } - shop TCG_SHOP2 -1,909:20 Oh ito, change mo ng iyong script sa ito, kasi ng setarray pwede mag put only 128 values. to add more: change mo ng "TCG_SHOP2" -> "TCG_SHOP3" , and changing the numbers to add. (sorry tagalog is bad D:)
  13. konnichiwa desu~ Yeah there should add that xD. +1 ;D
  14. Is it this one you need? http://www.mediafire.com/?u46b7guxuuabo8z
  15. Ahah xD thanks now i have to figure out how im gonna put every headgear xD until i learn how to use setarray! XD my signatre for mobile is <3 D:< im on mobile
  16. Nope It didn't work, I even tried changing Angel Wings to Angel_Wings but it didn't work ;_; Oh really, i thought it would be okay due to the "if" command. but if i change the "@whispervar0$" to "@whispervar1$". It's like this Var0 # Var1 meaning that something has to be infront of it correct D:? Like I said man, I havent used the script in 2 years so I'm not 100% sure, try combining the 2 Ifs like so: - script Wing -1,{ OnWhisperGlobal: // == No Sprite if(isequipped(24990)) { if(@whispervar0$ == "none") { atcommand "@changelook 2 0"; end; } else { if(@whispervar0$ == "Angel Wings") { atcommand "@changelook 2 1500"; end; } } } } It works for Angel Wings but instead of changing the middle headgear it changes the upper and the "none" doesn't work anymore D: EDIT: "none works, but for upper D; EDIT AGAIN!: I was wearing 2 dyna's -.- It works! Thanks~
  17. Oh really, i thought it would be okay due to the "if" command. but if i change the "@whispervar0$" to "@whispervar1$". It's like this Var0 # Var1 meaning that something has to be infront of it correct D:?
  18. Not sure why it doesn't work. When I PM the npc "none" it works, but when I PM "Angel Wings" it doesn't work. Heres the script D; - script Wing -1,{ OnWhisperGlobal: // == No Sprite if(isequipped(24990)) { if(@whispervar0$ == "none") { atcommand "@changelook 2 0"; end; } else { end; } } // == Angel Wings if(isequipped(24990)) { if(@whispervar0$ == "Angel Wings") { atcommand "@changelook 2 1500"; end; } else { end; } } }
  19. Well true xD. Anyways thanks, got out of my guilty side xD. ~
  20. Well yeah~ I'm just asking~. I'm just scared the fact that there is a chance another server has the exact same item and effect that I put in ;_;.
  21. Is it illegal or copyright to copy another server's item effect? like for the exact same equips o____o?
  22. Not too sure about the Sql password thing. What if the ip is a dynamic one like mine? (null)
  23. Currently up to date for text files with chapter 6~ (null)
×
×
  • Create New...