gekigengar

Members
  • Content Count

    174
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

1 Neutral

4 Followers

About gekigengar

  • Rank
    Poporing
  • Birthday 03/25/1994

Profile Information

  • Gender
    Not Telling
  • Location
    Not Telling
  • Server
    LostRo

Recent Profile Visitors

1,831 profile views
  1. Hello, I apologize if such method existed, but I cannot find anything searching on the forums. Any ways to disable Bank/RODEX? Or at least on certain maps like Jail/Certain maps? There are a lot of item restriction that can be bypassed through RODEX/Bank.. Which caused a lot of my custom content to be broken. People bypassing NPC checks to certain areas with restricted items through RODEX mail. (Such as no bringing Yggberry to pvp room, an entrance NPC could check, but inside, people can receive mails containing Ygg berry) Or offending players sending out equipment out of jail through Rodex..
  2. Hello, I have an event monster that is created through script, and I don't want the monster to walk beyond a certain area. Is there a way to detect if the monster of certain type touches a certain cell area/region and warp them back? Maybe something like OnTouch for NPC?
  3. How is that done through scripts?
  4. Hello, sorry for the Necro, I am in need of something similar. But the original link is dead. What trick is this referring to?
  5. Thanks a lot Tokei! For both the answer and for developing Act Editor! Oh, meanwhile, if you are planning to update it.. There are a lot of bugs in the Palette Editor. Sometimes selecting a gradient palette, and pasting ARGB color does not update the palette. (Unless I first move the color picker around) And the Undo tends to revert to the wrong colors. I also have a suggestion for the ability to assign which area of the sprite will use which part of the palette. (Sometimes I need a quick fix to those pesky nose color palettes!) This might not be the place to report bugs, but I am not sure where to report. Other than that, thanks a lot ------------------------------------------------------ EDIT: Edited the script, added the ability to preview the color in editor following the examples from other scripts. using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; using System.Windows.Media.Imaging; using ErrorManager; using GRF.FileFormats.ActFormat; using GRF.FileFormats.SprFormat; using GRF.FileFormats.PalFormat; using GRF.Image; using GRF.Image.Decoders; using GRF.Graphics; using GrfToWpfBridge; using TokeiLibrary; using TokeiLibrary.WPF; using Action = GRF.FileFormats.ActFormat.Action; using Frame = GRF.FileFormats.ActFormat.Frame; using Point = System.Windows.Point; namespace Scripts { public class Script : IActScript { public object DisplayName { get { return "Fill Color"; } } public string Group { get { return "Scripts"; } } public string InputGesture { get { return "Ctrl-Shift-N"; } } public string Image { get { return "pal.png"; } } public void Execute(Act act, int selectedActionIndex, int selectedFrameIndex, int[] selectedLayerIndexes) { if (act == null) return; var frame = act[selectedActionIndex, selectedFrameIndex]; GrfColor startColor; if (frame.Layers.Count == 0) { startColor = GrfColor.White; } else { startColor = act[selectedActionIndex, selectedFrameIndex, 0].Color; } ColorPicker.PickerDialog picker = new ColorPicker.PickerDialog(startColor.ToColor(), ColorPicker.Core.ColorMode.Hue); picker.Owner = WpfUtilities.TopWindow; picker.PickerControl.PreviewColorChanged += (s, color) => _previewUpdate(act, color.ToGrfColor()); picker.PickerControl.ColorChanged += (s, color) => _previewUpdate(act, color.ToGrfColor()); picker.ShowDialog(); act.Commands.SetColor(startColor); if (picker.DialogResult) { try { act.Commands.Begin(); GrfColor newColor = picker.PickerControl.SelectedColor.ToGrfColor(); act.Commands.SetColor(newColor); } catch (Exception err) { act.Commands.CancelEdit(); ErrorHandler.HandleException(err, ErrorLevel.Warning); } finally { act.Commands.End(); act.InvalidateVisual(); } } } public bool CanExecute(Act act, int selectedActionIndex, int selectedFrameIndex, int[] selectedLayerIndexes) { return act != null; } private void _previewUpdate(Act act, GrfColor color) { act.Commands.SetColor(color); act.InvalidateVisual(); } } } I hope I am doing this right, just sharing for people who is looking for the same script
  6. Thank you so much! It works brilliantly! Saves a ton of time tinting sprites Any way I can use the color picker for this though? Instead of defining the color string in the script itself.
  7. I need help for this Act Editor. Hello, I want to be able to tint the entire mob layer color without having to go frame by frame. Currently, CTRL-SHIFT-W (Replace color script) does just that, but only for that 1 single frame. I wanted to replace color for the entire frame in the sprite for a quick mob tinting. (For all animation, and all frames). Any help?
  8. The tool windows aren't working on mine, and I am getting a lot of errors. (Something also happened to upper right quarter of the screen) Anyone knows how to fix? EDIT : For everyone with the same problem, here is why. Just talked to Borf, he said its because the shaders currently does not support Intel graphic cards. Perhaps it will soon be compatible with Intel graphic cards.
  9. Aside from the incorrect entry, it seems like inserting only on import/instance_db wouldn't do anything. I have to update my re/instance_db to get it working. (Not sure if this is an intended behavior) Thanks!
  10. Hello, I am trying to create an instance. [email protected]$ = "Crossroad Dimension"; [email protected] = instance_create([email protected]$); if ([email protected] < 0) { mes "Error creating instance :"; switch ([email protected]) { case -1: mes "Invalid type."; break; case -2: mes "Party not found."; break; case -3: mes "Instance already existed."; break; case -4: mes "No free instance available."; break; } } Right now its giving me the Invalid Type error. I have added my instance at Instance_db 18,Crossroad Dimension,120,cross_i,88,208,cross_i And my map existed on map_index cross_i and maps_athena map: cross_i The mapserver is giving me a strange error. --- nullpo info --------------------------- instance.c:370: in func 'instance_create' Anyone knows what went wrong?
  11. JT_RR_ARCLOUSE = 3787, JT_RR_CRAMP = 3788, JT_WATERMELON_34 = 3983, JT_WATERMELON_35 = 3984, That is available, but it wouldn't fit my 400 custom mobs. (3983 - 3899 = 84) (Most I can get is 195 sadly) (3983 - 3788 = 195) And I felt like that space will be taken soon in the next episode. Thank you so much for helping anyways! Since I don't know if its possible to modify my client to support more mob views on certain ID, I will have to wait for the next few episode to fit my mobs when they make new available spaces for themselves.
  12. It seems like 3700 range is taken? JT_QE_PORING = 3721, JT_QE_POPORING = 3722, JT_QE_DROPS = 3723, JT_QE_LUNATIC = 3724, JT_QE_WILOW = 3725, JT_QE_PICKY = 3726, JT_QE_PICKY_ = 3727, JT_QE_ZOMBIE = 3728, JT_QE_POISON_SPORE = 3729, JT_COWRAIDERS1 = 3736, JT_COWRAIDERS2 = 3737, JT_COWRAIDERS3 = 3738, JT_COYOTE = 3739, JT_GASTER = 3740, JT_MECHASPIDER = 3741, JT_PURPLESTONE = 3742, JT_SEAANEMONE = 3743, JT_G_COWRAIDERS1 = 3744, JT_G_COWRAIDERS2 = 3745, JT_G_COWRAIDERS3 = 3746, JT_E_COWRAIDERS1 = 3747, JT_E_COWRAIDERS2 = 3748, JT_E_COWRAIDERS3 = 3749, JT_RR_ARCLOUSE = 3787, JT_RR_CRAMP = 3788,
  13. My mobs used to take 3601 to 3998 mob IDs. After I updated the server, those IDs are now taken by official mobs. (There were only 3100 mobs back when I added the custom mobs) 4000 to 6053 are taken for something else, and 4k to 5k are reserved for player clones. I googled, and the answers are all outdated, so I think its time to discuss this again. https://rathena.org/board/topic/103989-adding-custom-mob/ (The link above suggest about 3400 to 4000, which is now already taken by official mobs) And as far as I know, mobs with 6k+ IDs won't be read properly by the client (They will be shown as porings). http://herc.ws/board/topic/1782-custom-mob-become-poring/ There are some special official event mobs however, that already took place on 25000 - 25017. But I am not sure which IDs are available for use without clashing/displayed as poring. Question : what mob IDs do you use for your private server? I currently have 400 custom mobs, what ID range should I fit them into? And currently a lot of my script are tangled with mob ID, I am willing to shift them one by one. But I think rAthena should have reserved ID somewhere around 80k to prevent something like this in the future? There are reports on these issue already. https://github.com/rathena/rathena/issues/1253