almarket23
Members-
Content Count
90 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by almarket23
-
is it possible to PM an NPC? for example I PM an NPC named Nancy a dispbottom message will appear. Please close this request. Answer was already found.. Thanks
-
Please fix this script. The only thing that I want to this script is to make the selected card from the query with corresponding points to stay in the NPC for about 5 minutes and after that the NPC will change the card to a different card... The script that I have is making it pick a random cards every time that I click the NPC which is not what I want. Here is the new script.. prontera,150,150,5 script Sample 89,{.number = rand(1,494);.@cards = query_sql("SELECT `cards`,`card_name`,`points`,`id` FROM `cards` WHERE `id` = "+.number+"",.@ccards,.@cnames$,.@cpoints,.@cid) ;if( .number == .@cid ) {Talk: npctalk "I'm missing a " +.@cnames$+ ". I can offer " +.@cpoints+ " premium points in return. # "+.number+" ";}} Please help me with this.
-
@@Dogpatch it seems like you didnt change or put anything. same as my script above..
-
Hi everyone. Does anyone know how to fix this script? Here are the things that I need for this script.. 1st: I want this script pick a card from the system and in every 2 hours it will change to another card. picking a card should be random and all the cards in the system should be available. 2nd: While the time is not up yet the picked card can be seen from the NPC and it will just change to another card when 2 hours is up. prontera,150,150,5 script Sample 89,{mes "No available cards at the moment.";close; OnClock0000:OnClock0200: OnClock0400:OnClock0600:OnClock0800:OnClock1000:OnClock1200:OnClock1400:OnClock1600:OnClock1800:OnClock2000:OnClock2200:OnStart:.number = rand(1,494); // this are the number of cards available in the system.@cards = query_sql("SELECT `card_id`,`card_names`,`cedi_points`,`id` FROM `cards` WHERE `id` = "+.number+"",@ccards,@cnames,@cpoints,@cid) ;for (.@i = 0; .@i < .@cards; .@i++ ) if( .number == @cid[.@i] ) {mes "I'm missing a " +@cnames[.@i]+ ". I can offer " +@cpoints[.@i]+ " premium points in return.";close;}} I hope that anyone understand what I mean. Please help me. Thanks...
-
anyone please?
-
is there a way to open this file? specially those maps?
-
Hello Tokeiburu, I have a question. Why I cant open some of the files using the GRF Editor? I am having an Error. Like This: And the message on it is: -------------- Message --------------Unrecognized file format (GAT).-------------- Stack trace -------------- at GrfToWpfBridge.Application.DefaultErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel) at GrfToWpfBridge.Application.DefaultErrorHandler.Handle(Exception exception, ErrorLevel errorLevel) at GRFEditor.WPF.PreviewTabs.FilePreviewTab._baseLoad(FileEntry entry) at GRFEditor.WPF.PreviewTabs.FilePreviewTab.<Update>b__2() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()-------------- Exception --------------GRF.Core.Exceptions.FileFormatException: Unrecognized file format (GAT). at GRF.FileFormats.GatFormat.GatHeader..ctor(IBinaryReader data) at GRF.FileFormats.GatFormat.Gat..ctor(IBinaryReader data, GatPreviewFormat previewFormat) at GRF.Image.ImageProvider.GetImage(Byte[] dataDecompressed, String extension) at GRFEditor.WPF.PreviewTabs.PreviewMapGat._load(FileEntry entry) at GRFEditor.WPF.PreviewTabs.FilePreviewTab._baseLoad(FileEntry entry) Please help me. I want to extract some files that I got online specially those maps.
-
Hello guys. Can anyone help me with my Stylist. Here is my script. This is not yet finished but can anyone finish this for me? i dont know how to do this. Thanks prontera,150,150,5 script Stylist 878,{set .@n$,"[Stylist]";query_sql("SELECT `char_id`,`name`,`hair`,`hair_color`,`clothes_color` FROM `char` WHERE `char_id` = '"+getcharid(0)+"'",@charid$,@name$,@hair$,@haircolor$,@clothcolor$);mes .@n$;mes "You are currently wearing:";mes "Cloth Color: "+@clothcolor$+"";mes "Hair Color: "+@haircolor$+"";mes "Hair Style: "+@hair$+"";next;mes .@n$;mes "What would you like to change?";next;switch(select("Clothes Color:Hair Color:Hair Style:Saved Dyes:Randomize")) { case 1: clothcolor: mes .@n$; mes "Choose a style to begin from between 0 to 699."; input (.@clothcolor); switch(select("Next:Previous:I Like it!:[Save Clothes]")) { case 1: // will show the next clothcolor case 2: // will show the previous clothcolor case 3: next; mes .@n$; mes "Perfect ! I am glad you found a style that fits you!"; close; case 4: switch(select("Set 1:Set 2:Set3")) { case 1: // will save the clothcolor that you want to this set mes .@n$; mes "Your style has been saved."; goto clothcolor; case 2: // will save the clothcolor that you want to this set mes .@n$; mes "Your style has been saved."; goto clothcolor; case 3: // will save the clothcolor that you want to this set mes .@n$; mes "Your style has been saved."; goto clothcolor; } } case 2: haircolor: mes .@n$; mes "Choose a style to begin from between 0 to 126."; input (.@haircolor); switch(select("Next:Previous:I Like it!:[Save Clothes]")) { case 1: // will show the next hair color case 2: // will show the previous hair color case 3: next; mes .@n$; mes "Perfect ! I am glad you found a style that fits you!"; close; case 4: switch(select("Set 1:Set 2:Set3")) { case 1: // will save the haircolor that you want to this set mes .@n$; mes "Your style has been saved."; goto haircolor; case 2: // will save the haircolor that you want to this set mes .@n$; mes "Your style has been saved."; goto haircolor; case 3: // will save the haircolor that you want to this set mes .@n$; mes "Your style has been saved."; goto haircolor; } } case 3: mes .@n$; mes "Choose a style to begin from between 0 to 27."; input (.@hairstyle); switch(select("Next:Previous:I Like it!")) { case 1: // will show the next hairstyle case 2: // will show the previous hairstyle case 3: next; mes .@n$; mes "Perfect ! I am glad you found a style that fits you!"; close; } case 4: mes .@n$; mes "Here are the color sets you saved:"; mes "Which one do you want to wear ?"; mes Slot 1 : <clothcolor>,<haircolor>"; mes Slot 2 : <clothcolor>,<haircolor>"; mes Slot 3 : <clothcolor>,<haircolor>"; next; switch(select("Set 1:Set2:Set3")) { case 1: // it will automatically wear the cloth color and hair color that you have saved before in this set. mes .@n$; mes "Here is the set you like! See you later."; close; case 2: // it will automatically wear the cloth color and hair color that you have saved before in this set. mes .@n$; mes "Here is the set you like! See you later."; close; case 3: // it will automatically wear the cloth color and hair color that you have saved before in this set. mes .@n$; mes "Here is the set you like! See you later."; close; } case 5: mes .@n$; mes "What would you like to change?"; next; switch(select("Next:I Like It!")) { case 1: // it will going to give you a random cloth color, hair color and hair style. case 2: next; mes .@n$; mes "Perfect ! I am glad you found a style that fits you!"; close; } }}
-
available options cannot be selected. HELP please
almarket23 replied to almarket23's question in Script Support
@@Garr Thank you so much. This is exactly the thing that I want... Actually Garr the script that I showed is an example script only. The only thing that I really need is to how to select all available options if there is. Im having a problem with that. anyways thank you so much Garr you are so genius.. -
available options cannot be selected. HELP please
almarket23 replied to almarket23's question in Script Support
@@Zhao Chow I already tried that but nothings happened. its the same. i cant choose the other options that are available. its only the fitst option i can choose.. -
Hi everyone. Im trying to make a script however im having a trouble with the script that i make. I want to make all the options be available. I mean as you can see only the first option is the only one that can be selected. it cannot be skipped. I want all the available options be selected by only entering the correct id number. as long as the id is available whatever id comes first i want the second or the other id can be selected as well. I hope you get what i mean. here is the script. please fix it for me. thanks a lot.. prontera,150,150,5 script Usagi 89,{set .@n$, "[Miss Usagi]";checkstatus:query_sql("SELECT char_id,account_id,name,class,base_level,job_level FROM `char` ",@charid,@accntid$,@name$,@class$,@blevel$,@jlevel$);mes .@n$;mes "This are the Players that is already reached the max level. Please choose the player that you want to check the information.";mes "==================================="; for (.@i = 0; .@i < getarraysize(@blevel$); .@i += 1) { if ("99" == @blevel$[.@i]) { mes ""+@charid[.@i]+" || "+@name$[.@i]+""; } }next; input ( .@level ); for (.@i = 0; .@i < getarraysize(@charid); .@i += 1) { if ( .@level != @charid[.@i] ) { mes .@n$; mes "The Character ID that you enter is not available. Please enter the correct Character ID."; next; switch(select("Re-enter Character ID")) { goto checkstatus; } } mes .@n$;mes "Account ID: "+@accntid$[.@i]+"";mes "Character ID: "+@charid[.@i]+"";mes "Name : "+@name$[.@i]+"";mes "Class Type: "+@class$[.@i]+"";mes "Base Level: "+@blevel$[.@i]+"";mes "Job Level: "+@jlevel$[.@i]+"";close; }} and also if in case that there is no available player that reached lvl 99. I want this text be appeared. "There's no Player/s reached level 99 yet." Please help me. Thanks again.