Jump to content

michaelsoftman

Members
  • Posts

    410
  • Joined

  • Last visited

Everything posted by michaelsoftman

  1. May I ask why you're trying to run such an old client to begin with?
  2. Well, if you move up in the directory list, what other folders do you see? A VPS comes with many folders containing system files and whatnot. If a bunch of people are actually stuffed into a single VPS, using the same IP, just with different ports, that could be rather horrible.
  3. So I'm using a 2012-04-10a client, and I'm having an odd problem with the visible garments, the Archangel Wings and Heroic Backpack. If I equip them, the sprite will show in the equip menu, but not on my character UNLESS I relog. I already checked my code against Rev 14797 and 14799 to make sure none of my custom edits would mess with the visible garment code. And I have the latest packet_db as well. So I'm not really sure what's wrong. Edit: If I have a visible garment on, and someone else logs on, we can't see each other's garments.
  4. If you're using phpmyadmin, it doesn't matter if you're using Windows or Linux. They have built in commands to add / delete users, databases, etc. And uh, if you have access to only one folder, that's not exactly a good thing. What kind of host are you using?
  5. 1 - If you are going to stick to pre-renewal, the databases are pretty much the same, just more up to date. With Renewal, there are some changes, to the item-db at least. (I think, I never really stopped to compare them. Maybe someone else can answer this.) 2 - I think you misunderstand, you don't have to update MySQL, just the tables used in the database. 3 - For creating a new user in your database, you can follow any ragnarok SQL server setup guide, they do the default of having a user and pass of 'ragnarok' and 'ragnarok', which you SHOULDN'T do on a real server, but you can easily change that. 4 - Yes, but you'd have to alter their stats unless you like mobs that deal 30k damage and have above 99 def.
  6. Try to increase the ViewID to 2000 first. If not, try this: Make sure the filename is like this. ¾_gothic.spr and ¾_gothic.act, WITH the underscore there. And in the LUAs, change the [ACCESSORY_IDs.ACCESSORY_gothic] = "_gothic", ACCESSORY_gothic = 1000, to [ACCESSORY_IDs.ACCESSORY_GOTHIC] = "_gothic" ACCESSORY_GOTHIC = 1000
  7. When you diff your client, there's a setting to allow viewID above 1000. And because the error is showing a gigantic filename, I think something else could be wrong. Can you post the idnum2itemdisplaynametable and resnametable entries for this item?
  8. If those are the last entries in the LUA files, take the comma off the end of each line. Also, make sure your client is able to display view IDs above 1000. And post your id2num text files for this item.
  9. So, I would like to make certain kinds of ammo unlimited, but NOT all of them. I know the setting in conf/battle/battle.conf, but it's not what I'm looking for. I think the simplest way would be to add an item ID check into void battle_consume_ammo. Something like if(sd->equip_index[EQI_AMMO]>=0 && item_ID != 20000) pc_delitem(sd,sd->equip_index[EQI_AMMO],qty,0,1,LOG_TYPE_CONSUME); But I'm not really sure. Anyone care to help me out?
  10. Rather than make another topic, I'd like to ask here since it's a similar question. Is it possible to have arrows work as they normally do, but a special arrow or bullet that can be fired unlimited times? In other words, having a Crystal Arrow which you need to equip hundreds of, because they are just normal arrows, but an Infinite Crystal Arrow, where you can equip it, have only 1 in your inventory, and it never runs out?
  11. The server closes as in it shuts down? Or it doesn't allow new connections? You should be fine memory wise, what OS are you using? CentOS? Try using a command like free -m. It will show you how much memory you have used and available. You can use "ps aux | less" to view every process running, and then use the kill command to kill off ones you do not need. If the server just randomly shuts down, it could be a memory issue, or perhaps an SQL problem, where it disconnects from your DB. I've had that happen to me at least once, but only when I was on a cheap host.
  12. Oh sweet. Thanks a lot. But as for my original question, if I were to add a different @command, any of them, to a skill, would it be possible to do so? Or would I end up just copying the code, making it kinda redundant?
  13. For example, if I wanted to give SG's a skill to reset their own hatred / feelings, would it be possible to do? I have the actual reset commands coded as actual @commands. But if I wanted to have this command activated by using a skill, would it be possible?
  14. You can't just check the directory in your browser, you need to use TortoiseSVN.
  15. Are you sure you got the ones for your client date? They go in /data/lua files/
  16. Yeah, I am. I tested it with 3ceam's latest too, and had the same error, so I'm assuming it's a packet problem, or something with the client?
  17. Yes, that's it. You have to find the LUA files for the same date. You can't just use the most up to date one. If you have TortoiseSVN, you can browse http://subversion.assembla.com/svn/ClientSide/Lua_Project/ with it before checking out, to see what revision is for what date. Then download and use those.
  18. You have to check your LUA files. They are the wrong date for your client. What client are you using?
  19. The navigation system is already in newer clients, unless that's not what you're asking? You can configure it in the .LUAs.
  20. You can simplify it to this: announce "Congratulations to "+strcharinfo(0)+" for getting a slotted Sunglasses!",0; Unless you changed item 2202 to something else
  21. Yep, it'll work properly with random prizes.
  22. I'm not sure what you mean, what exactly do you want to do with that line?
  23. Actually, I just realized the problem. Add this to your script, before the last break; getitem @prize,@amount; So like this. set $@ran2, rand(1,8); if ($@ran2 == 8) set @prize,4399; if ($@ran2 == 7) set @prize,579;//Fresh Fish if ($@ran2 == 6) set @prize,13710; if ($@ran2 == 5) set @prize,674; if ($@ran2 == 4) set @prize,969; if ($@ran2 == 3) set @prize,671; if ($@ran2 == 2) set @prize,14524; if ($@ran2 == 1) set @prize,7773; set $@ran3, rand(1,3); if ($@ran3 == 3) set @amount,50; if ($@ran3 == 2) set @amount,10; if ($@ran3 == 1) set @amount,100; getitem @prize, @amount; break; } end; }
  24. set $@ran2, rand(1,20); set @amount,1; if ($@ran2 == 20) { set @prize,2202; announce "Congratulations to "+strcharinfo(0)+" for getting "+---------+"x "+getitemname(---------)+"!",0; } if ($@ran2 == 19) set @prize,519; if ($@ran2 == 18) set @prize,518; if ($@ran2 == 17) set @prize,517; if ($@ran2 == 16) set @prize,516; if ($@ran2 == 15) set @prize,515; if ($@ran2 == 14) set @prize,514; if ($@ran2 == 13) set @prize,513; if ($@ran2 == 12) set @prize,512; if ($@ran2 == 11) set @prize,511; if ($@ran2 == 10) set @prize,510; if ($@ran2 == 9) set @prize,509; if ($@ran2 == 8) set @prize,508; if ($@ran2 == 7) set @prize,507; if ($@ran2 == 6) set @prize,506; if ($@ran2 == 5) set @prize,505; if ($@ran2 == 4) set @prize,504; if ($@ran2 == 3) set @prize,503; if ($@ran2 == 2) set @prize,502; if ($@ran2 == 1) set @prize,501; There, and I cleaned your code a tad.
  25. query_sql "select 'account_id' from `char` where online = 1 ORDER BY rand() LIMIT 1", .@aid; Also, I'm not sure if you can do where online = 1? Unless you've edited your SQL database as such. If you want, I have a non SQL script that can give everyone a prize, and you can limit it to a map if you'd like.
×
×
  • Create New...