Jump to content

sader1992

Content Moderator
  • Posts

    1678
  • Joined

  • Last visited

  • Days Won

    71

Everything posted by sader1992

  1. this ill only log the commands of the normal users , and it's not recommended , you add a command like that go: true this mean the normal users now can use @go ofc under the id 0 group level 0 for the normal users
  2. you should add the database entry that you tested and didn't work so people can help you
  3. given that everything is right in the script , and your error is only on delitem3 , use delequip .@equip_loc; instead of delitem3 you still need the information to create a new item , but this insure that even if you missed some information about the item (like identify and attribute) the item will get deleted safely and the player can't abuse the system also you don't need those setarray .@OptID[0],0; setarray .@OptID[1],0; setarray .@OptID[2],0; setarray .@OptID[3],0; setarray .@OptID[4],0; setarray .@OptVal[0],0; setarray .@OptVal[1],0; setarray .@OptVal[2],0; setarray .@OptVal[3],0; setarray .@OptVal[4],0; setarray .@OptParam[0],0; setarray .@OptParam[1],0; setarray .@OptParam[2],0; setarray .@OptParam[3],0; setarray .@OptParam[4],0; and your forloop for getting the random options from for (.@j = 0; .@j < 5; .@j++) { setarray .@OptID[.@j],getequiprandomoption(.@eq_loc,.@j,ROA_ID); setarray .@OptVal[.@j],getequiprandomoption(.@eq_loc,.@j,ROA_VALUE); setarray .@OptParam[.@j],getequiprandomoption(.@eq_loc,.@j,ROA_PARAM); } to for (.@j = 0; .@j < 5; .@j++) { .@OptID[.@j] = getequiprandomoption(.@eq_loc,.@j,ROA_ID); .@OptVal[.@j] = getequiprandomoption(.@eq_loc,.@j,ROA_VALUE); .@OptParam[.@j] = getequiprandomoption(.@eq_loc,.@j,ROA_PARAM); }
  4. *set <variable>,<expression>{,<char_id>}; set .@join,getwaitingroomstate(0,"Waiting"); you missed a comma , read the console errors before anything.
  5. check nemo diffs https://gitlab.com/4144/Nemo/-/blob/master/Patches/ChangeMinimalResolutionLimit.qs
  6. don't remove the monsters from the database just remove the spawn check https://github.com/rathena/rathena/tree/master/npc/pre-re/mobs
  7. - script noskill_mapflag_remove -1,{ OnInit: if(getmapflag("prt_are_in",mf_noskill)) removemapflag "prt_are_in",mf_noskill; end; } put it at the end of your scripts list so it would load last
  8. https://myanimelist.net/anime/39292/Princess_Connect_Re_Dive isekai isekai anime where all the characters is girls except the protagonist the anime made as an ad for the game プリンセスコネクト!Re:Dive so I am 3 Episodes in the anime and my opinion: it's really good looking Anime to be honest the idea before i start watching the anime looked good for me as i am a big Harem fan ? however I realized that the male protagonist is more like a side character in the story it have some mystery and a lot of screen time , however it does not feels like a protagonist for me personally i can't feel but shame that this anime would look much better for me if the protagonist was a real main character it might be in the future , however as a first look for now it's not if I want to watch a Moe anime I would just search for one , but this setup for me is not relatable nor enjoyable. i just want to say sorry for Kokoro Chan , she could have been pretty good waifu for me for 2020 xD Maybe I will check out the game instead d==( ̄▽ ̄). or maybe will continue the anime as I am bad at leaving an Anime i already begun to watch.
  9. if even after the reload the mapflag is not removed make sure there is no where else the mapflag targeting the map other files or you can disable the mapflag using a script with oninit event at the end of your scripts list
  10. when you edit the map flag reload the scripts use @mapflag command to check what map flags are in the map you in.
  11. you better not delay the events if you have too many of the same type. the maximum number is 3 after that the events will be deleted instead of moving to the queue. https://github.com/rathena/rathena/blob/05ebde0198380c100c92b7873c86ee93b811032d/src/map/map.hpp#L49
  12. do not increase the maximum , just marge the events you have into one script.
  13. the npc only give a skill with a level of the number of the variable saved when the player give the npc the gym pass ofofofofof ? you need to increases the skill level , the max in the db is 13 , you can increases it in skill.hpp that back to your skill db and increases it there given the skill does support that and it's a "Equation" not a static number , you edit the npc and it will work. I do not recommend that , i would suggest to give your players more weight with an alternative way instead of increasing the max skill level , however you can do it.
  14. there is too many guides on how to make client files little installer is all the client files except data.grf rdata.grf and BGM folder. those are somewhat out-dated however you can follow the client side guide part in other topic like the main thing is , you create exe < than get kro client , add your exe to it , remove the data.grf /rdata.grf / BGM folder , compress it to zip and upload it. there is some files that you could remove too from the client folder , however you need to be more experienced to move to that topic
  15. Need more information , I don't think anyone can help you unless someone had this problem and fixed it. You should add more information about the problem if you want the help of the others who did not encounter this problem (most of the forum members). (server setup , client setup)
  16. Do not input map id and put it in the text in the import not in re/pre-re , put your gat into the import map cache, read the console errors if there is any.
  17. View File Customize your iteminfo with import this an example and template on how you Customize your iteminfo read the ReadMe!! file before you ask anything this work as the import folders in rathena (if you don't know what i mean than i suggest you use rathena search or google) All the files must be LUA! the way it work: you add your custom and edited items in the import iteminfo file you add kro iteminfo file you add the server url in the function file the client will read the iteminfo import first than the kro iteminfo than you can update your kro iteminfo at anytime you need without any edit to it without the need to re-add your custom and edited items to a new kro iteminfo the kro_iteminfo included is from https://github.com/zackdreaver/ROenglishRE this file is added for example on how you use it i suggest you get the last iteminfo after you make sure there is no error! i would highly suggest you check out his great project every time you want to update your iteminfo! Please report any error in the forum post not in the PM , Thanks. Submitter sader1992 Submitted 02/21/2019 Category Client Resources Video Content Author sader1992 , zackdreaver
  18. conf/import/char_conf.txt login_ip: 127.0.0.1 char_ip: public_ip conf/import/map_conf.txt char_ip: 127.0.0.1 map_ip: public_ip
  19. if it's an instance , you should give the function the map name in the instance , check instance_mapname command
  20. If you are an Anime Fan/Manga Fan/ or Japanese Games with Anime Style Join Us at The Anime Club!
  21. Kono Subarashii Sekai ni Shukufuku wo!: Kurenai Densetsu Or KONOSUBA -God's blessing on this wonderful world!- Legend of Crimson Website MyAnimeList has been released in (not long ago). this is a reminder so if you want to watch it , you can now. It's Free on CrunchyRoll ! (ofc don't if you didn't watch the anime , it's recommended to watch the anime first , which is also free on crunchyroll!)
  22. Show us your Anime list . you can use any Anime Database , the most popular is MyAnimeList . My Anime List : sader1992
  23. try this ACMD_FUNC(petstats) { struct pet_data* pd; std::shared_ptr<s_pet_db> pet_db_ptr; nullpo_retr(-1, sd); char output[CHAT_SIZE_MAX]; char petname[100]; char mobname[100]; char infostring1[100]; char infostring2[100]; int i; struct { const char* format; int value; } output_table[] = { { NULL, 0 }, { NULL, 0 }, { "Pet ID - %d", 0 }, { "Pet Level - %d", 0 }, { "Pet Loyalty - %d", 0 }, { "Pet equip - %d", 0 }, { "Pet Hungry - %d", 0 }, { NULL, 0 }, { NULL, 0 }, { "Mob ID - %d", 0 }, { "Egg ID - %d", 0 }, { "Food ID - %d", 0 }, { "Equip ID - %d", 0 }, }; pd = sd->pd; if (!pd) { clif_displaymessage(fd, msg_txt(sd, 184)); // Sorry, but you have no pet. return -1; } pet_db_ptr = pd->get_pet_db(); memset(infostring1, '\0', sizeof(infostring1)); memset(output, '\0', sizeof(output)); memset(petname, '\0', sizeof(petname)); memset(infostring2, '\0', sizeof(infostring2)); memset(mobname, '\0', sizeof(mobname)); sprintf(infostring2, "- Pet Information -"); output_table[0].format = infostring2; sprintf(petname, "Pet Name - %s", pd->pet.name); output_table[1].format = petname; output_table[2].value = pd->pet.pet_id; output_table[3].value = pd->pet.level; output_table[4].value = pd->pet.intimate; output_table[5].value = pd->pet.equip; output_table[6].value = pd->pet.hungry; sprintf(infostring1, "- Database Information -"); output_table[7].format = infostring1; sprintf(mobname, "Mob Name - %s", mob_db(pet_db_ptr->class_)->jname); output_table[8].format = mobname; output_table[9].value = pet_db_ptr->class_; output_table[10].value = pet_db_ptr->EggID; output_table[11].value = pet_db_ptr->FoodID; output_table[12].value = pet_db_ptr->AcceID; for (i = 0; i < 13; i++) { sprintf(output, output_table[i].format, output_table[i].value); clif_displaymessage(fd, output); } return 0; }
×
×
  • Create New...