Jump to content

Tokei

Members
  • Posts

    659
  • Joined

  • Last visited

  • Days Won

    89

Everything posted by Tokei

  1. Should have been in "Script Support"; BaseLevel is what you're looking for. announce strcharinfo(0) + ", level " + BaseLevel + ", is looking for a guild!",bc_all;
  2. Try setting the item ID below 32768.
  3. It should be : // The rate at which cards are dropped item_rate_card: 100000 (100000 %, means a 1000 multiplier) item_rate_card_boss: 10000 (10000 %, means a 100 multiplier) item_drop_card_min: 1 item_drop_card_max: 10000 (can't be above 100%, so 100000 is invalid) The drop rate of cards are normally at 0.01%. So, Normal card drop chance = 0.01% x 1000 = 10 % chance of getting a normal card MVP card drop chance = 0.01 x 100 = 1 % chance of getting a MVP card
  4. You haven't actually described the issue you're having, but from the settings you showed, I'm going to guess it won't show ingame. Set the ID between 1950 and 1999. Your weapon doesn't have an attack value and it doesn't have a range value either. See if it works with these settings instead.
  5. Everything except something is simply : 0xFFFFFFFF - (allowed jobs) Every job except Novice would be 0xFFFFFFFF - 0x00000001 = 0xFFFFFFFE Every job except Thief would be 0xFFFFFFFF - 0x00000040 = 0xFFFFFFBF Every job except Acolyte would be 0xFFFFFFFF - 0x00000010 = 0xFFFFFFEF Every job except Acolyte Class would be 0xFFFFFFFF - (0x00000010 | 0x00000100 | 0x00008000) = 0xFFFFFFFF - 0x00008110 = 0xFFFF7EEF You get the idea ;]!
  6. Headgears only load the first layer of the frame (which is fairly annoying). There are no straightforward solutions for this, unless you don't mind remaking your act from scratch again with that into consideration. The following solution will increase your sprite file size by a lot depending on how complex your frames are. The advantage is that your work will be preserved almost perfectly. Make a backup first, just to be safe. Go in Script > Script Runner... copy paste the following code, then press Run. int count = act.GetAllFrames().Count + 1; int index = 0; TaskManager.DisplayTaskC("Rendering frames...", "Please wait...", () => index, count, new Action<Func<bool>>(isCancelling => { try { foreach (var action in act) { foreach (var frame in action) { if (frame.Layers.Count <= 1) { index++; continue; } if (isCancelling()) return; var image = frame.Render(act); var box = ActImaging.Imaging.GenerateFrameBoundingBox(act, frame); int relativeIndex = -1; for (int i = 0; i < act.Sprite.Images.Count; i++) { if (image.Equals(act.Sprite.Images[i])) { if (isCancelling()) return; relativeIndex = act.Sprite.AbsoluteToRelative(i, act.Sprite.Images[i].GrfImageType == GrfImageType.Indexed8 ? 0 : 1); } } if (relativeIndex < 0) { relativeIndex = act.Sprite.InsertAny(image); } int offsetX = (int) ((int) ((box.Max.X - box.Min.X + 1) / 2) + box.Min.X); int offsetY = (int) ((int) ((box.Max.Y - box.Min.Y + 1) / 2) + box.Min.Y); var layer = new Layer(relativeIndex, image); layer.OffsetX = offsetX; layer.OffsetY = offsetY; frame.Layers.Clear(); frame.Layers.Add(layer); index++; } } // Removes unused sprites - old way, older versions have a bug for (int i = act.Sprite.Images.Count - 1; i >= 0 ; i--) { if (act.FindUsageOf(i).Count == 0) { var type = act.Sprite.Images[i].GrfImageType; var relativeIndex = act.Sprite.AbsoluteToRelative(i, type == GrfImageType.Indexed8 ? 0 : 1); act.Sprite.Remove(relativeIndex, type); if (type == GrfImageType.Indexed8) { act.AllLayers(layer => { if ((layer.IsIndexed8() && type == GrfImageType.Indexed8) || (layer.IsBgra32() && type == GrfImageType.Bgra32)) { if (layer.SpriteIndex == relativeIndex) { layer.SpriteIndex = -1; } } }); } act.Sprite.ShiftIndexesAbove(act, type, -1, relativeIndex); } } } finally { index = count; } })); This script will merge all layers of your frames into one.
  7. Ah, this issue is probably caused by an invalid encoding. On the github link you gave up there, click on "Raw", then right-click the page > Save as... and change the extension to .lua (don't use Ctrl-A/Ctrl-C to copy paste the content, you'll have errors afterwards). If you're using Notepad++, you can check that the encoding is valid by going in the Encoding menu : Encoding > Encode in ANSI (should be set there by default). The characters should be showing properly, check if the Red Potion resource shows "»¡°£Æ÷¼Ç".
  8. These are set in refine_db.txt. (For every successful refinement, you'd have to edit the second value.)
  9. Well, you can try another compiler (5.1 or 5.0, use the one you're not using basically). Keep in mind though that doing so offers no real protection; lub files are extremely easy to decompile.
  10. When you convert your files from lua to lub, you don't actually compile them. You simply change the extension of the file from .lua to .lub. (On a side note, that issue is probably happening because you didn't use the correct lua compiler (RO uses lua5.1 or lua5.0). But, again, you don't have to compile the file.)
  11. Well you can use thor patches with encryption; the issue has already been solved though and it had nothing to do with encryption. The destination GRF had many invalid file names, one of which was making Thor Patcher 'angry'. I do not know how such a GRF was made though, as it's not possible to add empty file names from GRF Editor (you can't drop an empty file name either). On a side note, GRF Editor will keep trying to open the GRF even if it's broken; to allow you to recover its content. You can scan it to identify such issues with the validation tool found in Tools > Grf validation.
  12. This client version works with GRF Editor's encryption.
  13. This is the list of tested and fully compatible clients : The client 2013-12-23 will 'most likely' work, but I haven't tested it. Could you send me a download link for the unpacked exe?
  14. Please describe your issue, this is too vague. (Also, avoid writing posts in full caps.)
  15. From what I can see, the TGA file is in 24 BPP, which is not 32 bits. I'm guessing the software you used to generate this sprite ignored this...
  16. Unfortunately, there's no miracle solution for this 'bug', wheter you're on Vista/7/8 shouldn't change anything. The easiest solution is to install the game in a fixed path such as C:\Games\RO and use the latest version of Thor Patcher. Then you won't have problems with admin privileges.
  17. Compiled lub files which only contain tables can be decompiled easily with GRF Editor if you have it; either way, see the attached files. luas.rar
  18. ROStrViewer for .str ( http://www.mediafire.com/download/dx7hr0077d6vjhe )
  19. Tokei

    Converter

    It feels weird to mention my own tool as a suggestion though! But yeah, CDE can do it as well it's just not as straightforward as ItemConverter however. GRF Editor > Tools > Client database editor. Settings > Drop your data or GRF files with your .txt files. Click on a tab to load the databases, File > Export > Export project to lua files > Select a folder.
  20. Tokei

    Converter

    You can use ItemConverter.
  21. Oups, I made a typo in my command line, anyway. This is actually a rather simple call. I do not know which language you're using, but here's a sample for C# anyway. var password = _textBoxPassword.Text; var username = _textBoxUsername.Text; var serverType = "-1rag1"; var clientPath = @"yourRO.exe"; Process.Start(clientPath, String.Format("-t:{0} {1} server {2}", password, username, serverType)); As for C++, look for the system(...) function. C++'s not my favorite language though, so you'll probably want to google a bit for alternatives if it doesn't do what you're looking for. Either way, a simple "start process with arguments [language here]" google search should help you more than enough on how to launch a process with arguments. system("\"C:\\RO\\yourRO.exe\" \"-t:password username server -1rag1\");
  22. Launchers (normally) only launch the client by using the following command line : "yourRO.exe" -t:password username server -1rag1 Where password is the password and username is the username. Could also be -1sak1, depending on your diffs. You must also uncheck the "restore login window" when diffing obviously. Not sure how you'd make... an SSO login though!
  23. The Land Protector skill effect is determined by data\texture\effect\aaa copy.bmp. Check the file in your GRF, it should look like a white circle with a cross around it. Extract the file in your data folder if you have to (to make sure it's being read first).
  24. There are no official meaning to the extension. It could be, like you said, Gravity Ragnarok Folder or what I prefer to call it is Gravity Resource File, which would make sense for GPF meaning Gravity Patch File. It could also be Game Resource File and Game Patch File. RGZ could be for Ragnarok GZip. There are just so many possibilities! What is your Thor Patcher version? Can you open change.grf in GRF Editor? It's hard to locate the issue with so little info. You can message me if you want, it'll be faster to respond for me.
  25. Tokei

    Spr View W8

    Try to refresh the window, clear the thumbnails cache or change the size of the icons; it should be working. Thumbnail providers are handled by Windows Explorer, not the underlying device.
×
×
  • Create New...