-
Posts
189 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by iFoxkun
-
-
Edit: Nevermind Got it,
*if this is a double post ~ sorry D:.*
-
Which conversion tool did you use? In SPR Conview there's an Encode option and the problem you have right there tends to occur when you leave Encode checked while converting .bmp to .spr. There also seems to be a frame missing in your sprite. Try a different act or add the missing frame.
Ohhh~ Thanks, actually is it possible to delete that frame?
-
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)#
-
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
-
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:)
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.
-
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:)
-
konnichiwa desu~ Yeah there should add that xD. +1 ;D
-
Is it this one you need?
-
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
-
- 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$ == "AngelWings") { atcommand "@changelook 2 1500"; end; } else { end; } } }
Try it without the space.
Nope It didn't work, I even tried changing Angel Wings to Angel_Wings but it didn't work ;_;
I believe its because you are using the same whispervar? I'm not sure; Its been almost 2 years since i've used the script
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~
-
I believe its because you are using the same whispervar? I'm not sure; Its been almost 2 years since i've used the script
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:?
-
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; } } }
-
Well true xD. Anyways thanks, got out of my guilty side xD. ~
-
No, but its morally wrong... I mean sure, you can steal someone else item effect but you'll know that you took it which is morally wrong
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 ;_;.
-
Is it illegal or copyright to copy another server's item effect? like for the exact same equips o____o?
-
Security
thing D;. And yus. D:
-
Not too sure about the Sql password thing. What if the ip is a dynamic one like mine?
(null)
-
Currently up to date for text files with chapter 6~
(null)
-
AHH Fixed it, I just don't know how to edit the "Koin" part
-
alright great!
Not really, I'm still wondering about the 3 problems, and ended up wanting to change the matk formula from 1.5 to 2 ;< dunno how x3
-
How do I cap or make Vitality Defense / Intelligence Magic Defense to 99 Max? Heal -> 32767 Max; Skill Delay -> 80% Max? And Changing the matk formula from 1.5 -> 2
Can Anyone help me with this. I ask too much for help D;
-
What would I need to change? o-oThis is likely a client issue, off the top of my head have you checked msgstringtable.txt in your data folder?
Actually Nope. I don't know other things besides adding sprites and the num2/idnum2 and clientinfo.xml
you actually need to hex your client
no diffs has this yet
-
This is likely a client issue, off the top of my head have you checked msgstringtable.txt in your data folder?
Actually Nope. I don't know other things besides adding sprites and the num2/idnum2 and clientinfo.xml
-
Hmm, not sure if this is an error.
Instead of "Points" it shows "Koin". Is it possible to fix this?
Also is it possible to change the "K" in the shop to a "P"? IE. 2000 K -> 2000 P
Safe Zone Event
in Game, Event, Quest Script Releases
Posted
WOAH! Damn nice script goddammeit ~ for sure gonna use this.
D:< im on mobile