Jump to content

Break

Members
  • Posts

    153
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Break

  1. That was not the problem. The solution was like this:

    I have a built-in RCX mod on my server, but it is not yet available in the new client.

    The server itself was sending an unknown packet to the client, hence the failure.

    The problem has been resolved.

  2. After loading the character, the client closes without any errors, and this also does not always happen and after one or two.

    There are no errors in the console

    [Status]: Using packet version: 20180621.
    [Status]: Packet Obfuscation: Disabled.

    clientinfo.xml 

     

    <version>55</version>

     

    CDClient.dll from the Input folder of the nemo patcher

    Data/lua from https://github.com/zackdreaver/ROenglishRE

    List of patches in attachment

    Please help me solve the problem, dear experts.

    2018-06-21aRagexeRE_patched.exe.log

  3. On 12/18/2020 at 10:09 PM, Leeg said:

    @Break Which emulator are you using and which version? This script has been online for more than 3 years and no one has reported a server crash before.

    Judging by the two errors preceding the crash signal, what I can infer is that the script was not loaded properly, or it has been partially reloaded.

     

    I do not know my version of rathena, I downloaded it in an archive in December 2018 and I still make all the changes myself.

    Server crashed due to getmapxy script command. Need to replace BL_PC on UNITTYPE_PC. And remove lines from convertpcinfo

    After these manipulations, the event works.

    • Upvote 1
  4. If the slot occupied, then you can replace it with another option

    Need help with this script function

    function	script	item_option	{
    		disable_items;
    		setarray .@eq[1], EQI_HEAD_TOP,EQI_ARMOR,EQI_HAND_L,EQI_HAND_R,EQI_GARMENT,EQI_SHOES,EQI_ACC_L,EQI_ACC_R,EQI_HEAD_MID,EQI_HEAD_LOW;
    		.@sz = getarraysize(.@eq); // Reduce getarraysize calls [Secret]
    		for(.@i = 1; .@i < .@sz; ++.@i){
    			if(getequipisequiped(.@eq[.@i])){
    				.@menu$ = .@menu$ + F_getpositionname(.@eq[.@i]) + " ~ [ " + getequipname(.@eq[.@i]) + " ]";
    				.@equipped = 1;
    			}
    			.@menu$ = .@menu$ + ":";
    		}
    	if (.@equipped == 0) {
    		message strcharinfo(0), "I don’t think I can improve the items you have...";
    		getitem 6027,1;
    		end;
    	}		
    		.@part = .@eq[prompt(.@menu$)];
    	if (!getequipisequiped(.@part)) {
    		message strcharinfo(0), "You canceled the action.";
    		getitem 6027,1;
    		end;
    	}
    		 mes "[ Select Item Option ]"," ";
    		mes "Please indicate option number","which you want to apply.";
    		mes "See list in chat :";
    		dispbottom "-------------------------";
    		dispbottom "#3  : Str";
    		dispbottom "#4  : Agi";
    		dispbottom "#5  : Vit";
    		dispbottom "#6  : Int";
    		dispbottom "#7  : Dex";
    		dispbottom "#8  : Luk";
    		dispbottom "#9  : MaxHPrate";
    		dispbottom "#10 : MaxSPrate";
    		dispbottom "#13 : AtkRate";
    		dispbottom "#14 : MatkRate";
    		dispbottom "#25 : Sub Neutral";
    		dispbottom "#35 : Sub Ele_All";
    		dispbottom "#94 : SubRace Player";
    		dispbottom "#185: UnbreakableWeapon";
    		dispbottom "#186: UnbreakableArmor";
    		dispbottom "-------------------------";
    		next; 	
    		input .@opt;
    		if(.@opt == 0){ message strcharinfo(0), "There is no such option."; getitem 6027,1; end; }
    		mes "[ Select Item Option ]"," ";
    		mes "Selected Option Type : " + .@opt;
    		//mes " ";
    		//mes "Please indicate the value you want to apply.";
    		//next;
    		//input .@val;
    		mes " ";
    		mes "Please indicate the slot where you want to insert the option [1-4]";
    		next;
    		input .@idx_real;
    		if(.@idx_real == 0){ message strcharinfo(0), "This is not a slot."; getitem 6027,1; end; }
    		set .@idx,.@idx_real-1;
    		if(getequiprandomoption(.@part, .@idx, ROA_ID, getcharid(0))){
    			if(.@idx > 3) {
    				mes "[ Select Item Option ]";
    				message strcharinfo(0), "No free slot.";
    				getitem 6027,1;
    				end;
    			}
    		}
    		mes "[ Select Item Option ]"," ";
    		mes "Selected :";
    		mes "^6A01A1"+.@opt+"^000000 Type";
    		//mes "^B91E1E"+.@val+"^000000 Value";
    		mes "^0C9610"+.@idx_real+"^000000 Slot";
    		close2;
    		setrandomoption(.@part,.@idx,.@opt,1,.@idx,getcharid(0));
    	end;
    }

    Up

  5. It is possible to add Event RFYL in the new version?

    Can you help fix the event RFYL? When 1 player remains, the event does not end.

    -    script    Event_RFYL    -1,{
    
    OnStart:
    
        $@open_event = true;
        mapwarp "rfylmap3","prontera",rand(148,163),rand(167,186);
        announce "The Run from the RFYL event will soon begin.",bc_all,0xEE0C14;
        sleep 2000;
        announce "If you want to join use the @event command.",bc_all,0xEE0C14;
        sleep 2000;
        announce "The entry will be open for 1 minute.",bc_all,0xEE0C14;
        sleep 30000;
        announce "30 seconds left to register to Run from the RFYL event.",bc_all,0xEE0C14;
        sleep 30000;
        announce "The entry to the event has been closed.",bc_all,0xEE0C14;
        $@open_event = false;
        sleep 3500;
        .@players = getmapusers("rfylmap3");
        if(.@players < 3) {
            announce "The event has been cancelled due to a low amount of players.",bc_all,0xEE0C14;
            killmonsterall "rfylmap3";
            .@end = true;
            donpcevent "Events::OnEndEvent";
            end;
        }
        mapannounce "rfylmap3","We're about to begin the event.",bc_all,0xEE0C14;
        sleep 2500;
        mapannounce "rfylmap3","There will be RFYL everywhere.",bc_all,0xEE0C14;
        sleep 2500;
        mapannounce "rfylmap3","And every sigle one of them will explode, so be careful.",bc_all,0xEE0C14;
        sleep 2500;
        mapannounce "rfylmap3","As time goes, more RFYL will appear.",bc_all,0xEE0C14;
        sleep 2500;
        mapannounce "rfylmap3","So be prepared! Because they will come even if you're not!",bc_all,0xEE0C14;
        sleep 2500;
        monster "rfylmap3",51,51,"Crazy Poring",1847,1,"Event_RFYL::OnRFYLMobDead";
        sleep 60000;
        monster "rfylmap3",51,34,"Crazy Poring",1847,1,"Event_RFYL::OnRFYLMobDead";
        end;
        
    OnPCDieEvent:
        .@players = getmapusers("rfylmap3");
        if( .@players == 1 && !$@end_event) {
            killmonsterall "rfylmap3";
            .@end = true;
            .@size = getmapunits(BL_PC,"rfylmap3",.@players);
            for(.@i = 0;.@i < .@size;.@i++) {
                attachrid .@players[.@i];
                announce strcharinfo(0)+" has won the Run from the RFYL event!",bc_all,0xEE0C14;
                @event_prize = 6;
                doevent "Events::OnPrize";
                warp "prontera",rand(148,163),rand(167,186);
            }    
        }
        donpcevent "Events::OnEndEvent";
        end;
    }

     

  6. I'm using pre-renewal mechanics. I know that there is a setting /conf/battle/status.conf

    // Adjustment for the natural rate of resistance from status changes.
    // If 50, status defense is halved, and you need twice as much stats to block
    // them (eg: 200 vit to completely block stun)
    pc_status_def_rate: 100

    But why does it work only with the parameters of vit and luk. If we specify a value for example 25, then at 300 luk (300 vit) we will have antistatus?

×
×
  • Create New...