Jump to content

RedMonkey

Members
  • Posts

    87
  • Joined

  • Last visited

Everything posted by RedMonkey

  1. *setcastledata "<map name>",<type of data>,<value>; This function returns the castle ownership information for the castle referred to by its map name. Castle information is stored in `guild_castle` SQL table. Types of data correspond to `guild_castle` table columns: 1 - `guild_id` - Guild ID. 2 - `economy` - Castle Economy score. 3 - `defense` - Castle Defense score. 4 - `triggerE` - Number of times the economy was invested in today. 5 - `triggerD` - Number of times the defense was invested in today. 6 - `nextTime` - unused 7 - `payTime` - unused 8 - `createTime` - unused 9 - `visibleC` - Is 1 if a Kafra was hired for this castle, 0 otherwise. 10 - `visibleG0` - Is 1 if the 1st guardian is present (Soldier Guardian) 11 - `visibleG1` - Is 1 if the 2nd guardian is present (Soldier Guardian) 12 - `visibleG2` - Is 1 if the 3rd guardian is present (Soldier Guardian) 13 - `visibleG3` - Is 1 if the 4th guardian is present (Archer Guardian) 14 - `visibleG4` - Is 1 if the 5th guardian is present (Archer Guardian) 15 - `visibleG5` - Is 1 if the 6th guardian is present (Knight Guardian) 16 - `visibleG6` - Is 1 if the 7th guardian is present (Knight Guardian) 17 - `visibleG7` - Is 1 if the 8th guardian is present (Knight Guardian) All types of data have their meaning determined by War of Emperium scripts, with exception of: - `guild_id` that is always considered ID of the guild that owns the castle, - `defense` that is used in Guardians & Emperium HP calculations, - `visibleG` that is always considered to hold guardian presence bits. The 'setcastledata' command will behave identically, but instead of returning values for the specified types of accessible data, it will alter them and cause them to be sent to the char-server for storage. Changing Guild ID or Castle Defense will trigger additional actions, like recalculating guardians' HP.
  2. 1. Purchase a good VPS / Dedicated Server 2. Plan what you want to do, is it Renewal or Pre-Renewal? 3. Decide what OS would you like it to run, Windows, Centos etc. (but i suggest use Centos) 4. Read the installation document on the OS you have selected, instruction is pretty straight forward, if you know how to read; you should be able to install rathena to your server easily. 5. Download full kRO files 6. Select client exe to use, then diff it using NEMO to your preffered settings. 7. Edit clientinfo.xml so that your client can connect to your server. Goodluck!
  3. Obviously, but it is not being filtered properly. given it is a "PUBLIC chat" As you can see, the Public Log and Chat display was turned off. and still announcements are coming and not being filtered. Given that this is behaving like this, is there any src edit I can do to solve this? or maybe a suggestion
  4. Are these not considered as public chat? because whenever i use the filter on my chatbox it still appears. how can we change that behavior?
  5. Any working link for this one?
  6. Hello, is it possible to summon a monster that will not attack a certain guild but will attack the other guilds like the summoned guardians inside the castle? thank you.
  7. I tested your script on my test server, and it looks fine. Maybe another script is conflicting it.
  8. Please test it first before implementing to your live server.
  9. Oh, thanks for the explanation!
  10. I am using pre-renewal unfortunately. There is also this instance of 50% drop rate, and player uses Bubble gum making it 100% right? but still the item was not dropped sometimes.
  11. So, I have my server settings that this particular monster will drop an item at a 100% Drop rate chance. unfortunately, sometimes it drops sometimes it does not, and it does not look 100% Drop rate to me. I did try @mobinfo command and it shows me a 100% of the item. I do not know how will i explain this to my players. thank you so much if anyone will reply
  12. Lol, funny it really was cutin. thanks!
  13. Yes. the script command something viewcard(4001) //displays poring drawing technically, i would like to copy the one on the video. i just do not know what is the function to open the drawing for the cards Thank you for the Response @Cyro but i am looking for the script command to display the monster image. another example.
  14. Hello, how to display card picture view. something like this on video
  15. Hello @mirabell, Try this. Find and Delete line. Find: Add before: Should make the monster invulnerable after that, I do not know why the set_cell was being skipped there, but this worked for me. setting the cell a minute before the event starts. Hope this helps!
  16. I have no map server errors, mushrooms and porings are also invulnerable. Just need to remove set_cell basilica inside OnMinute00: and put it at OnMinute59
  17. Experienced the same problem. How to make mushrooms and monsters invulnerable? Edit: Got mine working properly. map.c Looks like set_cell function type is case sensitive. Also, I put the set_cell line at OnMinute59:
  18. No. Topic solved. So i have two servers, where i host my database and where i run rathena. I have transferred my database to the server where i am running rathena. freeze is gone. looks like the communication between my two server is the cause. thanks.
  19. Hello, I am experiencing 12 second delay before @reloadscript command take effect. it somehow freezes everything after i hit enter. I have 32gb of ram so ram is not an issue. 480GB Soft SSDs as well. 4 cores and 8 threads running on Intel Xeon E3-1245v5 What should I upgrade to remove this freeze time when doing @reloadscript?
  20. Hello, I wonder what would happen if I run two instances of rathena that is connected to 1 database. will it cause problems?
  21. Hello, that's why i am asking if i can run 2 login servers that can connect to a single char and map server. i am not asking to run multiple servers in one dedicated server though.
  22. I tried this, but players won't see each other.
  23. Hello, i was wondering if i can run multiple login servers on different ports. is that possible?
  24. after almost 4 years. is this now supported by rathena?
×
×
  • Create New...