Jump to content

Kyo

Members
  • Posts

    90
  • Joined

  • Last visited

Everything posted by Kyo

  1. src/common/mmo.h and find #define PACKETVER 20120410 Change it to #define PACKETVER 20120618 Compile your server and try again.
  2. Have you tried using other clients? If yes, do they work?
  3. Kyo

    Custom Branch

    That is correct already. "this" - the map the player is on -1,-1 - the cordinates near the player "--ja--" - name of the monster -4 - defined database if I am not mistaken 1 - amount of monsters I didn't look it all up but guess this is correct.
  4. Kyo

    Custom Branch

    Open up src/map/mob.c and find the following code: const char* mobfile[] = { DBPATH"mob_branch.txt", DBPATH"mob_poring.txt", DBPATH"mob_boss.txt", "mob_pouch.txt", "mob_classchange.txt"}; Edit it to this: const char* mobfile[] = { DBPATH"mob_branch.txt", DBPATH"mob_poring.txt", DBPATH"mob_boss.txt", DBPATH"mob_superboss.txt", "mob_pouch.txt", "mob_classchange.txt"}; Now you go into your db/pre-re OR db/re depending on your settings and create a new text file with the name mob_superboss.txt The db uses the following structure MobID,DummyName,Rate Example: 1708,Thanatos Phantom,1000000 1734,Kiel D-01,1000000 2022,Nidhoggur's Shadow,1000000 Now you open src/map/mob.h and change the following to 6 #define MAX_RANDOMMONSTER 5 Looks like you changed the item code already so you're ready to go.
  5. May I kindly redirect you to -this-. I guess that should help both of you out.
  6. What revision are you using? Any custom edits? What does the mapserver say when it crashes? A few more information would be really helpful.
  7. It looks like you don't have the file levels.php in your config folder. Make sure you have it to use flux.
  8. You have made a mistake somewhere when you applied the town. You should try using a fresh map_cache.dat and patch it in again, what tool did you use to mapcache it?
  9. I assume you are using a 2012-04-10 client, the client has a few issues with automatically closing and needs some more hexing to prevend that. You can either use an older client (which I don't recommend), you can hex your client to not auto-close or the easiest to do, you can live with the auto-closing.
  10. Why is that bad? It's clientside, just as the textures, just easier to change the text.
  11. Try to run this from your servers command line: mysqlcheck --repair --all-databases If that won't work, shut your website and server down temporally (to avoid new connections while the database is being repaired) and run this command: myisamchk -r /DB_NAME/wp_posts // Make sure to use the correct database name
  12. The easiest you can do is go to src/map/guild.c, just as kenshn111 said, find the following if( battle_config.guild_emperium_check && pc_search_inventory(sd,714) == -1 ) Change it to the following if( battle_config.guild_emperium_check && pc_search_inventory(sd,55555) == -1 ) //Just use an item ID that doesn't exist, so people won't be able to make a guild. Then you create a NPC that requires your requested item to make a guild, after the guild was created via NPC delete it.
  13. You have to use an updated msgstringtable.txt else go and edit the files there yourself.
  14. Update your SVN and try to compile again.
  15. Are you probably using eAthena with a rAthena database?
  16. Kyo

    PIN Code

    The kRO client has the feature, it just is not activated.
  17. I did not test if the command works but here you go, open src/map/atcommand.c and find ACMD_FUNC(cart) { #define MC_CART_MDFY(x) \ sd->status.skill[MC_PUSHCART].id = x?MC_PUSHCART:0; \ sd->status.skill[MC_PUSHCART].lv = x?1:0; \ sd->status.skill[MC_PUSHCART].flag = x?1:0; int val = atoi(message); bool need_skill = pc_checkskill(sd, MC_PUSHCART) ? false : true; if( !message || !*message || val < 0 || val > MAX_CARTS ) { sprintf(atcmd_output, msg_txt(1390),command,MAX_CARTS); // Unknown Cart (usage: %s <0-%d>). clif_displaymessage(fd, atcmd_output); return -1; } if( val == 0 && !pc_iscarton(sd) ) { clif_displaymessage(fd, msg_txt(1391)); // You do not possess a cart to be removed return -1; } if( need_skill ) { MC_CART_MDFY(1); } if( pc_setcart(sd, val) ) { if( need_skill ) { MC_CART_MDFY(0); } return -1;/* @cart failed */ } if( need_skill ) { MC_CART_MDFY(0); } clif_displaymessage(fd, msg_txt(1392)); // Cart Added return 0; #undef MC_CART_MDFY } Then you place this code below it: /*========================================== * @afk by [cr0wmaster] * Features: 1z required to use. Venders are forbidden to use this command. *------------------------------------------*/ ACMD_FUNC(afk) { nullpo_retr(-1, sd); if (sd->vender_id) //check if that player's vending [cr0wmaster] { clif_displaymessage(fd, "You can't use this command while you're vending."); } else if(sd->status.zeny >= 1) { sd->status.zeny += -1; clif_updatestatus(sd, SP_ZENY); sd->state.logout = 1; clif_authfail_fd(fd, 15); } else { clif_displaymessage(fd, "You do not have enough money to use this command."); clif_displaymessage(fd, "@afk failed."); } return 0; } Then you find ACMD_DEF(mount2) replace it with the following ACMD_DEF(mount2), and add the following below ACMD_DEF(afk) Compile your server and you're done.
  18. You can either delete all the guild tables and import a new fresh one if you want it all clean or you can just leave it as it is. If you leave it the way it is, people can't make alliances anymore but still will have alliances they set before. For guild members, if you lower it people might have 50 of 30 members in the guild (more than actually possible) they couldn't invite more people though.
  19. Kyo

    Heal effect

    hp = ( status_get_lv(src) + status_get_int(src) ) / 8 * (4 + ( skill_id == AB_HIGHNESSHEAL ? ( sd ? pc_checkskill(sd,AL_HEAL) : 10 ) : skill_lv ) * 8); Change the 8 at the end of the code. Set it to 16 for example, compile your server and your heal should be higher.
  20. For max guild members go to src/common/mmo.h #define MAX_GUILD 16+10*6 16 = level 1 10 are the 10 existing levels 6 = new slots per level 16+10*6=16+60=76 You can change that to your needs.
  21. You mean you want to only have 12 guilds at most on your server? And for the no alliances: conf/battle/guild.conf max_guild_alliance: 3 Change that to 0.
  22. I have no idea what you're talking about, could you please explain better? Else I am not able to help you out.
  23. COOL if its implemented!! Brian already mentioned this cannot be implemented because kRO clients do not support this feature.
  24. src/map/skill.c Find case NJ_SHADOWJUMP: Just below that you'll see this status_change_end(src, SC_HIDING, INVALID_TIMER); just remove that last part and it should work fine.
  25. src/map/battle.c Find this code: if(class_ == MOBID_EMPERIUM && flag&BF_SKILL) Change it to this: if(class_ == MOBID_EMPERIUM && flag&BF_SKILL) { //Skill immunity. switch (skill_num) { #ifndef RENEWAL case MO_TRIPLEATTACK: #endif case HW_GRAVITATION: break; case SG_SUN_WARM: break; case SG_MOON_WARM: break; case SG_STAR_WARM: break; default: return 0; } }
×
×
  • Create New...