-
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
-
Thats because I used Emistry's script as a base and I yours is similar to that. Peopleperson49
-
I bet you didn't change it back to use the monster command. Change the set $EmpSpawnMode,1; to set $EmpSpawnMode,0; And let me know. I recremend getting the guildmonster command. It makes the monsters that spawn not damage guild members of the spawning guild. Also if you use the guildmonster command to spawn a MVP such as detale it won't attack the guild members, but will hurt all other players not in the guild. Peopleperson49 //= 3.0 Added the option for monster or guildmonster function using the variable //= $EmpSpawnMode to control which mode to use. //===== Additional Comments: ======================================================= //= //================================================================================== - script KingOfEmperium -1,{ OnInit: set $EmpSpawnMode,1; //Set to 1 to use guildmonster command.
-
Thanks for the speedly reply Emistry. Peopleperson49
-
Thanks for the input! I didn't use resetlvl for two reasons. When a charcter uses resetlvl the skill trees for saved classes seem to get reset also so what is why I said that I wasn't sure if the sql was working correctly. Also I wanted them to turn back to a novice when you create a new personality so resetlvl 1; wouldn't work for me. It's basically like making a new character so you start over as a base novice. I may be able to script pretty well, but I don't know much about SQL, which is one of the reasons I wanted to make this script. I spent a while reading over SQL just to do what I already did and I'm always trying to increase my skills and abilities! I will use an array for the name, makes more sense. If you want to work together I am more than happy to do so. Expecially since weeks ago my moderator application was "still under review" I have to do something to get noticed around here, lol. Peopleperson49
-
As for the timer I can do it, but I don't know when I will be able to get to coding that. Since I don't do them much I don't have the time to experment right now. However, overall you should be very pleased with my work as it is. I would suggest you get the guildmonster source mod you can purchase from the downloads section since my version of KoE can use that instead of the monster command. I added the option for you to give up to five seperate prizes. Just go to my script collection and get the latest version there. Peopleperson49
-
Sorry, but I think you misunderstrand what I'm asking for. I want you to go to your game files and find trunkdoc/script_commands.txt and then copy the information there for cutin/waiting room and paste it here. For example if I was trying to find out how to get the time of day I would look up gettime() and copy that info in a post like this: *gettime(<type>) This function will return specified information about the current system time. 1 - Seconds (of a minute) 2 - Minutes (of an hour) 3 - Hour (of a day) 4 - Week day (0 for Sunday, 6 is Saturday) 5 - Day of the month. 6 - Number of the month. 7 - Year. 8 - Day of the year. It will only return numbers. if (gettime(4)==6) mes "It's a Saturday. I don't work on Saturdays."; Peopleperson49 I made this script for you based on what you asked for. It is a compltely new version of the third job change quest for an Arch Bishop. I did not use any other scripts as a base. It allows a Priest/High Priest to gather items and then change jobs to an Arch Bishop. The Sub-scripts can be completed in any order and all work off of each other. I did not include a waiting room because I didn't feel it needed one. As requested it is just for one class and you can modify it for all the other classes as you wish. It's called Arch Bishop Job Quest. Let me know what you think and if you have any issues with it. Thanks. Peopleperson49 P.S. I have been getting a lot of PM messages lately asking for me to make entire scripts for people for free which is a bit annoying. Post in the request section and maybe I will work on it for you. http://rathena.org/b...son49s-scripts/
-
It works just fine if you put tabs in the header and mapflag. They were there when I put the script there, but I guess the codebox decided it would rather have spaces, lol. Peopleperson49 script<TAB>MocHeadGear<TAB>-1,{ morocc<TAB>mapflag<TAB>loadevent
-
I'm glad it works, but I am curious which version you ended up using? Peopleperson49
-
I will put it in a post the next time I get on as soon as you copy and paste the curtin and waiting room info from the doc/script_commands.txt. Peopleperson49
-
I like the rAthena client, however, I used to use another client that I really liked. I got it from a friend and I can't seem to contact him anymore, but I'm sure that the feautres can be replicated (just not by me). I think it worked a lot like shin diff patcher or something. However, I told him what features I wanted and he give me an awesome client. Main features included: 1) Mousefreedom type feature was automatically included. 2) When you opened the client it would automatically patch KRO and sakray (tells how old it was) before it would allow the client to let you log in. This would happen after you you used your patcher and the client window opened. 3) Mob sprites would not sprite error, if it was unknown it would show a poring instead of sprite erroring. Kind of like what an unknown item shows up as an apple. Job sprites would not error either, they would show as a novice. However, if you equiped a weapon the novice couldn't hold it would error. This really only came into effect when I tried to make the stargladiator job (one that floates on cloud). 4) Used custom login backgrounds (had to actually create on of your own called login_background1 and login_background2. I don't remember the format, but the login background had to be 800x600. The background were actually part of the client somehow and ignored the ones provided in the KRO data files. 5) Various options were included for your max level, when the aura would activate (upto level 1000). Peopleperson49
-
You can also modify you source files to add a like % chance of stun in there when using any healing item for say 2 seconds. It won't stop spamming them, but will put a hurt on it. However, this would change the dynamic of the game a bit for those who survive by using a billion pots while attacking. Also one good source mod is to make it when you use a healing item you have to stop attacking just as if you used a skill. Just pulling from old filing cabinets in the vacant space in my head. Peopleperson49
-
Nice. I didn't realize that was his entire script. I just thought he was only showing a portion of it. This is a complete script and should work as is for you. Peopleperson49 - script MocHeadGear -1,{ OnPCLoadMapEvent: if(strcharinfo(3)!="morocc") { end; } if(!isequipped(5046)) { dispbottom "You must wear "+getitemname(5046)+" on this map."; warp "SavePoint",0,0; end; } if(@morocc) { end; } set @morocc,1; while (@morocc) { if(!isequipped(5046)) { set @morocc,0; dispbottom "You must wear "+getitemname(5046)+" on this map."; warp "SavePoint",0,0; break; } if(strcharinfo(3)!="morocc") { set @morocc,0; break; } sleep2 5000; } end; } morocc mapflag loadevent
-
For the head gear section check out http://rathena.org/board/topic/70606-request/. Peopleperson49
-
It would be easier to set your gm levels for the first 10 so that they get progressively higher. As they give more coins you manually increase there group level or you use @commands. @commands will only last until they logout. If you want to make a login script you can set a variable everytime they "unlock a skill" which can be used to set there current group upon login. For example: They pay 10 coins and get level 1. So you use set GMCoinLevel+1; So when they login if they now have a GMCoinLevel of 1. It will use @adjgroup playername 1. This way their group increases again everytime they login. If you want you can set it so every day or week they loose 1 GMCoinLevel. I hope this helps, but just an idea of how I would do it. Peopleperson49 Level 1 - Get @go, Level 2 - Get @go, @storage Level 3 - Get @go, @storage, @warp
-
Instead of using: OnInit: setmapflag "morocc",mf_loadevent; end; OnPCLoadMapEvent: if (strcharinfo(3) != "morocc") end; if (!isequipped(5046)) { dispbottom "You must wear "+getitemname(5046)+" on this map."; warp "SavePoint",0,0; end; } if (@morocc) end; // Prevent multiple loops from running set @morocc,1; while (@morocc) { if (!isequipped(5046)) { // Check if the hat is still on set @morocc,0; dispbottom "You must wear "+getitemname(5046)+" on this map."; warp "SavePoint",0,0; break; } if (strcharinfo(3) != "morocc") { // Check if player has left map set @morocc,0; break; } sleep2 5000; // Interval for checks } end; Try using this: OnInit: end; OnPCLoadMapEvent: if (strcharinfo(3) != "morocc") end; if (!isequipped(5046)) { dispbottom "You must wear "+getitemname(5046)+" on this map."; warp "SavePoint",0,0; end; } if (@morocc) end; // Prevent multiple loops from running set @morocc,1; while (@morocc) { if (!isequipped(5046)) { // Check if the hat is still on set @morocc,0; dispbottom "You must wear "+getitemname(5046)+" on this map."; warp "SavePoint",0,0; break; } if (strcharinfo(3) != "morocc") { // Check if player has left map set @morocc,0; break; } sleep2 5000; // Interval for checks } end; Outside of the script at the end: morocc mapflag loadevent Peopleperson49
-
If you just search for it here there are lots of scripts that are just like that. Peopleperson49
-
Put this inside your script somewhere. I wrote this at work and it has not been tested, but I think its okay. So somebody please correct if necessary. Peopleperson49 function createTable { query_sql("CREATE TABLE IF NOT EXISTS `claimreward` (`id` int(11) NOT NULL auto_increment,`char_id` int(11) NOT NULL default '0',`item_id` int(11) NOT NULL default '',`quantity` int(11) NOT NULL default '',PRIMARY KEY (`character_id`),KEY (`id`) ) ENGINE=MyISAM; OnInit: createTable(); end;
-
I have a script for you now that I'm pretty sure you will like, however, you have to to go the doc/script_commands.txt and copy and paste the information for cutins and waiting rooms here in a post. Both cutins and waiting rooms are super easy to do, just as long as you follow those guidelines! The hardest thing about cutins is finding the correct cutin! As you requested I made it for just one class and then you can take it and modify it as you need. Peopleperson49
-
Sorry I have been busy, but I will see about getting to that sometime, just not sure when at the moment. If you can get somebody else to work on that I won't mind that, just let me know. Peopleperson49
-
Peopleperson49's Script Collection Please enjoy my work. If you have any suggestions or find any issues/bugs please let me know! If you like or download my work please click the "Vote this post up" button to the right of the post and check out my server Ragnarok Underground. My scripts are written as I would use it for my Ragnarok Underground server, you might need to configure them before use. My scripts are written to work with the rAthena emulator. When reporting and bug/error/suggestion in this topic please give the emulator version, version of the script your using, and the issue in detail! Super Magnifier Identifys all unidientified items a player is holding at once. I made this a long time ago for my server, but I added here for Nipsino after reading a post he left. Function_SuperMagnifier.txt Rock, Paper, Scissors Roulette This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. This script was recreated in this same way. It is very similar to the original in design. Allows the player to play roulette with a 5 chamber pistol. Only one bullet is loaded at a time. The script will continue to loop until somebody is shot. Version 2.0: rpsroulette.txt BlackJack Scratchcard Blackjack script that designed to work like a scratchcard. It is based on using eight decks or cards and both numbers and suits determine winning hands. Buster prize for scoring a 30 or 31, which can only be done if you already have a 20 or 21 adding one more element of gambling to it. Item data is included at the bottom of the script. Version 3.3: Scratchcard_BlackJack.txt Powerball Lottery This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. This script was recreated in this same way. It is very similar to the original in design. Powerball lottery picks 5 miniballs and 1 powerball. Different pay amount based on type of matches made. Version 1.7: lottery.txt Advanced Banker This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. This script was recreated in this same way. It is very similar to the original in design. Bank with varying account and interest based directly on balance. Also has trustfund which pays out only when the character reaches BaseLevel 150. Most of my scripts give trustfund bonuses and also 1% of any zeny spent goes toward the trustfund. Version 1.4: bank.txt Heads Or Tails This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. I remember making this one, but I'm not sure if I based it off of another script or not. Player starts by betting 500z and then flips a coin. If heads their money is disabled, if tails they loose all their money. Version 2.4: hot.txt Jackpot Leon This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. This script was recreated in this same way. It is very similar to the original in design, however I'm not sure where to find that script anymore. The script picks a number between 1 and 100. The player pays 10,000z to make a guess. Each guess increases the size of the Jackpot by 9,000z until somebody wins. Version 2.3: jackpot.txt Double Dice Roll Very simple dice gambling game created for my custom Comodo casino package. You bet various amounts of zeny and roll two dice. The winner is the one with the highest total score. This was created from scratch as part of my casino package and had nothing to do with the rolladice script. Version 2.1: roll_a_dice.txt Saving Angel This script was written for my lovely wife after we were player and our whole party was wiped out in majos. It allows a character to resurrect another character anywhere in the server for a fee. Version 1.8: Saving_Angel.txt Magic 8 Ball Custom script that works just like using a magic 8 ball. Version 2.2: MagicEightball.txt Wishing Well Custom script that allows a player to throw zeny into the wishing well and make a wish. The wish is then sent to any online GM using @request. It is restricted to one use per day to help prevent annoying the crap out of the GM's! Version 1.7: WishingWell.txt Arch Bishop Job Quest This script was written for MelMel on rAthena.org. It is a compltely new version of the third job change quest for an Arch Bishop. I did not use any other scripts as a base. It allows a Priest/High Priest to gather items and then change jobs to an Arch Bishop. The Sub-scripts can be completed in any order and all work off of each other. Version 1.1: Job_AB.txt Guillotine Cross Job Quest This script was written to supplement the fact that the Guillotine Cross still has no official script release on rAthena.org. It is a compltely new version of the third job change quest for a Guillotine Cross. I did not use any other scripts as a base. It allows a Assassin/Assassin Cross to gather items and then change jobs to a Guillotine Cross. Version 1.2: Job_GC.txt Monster Of The Day Another Monster Of The Day script. I made this one from scratch to be very simple and work automatically. Uses almost the full list of monsters from the mob_branch. I included the dispbottom here when players login, but I actually perfer to use a login script with this in it. Version 1.4: MOTD.txt Security Manager Allows a player to set up a password to help protect their account. It uses a simple OnWhisperGlobal function. I nolonger support the use of the whisper system in my Security Manager script after version 1.3. I will still provide support for other issues that might be discovered in scripts prior to v1.4, but they will be fixed in a version that now uses bindatcmd. Version 1.5: Security_Manager.txt GM Headquarters Allows access to a part of the sec_in01 map that doesn't have any warps anyway. This is a nice areas to setup special NPC's or events. Whatever anybody wants to do with it. However the secutiry code is fun for everybody to try to crack. This script currently has shops that be used once a day as a reward for cracking code. It's my intent to eventually add a full warper script that can be used once a day also. Version 1.3: GMHeadquarters.txt Monster Hunter This script was written for vgrebirth on rAthena.org. It allows one party at a time to do the Monster Hunter event. If any member is killed the entire party looses and are warped out. If you kill all the mini-boss monsters the boss monster is spawned. Version 2.7: Monster_Hunter.txt
- 140 replies
-
- 23
-
-
-
-
This is probably more of a db issue since it was an item add and not a script issue, but Phantasm is correct. Peopleperson49 doc/script_commands.txt Whenever '//' is encountered in a line upon reading, everything beyond this on that line is considered to be a comment and is ignored. This works wherever you place it. // This line will be ignored when processing the script. Block comments can also be used, where you can place /* and */ between any text you wish rAthena to ignore. Example: /* This text, * no matter which new line you start * is ignored, until the following * symbol is encountered: */ The asterisks (*) in front of each line is a personal preference, and is not required.
-
Using getitemslots... *getitemslots(<item ID>) This function will look up the item with the specified ID number in the database and return the number of slots this kind of items has - 0 if they are not slotted. It will also be 0 for all non-equippable items, naturally, unless someone messed up the item database. It will return -1 if there is no such item. Example(s): //@slots now has the amount of slots of the item with ID 1205. set @slots, getItemSlots(1205); Using getquipid... *getequipid(<equipment slot>) This function returns the item ID of the item equipped in the equipment slot specified on the invoking character. If nothing is equipped there, it returns -1. Valid equipment slots are: EQI_HEAD_TOP (1) - Upper head gear EQI_ARMOR (2) - Armor (Where you keep your Jackets and Robes) EQI_HAND_L (3) - What is in your Left hand. EQI_HAND_R (4) - What is in your Right hand. EQI_GARMENT (5) - The garment slot (Mufflers, Hoods, Manteaus) EQI_SHOES (6) - What foot gear the player has on. EQI_ACC_L (7) - Accessory 1. EQI_ACC_R (8) - Accessory 2. EQI_HEAD_MID (9) - Middle Headgear (masks and glasses) EQI_HEAD_LOW (10) - Lower Headgear (beards, some masks) Notice that a few items occupy several equipment slots, and if the character is wearing such an item, 'getequipid' will return it's ID number for either slot. Your use of .@ItemPart in the part 'if(getitemslots(.@ItemPart) == 0){' should be giving the the ItemID and in the 'getitemname(getequipid(.@ItemPart))' your using it for getequipid which returns an equipment slot. That could be your problem. if(getitemslots(.@ItemPart)<0){ mes .@name$; mes "Sorry this ^ff0000"+getitemname(getequipid(.@ItemPart))+"^000000 item already have slot"; }else{ mes "oh your item is not sloted"; Peopleperson49
-
I'm not agreeing to do this for you now because I currently have another project I started for somebody and it will probably take me a while! However, I will get additional information just in case I have some free time. Are you wanting one quest for every class or a specific quest for each class. How many chains do you want it to have? I generally don't work from nothing! I like to force people to put some effort in to there own projects (unless its a paid job)! For example the project I am working on now, I made them make me the script as best as they could and then I fix/modify it for them. Actually am basically rewriting it! It's one thing to do all the work, but another to allow people to get something back from there work! I tought my self to script and you will never learn by having somebody else do it for you!!! So what I want from you before I will work on it. Bad scriptor not I would want the basic script wrote, if its wrong that is fine as long as I see real effort! I know I can script, now it's your turn! That includes where you want each chain NPC, their names, which npc sprites you want to use, maps for your waiting room, etc... Peopleperson49
-
I understand about fixing the other issues, but sometimes you just want to get the play back going again! This command is not as much about issue resolution as it is a very helpful tool! I have over 8,000 custom items in my item_db2 and I had this problem quite a bit a while ago when my equipment that was recieved from itemgivers was unidentified and I didn't have any data files for that. It took me a bit to figure that one out. Either way I use @dropall alot to dump my inventory from the etc tab. I already have the mod myself, I just think it would be useful in one way or another for others to have it all the time! How many atcommands do we have now that are used all the time that say 6 years ago didn't exist? I bet that a large number of them people just like you said they wearnt necessary either! Peopleperson49
-
I would never give a character on my lowrate server commands such as @dropall! This command is a good feature for GM use! It gives flexability to the command and does not break the 1:1 rule! There is times where I am killing stuff on my GM character (for testing or bordom) and I realize I have a full inventory of etc items, but I don't want to spend forever selling the off or even worse droping them one by one. Modifying the @dropall command allows me to drop specifically what I want. Also if I want to drop something of a players I can drop only the tab. You don't always know what is erroring in a players inventory. Maybe they didn't patch correctly and only they error. Should I delete every item in their itemlist until the error is fixed? Also delting them one by one requires them to test it and if you deleted the wrong one they error again. So they login again and then watch another item not be it... That could go on for a while! Dropall would help to minimize adding insult to injury! You may know that its in the armor tab, so why not make them just drop what is in that tab instead of all items including equiped items? I really don't see why anybody wouldn't want this feature. Peopleperson49