Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/14/17 in Posts

  1. 1. The first argument of getmapxy needed to be string variable 2. System detect Infinite loop 3. Change OnEnable to OnEnablePacBonus
    1 point
  2. 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
  3. was für ein Project, paar Info's wären nützlich
    1 point
  4. Pls move to International Support, here is Germany
    1 point
  5. using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; using System.Windows.Media.Imaging; using ErrorManager; using GRF.FileFormats.ActFormat; using GRF.FileFormats.SprFormat; using GRF.FileFormats.PalFormat; using GRF.Image; using GRF.Image.Decoders; using GRF.Graphics; using GrfToWpfBridge; using TokeiLibrary; using TokeiLibrary.WPF; using Action = GRF.FileFormats.ActFormat.Action; using Frame = GRF.FileFormats.ActFormat.Frame; using Point = System.Windows.Point; namespace Scripts { public class Script : IActScript { public object DisplayName { get { return "MyCustomScript"; } } public string Group { get { return "Scripts"; } } public string InputGesture { get { return null; } } public string Image { get { return null; } } public void Execute(Act act, int selectedActionIndex, int selectedFrameIndex, int[] selectedLayerIndexes) { if (act == null) return; try { act.Commands.Begin(); act.Commands.Backup(_ => { act.SetColor("#99F80909"); }, "MyCustomScript", true); } catch (Exception err) { act.Commands.CancelEdit(); ErrorHandler.HandleException(err, ErrorLevel.Warning); } finally { act.Commands.End(); act.InvalidateVisual(); act.InvalidateSpriteVisual(); } } public bool CanExecute(Act act, int selectedActionIndex, int selectedFrameIndex, int[] selectedLayerIndexes) { return act != null; } } } use Scripts, line 49 is act.SetColor("#99F80909"); Change it any way.
    1 point
  6. es sollte laut der Fehler Meldung ein Headgear sein, soweit ich das richtig sehe. allerdings existiert der Sprite bei mir auch nicht.
    1 point
  7. - script Sample -1,{ OnInit: set .amount, 40; // amount of item to shower set .item_id, 7227; // item id to shower set .map$, "prontera"; // map to shower end; OnMinute00: while ( .count < .amount ) { do { .@x = rand(1,500); .@y = rand(1,500); } while (!checkcell(.map$,.@x,.@y,cell_chkpass)); makeitem .item_id,1,.map$,.@x,.@y; set .count, .count + 1; } set .count, 0; end; }
    1 point
  8. make a custom usable item. item script atcommand "@vip +24h "+strcharinfo(0)+""; // 1 day atcommand "@vip +15d "+strcharinfo(0)+""; // 15 day atcommand "@vip +1m"+strcharinfo(0)+""; // 1 day
    1 point
  9. like this? mapname,x,y,direction script NPCName id,{ for (set .@i, 0;.@i < getarraysize(.items);set .@i, .@i+1){ set .@itemid = .items[.@i]; for (set .@j, 0; .@j < .amount[.@i]; set .@j, .@j+1){ set .@x, rand(.upperleftx,.lowerrightx); set .@y, rand(.lowerrighty,.upperlefty); makeitem .@itemid,1,.map,.@x,.@y; } } end; OnInit: setarray .items[0],909; //add items that should be dropped here setarray .amount,5; //how many of each item should drop? set .map,"guild_vs4"; //map set .upperleftx,0; //items will be dropped in that area (see below) set .upperlefty,0; set .lowerrightx,0; set .lowerrighty,0; end; }
    1 point
  10. View File [Recolor] Eremes Scarf It's my first recolor This is a Lower Headgear, Recently Released in kRO, I dyed it Submitter Kinx Submitted 05/19/2017 Category Headgears Content Author Gravity Released. Edit by Kinx  
    1 point
  11. 1 point
  12. please wait some time, i will make 1click solution for you and for all newbies around here. i will post when it will be ready (today) done, here is it:
    1 point
×
×
  • Create New...