Jump to content

Cardinale

Members
  • Content Count

    19
  • Joined

  • Last visited

Posts posted by Cardinale


  1. Good evening, please someone help me to identify and fix this problem. My server started to present this 'Warning' and the badge on map_server. Before it didn't happen, I started to receive DDoS attacks and I hired a protection service, later the IPS related to DDoS disappeared and I'm receiving attacks from the local itself.

     

    (06/29/2021 23:54:53) [ Error ] : Server received crash signal! Attempting to save all online characters!
    (06/30/2021 00:48:32) [ Warning ] : connect_check: DDoS Attack detected from 127.0.0.1!
    (06/30/2021 01:31:04) [ Error ] : Server received crash signal! Attempting to save all online characters!
    (06/30/2021 01:36:35) [ Error ] : Server received crash signal! Attempting to save all online characters!
    (06/30/2021 01:41:52) [ Warning ] : connect_check: DDoS Attack detected from 127.0.0.1!
    (06/30/2021 01:57:40) [ Error ] : Server received crash signal! Attempting to save all online characters!
    (06/30/2021 02:03:18) [ Error ] : Server received crash signal! Attempting to save all online characters!
    (06/30/2021 02:41:21) [ Error ] : Server received crash signal! Attempting to save all online characters!
    (06/30/2021 18:04:03) [ Warning ] : connect_check: DDoS Attack detected from 127.0.0.1!
    (06/30/2021 18:07:11) [ Error ] : Server received crash signal! Attempting to save all online characters!


  2. Good morning, I would like my homunculus to use the skills of players. EX: skill id = 1 to id = 40, that would be enough. but when I make changes to the SRC the emulator accuses some errors / warning. as in the print, it worked but the emulator accuses many errors.

     

    mmo.h                                                     OBS: Client diff  "Enable Custom Homunculus Skills"

     

    // Base Homun skill.
    #ifndef HM_SKILLBASE
    #define HM_SKILLBASE 1
    #endif
    #ifndef MAX_HOMUNSKILL
    #define MAX_HOMUNSKILL 40
    #endif

     

    explicação.png


  3. I already tried to change the shortcut, but the bug continues. I note that in client 2018 this bug does not happen.

     

    tested on clients 2019 through 2020,  aRagexeRE and bRagexeRE

     

    Diffs 

    258 Enable Shortcut All Item
    261 Set Replay Button
    8 Custom Window Title
    9 Disable 1rag1 type parameters (Recommended)
    13 Disable Ragexe Filename Check (Recommended)
    17 Enable Official Custom Fonts
    18 Skip Service Selection Screen
    19 Enable Title Bar Menu
    23 Enable /who command (Recommended)
    24 Fix Camera Angles (Recommended)
    30 Increase Zoom Out 50%
    289 Fix Homunculus attack AI
    290 Hide build info in client (Recommended)
    34 Enable /showname (Recommended)
    291 Hide packets from peek (Recommended)
    35 Read Data Folder First
    36 Read msgstringtable.txt (Recommended)
    38 Remove Gravity Ads (Recommended)
    39 Remove Gravity Logo (Recommended)
    41 Disable Nagle Algorithm (Recommended)
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets (Recommended)
    49 Enable Multiple GRFs (Recommended)
    50 Skip License Screen
    316 Remove Equipment Swap Button
    317 Ignore Quest Errors
    64 @ Bug Fix (Recommended)
    65 Load Custom lua file instead of iteminfo*.lub (Recommended)
    325 Remove Equipment Title UI
    71 Ignore Resource Errors
    72 Ignore Missing Palette Error
    73 Remove Hourly Announce (Recommended)
    84 Remove Serial Display (Recommended)
    86 Only First Login Background
    90 Enable DNS Support (Recommended)
    95 Use SSO Login Packet
    208 Restore Cash Shop Icon
    230 Always load Korea ExternalSettings lua file
    231 Remove hardcoded address/port (Recommended)
    234 Ignore Lua Errors


  4. Good afternoon, I did the correct procedures to add Homunuculu custom,
    but his sprite is always poring.
    Are there any files to edit in the data / lub folder?

    I also can't click the right mouse button on it.
    I only have access to the information via ALT + R

    screenHercules007.jpg


  5. Good morning, I would like to know how I make a npc that counts the show number on the map.
    EX: This map has 10 porings.

    would you create a command similar to mobcount in script.c?

    ex: mobcount (map, id_mob);

     

    my script ,

    during the loop he summons another monster. I would like a condition, if you already have mob 2606 do nothing

    OnNPCKillEvent:
     
        set .Kill_mob_id,1015;
    	
        if(killedrid == .Kill_mob_id && strcharinfo(3)=="pay_dun00"){
    	   
    	    count++;
    		
    		if(count == 5){
    		
    		count = 0;
    		monster "pay_dun00",0,0,"Furious Zombie",2606,1;
    		announce "[Mob Furious]: O monstro Furious Zombie esta no mapa.",8;
    		end;
    		
    		
    	    }
    
        }

     


  6. Hello everyone, we're doing some edits with codes and we discover a little problem.

    we couldn't get past the limiter of 01 options in every item tried.

    >>>>>>>>>>>>>>setequipoption (.@s, 1, VAR_MAXHPAMOUNT, .atributo_arma_lvl_1);<<<<<<<<<<<<<<

     

    to add just one option works perfectly, but if we tried to add the second,Third,04,or 05 option of the item, this code don't work.

    "altered the valour "1" to 2,3,4,5. and still not working.

    anyone can help me?

     

    thx..


  7. Good afternoon, 
    I would like to know where I change the skill sprite.

    Example: The ninja uses Spirit 1 when executing the NJ_KOUENKA ability.

    how to replace this sprite for number 2

    ninja.png


  8. Good morning, dear friends I want to make a npc but I do not know where to start. 
    follows the line of reasoning.

    example:
    if the poring dropar card (not autoloot) will be played @effect 400

    if it is possible to reproduce by SRC even better.

     

    Inspired by the new ragna0 method

    betterrandomoption.gif.35c9371bd6d9f127af146bdde73861b9.gif


  9. Hello dear friends. when running the available ragnarok zero files and getting my server up and running, I noticed the problem that the fiver fields maps were not brought in and the bright items mode was not activated either (white, blue and yellow items)

    someone went through this problem?

    Misspellings due to google translator.


    appreciate.


  10. Good evening, someone could kindly help me to make this npc split the bonus xp to members of a PT
    

     

    It works normally, the player gains the xP bonus, but when in a group, only those who killed the mob get the experience gained

    prontera,170,187,2	script	EventoXP	767,{
    if(getgmlevel() == 99){
    while(1){
    	mes "^FF0000ROTD^000000 refer to ^0000FFRace of the Day^000000";
    mes "In another word, it mean that the ^FF0000Monster's Race^000000 that you killed by day will grant you ^FF0000Extra Bonus EXP / Item / Zeny ^000000.";
    next;
    mes "[ ^FF0000Today's ROTD^000000 ] = ^0000FF"+.ROTD$[.Race]+"^000000 Race";
    mes "^FF0000_____________________________^000000";
    mes "Bonus Lists :";
    mes "^FF0000@^000000 EXP  = ^0000FF"+( ( !.BonusEXP )?"No":.BonusEXP+" %" )+"^000000 EXP Bonus";
    mes "^FF0000@^000000 Zeny = ^0000FF"+( ( !.BonusZeny )?"No":.BonusZeny )+"^000000 Zeny";
    mes "^FF0000@^000000 Item = ^0000FF"+( ( !.BonusItemAmount )?"No Items":.BonusItemAmount+" x "+getitemname( .BonusItem ) )+"^000000";
    if( .BonusItemAmount ){
        mes "^FF0000@^000000 Rate = ^0000FF"+.BonusRate+"^000000 %";
        mes "^FF0000_____________________________^000000";
        mes "The Amount of Bonus Reward is given ^FF0000Randomly^000000 at a fixed Rate.";
        }
    next;
    switch(select("^4EEE94ROTD Information^000000",
                ( getgmlevel() < .GMLevel )?"":"^FF0000[GM]^000000Set a New Monster's Race",
                ( getgmlevel() < .GMLevel )?"":"^FF0000[GM]^000000Set EXP Bonus",        
                ( getgmlevel() < .GMLevel )?"":"^FF0000[GM]^000000Set Item / Zeny Bonus")){    
    	case 1:
        mes "Today's ROTD has choosen ^0000FF"+.ROTD$[.Race]+"^000000 Race , which will grant you some ^FF0000Extra Bonus EXP^000000.";
        mes "The amount of ^FF0000EXP Bonus^000000 are ^0000FF"+.BonusEXP+" %^000000.";
        next;
        mes "For ^0000FFParty Members^000000 , they will only receive ^FF0000Bonus EXP^000000 if they didnt killed any monster.";
        mes "Besides, they have to stay in the ^FF0000Same Map^000000 in order to get the ^FF0000EXP Bonus^000000.";
        next;
        break;
    	case 2:
        mes "Choose ^FF0000Randomly / Manually^000000 ?";
        for( set .@i,0; .@i < getarraysize( .ROTD$ ); set .@i,.@i+1 ){
            mes "[ ^FF0000"+.@i+"^000000. ] ^0000FF"+.ROTD$[.@i]+"^000000 Race";
            }
        message strcharinfo(0),"Input the Number. Choose Random if you want it Randomise a Race for you.";
        input .Race,0,getarraysize( .ROTD$ )-1;
        next;
        if( .Race == getarraysize( .ROTD$ )-1 ){
            set .Race,rand( getarraysize( .ROTD$ )-1 );
        }
        mes "[ ^FF0000ROTD Update^000000 ]";
        mes "[ ^FF0000Updated^000000 ] = ^0000FF"+.ROTD$[.Race]+"^000000 Race";
        mes "[ ^FF0000Bonus EXP^000000 ] = Extra ^0000FF"+.BonusEXP+"^000000 %";
        announce "[ ROTD ] : New Race : "+.ROTD$[.Race]+" with Bonus EXP of "+.BonusEXP+" % ",bc_blue;
        delwaitingroom;
        waitingroom "[ROTD]:"+.ROTD$[.Race]+" ",0;
        next;
        break;
        
    case 3:
        mes "Set ^FF0000Random EXP / Manually^000000"; 
        mes "Input 0 for ^0000FFRandom Bonus EXP Rate^000000";
        mes "Input ^FF0000RATE^000000 for ^0000FFManual Bonus EXP Rate^000000";
        mes "^FF0000EXP Range^000000 : 1% ~ 100%";
        mes "Current Rate = [ ^0000FF"+.BonusEXP+"^000000 % ]";
        input .BonusEXP,0,100;
        if( .BonusEXP == 0 ){
        set .BonusEXP,rand( 1,100 );
        }
        next;
        mes "The New EXP Rate is [ ^0000FF"+.BonusEXP+"^000000 % ]";
        announce "[ATENCAO]: Todos os mobs da RACA:["+.ROTD$[.Race]+"] Estao com Bonus de EXP de "+.BonusEXP+" %.",bc_yellow;
        next;
        break;
    	case 4:
        mes "You may set a ^FF0000 Item / Zeny Bonus^000000 for the ^0000FFROTD^000000.";
        mes "This will work when you have killed a ^FF0000ROTD's Monster^000000, there will be a chances for Player to gain the ^FF0000Item / Zeny^000000.";
        next;
        mes "Input the ^FF0000Zeny Bonus^000000";
        message strcharinfo(0),"You may input 0 to disable it. [ Use it Wisely ]";
        input .BonusZeny;;
        mes "Input the ^FF0000Item ID^000000";
        do{
            input .BonusItem,0,32767;
        }while( getitemname( .BonusItem ) == "null" );
        mes "Input the ^FF0000Item Bonus Amount^000000";
        mes "Range of Amount = 0 ~ 30,000";
        message strcharinfo(0),"You may input 0 to disable it. [ Use it Wisely ]";
        input .BonusItemAmount,0,30000;
        next;
        mes "^FF0000Rate^000000 to get it ??";
        mes "^FF0000100 = 100%^000000";
        mes "^FF0000 10 =  10%^000000";
        mes "^FF0000  1 =   1%^000000";
        mes "^FF0000  0 = DISABLED^000000";
        input .BonusRate,0,100;
        next;
        mes "[ ^FF0000ROTD Update^000000 ]";
        mes "^0000FFZeny Bonus^000000 : "+.BonusZeny+" Zeny";
        mes "^0000FFItem Bonus^000000 : "+.BonusItemAmount+" x "+getitemname( .BonusItem );
        mes "^0000FFItem Rate^000000  : "+.BonusRate+" %";
        next;
        break;
        }
    }
    close;
    	OnInit:
    OnClock0000:
    set .GMLevel,80;
    setarray .ROTD$[0],
                    "Amorfo",
                    "Morto-vivo",
                    "Bruto",
                    "Planta",
                    "Inseto",
                    "Peixe",
                    "Demonio",
                    "Humanoide",
                    "Anjo",
                    "Dragao",
                    "Random";
                    
    set .Race,rand( 10 );
    set .BonusEXP,rand( 1,100 );
    set .ExpLvlRange,10;
    delwaitingroom;
    waitingroom "[ROTD]:"+.ROTD$[.Race]+" ",0;
    end;
        
    OnNPCKillEvent:
    if( getmonsterinfo( killedrid,19 ) != .Race  ) end;
    if( getcharid(1) ){
    set .@Location$,strcharinfo(3);
    set .BaseLvl,BaseLevel;
    getpartymember getcharid(1),1;
    getpartymember getcharid(1),2;
    for ( set .@a, 0; .@a < .partymembercount; set .@a, .@a +1 )
        if ( isloggedin( .partymemberaid[.@a] )  )
            attachrid( .partymemberaid[.@a] );
                if( strcharinfo(3) == .@Location$ && ( .BaseLvl - BaseLevel ) <= .ExpLvlRange )
                    getexp ( getmonsterinfo( killedrid,3 ) * .BonusEXP / 100 ),( getmonsterinfo( killedrid,4 ) * .BonusEXP / 100 );
    }else{
        getexp ( getmonsterinfo( killedrid,3 ) * .BonusEXP / 100 ),( getmonsterinfo( killedrid,4 ) * .BonusEXP / 100 );
    	
    }
    if( rand(100) <= .BonusRate && .BonusItemAmount )
        getitem .BonusItem,rand( 1,.BonusItemAmount );
    if( rand(100) <= .BonusRate && .BonusZeny )
        set Zeny,Zeny + rand( 1,.BonusZeny );
    end;
    }else{
    mes "^ff0000[ATENCAO]:^000000";
    mes "Todos os mobs da RACA:^000099["+.ROTD$[.Race]+"]^000000";
    mes "Estao com Bonus de EXP de "+.BonusEXP+" %.";
    close;
    }
    }

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.