Jump to content

Chaos92

Members
  • Posts

    1864
  • Joined

  • Last visited

  • Days Won

    63

Posts posted by Chaos92

  1. 1 hour ago, Vale said:

    image.png.f2fff3771578a658b458c269e430b7ee.png

    Hello good day ! I would like to know where can i find this button? and where can i change its direct link when click...

    Thanks in advance ^_^

     

    Fixed !

    data\luafiles514\lua files\datainfo\tb_cashshop_banner.lub <--- for the banner

    msgstringtable.txt line 3302 for button charging links.

    • Upvote 1
  2. 11 minutes ago, 3TAJIOH said:

    Hello. Please help me. Need fix this script. Mac check doesn't work.

     

    
    //===== rAthena Script =======================================
    //= BG Queue System
    //===== By: ==================================================
    //= Zeiyan (based on scripts by pajodex) 
    //===== Current Version: =====================================
    //= 1.0
    //===============Description==================================
    // Simple BG Queue System with @joinbg / @leavebg / @bginfo
    // Comes with Pajodex's Fortress and Rune War BG scripts
    //==============Notes=========================================
    // I'm not sure if code is scalable or easy to configure.
    // Send me a message if there's anything I can improve on it
    //============================================================
    
    function	script	F_ShuffleNumbers	{
    	deletearray getarg(2);
    	.@static = getarg(0);
    	.@range = getarg(1) +1 - .@static;
    	.@count = getarg(3, .@range);
    	if (.@range <= 0 || .@count <= 0)
    		return 0;
    	if (.@count > .@range)
    		.@count = .@range;
    	for (.@i = 0; .@i < .@range; ++.@i)
    		.@temparray[.@i] = .@i;
    	for (.@i = 0; .@i < .@count; ++.@i) {
    		.@rand = rand(.@range);
    		set getelementofarray( getarg(2), .@i ), .@temparray[.@rand] + .@static;
    		.@temparray[.@rand] = .@temparray[--.@range];
    	}
    	return .@count;
    }
    //==================================================================
    //==================================================================
    //==================================================================
    -	script	bgmain	-1,{
    
    OnInit:
    	set .n$, "[^0D6501Battlegrounds^000000]";
    //================@ Commands=========================
    	bindatcmd "joinbg",strnpcinfo(3)+"::OnAtCmd",0,0;
    	bindatcmd "leavebg",strnpcinfo(3)+"::OnLeave",0,0;
    	bindatcmd "bginfo",strnpcinfo(3)+"::OnInfo",0,0;
    	bindatcmd "bgstart",strnpcinfo(3)+"::OnBgStart",0,0;
    //=================Add your BG Main NPCs Here=======================
    	setarray .bgevents$,
    		"runewar#main",
    		"fortress#main",
    		"domination#main"
    	;
    //================Event Names (in order with NPCS====================
    	setarray .eventname$,
    		"Rune War Event",
    		"Fortress Battlegrounds",
    		"Domination"
    	;	
    
    	end;
    //====================@bgstart================================
    
    OnBgStart:
    	if(#BGCD > gettimetick(2) ) {
    		dispbottom "Starting Battleground Events have a cooldown of 24 Hours per account.";
    		dispbottom "Time left: ^FF0000" + callfunc( "Time2Str", .renttime[ atoi( strnpcinfo(2) ) ] + #BGCD );
    		end;
    	}
    //==================================================================
    //===========Check for on going events==============================
    //==================================================================
    
    	for(.@i = 0; .@i < getarraysize(.bgevents$); .@i++) {
    		if(getvariableofnpc(.start, .bgevents$[.@i])) {
    			dispbottom "A battleground event instance for "+.eventname$[.@i]+" is already in progress.";
    			end;
    		}
    	}
    
    //==================================================================
    //================Check for active registration=====================
    //==================================================================
    
    	for(.@i = 0; .@i < getarraysize(.bgevents$); .@i++) {
    		if(getvariableofnpc(.register, .bgevents$[.@i])) {
    			dispbottom "An active registration for "+.eventname$[.@i]+" is already in progress.";
    			end;
    		}
    	}
    //==================================================================
    
    	mes .n$;
    	mes "Which Battleground Event would you like to start?";
    	.@menu_item_size = getarraysize(.eventname$);
    	for (.@i = 0; .@i < .@menu_item_size; .@i++) {
    		.@menu$ = .@menu$ + (.@i > 0 ? ":" : "") + .eventname$[.@i];
    	}
    	.@i = select( .@menu$ ) - 1;
    	donpcevent .@bgevents$[.@i]+"::OnAtcmd";
    	announce strcharinfo(0)+" has started "+.@bgevents$[.@i]+".",0;
    	sleep 1000;
    	set #BGCD,gettimetick(2) + 86400;
    	end;
    //==================================================================
    
    
    
    //===============@joinbg============================================
    
    OnAtCmd:
    
    //==================================================================
    //===========Check for on going events==============================
    //==================================================================
    
    	for(.@i = 0; .@i < getarraysize(.bgevents$); .@i++) {
    		if(getvariableofnpc(.start, .bgevents$[.@i])) {
    			dispbottom "A battleground event instance for "+.eventname$[.@i]+" is in progress.";
    			end;
    		}
    	}
    //==================================================================
    //================Check for active registration=====================
    
    	for(.@i = 0; .@i < getarraysize(.bgevents$); .@i++) {
    		if(getvariableofnpc(.register, .bgevents$[.@i])) {
    			set .@regison, .@regison + 1;
    		}
    	}
    //======================================================================
    //================Sorry no active registration right now================
    //======================================================================
    
    	if(.@regison == 0 && .@eventison == 0) {
    		dispbottom "No battleground registration is active at this time.";
    		end;
    	}
    
    //==================================================================
    //================Job Check=========================================
    //==================================================================
    
    	for(.@i = 0; .@i < getarraysize(.bgevents$); .@i++) {
    		if(getvariableofnpc(.register, .bgevents$[.@i])) {
    			for(.@x = 0; .@x < getvariableofnpc( .denyjobsize, .bgevents$[.@i] ); .@x++) {
    				if( Class == getvariableofnpc( .denyjob[.@x], .bgevents$[.@i] )) {
    					dispbottom jobname( Class ) +"s are not allowed for "+.eventname$[.@i]+".";
    					end;
    				}
    			}
    		}
    	}
    
    //==================================================================
    //================Base Level Check==================================
    //==================================================================
    
    	for(.@i = 0; .@i < getarraysize(.bgevents$); .@i++) {
    		if(getvariableofnpc(.register, .bgevents$[.@i])) {
    			if(getvariableofnpc(.minblevel, .bgevents$[.@i]) > BaseLevel) {
    				dispbottom "You are forbidden from joining this event.";
    				dispbottom "You need to have a base level of at least "+getvariableofnpc(.minblevel, .bgevents$[.@i])+" to join  "+.eventname$[.@i]+".";
    				end;
    			}
    		}
    	}
    
    //===No Active BGs & there is an active registration in progress========
    
    
    //======================================================================
    //===================Proceed to Registration============================
    //======================================================================
    
    
    	while ( .aid[.@i] != getcharid(3) && .@i < .size ) ++.@i;
    	if ( .@i < .size ) {
    		dispbottom "You are already in queue.";
    		dispbottom "Please wait until the game starts.";
    		end;
    	}
    	query_sql("SELECT `last_mac` FROM `login` WHERE `account_id` = '"+getcharid(3)+"'",.@mac$);
    	for ( .@i = 0; .@i < getarraysize(.last_mac$); .@i++) {
    		if ( .@mac$ == .last_mac$[.@i] ) {
    			dispbottom "Dual Clients are not allowed for Battleground Events.";
    			end;
    		}
    	}
    
    		for(.@i = 0; .@i < getarraysize(.bgevents$); .@i++) {
    			if(getvariableofnpc(.register, .bgevents$[.@i])) {
    					dispbottom "You are now in queue for "+.eventname$[.@i]+".";
    					dispbottom "Use this time to prepare your items and equipment.";
    					announce strcharinfo(0)+" has joined the "+.eventname$[.@i]+".",bc_blue;
    			}
    		}
    		query_sql("SELECT `last_mac` FROM `login` WHERE `account_id` = '"+getcharid(3)+"'",.last_mac$[ .size++ ]);
    		.aid[ .size++ ] = getcharid(3);
    		for ( .@i = 0; .@i < .size; ++.@i ) {
    			if ( !isloggedin( .aid[.@i] ) ) {
    				deletearray .aid[.@i], 1;
    				deletearray .last_mac$, 1;
    				--.@i;
    				--.size;
    			}
    		}
    	end;
    //========================@leavebg===========================
    //======================================================================
    OnLeave:
    	for ( .@i = 0; .@i < .size; ++.@i ) {
    		if ( .aid[.@i] == getcharid(3) ) {
    			deletearray .aid[.@i], 1;
    			deletearray .last_mac$[.@i], 1;
    			--.@i;
    			--.size;
    			dispbottom "You have left the queue for the event.";
    			announce strcharinfo(0) +" has left the queue for the event!",bc_blue;
    			end;
    		}
    	}
    	dispbottom "You are not in queue for any events at this time.";	
    	end;
    
    //======================================================================
    //================On Postpone Event=====================================
    //======================================================================
    OnPostpone:
    	deletearray .aid;
    	deletearray .last_mac$;
    	deletearray .@i;
    	deletearray .size;
    	end;
    //======================================================================
    //================Rune War NPC Event====================================
    //======================================================================
    
    OnRuneStart:
    	copyarray getvariableofnpc( .aid_, "runewar#main" ), .aid, .size;
    	donpcevent "runewar#main::OnStart";
    	deletearray .aid;
    	deletearray .last_mac$;
    	.size = 0;
    	end;
    //======================================================================
    //================Fortress BG NPC Event=================================
    //======================================================================
    
    OnFortStart:
    	copyarray getvariableofnpc( .aid_, "fortress#main" ), .aid, .size;
    	donpcevent "fortress#main::OnStart";
    	deletearray .aid;
    	deletearray .last_mac$;
    	.size = 0;
    	end;
    
    //======================================================================
    //===================Dota Match NPC Event===============================
    //======================================================================
    OnDominationStart:
    	copyarray getvariableofnpc( .aid_, "domination#main" ), .aid, .size;
    	donpcevent "domination#main::OnStart";
    	deletearray .aid;
    	deletearray .last_mac$;
    	.size = 0;
    	end;
    //======================================================================
    //================Information on BG Mechanics===========================
    //=====================@bginfo==========================================
    OnInfo:
    	mes .n$;
    	mes "ZeiyanRO offers different battlegrounds event.";
    	mes "I can provide information on the mechanics of each of them.";
    	next;
    	.@menu_item_size = getarraysize(.eventname$);
    	for (.@i = 0; .@i < .@menu_item_size; .@i++) {
    		.@menu$ = .@menu$ + (.@i > 0 ? ":" : "") + .eventname$[.@i];
    	}
    	.@x = select( .@menu$ ) - 1;
    		for (.@i = 0; .@i < .@menu_item_size; .@i++) {
    			if(.@i == .@x) {
    				mes "[ ^FF0000"+.eventname$[.@i]+"^000000 ]";
    				mes "Even Duration:^335EFF "+getvariableofnpc(.duration, .bgevents$[.@i])+" minutes^000000";
    				mes "Minimum Base Level:^335EFF "+getvariableofnpc(.minblevel, .bgevents$[.@i])+"^000000 ";
    				mes "Minimum Participants:^335EFF "+getvariableofnpc(.minplayers, .bgevents$[.@i])+"^000000 ";
    				next;
    //======================================================================
    //================Rune War Mechanics====================================
    //======================================================================
    				if(.@x == 0) {
    					mes "[ ^FF0000"+.eventname$[.@x]+"^000000 ]";
    					mes "Several Runes will appear in the middle of the map that can grant the following power ups:";
    					next;
    					mes "[ ^FF0000"+.eventname$[.@x]+"^000000 ]";
    					mes "^9B00FFInvisibility^000000";
    					mes "^0028FFDouble Damage^000000";
    					mes "^FF0000Haste^000000";
    					mes "^AACC06Illusion^000000";
    					mes "^06CC21Regeneration^000000";
    					next;
    					mes "[ ^FF0000"+.eventname$[.@x]+"^000000 ]";
    					mes "Whichever team has the most kills before the game ends wins.";
    					mes "Logging out and abandoning will have penalties for this event.";
    					close;
    				}
    //======================================================================
    //===================Fortress BG Mechanics==============================
    //======================================================================
    				if(.@x == 1) {
    					mes "[ ^FF0000"+.eventname$[.@x]+"^000000 ]";
    					mes "Each team is spawned in their own mini Fortress that can regenerate their HP/SP.";
    					next;
    					mes "[ ^FF0000"+.eventname$[.@x]+"^000000 ]";
    					mes "Fortresses will drain the enemy player's HP and grant regeneration to owners.";
    					next;
    					next;
    					mes "[ ^FF0000"+.eventname$[.@x]+"^000000 ]";
    					mes "Whichever team that has the control of the Main Fortress before the end of the game wins.";
    					mes "Logging out and abandoning will have penalties for this event.";
    					close;
    				}
    //======================================================================
    //===================Domination BG Mechanics============================
    //======================================================================
    				if(.@x == 2) {
    					mes "[ ^FF0000"+.eventname$[.@x]+"^000000 ]";
    					mes "Capture several flags on the map to gain points more flags captured at a given time will provide more points overtime.";
    					next;
    					mes "[ ^FF0000"+.eventname$[.@x]+"^000000 ]";
    					mes "Whichever team has the most points before the game ends wins.";
    					mes "Logging out and abandoning will have penalties for this event.";
    					close;
    				}
    //======================================================================
    			}
    		}
    //======================================================================
    }
    
    
    
    

     

    Gepard Shield have option if you want to limit your clients. You can contact Gepard Shield @Functor.

  3. 31 minutes ago, dolphincute said:

    as title say, i did search on forum and found this

    https://rathena.org/board/topic/92226-r-mvp-card-announcement/#comment-243036

    but there is no link aviable for see the post or download it

    https://github.com/rathena/rathena/blob/4f11020a4e59704f1909ec615857b6af098b3683/conf/battle/drops.conf#L143

    
    // Make broadcast ** Player1 won Pupa's Pupa Card (chance 0.01%) ***
    // This can be set to any value between 0~10000.
    // Note: It also announces STEAL skill usage with rare items
    // 0 = don't show announces at all
    // 1 = show announces for 0.01% drop chance items
    // 333 = show announces for 3.33% or lower drop chance items
    // 10000 = show announces for all items
    rare_drop_announce: 0

    This isnt suitable for your setup ?

  4. 8 minutes ago, AyenPanda said:

    dude my main topic is 
    i did all the guides, like adding a rule on windows firewall , inbound and outbound of 5121 6121 6900 tcp/udp. "

     

    i just forgot to delete the other topic i just copy paste it . so my bad. but the main reason is for the opening port. 

    If im not mistaken, if you're running all 3 server.exe, there will be firewall allowing confirmation will prompt. Have you tried disable your firewall to see is it because of firewall or anything else ?

  5. 2 hours ago, AyenPanda said:

    hi i got this problem that the port 5121, 6121, 6900 on windows.

     

    i did all the guides, like adding a rule on windows firewall , inbound and outbound of 5121 6121 6900 tcp/udp.

     

    and then check the port online still not open.

     

    ----------------------------------------------------------------------

     

    P.S. About No-Ip application.

     

    Hercules\conf\char     Char-server.conf

     

    
    // Login Server IP
            // The character server connects to the login server using this IP address.
            // NOTE: This is useful when you are running behind a firewall or are on
            // a machine with multiple interfaces.
            login_ip: "127.0.0.1"
    
            // The character server listens on the interface with this IP address.
            // NOTE: This allows you to run multiple servers on multiple interfaces
            // while using the same ports for each server.
            //bind_ip: "127.0.0.1"
    
            // Login Server Port
            login_port: 6900
    
            // Character Server IP
            // The IP address which clients will use to connect.
            // Set this to what your server's public IP address is.
            char_ip: "my-no-ip"
    
            // Character Server Port
            char_port: 6121

     

    MAP-SERVER.conf

     

     

    
    		// Character Server IP
    		// The map server connects to the character server using this IP address.
    		// NOTE: This is useful when you are running behind a firewall or are on
    		// a machine with multiple interfaces.
    		char_ip: "127.0.0.1"
    
    		// The map server listens on the interface with this IP address.
    		// NOTE: This allows you to run multiple servers on multiple interfaces
    		// while using the same ports for each server.
    		//bind_ip: "127.0.0.1"
    
    		// Character Server Port
    		char_port: 6121
    
    		// Map Server IP
    		// The IP address which clients will use to connect.
    		// Set this to what your server's public IP address is.
    		map_ip: "my-no-ip"
    
    		// Map Server Port
    		map_port: 5121

     

    Network.conf

     

    what suppose to be the format input here. im bit lost .

    lan_subnets: (

    "255.255.255.0:no-ip:no-ip",

    )

     

    allowed: (

    "127.0.0.1:255.0.0.0"

    )

    trusted: (
        "127.0.0.1:255.0.0.0",
    )

     

    seems like you are using hercules ? hercules have their own forum.

    rAthena files are quite different compare to hercules. Its better for you to ask at the correct emulator that you currently use.

  6. 8 minutes ago, Pacman360 said:

     

    Hello everyone, i am asking for help on this one. I think i have figured correctly but this one keeps popping up upon flux cp installation.

    i have hosted my vps in: vultr.com 

    i have hosted my webhost in bluehost.com

     

    what can be the problem? thanks

    04DWLvj.png 

    Try to open your domain. You should can access your domain before pointing it.

  7. 56 minutes ago, cder said:

    So, I got to pay attention to this because I had already installed an outdated flow, I got to eliminate all "cp" tables inside localhost, but now I don't know what to do anymore ...

    remove all cp_ tables... then rename your server name in config/servers.php OR just remove all the FluxCP files and reinstall again.

     

    • Like 1
  8. 59 minutes ago, Captain said:

    Hi

    I don't know how the gladiator skill solar/lunar/stellar heat does no damage

    bug1.PNG.0567232d5f9daa6108aca8ca24a84886.PNG

    it was still working a few hours ago

    Any idea ?

    Thx

    Try restart server ? Maybe you are using @reloadskilldb which have issue if you're using older than github latest commit right now.

    • MVP 1
  9. 8 hours ago, airzy said:

    please help, how to no cast in RENEWAL server rathena ?

    read about cast in renewal mechanism and use items/equipments that can reduce it. or try Angra Manyu [0]   [One Hand]   Item ID# 1599 (Angra_Manyu)?

    Since that Item have this effect bonus bVariableCastrate,-100; bonus bFixedCastrate,-100;

  10. 8 minutes ago, Legacy said:

    Hello rAthena!

     

    It's been awhile since my last post here in rathena. I guess its almost 7 years xd and many things change. Can someone teach me how to set up the server in centos 7? I already bought 5$ droplet on Digital Ocean however I don't know to set it up.

    "Why didn't you try to search here since its too many guide?"

    - I tried it but its so hard for me to take all of it. I'm using Windows Server before right now I want to study Linux as Server Host. I don't have plan to start a server as of now I'm still studying making scripts.

    Read at README here https://github.com/rathena/rathena

  11. 24 minutes ago, Yami said:

    Hi, I need help with one of my SQL script that's linked to my server's website. It grabs Peak Players from SQL then send the info to my website. I used it way back around 2+ years ago but it seems that it's not working anymore the SQL query is not getting created by the script . Can anyone help me to get this script to work again?

     

    Here's the script

    
    //Highest Peak
    -	script	Highest Peak	-,{
    
    OnPCLoginEvent:
    	
    
    	set .currentUsersOL,getusers(1); //Current Online Users
    	
    	//Query for the highest peak in the database
    	query_sql("SELECT `num_users` FROM `cp_highest_peak` ORDER BY `num_users` LIMIT 1",.@numUsers);
    	//Get the date
    	set .date$,gettime(7)+"-"+gettime(6)+"-"+gettime(5);	
    	
    	set .highestPeak,.@numUsers[0]; //Highest Peak
    	if(getarraysize(.@numUsers) == 0)
    	{
    		//If not data found Insert statement
    		set .highestPeak,.currentUsersOL;
    		query_sql("INSERT INTO `cp_highest_peak`(num_users,peak_date) VALUES("+.highestPeak+",'"+.date$+"')"); //Insert new highest Peak
    	}
    	else
    	{
    		if(.currentUsersOL>.highestPeak)
    		{
    			set .highestPeak,.currentUsersOL;		
    			query_sql("UPDATE `cp_highest_peak`SET num_users='"+.highestPeak+"',peak_date='"+.date$+"'"); //Insert new highest Peak
    		}
    	}
    end;
    
    }

     

    Thank you in advance!

    it should already inside github for FluxCP.

    https://github.com/rathena/FluxCP/blob/master/data/npc/PeakNPC.txt

     

    Run/load it in your npc folder.

  12. 3 hours ago, dma2 said:

    I'm trying to operate eAthena(Since 2007) on Sentos 7.

    But it has a number of operational problems. Even though it was operated on Windows 10.

     

    it's pretty hard, and tired..

     

    So I just want to know why on the latest version of Linux cause operational problems. 

    (This must have worked. Maybe at Centus 6 32 bit.)

     

    What's the problem ? kernel version? Shell version? gcc version? or 64bit os?

    Why not use rAthena then.

  13. 3 hours ago, luxus2311 said:

    First is that the Desperado Skill works whenever I recompile the server. But after a few moments of tweaking some NPC, Items, and Skills the Desperado skill would work.

    What I mean here is. When I cast desperado skill before tweaking it could kill the monsters around me.

    Then, after tweaking it couldn't kill any monster or either damage once it is casted.

    I think you need to get the latest rAthena in git. The issue occured when u @reloadskilldb isnt it ?

    If yes, then this is the commit to fix it.

    https://github.com/rathena/rathena/commit/496f362ec973224c20fc6d37664f11d277ebcf83 

×
×
  • Create New...