Jump to content

oscar171

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by oscar171

  1. this item is already working correctly in rathena?

     

    12790.gifCharacter Name Change Coupon    Item ID# 12790 (Change_Name_Card) see_pre-re.gifspr.gif Type Usable Item Class n/a Buy n/a Sell n/a Weight 0 Applicable Jobs bu2.gif Every Job Description Not Available

    [iRO Description]
    Use this item to change your character's name on the Character Select menu.
    After using this item you must logout to the Character Select menu and Right-Click on your character and choose 'Change Name'
    You can then enter a new name as long as it is not already taken.
    You must leave your current guild and/or party before changing your name.
    You can use this item once and it is account bound Item Script
    {},{},{}

     

  2. bug when using this npc, the character is frozen and does not receive bonuses that should receive

     

    F7rSO5.jpg

     

    my version is rathena svn 12410

     

     

    prontera,146,93,5 script Agente VIP 4_M_MANAGER,{
    
    setarray .@itens[1], 14529,12274,12275,662;
    setarray .@qnt[1], 10,1,1,1;
    setarray .@zeny[1], 2000,10000,10000,10000;
    
    mes "[Agente VIP]";
    mes "Olá, é bom vê-lo, meu amigo.";
    mes "Parece que você tem passado muito";
    mes "por aqui,";
    mes "de qualquer forma.....";
    mes "Acho que você já sabe disso, mas";
    mes "direi novamente.";
    next;
    mes "[Agente VIP]";
    mes "Eu atendo apenas jogadores VIPs,";
    mes "então preciso checar o status da";
    mes "sua conta.";
    next;
    
    if(!getgroupid() ) {
    
    mes "[Agente VIP]";
    mes "Sinto muito, mas a sua conta não";
    mes "possui o status VIP.";
    next;
    mes "[Agente VIP]";
    mes "Volte novamente";
    mes "quando adquirir o status VIP.";
    next;
    mes "[Agente VIP]";
    mes "Obrigado e tenha um bom dia.";
    close;
    } else {
    mes "[Agente VIP]";
    mes "Ok! Você é um VIP!";
    mes "Bem, do que você precisa?";
    mes "Você pode adquirir o Pergaminho de";
    mes "Ganância, A Pílula de HP, a Pílula";
    mes "de SP";
    mes "e o Emblema Oficial....";
    next;
    mes "[Agente VIP]";
    mes "O preço desses 4 itens são:";
    mes "- Pergaminho de Ganância: 2000";
    mes "zenys";
    mes "- Pílula de HP 10000 zenys";
    mes "- Pílula de SP 10000 zenys";
    mes "- Emblema Oficial: 10000 zenys";
    mes "Qual desses você deseja adquirir?";
    next;
    set .@i, select("Pergaminho de Ganância:Pílula de HP:Pílula de SP:Emblema Oficial:Cancelar");
    switch(.@i){
    case 1:
    break;
    case 2:
    break;
    case 3:
    break;
    case 4:
    break;
    case 5:
    mes "[Agente VIP]";
    mes "Ok! Volte se precisar de meus";
    mes "serviços.";
    close;
    }
    if(Zeny < .@zeny[.@i] ){
    mes "[Agente VIP]";
    mes "Você não possui zenys";
    mes "suficientes para comprar";
    mes "este item.";
    close;
    }
    if(countitem(.@itens[.@i]) > 0) {
    mes "[Agente VIP]";
    mes "Você já possui ^EE0000"+getitemname(.@itens[.@i])+"^000000.";
    close;
    }
    mes "[Agente VIP]";
    mes "Você fez uma boa escolha.";
    mes "Aproveite o item!";
    set Zeny,Zeny-.@zeny[.@i];
    getitem .@itens[.@i],.@qnt[.@i];
    next;
    mes "[Agente VIP]";
    mes "E.. o serviço de buffs prometido!";
    mes "Você pode escolher um destes!!";
    next;
    mes "[Agente VIP]";
    mes "Primeiro, ^EE0000FOR+8, AGI+6, DES+4,";
    mes "ATQ+32, Esquiva+5!^000000";
    mes "Segundo,^EE0000INT+8,DES+6,";
    mes "VIT+4, ATQM+40!^000000";
    next;
    mes "[Agente VIP]";
    mes "Terceiro, ^EE0000DES+8, AGI+6, SOR+4,";
    mes "ATQ+24, ATQM+24!^000000";
    mes "Quarto, ^EE0000Todos os Atributos+6,";
    mes "ATQ+24,ATAQM+24!!^000000";
    next;
    mes "[Agente VIP]";
    mes "Quais dos buffs você deseja?";
    next;
    set .@i, select("Primeiro:Segundo:Terceiro:Quarto");
    mes "[Agente VIP]";
    mes "Abracadabra~";
    switch(.@i){
    case 1:
    sc_start SC_FOOD_STR,5400000,8;
    sc_start SC_FOOD_AGI,5400000,6;
    sc_start SC_FOOD_DEX,5400000,4;
    sc_start SC_PLUSATTACKPOWER,5400000,32;
    sc_start SC_FOOD_BASICAVOIDANCE,5400000,5;
    break;
    case 2:
    sc_start SC_FOOD_INT,5400000,8;
    sc_start SC_FOOD_DEX,5400000,6;
    sc_start SC_FOOD_VIT,5400000,4;
    sc_start SC_PLUSMAGICPOWER,5400000,40;
    break;
    case 3:
    sc_start SC_FOOD_DEX,5400000,8;
    sc_start SC_FOOD_AGI,5400000,6;
    sc_start SC_FOOD_LUK,5400000,4;
    sc_start SC_PLUSATTACKPOWER,5400000,24;
    sc_start SC_PLUSMAGICPOWER,5400000,24;
    break;
    case 4:
    sc_start SC_FOOD_STR,5400000,6;
    sc_start SC_FOOD_AGI,5400000,6;
    sc_start SC_FOOD_VIT,5400000,6;
    sc_start SC_FOOD_INT,5400000,6;
    sc_start SC_FOOD_DEX,5400000,6;
    sc_start SC_FOOD_LUK,5400000,6;
    sc_start SC_PLUSATTACKPOWER,5400000,24;
    sc_start SC_PLUSMAGICPOWER,5400000,24;
    break;
    }
    next;
    mes "[Agente VIP]";
    mes "Eu te dei um poder especial!";
    mes "Esse poder é fenomenal, não é?";
    next;
    mes "[Agente VIP]";
    mes "Até mais, espero vê-lo novamente!!";
    close2;
    end;
    }
    }
    
    // Duplicatas Agente VIP
    rachel,111,143,3 duplicate(Agente VIP) Agente VIP#ra 4_M_MANAGER
    yuno,149,187,3 duplicate(Agente VIP) Agente VIP#jun 4_M_MANAGER
    izlude,134,92,3 duplicate(Agente VIP) Agente VIP#iz 4_M_MANAGER
    alberta,104,60,3 duplicate(Agente VIP) Agente VIP#alb 4_M_MANAGER
    comodo,199,149,3 duplicate(Agente VIP) Agente VIP#com 4_M_MANAGER
    umbala,93,160,3 duplicate(Agente VIP) Agente VIP#um 4_M_MANAGER
    payon,184,102,3 duplicate(Agente VIP) Agente VIP#pay 4_M_MANAGER
    geffen,126,64,3 duplicate(Agente VIP) Agente VIP#gef 4_M_MANAGER
    morocc,164,255,3 duplicate(Agente VIP) Agente VIP#mo 4_M_MANAGER
    aldebaran,146,116,3 duplicate(Agente VIP) Agente VIP#ald 4_M_MANAGER
    hugel,80,152,3 duplicate(Agente VIP) Agente VIP#hu 4_M_MANAGER
    einbroch,235,207,3 duplicate(Agente VIP) Agente VIP#ein 4_M_MANAGER
    lighthalzen,167,97,3 duplicate(Agente VIP) Agente VIP#lig 4_M_MANAGER
    veins,210,109,3 duplicate(Agente VIP) Agente VIP#ve 4_M_MANAGER
    amatsu,102,152,3 duplicate(Agente VIP) Agente VIP#am 4_M_MANAGER
    gonryun,156,122,3 duplicate(Agente VIP) Agente VIP#ku 4_M_MANAGER
    louyang,210,107,3 duplicate(Agente VIP) Agente VIP#lou 4_M_MANAGER
    ayothaya,212,173,3 duplicate(Agente VIP) Agente VIP#ayo 4_M_MANAGER
    dewata,202,188,3 duplicate(Agente VIP) Agente VIP#dew 4_M_MANAGER
    brasilis,200,224,3 duplicate(Agente VIP) Agente VIP#bra 4_M_MANAGER
    moscovia,220,191,3 duplicate(Agente VIP) Agente VIP#mos 4_M_MANAGER
    niflheim,206,179,3 duplicate(Agente VIP) Agente VIP#nif 4_M_MANAGER
    dicastes01,193,191,3 duplicate(Agente VIP) Agente VIP#dic 4_M_MANAGER
    manuk,296,147,3 duplicate(Agente VIP) Agente VIP#man 4_M_MANAGER
    splendide,201,153,3 duplicate(Agente VIP) Agente VIP#spl 4_M_MANAGER
    mora,113,112,3 duplicate(Agente VIP) Agente VIP#mor 4_M_MANAGER
    mid_camp,201,237,3 duplicate(Agente VIP) Agente VIP#mid 4_M_MANAGER
    
  3. I will show some pictures showing how the system has been incremented in the Hercules emulator

    print.jpg

    yes

    note that this item works perfectly in Hercules emulator, I'll awaits this item be incremented by rathena

     

    [12790] = {
    unidentifiedDisplayName = "Name Change Coupon",
    unidentifiedResourceName = "Á¶Á÷¿øÀÇÁõÇ¥",
    unidentifiedDescriptionName = {
    "Use this item to change your character's name on the Character Select menu.",
    "After using this item you must logout to the Character Select menu and Right-Click on your character and choose 'Change Name'",
    "You can then enter a new name as long as it is not already taken.",
    "You must leave your current guild and/or party before changing your name",
    "You can use this item once and it is account bound",
  4. here's the original file for hercules board

    {
    Id: 12790
    AegisName: "Change_Name_Card"
    Name: "Name Change Coupon"
    Type: 2
    Buy: 0
    Upper: 63
    Script: <" set CharRename, CharRename + 1; ">
    },
     

    so I put in rathena

    12790,Change_Name_Card,Character Name Change Coupon,2,0,,0,,,,,0xFFFFFFFF,63,2,,,,,,{ set CharRename, CharRename + 1; },{},{}

     

     

    Hercules in it works perfectly but got no result rathena

  5. I have I enabled the vip system, someone could help me with vip tickt a tickt that is compatible with the official vip system rathena

    my tickt vip

     

     

     
    16282,Ticket_Vip_15d,Ticket Vip 15d,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{callfunc "ticketVip15", getcharid(3), 15;},{},{}
    16283,Ticket_Vip_30d,Ticket Vip 30d,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{callfunc "ticketVip30", getcharid(3), 30;},{},{}
     
    function script ticketVip15 {
    if( getgroupid() > 10 ){
    message strcharinfo(0),"[VIP system]: The level of account access does not allow me to add it to the vip.";
    getitem 16282,1;
    end;
    }else{
    query_sql "SELECT `login` WHERE `account_id`='"+getarg(0)+"'", .@vip_time;
    if(.@vip_time <= 0 )
    {
    query_sql "UPDATE `login` SET `diasvip`='"+getarg(1)+"' WHERE `account_id`='"+getarg(0)+"'";
    query_sql "UPDATE `login` SET `group_id`='5' WHERE `account_id`='"+getarg(0)+"'";
    message strcharinfo(0),"[sistema VIP]: You just added " +getarg(1)+ " vip days.";
    sleep2 2000;
    atcommand "@reloadpcdb";
    message strcharinfo(0),"[VIP system]: activated!";
    }
    else {
    query_sql "UPDATE `login` SET `vip_time`=`vip_time`+'" + getarg(1) + "' WHERE `account_id`='" + getarg(0) + "'";
    query_sql "SELECT `login` WHERE `account_id`='"+getarg(0)+"'", .@vip_timereset;
    message strcharinfo(0),"[VIP system]: " + getarg(1) + " days were entered into your account!";
    if(.@vip_timerest > 1){
    message strcharinfo(0),"[VIP system]: you have "+.@vip_timerest+" vip days remaining!"; 
    }else{
    message strcharinfo(0),"[VIP system]: you have "+.@vip_timerest+" vip rest day!"; 
    }
    }
    }
    end;
    }
     
    function script ticketVip30 {
    if( getgroupid() > 10 ){
    message strcharinfo(0),"[VIP system]: The level of account access does not allow me to add it to the vip.";
    getitem 16283,1;
    end;
    }else{
    query_sql "SELECT `login` WHERE `account_id`='"+getarg(0)+"'", .@vip_time;
    if(.@vip_time <= 0 )
    {
    query_sql "UPDATE `login` SET `diasvip`='"+getarg(1)+"' WHERE `account_id`='"+getarg(0)+"'";
    query_sql "UPDATE `login` SET `group_id`='5' WHERE `account_id`='"+getarg(0)+"'";
    message strcharinfo(0),"[sistema VIP]: You just added " +getarg(1)+ " vip days.";
    sleep2 2000;
    atcommand "@reloadpcdb";
    message strcharinfo(0),"[VIP system]: activated!";
    }
    else {
    query_sql "UPDATE `login` SET `vip_time`=`vip_time`+'" + getarg(1) + "' WHERE `account_id`='" + getarg(0) + "'";
    query_sql "SELECT `login` WHERE `account_id`='"+getarg(0)+"'", .@vip_timereset;
    message strcharinfo(0),"[VIP system]: " + getarg(1) + " days were entered into your account!";
    if(.@vip_timerest > 1){
    message strcharinfo(0),"[VIP system]: you have "+.@vip_timerest+" vip days remaining!"; 
    }else{
    message strcharinfo(0),"[VIP system]: you have "+.@vip_timerest+" vip rest day!"; 
    }
    }
    }
    end;
    }
  6. I did everything as requested

    emulator does not accuse but no error, the patch Perfect this because I used the latest patch and nemo 2014-03-05bRagexe provided by themon

     

    themon

    if that step still don't work

    try this much simple one

    first download fresh rathena https://github.com/rathena/rathena

    then edit mmo.h http://upaste.me/a73a1241981b2d981

    then edit packet_db.txt http://upaste.me/f28212420d540de4d

    compile your rathena server

    and update your data folder or grf https://github.com/R.../commits/master

    download 2014 client https://github.com/T...4-Ragexe-Client

    patch with nemo patcher https://github.com/MStr3am/NEMO

    here my nemo patch log

     

    Now when I log in I received the following problem
    ifny.jpg
    I thought it was md5 I wore but I redid the database without the md5 and have disabled it in login.athena but remains so

    28/06/2014
    my rathena master 12257\trunk\db\packet_db
     
    // 2014-03-05bRagexe - Themon
    packet_ver: 45
    0x0369,7,actionrequest,2:6
    0x083C,10,useskilltoid,2:4:6
    0x0437,5,walktoxy,2
    0x035F,6,ticksend,2
    0x0815,5,changedir,2:4
    0x0202,6,takeitem,2
    0x0362,6,dropitem,2:4
    0x07EC,8,movetokafra,2:4
    0x0364,8,movefromkafra,2:4
    0x0436,10,useskilltopos,2:4:6:8
    0x0366,90,useskilltoposinfo,2:4:6:8:10
    0x096A,6,getcharnamerequest,2
    0x0368,6,solvecharname,2
    0x0838,12,searchstoreinfolistitemclick,2:6:10
    0x0835,2,searchstoreinfonextpage,0
    0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
    0x0811,-1,reqtradebuyingstore,2:4:8:12
    0x0360,6,reqclickbuyingstore,2
    0x09D4,2,reqclosebuyingstore,0
    0x0361,-1,reqopenbuyingstore,2:4:8:9:89
    0x0365,18,bookingregreq,2:4:6
    // 0x0363,8 CZ_JOIN_BATTLE_FIELD
    0x0281,-1, itemlistwindowselected,2:4:8:12
    0x0438,19,wanttoconnection,2:6:10:14:18
    0x0802,26,partyinvite2,2
    // 0x0878,4 CZ_GANGSI_RANK
    0x07E4,26,friendslistadd,2
    0x0934,5,hommenu,2:4
    0x095e,36,storagepassword,2:4:20
    0x09df,7
     
    my \rathena master 12257\trunk\src\common\mmo
     
    #ifndef PACKETVER
    #define PACKETVER 20140305
    //#define PACKETVER 20120410
    #endif
     
     
     
  7. packet_ver 2014-03-05

    WHAT I have to do for the most current rathena supports packet 05/03/2014

    already compiled the emulator for the 20140305 package, the package added in the db

    / / 2014-03-05bRagexe - themon

    //2014-03-05bRagexe - Themon
    packet_ver: 47
    0x0369,7,actionrequest,2:6
    0x083C,10,useskilltoid,2:4:6
    0x0437,5,walktoxy,2
    0x035F,6,ticksend,2
    0x0815,5,changedir,2:4
    0x0202,6,takeitem,2
    0x0362,6,dropitem,2:4
    0x07EC,8,movetokafra,2:4
    0x0364,8,movefromkafra,2:4
    0x0436,10,useskilltopos,2:4:6:8
    0x0366,90,useskilltoposinfo,2:4:6:8:10
    0x096A,6,getcharnamerequest,2
    0x0368,6,solvecharname,2
    0x0838,12,searchstoreinfolistitemclick,2:6:10
    0x0835,2,searchstoreinfonextpage,0
    0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
    0x0811,-1,reqtradebuyingstore,2:4:8:12
    0x0360,6,reqclickbuyingstore,2
    0x09D4,2,reqclosebuyingstore,0
    0x0361,-1,reqopenbuyingstore,2:4:8:9:89
    0x0365,18,bookingregreq,2:4:6
    // 0x0363,8 CZ_JOIN_BATTLE_FIELD
    0x0281,-1, itemlistwindowselected,2:4:8:12
    0x0438,19,wanttoconnection,2:6:10:14:18
    0x0802,26,partyinvite2,2
    // 0x0878,4 CZ_GANGSI_RANK
    0x07E4,26,friendslistadd,2
    0x0934,5,hommenu,2:4
    0x095e,36,storagepassword,2:4:20
    0x09df,7
     
     

    When I turn on the emulator complains that the following problem

    u5qo.jpg

  8. this system is an awesome system, should make such a system for the official rathena!, not to mention that this system VendingSystem_1.8.1 this outdated!

    should have aomenos complete without a patch for the bug verçoes rathena latest as rathena17230! or +
×
×
  • Create New...