Jump to content

GreenMagic793

Members
  • Posts

    157
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by GreenMagic793

  1. Thanks for your replies guys. I'm having a little trouble though. I opened up script.c and added the blocks of code you uploaded Moriarty, and then I added the defs that Nova mentioned. I reloaded everything but the command still doesn't appear to be recognized by the server. Is it as simple as cutting and pasting what you guys posted in my script.c or am I missing something? Is there something more I need to do to get the server to recognize my changes to the source? Thanks again.
  2. Hey guys, I'm using an outdated client that doesn't have the PlayBGM or PlayBGMall commands. I really, really need these commands for my server, so what do I need to edit in source to add these? Any help is greatly appreciated! Thank you.
  3. Hey guys, I created an item which lets my players summon a poring monster, which is pretty cool, but the big problem is that I don't want players to be able to keep summoning monsters over and over, I want there to be a limit. How do I make it so that there is a limit to the number of monsters that can be spawn by an item which uses @summon? Thanks in advance.
  4. Hey guys, I want to create misc items that give bonuses. So, as an example, I want to make it so that if you have a Jellopy in your inventory that you'll get +1 strength. So far I've only been able to create equippable items like headgear and weapons that give bonuses, but I want to make an item that gives the user bonuses just by having it in their inventory. Is this possible, and how do I do it? I appreciate your insight.
  5. Brother, I understand your frustration. I can't tell you how many nights of my life I lost trying to get my server working back in the day, and sadly things have only gotten more complex since then. Unfortunately, I don't think you're going to find an "end-all-be-all" client/server etc. One issue you often run into with these guides and releases is that they aren't always optimized for your computer and the writing/instructions is aweful, so it can be a freaking nightmare trying to get it started. My advice for you is to walk away from the computer for a few hours, have some tea or a smoke, and regain your sanity. Afterwards, simply look up a few different guides, compare them and see where instructions overlap to help you get a sense of what you really need to do and then start from the beginning. I know that sounds like shitty advice and you're just looking for a one-click-start but you aren't going to find that. You just have to stick with it. But trust me, a million people can do it, you can too, don't feel discouraged just because it doesn't happen overnight. Best of luck!
  6. Hey guys, I need help with a very simple script that I just can't seem to figure out. All I want to do is make an NPC that displays how many GM's are online. For example, a player would click the npc and it would say "There are 3 Game Masters online". It would be even better if it said the name of each GM that was online but I'll take anything, I just want my players to be able to see how many/which GM's are online and for some reason I can't seem to figure out how to do it. Thanks for the help.
  7. I didn't know editing anything source related was necessary. Perhaps I skimmed over it but custom mobs article didn't seem to make any note of it that I recall. I thought it was as simple as inserting sprites/acts and editing the .lua files.
  8. I'm still running a TXT server with no mail system <3
  9. I'm assuming he wants this to work for all mountable classes. A consumable item with atcommand "@mount" in the script would probably do the trick and would prevent the need for him to have an entire skill devoted to this.
  10. Hey guys, I need a very simple and secure script for sending items between players. It doesn't need to be anything fancy, I simply need to be able for player A to input an item ID and an amount and have that many of that item subtracted from their inventory and transferred to player B. If someone could refer me to the relevant code or an already-made script, I'd really appreciate it.
  11. So if I understand correctly, if I'm missing the 1_etc_01 files, I'm required to have those even to spawn purple_plant? Why is that exactly? Isn't 1_etc_01 a separate sprite that would have nothing to do with mine?
  12. I'm not sure I'm understanding. What difference would having the files for that NPC make (which I do already btw)? If anything shouldn't it say "can't find file gibberish\npc\purple_plant.spr" since that's what I named my sprite? I read through both rathena articles on custom mobs and spriting but I'm confused as to how exactly I link up a sprite I've created with a mobid and its corresponding script. By putting the purple_plant.spr/act files in all the right places, shouldn't that be enough for the game to recognize the sprite? Thanks for the help.
  13. Hey guys, So here's the deal. I've been trying my hand at adding a custom monster sprite to the game. However, I'm encountering some issues. First, I went into my mob_db and created a mob called purple_plant and gave it the mobid of 3005. I created the .spr and .act files for my monster and placed them in the correct folders. However, when I try to spawn the monster, I get errors that say things like "can't find file \gibberish\npc\1_etc_01.act". So I then realized, oh, I need to add the monster data to the .lua files. I went into my lua folder, went into datainfo, downloaded jobname.lua and npcidentity.lua. I then added my own mob in the same format as the rest of the mobs. The problem is... When I try to spawn this mob, I'm still getting the 1_etc_01.act/spr error. What could be causing this? I have my sprites in the right folders, my mob is in the mob_db... I don't get it. Any help is appreciated.
  14. Adding a new skill is going to be time consuming and possibly difficult. My suggestion would be to simply make consumable item that mounts the character when used. That would take a matter of minutes, and you could simply price it for a few hundred zeny (or whatever you desire) and add it to your town tool dealer or kafra. If you don't know how to do this, I'll gladly make the script for you.
  15. Hmm... Interesting. But is there an automated way to do that? I'm basically trying to make it so that when a new player speaks to the first NPC that let's them into the game it'll give them their own personalized ID card, such that every character would have one and it wouldn't require me to do anything to create it for them.
  16. That's okay, I think I got the answer I was looking for. Naming the item is easy and having an NPC to return the ID is easy, but I was hoping to create an "I.D. card" of sorts that would have the player's id number and relevant character information but so far creating a named item seems about all you can do. I appreciate the help anyway.
  17. I'm trying to make it so that when a player talks to a particular NPC it will give them an item that has their character or account ID (doesn't matter which) either in the name of the item or in the item's description. So for example, if you had a character named Bob who's ID was 1500044, and he talks to this NPC, it will give him an item called "Card 1500044". Or, even better, if it just said 1500044 in the item's description and was just called "Card".
  18. Hey guys, Is it possible to create an item that has a player's character ID number in it, or even account ID number? I don't want it to have the player's name, just their ID number. Is there code for this? Thanks. Bumpidy bump bump bump.
  19. Nice work! I'll be definitely be using this revision myself. Good job team
  20. There are a few skills in my server that are unknown. When I use them, instead of saying "Holy Cross!!" for example, it'll say "Unknown-skill !!". Where and how do I change the name of unknown skills to give them a name? Thanks.
  21. Hey mates, Okay, I have an issue. I want my NPC to display a special effect without being clicked on. Right now there is no way to have the NPC just display the effect all the time, it has to be clicked by a player for that player to see it. Is there some way I can make special effects on my NPC appear from the moment the server starts up? Thanks as always.
  22. Here you go, wrote this from scratch. This should be exactly what you need. I made it so that your save point is wherever you're standing at the time that you save, which I think is a nice feature. Also offers storage and guild storage as requested. Change the name, sprite etc as you wish. Enjoy. sec_in02,136,173,5 script Meta Kafra 842,{ mes "[Meta Kafra]"; mes "Hello, welcome to the Meta Kafra service. In addition to letting you save in any spot you're standing on, I can open your personal storage and guild storage for you! What'll it be, friend?"; next; menu "Save.",A_1,"Open Storage.",A_2,"Open Guild Storage.",A_3; next; A_1: mes "[Meta Kafra]"; mes "Your Save Point has been established. Good luck in your journey."; next; getmapxy(@m$,@x,@y,0); savepoint @m$,@x,@y; close; A_2: openstorage; close; end; A_3: guildopenstorage(); close; end; }
  23. In other words, you want the text that's displayed in the chat box above the NPC to move like an advertisement of sorts? That's a cool idea, but I'm not sure if it's possible with the engine we're using.
  24. Awesome, I'd love to have a copy with those features for my own use as well- I'm looking forward to your version. Glad I was able to help.
  25. Thanks! That's good to know. Luckily for me all of my editing will be done to maps that are already in the grf so I've been opening straight from there anyway, heh. You say to use rev 586 instead of 620 to save your final version eh? Is it just more stable or something? And do I need to do that for every map or just for brand new maps? Like if I just edit prt_fild08 instead of creating a new map do I still need to save the final version in 586? Thanks again for your insight.
×
×
  • Create New...