Jump to content

Hurtsky

Members
  • Posts

    118
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Hurtsky

  1. Hello all,

    im using client 20180621, i make a char, using hairstyle no 2 (in sprite folder named 2_³².spr)  , but instead it saved in table.char.hair = 1

    also im trying using `hairstyle` atcommand, its also using wrong hair sprite number, when im trying

     @hairstyle 1, it will using 2_³².spr , if im trying @hairstyle 2, it will using 1_³².spr . 

    i found this problem when trying rochargenphp.

    any explanation is appreciated.

  2. FluxCP Theme:[FREE] [RESPONSIVE] Hurt Free Foundation Theme


    FluxCP Responsive Theme base on Foundation Zurb

    The screenshot is not really look like it, please visit the demo site for more clear picture.

    This fluxCP only compatible with rAthena FluxCP = https://github.com/rathena/FluxCP

    DEMO LINK HERE >>> CLICK HERE <<<

    [ WHEN VISITING THE LINK PLEASE CHANGE THE THEME TO = foundationFreeV1 = FOR THIS THEME ]

    you can login the page using this:-

    admin:-

    username = test
    password = test

    normal user:-

    username = test2
    password = test

    Come with Easy config ./themes/foundationFreeV1/config/hurtsky_settings.php

    	'yourServerName'				=> 'Hurtsky',									//this name maybe will be use on top and footer
    	'yourServerTime'				=> '<iframe src="https://freesecure.timeanddate.com/clock/i6d7fmmo/n122/fn7/fs20/fceee/tct/pct/ftb/th2/ta1" frameborder="0" width="182" height="30" allowTransparency="true"></iframe>',											//using this website https://www.timeanddate.com/clocks/free.html to get the code
    	'enableSocialNetworkLink'		=> true,										//disable this will remove the get connected section
    	'enableFacebookIcon'			=> true,
    	'facebookLink'					=> 'https://hurtsky.com/FluxCP',
    	'enableDiscordIcon'				=> true,
    	'discordInviteLink'				=> 'https://hurtsky.com/FluxCP',
    	'enableTwitterIcon'				=> true,
    	'twitterLink'					=> 'https://hurtsky.com/FluxCP',
    	'footerCopyrightTrademarkLable'	=> 'All trademarks referenced herein are the properties of their respective owners',
    	'footerCopyrightInitialDate'	=> 2017,

    How to install:

    1. place the folder under ./theme/

    2. open file ./config/application.php

    3. change 
     

    'ThemeName'                    => array('default','bootstrap'),
    
    to 
    
    'ThemeName'                    => array('foundationFreeV1'),

    4. for WOE status, you need to import this SQL file to database = woe_status.sql 

    5. also add this NPC script to your emulator = woe_status.txt

    6. done

     

    THIS FREE THEME PROVIDED AS IT

     NO SUPPORT COME WITH IT

     USE IT AT YOUR OWN RISK

    Quote

    FluxCP theme by Hurtsky ( https://github.com/hurtsky )
    By downloading this file, you agree to my Terms of Service:
    You are not allowed sell, resell or in any form of money or rewards using my work.
    You are not allowed claim my work as yours.
    I have the rights to change all the terms above without prior notice.


     

  3. FluxCP Theme:[FREE] [RESPONSIVE] Hurt Free Theme


    FluxCP Responsive Theme base on Bulma.io

    This fluxCP only compatible with rAthena FluxCP = https://github.com/rathena/FluxCP

    DEMO LINK HERE >>> CLICK HERE <<<

    [ WHEN VISITING THE LINK PLEASE CHANGE THE THEME TO = hurtFreeV1 = FOR THIS THEME ]

    you can login the page using this:-

    admin:-

    username = test
    password = test

    normal user:-

    username = test
    password = test

    Come with Easy config ./themes/hurtFreeV1/config/hurtsky_settings.php

        'yourServerName'                => 'Hurtsky',                                    //this name maybe will be use on top and footer
        'newsTitleLimit'                => 10,                                            //this will limit character/letter in title of RSS
        'newsContentLimit'              => 100,                                            //this will limit character/letter in content of RSS
        'enableSocialNetworkLink'       => true,                                        //disable this will remove the get connected section
        'enableFacebookIcon'            => true,
        'facebookLink'                  => 'https://hurtsky.com/FluxCP',
        'enableDiscordIcon'             => true,
        'discordInviteLink'             => 'https://hurtsky.com/FluxCP',
        'enableTwitterIcon'             => true,
        'twitterLink'                   => 'https://hurtsky.com/FluxCP',
        'footerCopyrightTrademarkLable' => 'All trademarks referenced herein are the properties of their respective owners',
        'footerCopyrightInitialDate'    => 2017,

    How to install:

    1. place the folder under ./theme/

    2. open file ./config/application.php

    3. change 
     

    'ThemeName'                    => array('default','bootstrap'),
    
    to 
    
    'ThemeName'                    => array('hurtFreeV1'),

    4. for WOE status, you need to import this SQL file to database = woe_status.sql 

    5. also add this NPC script to your emulator = woe_status.txt

    6. done

     

    THIS FREE THEME PROVIDED AS IT

     NO SUPPORT COME WITH IT

     USE IT AT YOUR OWN RISK

    Quote

    FluxCP theme by Hurtsky ( https://github.com/hurtsky )
    By downloading this file, you agree to my Terms of Service:
    You are not allowed sell, resell or in any form of money or rewards using my work.
    You are not allowed claim my work as yours.
    I have the rights to change all the terms above without prior notice.


     

    • Upvote 3
    • MVP 1
  4. On 2/6/2018 at 4:15 AM, whodhell said:

    im trying to do my best on making a site for my RO and im having a hard time

    I do have separate IP on where the emulator installed separated IP for the Phpmyadmin / Database

    and i have a web hosting

    i want to use the web hosting to put premade website where they can register just like an official site

    any one can teach me where or what should i edit

    i downloaded the green flux CP here im really trying my best but still i cant do it properly

    thnx in advance :(

    you need to create a new mysql user/account that using your webhost ip.

    some tutorial

    https://www.digitalocean.com/community/tutorials/how-to-set-up-a-remote-database-to-optimize-site-performance-with-mysql

  5. so how you want to check the player is bot or not? auto lunch script each several minutes?

    16 hours ago, RARM said:

    I’m looking for a bot tracker that would use command @hide to player and ask player a random mathematical question for example ask a player “6+4” if player gets the answer wrong 6 times then npc would use command @jail and have player(or bot) in jail for 2-5mins. If player gets the answer right then npc will leave the player alone until he relogs again.

     

  6. 9 hours ago, Loki Mania said:

    You need to test without anyone on prontera map.

    Or you can just try this out:

    
    -	script	kill_mvps_on_restart	-1,{
    OnInit:
    	sleep 500;  // Slow down script execution slightly.
    	killmonsterall "abbey02";       // Fallen Bishop Hibram
    	killmonsterall "abbey03";       // Beelzebub
    	killmonsterall "abyss_03";      // Detale
    	killmonsterall "ama_dun03";     // Samurai Specter
    	killmonsterall "anthell02";     // Maya
    	killmonsterall "ayo_dun02";     // Lady Tanee
    	killmonsterall "beach_dun";     // Tao Gunka
    	killmonsterall "ein_dun02";     // RSX-0806
    	killmonsterall "gef_dun01";     // Dracula
    	killmonsterall "gef_dun02";     // Doppelganger
    	killmonsterall "gef_fild02";    // Orc Hero
    	killmonsterall "gef_fild10";    // Orc Lord
    	killmonsterall "gef_fild14";    // Orc Hero
    	killmonsterall "gl_chyard";     // Dark Lord
    	killmonsterall "gld_dun01";     // Eddga
    	killmonsterall "gld_dun02";     // Doppelganger
    	killmonsterall "gld_dun03";     // Maya
    	killmonsterall "gld_dun04";     // Dark Lord
    	killmonsterall "gon_dun03";     // Evil Snake Lord
    	// killmonsterall "ice_dun03";  // Ktullanux
    	killmonsterall "in_sphinx5";    // Pharaoh
    	killmonsterall "jupe_core";     // Vesper
    	killmonsterall "kh_dun02";      // Kiel D-01
    	killmonsterall "lhz_dun02";     // Egnigem Cenia
    	killmonsterall "lhz_dun03";     // Assassin Cross Eremes, High Priest Margaretha, High Wizard Kathryne, Lord Knight Seyren, Sniper Cecil, Whitesmith Howard
    	killmonsterall "lou_dun03";     // White Lady
    	killmonsterall "mjolnir_04";    // Mistress
    	killmonsterall "moc_fild17";    // Phreeoni
    	killmonsterall "moc_pryd04";    // Osiris
    	killmonsterall "moc_pryd06";    // Amon Ra
    	killmonsterall "mosk_dun03";    // Zmey Gorynych
    	killmonsterall "niflheim";      // Lord of Death
    	killmonsterall "odin_tem03";    // Valkyrie Randgris
    	killmonsterall "pay_dun04";     // Moonlight Flower
    	killmonsterall "pay_fild11";    // Eddga
    	killmonsterall "prt_maze03";    // Baphomet
    	killmonsterall "prt_sewb4";     // Golden Thief Bug
    	killmonsterall "ra_fild02";     // Atroce
    	killmonsterall "ra_fild03";     // Atroce
    	killmonsterall "ra_fild04";     // Atroce
    	killmonsterall "ra_san05";      // Gloom Under Night
    	killmonsterall "thor_v03";      // Ifrit
    	killmonsterall "treasure02";    // Drake
    	killmonsterall "tur_dun04";     // Turtle General
    	killmonsterall "ve_fild01";     // Atroce
    	killmonsterall "ve_fild02";     // Atroce
    	killmonsterall "xmas_dun02";    // Stormy Knight
    	killmonsterall "xmas_fild01";   // Garm
    	
    
    	end;
    }

    from 

    After that script those mvps are all still alive...

    yup i did test while no one in that town.. nothing wrong. all monster is gone.

    how i test it, by spawning around 500 ifrit at prontera, and warp to another town. and execute the script.. all monster in prontera die.

    btw, im alone in my local test :)

  7. 3 hours ago, Loki Mania said:

    Anyone know why this command

    
    *killmonsterall "<map name>"{,<type>};
    
    This command will kill all monsters on a specified map name, regardless of how
    they were spawned or what they are.

    isnt working anymore on latest versions of rAthena? I mean, it is only killing monsters on map if there is any player there. Older versions it did it, also with dynamic monsters active...

    tested, its working fine. 

    -	script	monsterkill	-1,{
    
    	killmonsterall "prontera";
    	end;
    }
    
    morocc,158,89,6	duplicate(monsterkill)	monsterkill#pron	889

     

  8. 1 hour ago, wut751 said:

    Hi

    I want to remove buff from player when they go to specific area in map. I try to search in forum but found only remove buff with certain map.

    please help

    here you go, and read bottom part of script 

    remember to tick the reply as answer and upvote it !

    -	script	End_Of_Effect	-1,{
    
    OnTouch:
    	//this will end all kind of effect!
    	sc_end SC_ALL;
    	sc_end_class SC_ALL;
    	end;
    }
    
    // see in the end of this duplicate -1 means invisble npc
    // -1,2,2 = it will trigger 2 cell from the center of cell prontera,162,185
    prontera,162,185,6	duplicate(End_Of_Effect)	End_Of_Effect#pron	-1,2,2

     

  9. here the simple one that im still working on

    -	script	PVP_System	-1,{
    
    OnPCDieEvent:
    	.@charName$ = strcharinfo(0);
    	.@charLoc$ = strcharinfo(3);
    	if ( callfunc ( "F_CheckPVP" , .@charLoc$ , .gmLvl ) == 0 )
    		end;
    
    	newKillerName$ = rid2name ( killedrid );
    	if ( newKillerName$ == oldKillerName$ )
    		Feed++;
    	
    	if ( Feed == .abuse ) {
    		atcommand "@kick "+strcharinfo(0);
    		dispbottom "You're been tagged as abuser!";
    		dispbottom "You will keep been kicked until the gm reset abuse record";
    		Kill = Kill - .penalty;
    		end;
    	}
    	
    	if ( Feed > 0 )
    		announce strcharinfo(0) + " just feed " + newKillerName$ +" for " + Feed + " times.",bc_blue|bc_all;
    	
    	dispbottom newKillerName$ + " just kill you";
    	oldKillerName$ = newKillerName$;
    	Die++;
    	end;
    	
    OnPCKillEvent:
    	.@charName$ = strcharinfo(0);
    	.@charLoc$ = strcharinfo(3);
    	if ( callfunc ( "F_CheckPVP" , @charLoc$ , .gmLvl ) == 1 )
    		end;
    
    	newVictimName$ = rid2name ( killedrid );
    	if ( newVictimName$ == oldVictimName$ )
    		Abuse++;
    
    	if ( Abuse == .abuse ) {
    		atcommand "@kick "+strcharinfo(0);
    		dispbottom "You're been tagged as abuser!";
    		dispbottom "You will keep been kicked until the gm reset abuse record";
    		Kill = Kill - .penalty;
    		end;
    	}
    	
    	if ( Abuse > 0 )
    		dispbottom "You have kill " + newKillerName$ + " for " + Abuse + " times.";
    
    	announce strcharinfo(0) + " just kill " + newVictimName$ + " at " + .@charLoc$ + "",bc_blue|bc_all;
    	oldVictimName$ = newVictimName$;
    	Kill++;
    	end;
    	
    OnReset:
    	Abuse = 0;
    	debugmes "Abuse " + Abuse;
    	end;
    	
    OnInit:
    	.penalty = 5;		// deduct 5 kill
    	.abuse = 5;			// tag abuse if 5 time for same name
    	.gmLvl = 6;
    	bindatcmd ( "resetpvp" , strnpcinfo(3) + "::OnReset" );
    	end;
    }
    
    function	script	F_CheckPVP	{
    	/*return 1 if block*/
    	setarray .pvpMap$[0],"ALL"; // change to map name if you want specific map like , "prontera" , "geffen";
    	.pvpMapSize = getarraysize ( .pvpMap$ );
    	// don't detect die if not in pvp maps
    	if ( .pvpMap$[0] != "ALL" ) {
    		for ( .@i = 0; .@i < .pvpMapSize; .@i++ ) {
    			if ( getarg(0) != .pvpMap$[.@i] ) {
    				return 1;
    			}
    		}
    	}
    	
    	if ( .pvpMap$[0] == "ALL" )
    		return 0;
    	
    	// dont record if GM die
    	if ( getgroupid() >= getarg(1) )
    		return 1;
    		
    	return 0;
    }

    still need to working on how to reset the abuse, but because this is sample, i think you can do it by yourself, adjust it as you want

    • Upvote 1
  10. 10 hours ago, Tassadar said:

    how do I do to endorse for an hour the NPC kill the monster in case nobody fights with it? You know what it is ... I do not want two monsters left.

    Thank you very much in advance.

    create another thread for this maybe? because answer cant be tick if youre not the owner of thread

  11. 56 minutes ago, Pink Guy said:

    Yeah, I modified it to a different time since I was just testing it out. The script didn't work unfortunately.

    here fixed one

    -	script	WorldBoss	-1,{
    
    OnClock2021:
    	.@map$ = .townMap$[rand ( getarraysize ( .townMap$ ) - 1 )];
    	.@mins = .sleep / 60000;
    	announce "[World Boss] A World Boss will appeared in " + .@mins + " minutes", bc_all, 0xFF0000;
    	sleep .sleep;
    	monster .@map$, 153, 175, "--ja--", .wBossId, 1, strnpcinfo(3) + "::OnWBossDied";
    	announce "[World Boss] A World Boss appeared in " + .@map$ + " to avenge all those dead monsters adventurers killed!", bc_all, 0xFF0000;
    	end;
    	
    OnWBossDied:
    	announce "[World Boss] " + strcharinfo(0) + " killed the World Boss! Congratulations!", bc_all, 0xFF0000;
    	getitem .rewardId, .rewardCount;
    	end;
    	
    OnInit:
    	setarray .townMap$[0],"prontera","geffen";
    	.wBossId = 1001;		// monsterID
    	.rewardId = 512;		// reward ID
    	.rewardCount = 50;		// how many rewards
    	.sleep = 60000; 		// 60000ms = 1min
    	end;
    }

     

    • Upvote 1
×
×
  • Create New...