Jump to content

llchrisll

Members
  • Posts

    625
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by llchrisll

  1. Well I basically just saved the equip slot in the variable .@s to use delequip, removed the variable resets forr random options as well as the checks for existing values. Which are unnecessary, since below you set the variables anyway into the array. Even if it's 0. But I let the check for getitem3 stay if there is an value for an random option to use the correct getitem. And instead of delitem I used delequip .@s; But after the getitem stuff to save lines since it does the same thing anyway. If you want to have a look where delequip comes to action: Costume Enchanter - GitHub Edit: After coming home from work I added some lines and comments: Like I mentioned earlier, I didn't test it yet. Regards, Chris:
  2. I will post it when I'm home. Edit: sorry for double post, please merge it. Missed the edit button somehow on my phone....
  3. Well I rewrote the script already, but didn't test yet.
  4. Yes, now you only need to @reloadscript or restart the map server :P. Regards, Chris
  5. Also prevent the usage of. Variables, they are permanently saved until server restart. Better use .@ Variables as they are automatically deleted when the script ends.
  6. Except About SE: Disable Only: npc/guild2/agit_start_se.txt Well the town flags (npc/guild2/guild_flags.txt) are not important, they only display the castle owners.
  7. Easy, exchang: Set #CASHPOINTS, To getitem <POD_ID>,<Amount>;
  8. The only thing which comes to mind is that you not only disabled the controllers but also every other file too.
  9. I too rarely encounter map server crashes locally, only when I'm doing doing hard testing of my scripts tho. Also it might help to fix those warnings: incorrect usage of close command as they produce the most warnings as far as I have seen. Maybe that's why your map serve overloads kinda, not sure tho.
  10. Reading the doc/script_commands.txt also helps quite a lot.
  11. Instead of delitem, use delequip <equip slot>; also to save lines just directly put the random option values in the array, no need to reset these values each time and checking if they have a value, since they are deleted evertime the scripts ends > .@ = temporary npc variables. When I'm home from work I will ty this script myself. Regards, Chris
  12. Yes it should, a long your rAthena is up to date, so it has the instance update in it.
  13. I uploaded the files to my GitHub. Regards, Chris
  14. Did you only download the script? Or the other files too?
  15. Now for dummy people like me, what exactly are those commands doing. I kinda believe what, but better asking than being wrong.
  16. I just looked at the file at rAthena, the only thing which still would come to me would be that you didn't create a party in the first place xD. Because that would be the same error message. I also tested it and didn't encounter any problem. Like I saied, try again by creating an party first :P. Regards, Chris
  17. Well I also got an Enchanter for Vicious Mind Weapons on my GitHub, you would have to change it a bit tho. But it seems @Rizta was faster already :P. Regards, Chris
  18. Not sure about that file, never worked with it. About the spawns I'm not sure why it works for me, but not for you guys when I tested it 3 times in a row. Regards, Chris
  19. Did you download and imported the files from the rar file?
  20. Now it would be helpful if you could provide a list of your random options you want as well.
  21. Very good guide imo. I like it at least haha. I think I need to learn to index my tables like you mentioned, but I will have to learn the differences first. Same about JOIN, I'm still not understanding the differences between LEFT and RIGHT or rather when you should use which one xX. Those examples also help quite a lot too. Regards, Chris
  22. I'm sorry, but I can't replicate that error. My phpMyAdmin doesn't show any error when creating that table. Hmm, weird I will look into it. Edit: Funny thing, I overlooked an variable after my script optimzation which was changing variable prefxes: Quick fix until I update GitHub: Near line 120: setd(".@card"+@c),.@ca_list[@menu-1]; Replace it with: setd(".@card"+.@c),.@ca_list[@menu-1]; Problem fixed:
×
×
  • Create New...