-
Posts
1181 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Peopleperson49
-
Got to the script_commands.txt and look up the prompt command. *select("<option>"{,"<option>",...}) *prompt("<option>"{,"<option>",...}) This function is a handy replacement for 'menu' for some specific cases where you don't want a complex label structure - like, for example, asking simple yes- no questions. It will return the number of menu option picked, starting with 1. Like 'menu', it will also set the variable @menu to contain the option the user picked. if (select("Yes:No")==1) mes "You said yes, I know."; And like 'menu', the selected option is consistent with grouped options and empty options. prompt works almost the same as select, except that when a character clicks the Cancel button, this function will return 255 instead. Now take this from my script and break it down: switch(prompt("100x Refining Concentrate - 300z:Red Potion Case - 1,824z:Orange Potion Case - 7,296z:Yellow Potion Case - 20,064z:White Potion Case - 43,776z")) { case 1: callsub GMHQ_Func,28378,300,100; break; //100x Refining Concentrate case 2: callsub GMHQ_Func,28272,1824,1; break; //Red Potion Case case 3: callsub GMHQ_Func,28273,7296,1; break; //Orange Potion Case case 4: callsub GMHQ_Func,28274,20064,1; break; //Yellow Potion Case case 5: callsub GMHQ_Func,28275,43776,1; break; //White Potion Case case 255: mes "[GM Trevor]"; mes "Please come again!"; close; } If you look at it you see my 100x Refining Concentrate - 300z. Notice its seperated by a : from the Red Potion Case - 1,824z. Each entry is another case below it. Therefore the 100x Refining Concentrate - 300z is case 1, etc... The case 255 is set by using the prompt command instead of select. If you use prompt and click the Cancel it executes whatever is in case 255. As a work to the wise never use a next; in the case 255 section! I will start it for you and you can finish it with what you learned: switch(prompt("Berzebub Card - 100,000,000z:"Doppelganger Card - 50,000,000z:Finish the other stuff here)) { case 1: callsub GMHQ_Func,4145,100000000,1; break; // Berzebub Card case 2: callsub GMHQ_Func,4142,50000000,1; break; //Doppelganger Card case 3: callsub GMHQ_Func,2524,100000000,1; break; //Valkyrian Manteau case 4: callsub GMHQ_Func,2357,200000000,1; break; //Valkyrian Armor case 5: callsub GMHQ_Func,2137,150000000,1; break; //Neo Valkyra Shield case 6: callsub GMHQ_Func,2421,100000000,1; break; //Valkyrian Shoes case 7: callsub GMHQ_Func,2115,100000000,1; break; //Valkyrian Shield case 8: callsub GMHQ_Func,5826,100000000,1; break; //Valkyrian Helmet case 255: mes "[GM Trevor]"; mes "Please come again!"; close; } I hope you learn something from this gibberish, then again ragnarok online is all about gibberish, lol. Peopleperson49
-
Great work TrueNoir. I will give it a try right away. Thanks. Peopleperson49
-
What are you trying to convert to english with the navi_npc_krsak.lub? Maybe you have the wrong file for it. Peopleperson49
-
Glad I could help you out. Let me know if you need anymore assistance! Peopleperson49
-
Thanks Nana for you feedback! Annie has a point so feel free to post on my Script Collection page for assistance with my verson. Thanks. Peopleperson49
-
Here are the untranslated texture buttons that need to be used for the 2012 client. It took a while to extract, but my photoshop skills are very lacking and I still can't read korean. If somebody can translate we should add these to our data file repository. Just a thought. Peopleperson49 Texture_Buttons.rar Edit: Converting the Towninfo to LUB worked perfectly. Thanks Earthlingz!!!
-
When .MHPartyID is set it won't let another party register so the variable can't be set to something else. This allows me to minimize the amount of stuff my server has to save. I will look into it to see if their is a better way it should be though and from what you said I see one possible thing I need to work on. I'm glad you can finally look at something of mine, since you have been a great help with clients!!! What do you think of my work? Peopleperson49 if(.MHPartyID!=0) { mes "[Neilay]"; mes "There is already a party registered."; close; }
-
I will give it a try Earthlingz. That is something I didn't do. Thanks and I will get back to you to let you know if it works! Peopleperson49
-
Sorry, I put a lot of "love" into my scripts to make the user friendly and I just take it very personally if you or anybody else makes that claim. I took your idea of putting the in one NPC instead of using a seperate controller, but I didn't use your work when I scripted mine. To me I wrote a completely different script and I add a lot of elements that were not in yours. I never even considered that I might ever be coping yours. I tend to get very defensive in any situation where somebody accuses me of anything, especially in the case where I put a lot of time and work into something. But at the same time I understand exactly what your saying. I posted a lot my scripts on eAthena way back when and a few weeks later one of my friends told me about a server using a lot my scripts. They wean't anything super advanced, but I was excited and made an account to see them in action. When I asked their scripting GM how people liked them, he said that he made them specially for that server. I was a bit furious and pulled all of my stuff off of eAthena. Until I came here I had not posted another script besides to help people out or fix scripts that were already there. Who knows maybe this is way I took it so personality. Peopleperson49
-
Request NPC Security Account
Peopleperson49 replied to Yasunari Ishibashi's question in Script Requests
I understand now, thanks darristan. I can't help him with that because I still use 16265 which doesn't have the command. I don't want to script something I can't test out. Peopleperson49 -
Request NPC Security Account
Peopleperson49 replied to Yasunari Ishibashi's question in Script Requests
Which script is giving you problems? What is the issue? Peopleperson49 -
I extracted the data folder last night and today I will search for the korean buttons for what is untranslated in my client to photoshop the correct words unless somebody has them to share. The only thing I have untranslated is the text over for the minimap icons. Since everybody seems to be suggesting using the 2012-04-10aRagexe client so much I figured I would ask to see if there was an issue. I have updated the msgstringtable, Towninfo.LUA (which is what I was refering to in the System folder, sorry for mixing them up) and most of the navi_npc_krsak. However still my minimap icons are in korean and I know its reading that from somewhere, I'm just trying to figure out from where. Nana if you can remember how to disable the minimap icons I would rather do that!!! As for translating the navi_npc_krsak its very easy. Just open the LUA file and warp to the npc which shows the english names, some NPCs from the list don't exist, but most do. Thanks for your response everybody! Peopleperson49
-
That stuff is all easily changed by you when you look through the script and use doc/script_commands.txt. To change the name just use copy and paste to copy my [Microhard security 1.0] and replace it with your [MicRO-bust Security 1.0]. Also most servers won't allow you to change zeny amounts more than 10mil at a time. Those changes are really easy so I will help you make them. The hardest thing for you might be the base level up since you have to check if the player is at max level or will take there zeny and not do anything. Peopleperson49 This uses my custom items which you need to change. case 3: callsub GMHQ_Func,28273,7296,1; break; //Orange Potion Case 28273 is the item you wish to sell. 7296 is the amount of zeny you want to sell it for. 1 is the quanity you wish to give them each purchase.
-
Download version 1.2 it has the corrected cooldown. Just had to test that it worked out before I put it there. Peopleperson49
-
I understand what your saying. I will be releasing a revison tomorrow to modify the cooldown time anyway. I don't think its working correctly and need to test it out better. I posted version 1.0 without testing anything, so I'm glad it worked out for you as it was. Peopleperson49
-
You can change anything you want it to do through your db files. I suggest you create a new mob and make it do what you want it to instead of modifying a current one. If you need help with that, post a request in the proper request section. I would suggest that you remove the cooldown time that you requested. The way I scripted it you really don't need it there. Peopleperson49
-
Then you will need to specify a different boss. Just change it in the OnInit section. If there is no mob that does the skills and spawns you want then you need to make a custom mob for it. Peopleperson49
-
I wasn't trying to steal your stuff at all! I wrote all the script/loops myself and didn't copy your work. I know how to do it myself and don't need to steal others work. My original idea had it starting OnMinture00 and ending OnMinute55 with a seperate function NPC, however very similar to yours. I did change the format more based off of yours when I combined the two and eliminated the OnMinute. I didn't use anything other than your format, I didn't realize that qualified as stealing work. Your design was exactly how I would have done it anyway, excellent use of loops and party commands. I will update it and give you credit where it was due. I appolgize and would hate to be classified as those who steal other peoples work! Mine was tailored to exactly what vgrebirth wanted. Peopleperson49 Edit: Added Version 1.1 which give you credit for using your format.
-
That is how you do it, not sure why its not working for you? Peopleperson49
-
I used 2012-04-10aRagexe and modifying the Towninfo.lua files doesn't have any effect even after being translated through the System folder. I was told that the system folder might not work for the that client. If that is so how do I get it to work for it or which clients will support it for sure? Peopleperson49 Edit: I meant the Towninfo.lua not the navi_npc_krsak.lua.
-
I created another version of the Monster Hunter event from scratch. You can find it in my script collection at http://rathena.org/board/topic/70567-peopleperson49s-scripts/#entry136087. Version 1.0 has not be tested yet, so let me know if you find any issues or even if you don't. Peopleperson49
-
Besides the sniper is there any monsters that you wanted specifically to be non-boss monsters? Peopleperson49
-
Did you get it to work zhao? It's exactly the same as setting up exp/drop rates for a server! Peopleperson49
-
Yea I fixed that earlier after looking over the script again. Thanks for pointing that out, I made the change on the fly before I had to leave. I know better than to rush. Peopleperson49
-
Its funny but I didn't even think of just giving him the command myself. Peopleperson49