Jump to content

Revoltz

Members
  • Posts

    45
  • Joined

  • Last visited

Posts posted by Revoltz

  1. As our emulator had updates, the diff was automatically outdated and useless, I would like this one, because I don't know how to update it because I don't have much understanding in this part.

    after applying this diff I got the following error, in the case of lack of a usual declaration, I don't know where I can make this declaration.

    image.png.dcfac16adf67b1c4e6b292d8538ff711.png

     

    image.thumb.png.306151e79328fc7c831a1eb519b3cee4.png

    costumeitem.diff

  2. Hail guys!

    I have a problem that I can't find a solution.

    Every time I go to @reloadatcommand I get the following error:

    [Error]: (null):0 - file I/O error

    and inside the game I get this information:

    error reading groups.conf, reload failed.

    Since I didn't make any changes to the file, as it remains default as I downloaded the emulator.

    My Emulator is Rathena Ultima version of github.

    I will be posting some images to try solution.

    image.png.7e9d6667032cb67db0688c148f8938ae.png

     

    image.png.3134d0a458006cf0c0310b152ca7638b.png

     

    I will be leaving my groups.yml

    I just found it strange that in my emulator the groups.yml only inside the game it says that the groups.conf is not being loaded.

    groups.yml

  3. On 18/02/2013 at 04:15, Brian said:

    Esta é a parte do código que causa a mensagem "Proxy is not allowed": 

     

    http://rathena.org/board/files/file/2344-fluxcp-addon-vote-for-points/

    ../modules/voteforpoints/vote.php

    
    
     
    1. // Impedir um pouco o uso de servidores proxy
    2. $ xforward = $ _SERVER [ "HTTP_X_FORWARDED_FOR" ];
    3. if (! empty ( $ xforward )) {
    4. $ error = Flux :: message ( 'PROXY_NOT_ALLOWED' );
    5. }

        

    I had the same problem and my solution was this one, I just changed it:
    
    if (!empty($xforward)) {
    
    per:
    
    if (!empty($myHHvarRND)) {

     

    //Somewhat Prevent of using Proxy Servers
        $xforward= $_SERVER["HTTP_X_FORWARDED_FOR"];
        if (!empty($myHHvarRND)) {
            $error = Flux::message('PROXY_NOT_ALLOWED');
        }

  4. Quote

    /opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: obj/clif.o: in function `clif_parse_SelectArrow(int, map_session_data*)':
    /home/emulador/src/map/clif.cpp:13364: undefined reference to `skill_vending(map_session_data*, unsigned short)'
    collect2: error: ld returned 1 exit status
    make[1]: *** [Makefile:73: map-server] Error 1
    make[1]: Leaving directory '/home/emulador/src/map'
    make: *** [Makefile:50: map] Error 2
    [root@localhost emulador]#

    I'm taking this error
  5. 5 hours ago, M a p l e said:

    image.thumb.png.02b8b2a4f80989cc82698df2096c1d70.png

    Ele não quer responder a ninguém.

    @Easycore


    Precisely, I am looking for someone who can help me, I tried there on the discord but stolao deleted my message. sent I came to ask for help here on the forum.

    Unfortunately rathena doesn't have a @joinbg command system or make any diff to help people who are developers, from a pitched battle for eamod's command or something and we are dependent on these paid systems, I don't even have the money for this paying to a developer at the moment.

     


    I have an update for the github 30/03/2020 camp battle easycore 2.0 where it is already out of date for the current emulator and I am looking for this update help.

  6. Hello, young people, I'm looking for someone who can help me with updating a .diff ".patch" for the EasyCore 2.0 pitched battle system.

    I have an update for rathena 03/30/2020 and need an update for the current rathena. Unfortunately today I do not have the money to make the payment so that help is available.

    If you have availability and would like to help me, please speak!

    I no longer know where I get this help.

  7. src/map/status.c

    I use or the notepad ++, where I select 1000 and I went to play random values until I got an amount of ASPD that I found necessary and it worked.
    if(flag&SCB_ASPD) {
            int amotion;
    
            if ( bl->type&BL_HOM ) {
    #ifdef RENEWAL_ASPD
                amotion = ((TBL_HOM*)bl)->homunculusDB->baseASPD;
                amotion = amotion - amotion * status_get_homdex(bl) / 1000 - status_get_homagi(bl) * amotion / 250;
                amotion = (amotion * status_calc_aspd(bl, sc, true) + status_calc_aspd(bl, sc, false)) / - 100 + amotion;
    #else
                amotion = (1000 - 4 * status->agi - status->dex) * ((TBL_HOM*)bl)->homunculusDB->baseASPD / 1000;
    
                amotion = status_calc_aspd_rate(bl, sc, amotion);
                amotion = amotion * status->aspd_rate / 1000;
    #endif
    
                amotion = status_calc_fix_aspd(bl, sc, amotion);
                status->amotion = cap_value(amotion, battle_config.max_aspd, 2000);
    
                status->adelay = status->amotion;
            } else if ( bl->type&BL_PC ) {
                uint16 skill_lv;
    
                amotion = status_base_amotion_pc(sd,status);
    #ifndef RENEWAL_ASPD
                status->aspd_rate = status_calc_aspd_rate(bl, sc, b_status->aspd_rate);
    #endif
                // Absolute ASPD % modifiers
                amotion = amotion * status->aspd_rate / 1000;
                if (sd->ud.skilltimer != INVALID_TIMER && (skill_lv = pc_checkskill(sd, SA_FREECAST)) > 0)
    #ifdef RENEWAL_ASPD
                    amotion = amotion * 5 * (skill_lv + 10) / 100;
    #else
                    amotion += (2000 - amotion) * ( 55 - 5 * ( skill_lv + 1 ) ) / 100; //Increases amotion to reduce ASPD to the corresponding absolute percentage for each level (overriding other adjustments)
    #endif
    
    #ifdef RENEWAL_ASPD
                // RE ASPD % modifier
                amotion += (max(0xc3 - amotion, 2) * (status->aspd_rate2 + status_calc_aspd(bl, sc, false))) / 100;
                amotion = 10 * (200 - amotion);
    
                amotion += sd->bonus.aspd_add;
    #endif
                amotion = status_calc_fix_aspd(bl, sc, amotion);
                status->amotion = cap_value(amotion,pc_maxaspd(sd),2000);
    
                status->adelay = 2 * status->amotion;
            } else { // Mercenary and mobs
                amotion = b_status->amotion;
                status->aspd_rate = status_calc_aspd_rate(bl, sc, b_status->aspd_rate);
                amotion = amotion*status->aspd_rate/1000;
    
                amotion = status_calc_fix_aspd(bl, sc, amotion);
                status->amotion = cap_value(amotion, battle_config.monster_max_aspd, 2000);
    
                temp = b_status->adelay*status->aspd_rate/1000;
                status->adelay = cap_value(temp, battle_config.monster_max_aspd*2, 4000);
            }
        }

     

  8.  

    Even though it's not the PT-BR Area I'm BR Good rsrs could you make me available to WOT pbRO? I'm in search of this same, if possible send me I thank you.

    1 hour ago, HD Scripts said:

    Bom, mesmo não sendo a área de pt-br, mas qual seria esse script? bRO tem WOT? Nunca vi, o que eu sei que tem, e eu tenho, é a do pbRO.

    Mesmo não sendo a Area PT-BR eu sou BR rsrs Bom você poderia me disponibilizar a WOT pbRO? eu estou em busca dessa mesmo, se possível me mandar eu agradeço.

  9. Hello everyone, I'm asking for the help of everyone, I'm looking for a WOT (Treasure War) script, but I wanted the original * BRO * 
    where one has the portals and etc ... does anyone have the script?
    
    the one that comes in the emulator like I do to configure, could someone explain me?
  10. On 03/09/2018 at 01:14, TARTs said:

    Você precisa habilitar o Sistema VIP em src.

    Não há nenhum NPC oficial de VIP NPC, você precisa instalar VIP NPC Scripts da zona de download do rAthena.

    ID do grupo, você pode manipulá-lo com seus próprios scripts.

     

    Thanks, I'll look for some! but could you tell me how I could do about a ticket pulling this function?

  11.  

    Hello, community! I do not know if I am posting in the correct place, but what I am going to talk about is the rathhena vip system, would you like to know how I can create Vip 1, 7, 15 and 30 days using rathena's official system?

    My second question is: I would like to make two vip's groups being GroupID 1 only for 1 day vip and GroupID 2 for 7, 15 and 30 day days.

    Being that I wanted that when the person of the two clicked on the ticket, appreciates a message your account turned VIP, enjoy its advantages.

    Thank you very much in advance!

  12. 7 minutes ago, cadusantos said:

     

    Looks like the error is gone! thank you so much. Now I'm on alert that the level has not been configured correctly. Would you have a job_exp configured for Base Level 300 and Job Level 150? I was based on Link 

    
    However, he continues to give warnings that base level and job level have been configured incorrectly.
    
    This is the error link -> Click Here
    this is my job_exp.txt

     

     

    // Experience Tables [Pre-Renewal]
    // Only official levels included, check db/import-tmpl/job_exp.txt for an expanded list
    //
    // Structure of Database:
    // Max Level,Class list,Type,Exp for Lv 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99
    //
    // Type:
    //    0 = Base Exp, 1 = Job Exp

    //Base - Normal and Baby Jobs
    300,0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:23:24:25:4023:4024:4025:4026:4027:4028:4029:4030:4031:4032:4033:4034:4035:4036:4037:4038:4039:4040:4041:4042:4043:4044:4045:4046:4047:4048:4049:4050:4051:4052,0,9,16,25,36,77,112,153,200,253,320,385,490,585,700,830,970,1120,1260,1420,1620,1860,1990,2240,2504,2950,3426,3934,4474,6889,7995,9174,10425,11748,13967,15775,17678,19677,21773,30543,34212,38065,42102,46323,53026,58419,64041,69892,75973,102468,115254,128692,142784,157528,178184,196300,215198,234879,255341,330188,365914,403224,442116,482590,536948,585191,635278,687211,740988,925400,1473746,1594058,1718928,1848355,1982340,2230113,2386162,2547417,2713878,3206160,3681024,4022472,4377024,4744680,5125440,5767272,6204000,6655464,7121664,7602600,9738720,11649960,13643520,18339300,23836800,35658000,48687000,58135000,99999998,99999999

    //Base - Trans Jobs
    300,4001:4002:4003:4004:4005:4006:4007:4008:4009:4010:4011:4012:4013:4014:4015:4016:4017:4018:4019:4020:4021:4022,0,10,18,28,40,85,123,168,220,278,400,481,613,731,875,1038,1213,1400,1575,1775,2268,2604,2786,3136,3506,4130,4796,5508,6264,9645,12392,14220,16159,18209,21649,24451,27401,30499,33748,47342,58160,64711,71573,78749,90144,99312,108870,118816,129154,174196,213220,238080,264150,291427,329640,363155,398116,434526,472381,610848,731828,806448,884232,965180,1073896,1170382,1270556,1374422,1481976,1850800,3389616,3666333,3953534,4251217,4559382,5129260,5488173,5859059,6241919,7374168,9570662,10458427,11380262,12336168,13326144,14994907,16130400,17304206,18516326,19766760,29216160,34949880,40930560,55017900,71510400,106974000,146061000,174405000,343210000,99999999

    //Job - Novice & Baby Novice
    10,0:4023,1,10,18,28,40,91,151,205,268,340,999999999

    //Job - 1st Classes & Baby 1st Classes, Taekwon
    50,1:2:3:4:5:6:4024:4025:4026:4027:4028:4029:4046:4050,1,30,43,58,76,116,180,220,272,336,520,604,699,802,948,1125,1668,1937,2226,3040,3988,5564,6272,7021,9114,11473,15290,16891,18570,23229,28359,36478,39716,43088,52417,62495,78160,84175,90404,107611,125915,153941,191781,204351,248352,286212,386371,409795,482092,509596,999999999

    //Job - 2nd Classes & Baby 2nd Classes, Soul Linker
    50,7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:4030:4031:4032:4033:4034:4035:4036:4037:4038:4039:4040:4041:4042:4043:4044:4049:4051:4052,1,144,184,284,348,603,887,1096,1598,2540,3676,4290,4946,6679,9492,12770,14344,16005,20642,27434,35108,38577,42206,52708,66971,82688,89544,96669,117821,144921,174201,186677,199584,238617,286366,337147,358435,380376,447685,526989,610246,644736,793535,921810,1106758,1260955,1487304,1557657,1990632,2083386,999999999

    //Job - Novice High
    10,4001,1,11,20,31,44,100,166,226,295,374,999999999

    //Job - Adv First Classes
    50,4002:4003:4004:4005:4006:4007,1,60,86,116,152,232,360,440,544,672,1040,1208,1398,1604,1896,2250,3336,3874,4452,6080,7976,11128,12544,14042,18228,28683,38225,42228,46425,58073,70898,91195,99290,107720,131043,156238,195400,210438,226010,269028,314788,384853,479453,510878,620880,715530,965928,1024488,1205230,1273990,999999999

    //Job - Adv Second Classes
    120,4008:4009:4010:4011:4012:4013:4014:4015:4016:4017:4018:4019:4020:4021:4022,1,288,368,568,696,1206,1774,2192,3196,5080,7352,8580,9892,13358,18984,31925,35860,40013,51605,68585,87770,96443,105515,131770,167428,206720,223860,241673,294553,362303,479053,513362,548856,656197,787507,927154,985696,1046034,1231134,1449220,1678177,1773024,2182221,2534978,3043585,3782865,4461912,4672971,5971896,6250158,6875174,7562691,8318960,9150856,10065942,11877812,14015818,16538665,19515624,23028437,28094693,34275525,41816141,51015692,62239144,79666104,101972614,130524946,167071930,213852071,999999999

    //Job - Ninja/Gunslinger
    120,24:25,1,72,92,142,174,301,443,548,799,1270,1838,2145,2473,3339,4746,6385,7172,8002,10321,13717,17554,19288,21103,26354,33485,41344,44772,48334,58910,72460,87100,93338,99792,119308,143183,231068,257377,274363,314246,371105,431038,476309,588548,665256,801731,916689,1130023,1188623,1377408,1551289,1746582,1845236,1954741,2124555,2345698,2548763,2759555,3021488,3254111,3489547,3695474,4012251,4181112,4302211,4496584,4578951,4869523,5022114,5123654,5395117,999999999

    //Job - Star Gladiator
    120,4047:4048,1,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,54868,70216,77154,84412,105416,133924,165376,179008,193338,235642,289842,348402,373354,399168,477234,572732,674294,716870,760752,895370,1053978,1220492,1289472,1587070,1843620,2213516,2521910,2974608,3115314,3981264,5166772,999999999

    //Job - Super Novice & Baby Super Novice
    120,23:4045,1,30,43,58,76,116,180,220,272,336,520,604,699,802,948,1125,1668,1937,2226,3040,3988,5564,6272,7021,9114,11473,15290,16891,18570,23229,28359,36478,39716,43088,52417,62495,78160,84175,90404,107611,125915,153941,191781,204351,248352,286212,386371,409795,482092,509596,982092,992092,1002092,1012092,1022092,1032092,1042092,1052092,1062092,1072092,1082092,1092092,1102092,1112092,1122092,1132092,1142092,1152092,1162092,1172092,1182092,1192092,1202092,1212092,1222092,1232092,1242092,1252092,1262092,1272092,1282092,1292092,1302092,1312092,1322092,1332092,1342092,1352092,1362092,1372092,1382092,1392092,1402092,1412092,1422092,1432092,1442092,1452092,1462092,999999999

    //================================
    // Renewal content (required for some core features)
    //================================

    //Base - 3rd Jobs, Baby 3rds, Expanded Super Novice, Kagerou/Oboro, Rebellion, Summoner, Star Emperor, Soul Reaper
    99,4054:4055:4056:4057:4058:4059:4060:4061:4062:4063:4064:4065:4066:4067:4068:4069:4070:4071:4072:4073:4074:4075:4076:4077:4078:4079:4080:4081:4082:4083:4084:4085:4086:4087:4096:4097:4098:4099:4100:4101:4102:4103:4104:4105:4106:4107:4108:4109:4110:4111:4112:4190:4191:4211:4212:4215:4218:4220:4222:4223:4224:4225:4226:4227:4228:4229:4238:4239:4240:4241:4242:4243:4244,0,10,18,28,40,85,123,168,220,278,400,481,613,731,875,1038,1213,1400,1575,1775,2268,2604,2786,3136,3506,4130,4796,5508,6264,9645,12392,14220,16159,18209,21649,24451,27401,30499,33748,47342,58160,64711,71573,78749,90144,99312,108870,118816,129154,174196,213220,238080,264150,291427,329640,363155,398116,434526,472381,610848,731828,806448,884232,965180,1073896,1170382,1270556,1374422,1481976,1850800,3389616,3666333,3953534,4251217,4559382,5129260,5488173,5859059,6241919,7374168,9570662,10458427,11380262,12336168,13326144,14994907,16130400,17304206,18516326,19766760,29216160,34949880,40930560,55017900,71510400,106974000,146061000,174405000,343210000,99999999

    //Job - 3rd Jobs, Baby 3rds, Expanded Super Novice, Kagerou/Oboro, Rebellion, Summoner, Star Emperor, Soul Reaper
    50,4054:4055:4056:4057:4058:4059:4060:4061:4062:4063:4064:4065:4066:4067:4068:4069:4070:4071:4072:4073:4074:4075:4076:4077:4078:4079:4080:4081:4082:4083:4084:4085:4086:4087:4096:4097:4098:4099:4100:4101:4102:4103:4104:4105:4106:4107:4108:4109:4110:4111:4112:4190:4191:4211:4212:4215:4218:4220:4222:4223:4224:4225:4226:4227:4228:4229:4238:4239:4240:4241:4242:4243:4244,1,288,368,568,696,1206,1774,2192,3196,5080,7352,8580,9892,13358,18984,31925,35860,40013,51605,68585,87770,96443,105515,131770,167428,206720,223860,241673,294553,362303,479053,513362,548856,656197,787507,927154,985696,1046034,1231134,1449220,1678177,1773024,2182221,2534978,3043585,3782865,4461912,4672971,5971896,6250158,6875174,7562691,8318960,9150856,10065942,11877812,14015818,16538665,19515624,23028437,28094693,34275525,41816141,51015692,62239144,79666104,101972614,130524946,167071930,213852071,999999999

     

     

  13. 19 minutes ago, jchcc said:

    1. conf / battle / client.conf

    
    

    2.re-criar caractere, ou definir coluna de corpo para 0 na tabela sql: char.

    3.Não use mais @bodystyle.

     

     

    Looks like the error is gone! thank you so much. Now I'm on alert that the level has not been configured correctly. Would you have a job_exp configured for Base Level 300 and Job Level 150? I was based on Link 

    However, he continues to give warnings that base level and job level have been configured incorrectly.
  14. 12 minutes ago, jchcc said:

    1. conf / battle / client.conf

    
    
     

    2.re-criar caractere, ou definir coluna de corpo para 0 na tabela sql: char.

    3.Não use mais @bodystyle.

     

    Well, I could now realize that when I'm in GM clothing the error does not appear! but when I open Alt + Q the error 
    appears, so my conclusion is is some sprite referring to the Apprentice.
  15. 7 hours ago, hendra814 said:

    try this

    put at data\sprite\Àΰ£Á·\¸öÅë\³²  folder

    Ãʺ¸ÀÚ_³²_1.act

    Ãʺ¸ÀÚ_³²_1.spr

    btw, what job is this, on my data.grf default without _1

     

    The error persists, so how could you help me by giving me a link where I can download a complete and error-free client from hexed 2014-10-22? or would you have a patch running without errors? or where I can find several clients with their dates, as I do not know how to look for it.

     

    7 hours ago, jchcc said:

    looks like your client looking for JRO costume sprites,

    did you use command @bodystyle  in game to change body style?

    BTW, client ver. at least 2015-10-29aRagexe is required to support JRO costume

    How can I solve this mistake?
  16. On 6/2/2018 at 8:34 AM, AnnieRuru said:

    eh ... desculpe sobre deixou este tópico fora

    Há também uma outra maneira de minerar o baú como eu fiz no evento pvp do tesouro
    (sry o script é muito antigo e no meio de consertá-lo)

    
    
    
    	
    

     

     

    Thanks a lot, it helped me a lot, would you have some anti bot script, to combat those programs that leaves the play "char" beating by itself and dropping the items on the map? I already asked for a lot here at rathena and I still did not succeed.

     

    Link: 

     

  17.  

    I am having an error in the script @costume, this error is appearing, who can help me I thank you right now, my emulator is rAthena and I am with this error, the script is posted here too.

    Erro

        parse_line: expect command, missing function name or calling undeclared function
        40 :                                mes "[Clown]";
        41 :                                mes "Need some time to think about it, huh?";
        42 :                                mes "Alright, I can understand.";
        43 :                                close;
        44 :                        }
    *   45 :                        'c'ostume .@Part; // Convert the Headgear
        46 :                        mes "[Clown]";
        47 :                        mes "Done, enjoy your costume headgear.";
        48 :                        close;
        49 :        case 2:
        50 :                        next;

    Script

    // -------------------------------------------------------------------------------
    //     Script Name : Headgear to Costume converter >> Costume to Headgear converter
    // -------------------------------------------------------------------------------
    // Description :
    // - Allows a user to convert the equipped headgear (on Top, Mid or Low) into a
    //   costume item. It will remove any card and refine of the Item.
    // - Allows a user to restore the equipped costume headgear (on Top, Mid or Low)
    //    into its original form. It will not return any card or refine of the item.
    // -------------------------------------------------------------------------------
    -    script    Costume Clown    -1,{
        mes "[Clown]";
        mes "Here you can convert your headgears into a Costume Headgear or restore to its Original form.";
        switch(select("I want to convert.:I want to restore.:No thanks.")) {
        case 1:
                next;
                mes "Please, select what to convert.";
                mes "Remember, cards and refine will be removed.";
                next;
                    setarray .@Position$[1],"Top","Mid","Low";
                    setarray .@Position[1],     1,    9,   10;
                    set .@Menu$,"";
                for( set .@i, 1; .@i < 5; set .@i, .@i + 1 )
                {
                    if( getequipisequiped(.@Position[.@i]) )
                    set .@Menu$, .@Menu$ + .@Position$[.@i] + "-" + "[" + getequipname(.@Position[.@i]) + "]";
                    set .@Menu$, .@Menu$ + ":";
                }
                set .@Part, .@Position[ select(.@Menu$) ];
                if( !getequipisequiped(.@Part) )
                {
                    mes "[Clown]";
                    mes "Your not wearing anything there...";
                    close;
                }
                mes "[Clown]";
                mes "You want to Costume your " + getitemname(getequipid(.@Part)) + "?";
                next;
                if( select("Yes, proceed:No, I am sorry.") == 2 )
                {
                    mes "[Clown]";
                    mes "Need some time to think about it, huh?";
                    mes "Alright, I can understand.";
                    close;
                }
                costume .@Part; // Convert the Headgear
                mes "[Clown]";
                mes "Done, enjoy your costume headgear.";
                close;
        case 2:
                next;
                mes "Please, select what to restore.";
                mes "Remember, I will only restore it back without refine and cards.";
                next;
                    setarray .@Position$[1],"Top","Mid","Low";
                    setarray .@Position[1],     13,    12,   11;
                    set .@Menu$,"";
                for( set .@i, 1; .@i < 5; set .@i, .@i + 1 )
                {
                    if( getequipisequiped(.@Position[.@i]) )
                    set .@Menu$, .@Menu$ + .@Position$[.@i] + "-" + "[" + getequipname(.@Position[.@i]) + "]";
                    set .@Menu$, .@Menu$ + ":";
                }
                set .@Part, .@Position[ select(.@Menu$) ];
                if( !getequipisequiped(.@Part) )
                {
                    mes "[Clown]";
                    mes "Your not wearing anything there...";
                    close;
                }
                mes "[Clown]";
                mes "You want to restore your " + getitemname(getequipid(.@Part)) + "?";
                next;
                if( select("Yes, proceed:No, I am sorry.") == 2 )
                {
                    mes "[Clown]";
                    mes "Need some time to think about it, huh?";
                    mes "Alright, I can understand.";
                    close;
                }
                a = getequipid(.@Part);            
                delitem a,1;
                getitem a,1;
                
                mes "[Clown]";
                mes "Done, enjoy your restored headgear.";
                close;
        case 3:
            mes "[Clown]";
            mes "Very well. Return at once if you seek my services.";
            close;
        }
    }
    // --------------------------------------------------------------------------
    // Use duplicates to put your npc on different cities
    // --------------------------------------------------------------------------
    prontera,155,181,4    duplicate(Costume Clown)    Costume Clown#1    715

  18.  

    Hello, community, I need to help in an anti bot system, when play kill for example 100 Mob, I would like that after killing 100 mob would appear a screen for him to answer some polls, as which color appears; sum of numbers, typing a supposed number, I have this script over does not work correctly. In it has the function to say how many mobs can kill to appear, even more so, when killing a mob, the script already appears, who can help me will be very grateful.

     

    -    script    ##ChefedaGuarda    -1,{
    end;
    //OnNPCKillEvent:
    OnPCLoginEvent:

    set $mobsn,3; // Quantidade de Mobs para ativar o Script.
    set $mob1,$mob1+1;
    if($mob1 != $mobsn) goto AtivaAntiBot; else end;
    AtivaAntiBot:
    cutin "3rd_mechanic",2;
    atcommand "@battleignore";
    atcommand "@option 3";
    pcblockmove getcharid(3),1;
    mes "^0000FF[ gOld-RO System ]^000000";
    mes "- Olá ^0000FF"+strcharinfo(0)+"^000000.";
    mes "- checagem de rotina ant-bots.";
    next;
    mes "^0000FF[ gOld-RO System ]^000000";
    mes "- Está expressamente proibido o uso de bot no gOld-RO.";
    mes "- Quem for pego utilizando qualquer tipo de hack terá o mac adress banido.";
    mes "- Obrigado pela compreensão. Divirta-se";
    next;
    set $Sistema,rand(1,2);
    if($Sistema == 1)goto cores;
    if($Sistema == 2)goto numeros;
    cores:
    set $AntiBot,rand(1,4);
    if($AntiBot == 1){
    mes "^FF0000[Chefe da Guarda]^FF0000";
    mes "^FF0000• O sistema é simples, basta você me dizer qual é a cor desta conversa! •^FF0000";
    menu "^FF0000• Esta cor^000000",Certo,"^EEAD0E• Esta cor^000000",Errado,"^458B00• Esta cor^000000",Errado,"^00008B• Esta cor^000000",Errado;
    close;
    }
    if($AntiBot == 2){
    mes "^008B00[ gOld-RO System ]^FF0000";
    mes "^008B00• O sistema é simples, basta você me dizer qual é a cor desta conversa!•^FF0000";
    menu "^FF0000• Esta cor^000000",Errado,"^EEAD0E• Esta cor^000000",Errado,"^008B00• Esta cor^000000",Certo,"^00008B• Esta cor^000000",Errado;
    }
    if($AntiBot == 3){
    mes "^00008B[ gOld-RO System ]^FF0000";
    mes "^00008B• O sistema é simples, basta você me dizer qual é a cor desta conversa!•^FF0000";
    menu "^FF0000• Esta cor^000000",Errado,"^00008B• Esta cor^000000",Certo,"^008B00• Esta cor^000000",Errado,"^CDAD00• Esta cor^000000",Errado;
    }
    if($AntiBot == 4){
    mes "^CD1076[ gOld-RO System ]^FF0000";
    mes "^CD1076• O sistema é simples, basta você me dizer qual é a cor desta conversa!•^FF0000";
    menu "^CDAD00• Esta cor^000000",Errado,"^00008B• Esta cor^000000",Errado,"^008B00• Esta cor^000000",Errado,"^CD1076• Esta cor^000000",Certo;
    }
    Errado:
    next;
    if(#Errou == 1){
    mes "^0000FF[ gOld-RO System ]^000000";
    mes "Você errou novamente terei que te kickar do jogo.";
    mes "Ainda restam-lhe : ^0000FF1 Tentativas.^000000";
    mes "Se errar mais uma vez será encaminhado para Cadeia.";
    next;
    set #Errou,2;
    atcommand "@kick "+strcharinfo(0);
    close;
    }
    if(#Errou == 2){
    mes "^0000FF[ gOld-RO System ]^000000";
    mes "Acabaram suas chances!, você foi considerado um bot!";
    atcommand "@jailfor 30m "+strcharinfo(0);
    atcommand "@option 0 0 0 "+strcharinfo(0)+"";
    announce "O Jogador "+strcharinfo(0)+" foi preso por Suspeita de uso de BOT.",8;
    set #Errou,0;
    close;
    }
    mes "^0000FF[ gOld-RO System ]^000000";
    mes "Você errou terei que te kickar do jogo.";
    mes "Ainda restam-lhe : ^0000FF2 Tentativas.^000000";
    mes "Se errar 2 vezes será encaminhado para Cadeia.";
    next;
    set #Errou,1;
    atcommand "@kick "+strcharinfo(0);
    cutin "", 255;
    close;
    Certo:

    mes "^0000FFOk^000000";
    mes "Liberado...";
    set #Errou,0;
    pcblockmove getcharid(3),0;
    atcommand "@option 0";
    atcommand "@battleignore";
    cutin "", 255;
    if(!checkcart() && getskilllv(39))
    setcart;
    else
    if(!checkfalcon() && getskilllv(127))
    setfalcon;

    close;
    numeros:
    set $killbot,rand(1158,9584);
    mes "^0000FF[ gOld-RO System ]^000000";
    mes "1- Vou te dizer um número...";
    mes "2-Você deve digita-lo corretamente ";
    mes "O Número é : ^0000FF"+$killbot+"^000000";
    mes "3- Digite o captcha !";
    input @number;
    if(@number != $killbot)goto Errado;
    if(@number == $killbot)goto Certo;
    }

×
×
  • Create New...