Jump to content

WhiteEagle

Members
  • Posts

    461
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by WhiteEagle

  1. Hello guys, does anyone know a way to make the merchant item stock 'personally' and not for the whole server?
  2. I think, you don't understand the source change correctly. It create a new function like summon/monster spawning. fakeplayer( map, x, y, name, job_id, sex, hair_style, hair_color, weapon, shield, head_top, head_mid, head_bottom, option, cloth_color ); Just make a script like this as excample: OnInit: setarray .hairstyle,1,2,3,4,5,6; setarray .haircolor,1,2,3,4,5,6; and so on !! .size_hairstyle = getarraysize(.hairstyle); .size_haircolor = getarraysize(.haircolor); .@r = rand(.size_hairstyle); .@r2 = rand(.size_haircolor); .@i = 30; while (.@i <= 30) { fakeplayer( map, x, y, name, job_id, sex, .hairstyle[.@r], .haircolor[.@r2], weapon, shield, head_top, head_mid, head_bottom, option, cloth_color ); .@i++; } end; }
  3. That is no problem. Just search for this line and change the MobID (1002) to ur wish. // Using poring as monster behavior md = mob_once_spawn_sub(NULL, m, x, y, name, 1002, "", SZ_SMALL, AI_NONE);
  4. I think you will have more control with this here.
  5. If I remember correctly, you need a 2019/06+ client. I like to use 2020-05-20bRagexe.~ xD
  6. Here, use this to make emblems work. https://github.com/rathena/rathena/pull/5731/files ^-^
  7. It now works as it should, except for the fact that if you reselect the title, you have to log in again before it will be recognized. Apart from that, I don't find any problems so far. Thanks Rynbef~ WhiteEagle
  8. Haha, you're right. xD And thanks for your help. I am interested in items that give bonuses related to titles. Like for example: "_______________________", "When equipped with \"Kafra\" title: Exp gained +5%, Item drop rate +5%, All Stats +4.", "_______________________", Thanks, that should work.
  9. Thanks for your time and help. Unfortunately, the kills are still counted. I did not get any errors when compiling.
  10. Hey folks, at first "Merry Xmas" ^-^ Is there any way to check per script what title a player has selected? I want it to know for items like the Kafra Uniform. It gives bonis when a player uses the title 'Kafra'.
  11. As the error message says, the name contains too many letters.
  12. Thanks for your reply, but the formatting is correct. I've no errors and all quests working except the location check. - Id: 22000 Title: Fishy affair Targets: - Mob: VADON Count: 45 Location: iz_dun01 MapName: Undersea Tunnel B2 I've test now different formats like - Id: 22000 Title: Fishy affair Targets: - Mob: VADON Count: 45 Location: iz_dun01: true MapName: Undersea Tunnel B2 - Id: 22000 Title: Fishy affair Targets: - Mob: VADON Count: 45 Location: "iz_dun01" MapName: Undersea Tunnel B2 No matter how I do the format, I get no error message and the kills are counted no matter where. Is it possible that it is not working in general at the moment?
  13. I have the problem that no matter where I kill the monster, the kill is counted. However, it should only be counted on the specified map. In the example below, you are supposed to kill Vadons on the map "iz_dun01". If you spawn Vadons in Prontera, they will also be counted. What am I doing wrong? Example: - Id: 22000 Title: Fishy affair Targets: - Mob: VADON Count: 45 Location: iz_dun01 MapName: Undersea Tunnel B2
  14. Why don't use the OnPCLoginEvent? Like: - script DonateExchange FAKE_NPC,{ end; OnPCLoginEvent: set @dCreds,query_sql("SELECT `balance` FROM cp_credits WHERE `account_id` = "+getcharid(3)+";",.@dCreds); if(!.@dCreds) { end; } set #CASHPOINTS,#CASHPOINTS+.@dCreds; .@dCreds = 0; query_sql("UPDATE `cp_credits` SET `balance` = "+.@dCreds+" WHERE account_id = "+getcharid(3)+";"); dispbottom "Credis were converted into Cashpoints ["+ #CASHPOINTS +"]."; end;
  15. Hey, for sure you are missing the source edit for pre-renewal in mmo.hpp. Search for #define MAX_GUILDSKILL 15 ///Max Guild skills and increase it like for renewal #define MAX_GUILDSKILL 20 ///Max Guild skills #define MAX_GUILDSKILL 20 ///Max Guild skills or edit the whole part like: #ifdef RENEWAL #define MAX_GUILDSKILL 20 ///Max Guild skills #else #define MAX_GUILDSKILL 15 ///Max Guild skills #endif to #define MAX_GUILDSKILL 20 ///Max Guild skills recompile and it will work
  16. Go to -> \data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\make_character_ver2\ and search for img_doram_comingsoon.bmp Just overwrite the file with your image.
  17. I would also be interested in it. Also, it would be great if it still had the function that the EXP is divided among the number of party members, as it would be in the party share.
  18. You need to create 2 different .exe which call a different grf like pre-rene.grf and a renewal.grf. This is needed for the iteminfo too. Pre-Rene have the old item def.
  19. Hey, you can edit the skills in skill_db.yml. Search for - Id: 24 Name: AL_RUWACH Description: Ruwach MaxLevel: 1 Type: Magic TargetType: Self and change Type: Magic to Misc - Id: 24 Name: AL_RUWACH Description: Ruwach MaxLevel: 1 Type: Misc TargetType: Self or remove Type. That should work.
  20. I don't have test it, but it should work. Go in itemdb.cpp and search for /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: case IT_ARMOR: case IT_PETARMOR: case IT_SHADOWGEAR: case IT_CHARM: return 0; default: return 1; } } and change it to: /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); { return 1; } } or if you want only for weapons and armor: /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: return 1; case IT_ARMOR: return 1; case IT_PETARMOR: case IT_SHADOWGEAR: case IT_CHARM: return 0; default: return 1; } }
  21. For the item-def, you need to use the pre-renewal item_db.yml.
  22. Yes. Server is recompiled. I did all diff changes again and same result. No compiling errors and still just 4 warps. Don't know what I do wrong ? O M G.... nevermind. I made the changes on my second test server and recompile the other server. >_> I am so sorry XD Thank you very much for this awesome work.
  23. Thanks for your time and work.Unfortunately, I am still only shown the 4 standard maps. I am using the version 2020-06-17aRagexe. Do I need to install anything apart from the mod?
×
×
  • Create New...