Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/30/17 in all areas

  1. Boa tarde westkian, Vamos a solução da sua dúvida. Antes de mais nada, recomendo que você faça a leitura completa do tópico oficial que explica o funcionamento do Sistema VIP neste link: Testado com o cliente 20130515 e funcionando perfeitamente. Agora vou explicar os possíveis locais onde você terá que alterar a quantidade de slots para então recompilar seu emulador e ver as mudanças surtindo efeito ok? Em player.conf você poderá configurar algumas coisas, como: Aumento do tamanho do armazém (vip_storage_increase) Aumento da experiência recebida (vip_base_exp_increase / vip_job_exp_increase) Penalidade de experiência ao morrer (vip_exp_penalty_base / vip_exp_penalty_job) Aumento da taxa de drop (vip_drop_increase) Uso de gemas (vip_gemstone) Mensagem de aumento de experiência ao efetuar o login (vip_disp_rate) Em groups.conf você poderá configurar comandos e permissões especiais: { id: 5 /* Id do grupo VIP que pode ser alterado em login_athena.conf */ name: "VIP" inherit: ( "Player" ) /* can do everything Players can */ level: 0 commands: { rates: true who: true /* coloque seus comandos aqui */ } permissions: { /* coloque suas permissões aqui */ } }, Em login_athena.conf você poderá configurar algumas coisas, como: Qual será o ID do grupo (informado em groups.conf) responsável pelos VIPs (vip_group) Quantidade de slots a mais que uma conta VIP poderá ter (vip_char_increase) OBS: Se vip_char_increase estiver com o valor -1 ele irá utilizar o valor que está informado diretamente em #MAX_CHAR_VIP no arquivo src/config/core.h. Agora vamos ao nosso cenário, suponha que eu queira 9 slots pra personagens comuns e 3 para personagens VIPS. Sua configuração em src/config/core.h deverá ser a seguinte: /// Uncomment to enable VIP system. #define VIP_ENABLE /// Enable VIP script changes? (requires VIP_ENABLE) /// The primary effects of this are restrictions on non-VIP players, such as requiring /// a Reset Stone to change into third classes, paying more for equipment upgrades, and /// so forth. Note that the changes are based on euRO, not iRO. #define VIP_SCRIPT 0 #ifdef VIP_ENABLE #define MIN_STORAGE 300 // Default number of storage slots. #define MIN_CHARS 9 // Default number of characters per account. #define MAX_CHAR_VIP 3 // This must be less than MAX_CHARS #define MAX_CHAR_BILLING 0 // This must be less than MAX_CHARS #endif Em src/common/mmo.h você também deverá editar a seguinte linha: /** Max number of characters per account. Note that changing this setting alone is not enough if the client is not hexed to support more characters as well. * Max value tested was 265 */ #define MAX_CHARS 12 Feito isso, basta recompilar o emulador.
    1 point
  2. You mean the client resources ? I have it pm me
    1 point
  3. I made you a handy version of the script. SpiritD Simple PvP
    1 point
  4. Since they were from other official servers and not from kRO, was there something specific you were looking for?
    1 point
  5. Not very good at looking.
    1 point
  6. Upgrade your CentOS dist, then you can use the instructions on our wiki. https://github.com/rathena/rathena/wiki/Install-on-Centos
    1 point
  7. It's less a trip and more just.. a mess. I'm not sure what the aim of this is? Well done you did a thing! This is also on Hercules' forums, so not really sure what the aim of this is. Self recognition for creating a server? Congrats! True, but i don't see the point. That's a little like putting a link on facebook for something on how to use hi5 or MySpace. Pointless. I'm not bothered about people putting Hercules in their posts. They could probably do with the help. Agreed. Also, this was sent over to me: Creating a new account after being banned is pretty stupid. Go and be an idiot elsewhere.
    1 point
  8. Hola, gracias por responder, finalmente he podido solucionarlo editando el atcommand.c y agregando las lineas de los jobs que faltaban para que los trajes alternativos sean ejecutados por el @bodystyle 1 : /*========================================== * @bodystyle [Rytech] *------------------------------------------*/ ACMD_FUNC(bodystyle) { int body_style = 0; nullpo_retr(-1, sd); memset(atcmd_output, '\0', sizeof(atcmd_output)); // Limit body styles to certain jobs since not all of them are released yet. if (!((sd->class_&MAPID_THIRDMASK) == MAPID_GUILLOTINE_CROSS || (sd->class_&MAPID_THIRDMASK) == MAPID_GENETIC || (sd->class_&MAPID_THIRDMASK) == MAPID_MECHANIC || (sd->class_&MAPID_THIRDMASK) == MAPID_ROYAL_GUARD || (sd->class_&MAPID_THIRDMASK) == MAPID_ARCH_BISHOP || (sd->class_&MAPID_THIRDMASK) == MAPID_RANGER || (sd->class_&MAPID_THIRDMASK) == MAPID_WARLOCK || (sd->class_&MAPID_THIRDMASK) == MAPID_MINSTRELWANDERER || (sd->class_&MAPID_THIRDMASK) == MAPID_SORCERER || (sd->class_&MAPID_THIRDMASK) == MAPID_SHADOW_CHASER || (sd->class_&MAPID_THIRDMASK) == MAPID_RUNE_KNIGHT)) { clif_displaymessage(fd, msg_txt(sd,740)); // This job has no alternate body styles. return -1; } Por cierto, hay algun add on para implementar el STYLING SHOP SYSTEM?
    1 point
  9. https://github.com/rathena/rathena/commit/809754379b75371c1442e08b9b6a6c01aa15228e Will you patch this manually?
    1 point
  10. working on this - code coming soon EDIT: Here you go. Again, not sure if I am using the variable scope (or array) correctly or not. Someone with more experience, please fix this if it's wrong. You can use the variable "pvpRank" for your shop NPC. - script pvpCounter -1,{ //define maps where script is actively checking $@pvpMaps$[0] = "enter map name"; //map #1 $@pvpMaps$[1] = "enter map name"; //map #2 //add more maps like above OnPCDieEvent: if(strcharinfo(3) == $@pvpMaps$[0] || strcharinfo(3) == $@pvpMaps$[1]){ pvpPoints--; message strcharinfo(0),"You have been killed and lost 1 point. "+pvpPoints+" total points."; end; } end; OnPCKillEvent: if(strcharinfo(3) == $@pvpMaps$[0] || strcharinfo(3) == $@pvpMaps$[1]){ pvpPoints++; pvpPoints++; message strcharinfo(0),"You have killed a player and gained 2 points. "+pvpPoints+" total points."; end; } end; } <YOUR_MAP>,<YOUR_X>,<YOUR_Y>,<YOUR_Z> script PvP Clerk::pvpClerk 111,{ if (pvpPoints <= 99) { mes "Your PvP Rank is "+pvpRank+"; close; } if (pvpPoints >= 100 && pvpPoints <= 199 && pvpRank == 0) { pvpRank = 1; mes "You have "+pvpPoints+" points."; mes "Your PvP Rank is "+pvpRank+"; close; } if (pvpPoints >= 200 && pvpPoints <= 299 && pvpRank == 1) { pvpRank = 2; mes "You have "+pvpPoints+" points."; mes "Your PvP Rank is "+pvpRank+"; close; } else { end; } }
    1 point
  11. Just add this below OnNPCKillEvent if(strcharinfo(3) == "guild_vs2-1")end; Should be like this OnNPCKillEvent: if(strcharinfo(3) == "guild_vs2-1")end; switch(killedrid) { case 1086: callfunc ("AddPointChar","MVP"); break; /*Golden Bug */ case 1112: callfunc ("AddPointChar","MVP"); break; /*Drake */ case 1115: callfunc ("AddPointChar","MVP"); break; /*Eddga */ case 1150: callfunc ("AddPointChar","MVP"); break; /*Moonlight */
    1 point
  12. move to pre-re the following: e.g.: db/re/ skill_db.txt -> db/pre-re/ skill_db.txt skill_db.txt // Summoner 5018,0,0,0,0,0,0,1,0,no,0,0,0,none,0,0x0, SU_BASIC_SKILL,New Basic Skill 5019,2,6,1,-1,0,0,1,1,yes,0,0,0,weapon,0,0x0, SU_BITE,Bite 5020,0,6,4,0,0x1,0,1,1,yes,0,0,0,none,0,0x0, SU_HIDE,Hide 5021,2,6,1,-1,0x2,1,3,1,yes,0,0,0,weapon,0,0x0, SU_SCRATCH,Scratch 5022,0,6,4,0,0x1,0,1,1,yes,0,0,0,none,0,0x0, SU_STOOP,Stoop 5023,6:10:14,6,2,0,0x1,0,3,1,yes,0,0,0,none,0,0x0, SU_LOPE,Lope 5024,0,0,0,0,0,0,1,0,no,0,0,0,none,0,0x0, SU_SPRITEMABLE,Spirit Marble 5025,0,0,0,0,0,0,1,0,no,0,0,0,none,0,0x0, SU_POWEROFLAND,Power of Land 5026,9,6,1,2:3:1:4:8,0x0,0,5,1,yes,0,0,0,magic,0,0x0, SU_SV_STEMSPEAR,Silvervine Stem Spear 5027,9,6,1,0,0x3,0,5,1,yes,0,0,1,none,0,0x0, SU_CN_POWDERING,Catnip Powdering 5028,9,8,2,0,0,1:1:2:2:3,5,-5,yes,0,0,0,magic,0,0x0, SU_CN_METEOR,Catnip Meteor 5029,9,6,1,0,0x1,0,5,1,yes,0,0,1,none,0,0x0, SU_SV_ROOTTWIST,Silvervine Root Twist 5030,0,6,1,5,0x30,0,5,1,no,0,0,1,magic,0,0x0, SU_SV_ROOTTWIST_ATK,Silver Vine Root Twist Attack 5031,0,0,0,0,0,0,1,0,no,0,0,0,none,0,0x0, SU_POWEROFLIFE,Power of Life 5032,9,6,1,-1,0,0,5,1,yes,0,0,0,weapon,0,0x0, SU_SCAROFTAROU,Scar of Tarou 5033,9,8,1,-1,0,0,5,-5,yes,0,0,0,weapon,0,0x0, SU_PICKYPECK,Picky Peck 5034,0,8,1,-1,0,0,5,-5,yes,0,0,0,weapon,0,0x0, SU_PICKYPECK_DOUBLE_ATK,Picky Peck Double Attack 5035,9,6,16,0,0x1,0,5,1,yes,0,0,0,none,0,0x0, SU_ARCLOUSEDASH,Arclouse Dash 5036,9,8,1,-1,0x2,1:1:2:2:3,5,-3,yes,0,0,0,weapon,0,0x0, SU_LUNATICCARROTBEAT,Lunatic Carrot Beat 5037,0,0,0,0,0,0,1,0,no,0,0,0,none,0,0x0, SU_POWEROFSEA,Power of Sea 5038,9,6,16,0,0x1,0,5,1,yes,0,0,0,none,0,0x0, SU_TUNABELLY,Tuna Belly 5039,9,6,16,0,0x1,0,5,1,yes,0,0,0,none,0,0x0, SU_TUNAPARTY,Tuna Party 5040,0,6,4,0,0x3,-1,5,1,yes,0,0,0,none,0,0x0, SU_BUNCHOFSHRIMP,Bunch of Shrimp 5041,9,6,16,0,0x3,0,5,1,yes,0,0,0,none,0,0x0, SU_FRESHSHRIMP,Fresh Shrimp skill_require_db.txt // Summoner 5019,0,0,10,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_BITE 5020,0,0,30,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_HIDE 5021,0,0,20:25:30,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_SCRATCH 5022,0,0,10,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_STOOP 5023,0,0,30,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_LOPE 5026,0,0,40,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_SV_STEMSPEAR 5027,0,0,40:36:32:28:24,0,0,0,99,0,0,none,0,0,11602,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_CN_POWDERING 5028,0,0,20:35:50:65:80,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_CN_METEOR 5029,0,0,10:12:14:16:18,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_SV_ROOTTWIST 5030,0,0,1,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_SV_ROOTTWIST_ATK 5032,0,0,10:12:14:16:18,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_SCAROFTAROU 5033,0,0,10:12:14:16:18,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_PICKYPECK 5034,0,0,1,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_PICKYPECK_DOUBLE_ATK 5035,0,0,12:14:16:18:20,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_ARCLOUSEDASH 5036,0,0,15:20:25:30:35,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_LUNATICCARROTBEAT 5038,0,0,20:30:40:50:60,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_TUNABELLY 5039,0,0,20:30:40:50:60,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_TUNAPARTY 5040,0,0,44:48:52:56:60,0,0,0,99,0,0,none,0,0,567,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SU_BUNCHOFSHRIMP 5041,0,0,22:24:26:28:30,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 skill_tree.txt //Summoner 4218,5018,1,0,0,0,0,0,0,0,0,0,0 //SU_BASIC_SKILL## 4218,5019,1,5018,1,0,0,0,0,0,0,0,0 //SU_BITE## 4218,5020,1,5019,1,0,0,0,0,0,0,0,0 //SU_HIDE## 4218,5021,3,5020,1,0,0,0,0,0,0,0,0 //SU_SCRATCH## 4218,5022,1,5021,3,0,0,0,0,0,0,0,0 //SU_STOOP## 4218,5023,3,5022,1,0,0,0,0,0,0,0,0 //SU_LOPE## 4218,5024,1,5023,3,0,0,0,0,0,0,0,0 //SU_SPRITEMABLE## 4218,5025,1,5027,3,0,0,0,0,0,0,0,0 //SU_POWEROFLAND## 4218,5026,5,5024,1,0,0,0,0,0,0,0,0 //SU_SV_STEMSPEAR## 4218,5027,5,5028,3,0,0,0,0,0,0,0,0 //SU_CN_POWDERING## 4218,5028,5,5029,3,0,0,0,0,0,0,0,0 //SU_CN_METEOR## 4218,5029,5,5026,3,0,0,0,0,0,0,0,0 //SU_SV_ROOTTWIST## 4218,5031,1,5036,3,0,0,0,0,0,0,0,0 //SU_POWEROFLIFE## 4218,5032,5,5035,3,0,0,0,0,0,0,0,0 //SU_SCAROFTAROU## 4218,5033,5,5024,1,0,0,0,0,0,0,0,0 //SU_PICKYPECK## 4218,5035,5,5033,3,0,0,0,0,0,0,0,0 //SU_ARCLOUSEDASH## 4218,5036,5,5032,3,0,0,0,0,0,0,0,0 //SU_LUNATICCARROTBEAT## 4218,5037,1,5039,3,0,0,0,0,0,0,0,0 //SU_POWEROFSEA## 4218,5038,5,5040,3,0,0,0,0,0,0,0,0 //SU_TUNABELLY## 4218,5039,5,5038,3,0,0,0,0,0,0,0,0 //SU_TUNAPARTY## 4218,5040,5,5041,3,0,0,0,0,0,0,0,0 //SU_BUNCHOFSHRIMP## 4218,5041,5,5024,1,0,0,0,0,0,0,0,0 //SU_FRESHSHRIMP## 4218,681,1,0,0,0,0,0,0,0,0,0,0 //ALL_INCCARRY#Enlarge Weight Limit R# skill_cast_db.txt //===== Summoner =========================== //-- SU_BITE 5019,1000,1000,0,0,0,0,0 //-- SU_HIDE 5020,0,1000,0,-1,0,15000,0 //-- SU_SCRATCH 5021,0,1000,0,0,120000,3000:2000:1000,0 //-- SU_STOOP 5022,0,1000,0,6000,0,15000,0 //-- SU_LOPE 5023,500,1000,0,0,0,2000:4000:6000,0 //-- SU_SV_STEMSPEAR 5026,2500,1000,0,0,120000,0,0 //-- SU_CN_POWDERING 5027,1500,1000,0,3000:4000:5000:6000:7000,0,0,0 //-- SU_CN_METEOR 5028,7500,1000,0,1500:2000:2500:3000:3500,20000,5000,-1 //-- SU_SV_ROOTTWIST 5029,0,1000,0,7000:9000:11000:13000:15000,0,3000,0 //-- SU_SV_ROOTTWIST_ATK 5030,0,1000,0,0,0,0 //-- SU_SCAROFTAROU 5032,500,1000,0,9000,1000,0,0 //-- SU_PICKYPECK 5033,2500,1000,0,0,0,0,0 //-- SU_PICKYPECK_DOUBLE_ATK 5034,0,1000,0,0,0,0,0 //-- SU_ARCLOUSEDASH 5035,2500,1000,0,60000:70000:80000:90000:100000,0,10000,0 //-- SU_LUNATICCARROTBEAT 5036,1500,1000,0,0,5000,6000,0 //-- SU_TUNABELLY 5038,2000,1000,0,0,0,8000:10000:12000:14000:16000,0 //-- SU_TUNAPARTY 5039,0,1000,0,30000,0,20000,0 //-- SU_BUNCHOFSHRIMP 5040,0,1000,0,60000:90000:120000:150000:180000,0,10000,0 //-- SU_FRESHSHRIMP 5041,0,1000,0,120000,0,7000,0 //========================================== It should work.
    1 point
×
×
  • Create New...