Jump to content

leloush

Members
  • Content Count

    269
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by leloush


  1. i want to change the cell range, after the asura from 3 cell to current location to 1 cell..



    thanks in advanced everyone.

     

    [CELL RANGE - end up to the default setup]
    solved


  2.  

    -	script	kjdhfksdjfhs	-1,{OnClock0000:OnClock0400:OnClock0800:OnClock1200:OnClock1600:OnClock2000:	enablenpc "qwerty";	sleep 1 *60 *60 *1000; // 1 hour	mapwarp "guild_vs2", "prontera",156,191;	disablenpc "qwerty";	end;OnInit:	disablenpc "qwerty";	end;}prontera,156,195,5	warp	qwerty	2,2,guild_vs2,49,49
    change guild_vs2 into gld2_prt

    @annie thanks to this script..

     

    but i dont get this *60 *60 *1000 ( cuz i set this into *5 *5 *1000 (for testing purposes) )  :P so im wondering is *60  *60 *1000 is 1hour? 


  3.  

    -	script	kjdhfksdjfhs	-1,{OnClock0000:OnClock0400:OnClock0800:OnClock1200:OnClock1600:OnClock2000:	enablenpc "qwerty";	sleep 1 *60 *60 *1000; // 1 hour	mapwarp "guild_vs2", "prontera",156,191;	disablenpc "qwerty";	end;OnInit:	disablenpc "qwerty";	end;}prontera,156,195,5	warp	qwerty	2,2,guild_vs2,49,49
    change guild_vs2 into gld2_prt

    ty so much annie  :kis:


  4.  

    There was an error in this snippet, I don't even know how this passed lol

    Here is the fix:

     

    Open src/map/skill.c and find:

    	// If linked, knights are able to use parrying with one handed swords (type 2)	if( require.weapon && !pc_check_weapontype(sd,require.weapon) && 	  ( skill_id == LK_PARRYING && !sd->sc.data[SC_SOULLINK] && !pc_check_weapontype(sd,2) ))	{		clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);		return 0;	}
    Replace it with:
    	// If linked, knights are able to use parrying with one handed swords (type 2)	if( require.weapon && !pc_check_weapontype(sd,require.weapon) && 	  !( skill_id == LK_PARRYING && sd->sc.data[SC_SOULLINK] && pc_check_weapontype(sd,1<<2) ))	{		clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);		return 0;	}
    Find (again):
    	if( require.weapon && !pc_check_weapontype(sd,require.weapon) && 	  ( skill_id == LK_PARRYING && !sd->sc.data[SC_SOULLINK] && !pc_check_weapontype(sd,2) ))	{		clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);		return 0;	}
    Replace it with:
    	if( require.weapon && !pc_check_weapontype(sd,require.weapon) && 	  !( skill_id == LK_PARRYING && sd->sc.data[SC_SOULLINK] && pc_check_weapontype(sd,1<<2) ))	{		clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);		return 0;	}
    Now it should work properly c: I'll update my original post (http://herc.ws/board/topic/3829-soul-link-modification/?p=24936) and change this.

    Thank you for reporting. Any errors or misbehaves just post here ok?

    thank you so much sir.. gonna try it now :kis:


  5. can someone please check this? if there is something wrong?

    just a simple checking and tell me whats going on
    cuz this is modification in SL spirit ( for LK )

     

     


    ( okay )
    this is what happen
    [the custom mods is working properly]

     

     

    Lord Knight
    Index: src/map/skill.c
    Find:
    if( require.weapon && !pc_check_weapontype(sd,require.weapon) ) {
    clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
    return 0;
    }

    Replace with:
    // If linked, knights are able to use parrying with one handed swords (type 2)
    if( require.weapon && !pc_check_weapontype(sd,require.weapon) &&
    ( skill_id == LK_PARRYING && !sd->sc.data[sC_SOULLINK] && !pc_check_weapontype(sd,2) ))
    {
    clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
    return 0;
    }

    Find:
    if( require.weapon && !pc_check_weapontype(sd,require.weapon) ) {
    clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
    return 0;
    }

    Replace with:
    if( require.weapon && !pc_check_weapontype(sd,require.weapon) &&
    ( skill_id == LK_PARRYING && !sd->sc.data[sC_SOULLINK] && !pc_check_weapontype(sd,2) ))
    {
    clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
    return 0;
    }

    Index: src/map/pc.c
    Find:
    for (i = 0; i < ARRAYLENGTH(scw_list); i++) {
    // Skills requiring specific weapon types
    if( scw_list == SC_DANCING && !battle_config.dancing_weaponswitch_fix )
    continue;

    Add Below:
    // If linked, knights are able to use parrying with one handed swords (type 2)
    if( scw_list == SC_PARRYING && sd->sc.data[sC_SOULLINK] && sd->sc.data[sC_SOULLINK]->val2 == SL_KNIGHT
    && (!pc_check_weapontype(sd,skill->get_weapontype(status->sc2skill(scw_list))) &&
    !pc_check_weapontype(sd,2) )
    )
    {
    status_change_end(&sd->bl, scw_list, INVALID_TIMER);
    continue; // We don't want to fall under the next check
    }

     

    after applying it i found out that [ EVERY SKILL WHICH WILL REQUIRED A WEAPON HAS BEEN BYPASS ] 

     

    EXAMPLE : 

    CLOWN NOW CAN USE ARROW VULCAN WITHOUT VIOLIN
    ALSO SINX CAN USE SB EVEN HE'S WEARING DAGGER..

     

     

    SRY ALL CAPS..
    thanks in advanced

     

     

    @EDIT : hmm or  just placed this code in a wrong line? 


  6. hi there i was wondering if i am able to make a 2013 client exe to read encrypted grf


    i try my best but i think im lack of knowledge.


    btw im using GRF tool 1.3.4
    and this is my first time working with 2013 client since i always use 2012.


    hoping to have an answer for this atleast idea? hehe thanks so much and more powers
    im just scared of being a victim of another resell of custom modification(data side)
    there's a lot there in fb.. they are selling default scripts,free release maps >.< how embarrassing


  7. @datsjir

    how bout resseting npc ? or variablenpc ? 

     

     

    cuz im having a little problem with the script i found back from 2011 it doesnt reset the whole script example in BG it reset all npcvariable.
    on 2011script it doesnt and u need to reloadscript just to work again with that npc  :P


  8. thanks for the reply sir.. but i think this is not my problem

     

    since i already check 1by1 each weapon to see if its a little mistake on weapon type..

     

    but the thing is.. even im not wearing ( example violin .. i can threw a arrow vulcan ) 


  9. hi guys..

     

    i just wanna know which part of src where i can check the part of skill weapon required because.. i think i mess all skills weapon required ever since i add custom link effect (like for example - i can use spiral pierce while im using sword)

    (and another one i can use without violin is arrow vulcan ) 

     

     

    can someone tell me where i can check this lines thanks..


  10. Make sure that you're using the correct password in your config/server.php

    yes sir ofc i did set correct password in all lines needed

     

    I am having problem also like this..

     

    This started  to happen when I updated my trunk and updated  my tables in phpmyadmin.

     

     

    I am using Rathena Flux CP since CMS Addon is not working with Hercules FCP, but now that it has error I think we cannot use Rathena FCP anymore..

     

     

    anyone please help.

     

    http://herc.ws/board/topic/4197-cms-in-hercules-flux-cp/

    uhm cms addon is working with my hercules flxcp

     

    but the thing is when i click my account it prompted the error


  11. Sorry, looks like I forgot to declare it as a string. See my previous post for the fix. .@image[] should be .@image$[]

     

    hehe no need to sorry since im the one who's looking for a help :D

     

    all workings

     

    but one more thing sir

    is this normal or its just a little mistake?

     

    the cutin images isnt changing... i think it stucks on the first image and the countdown continues but the image not changing


  12. Changing the method to the way you described would work, but it seems you already understand what's going on. Patskie's method simply allows you to change the value of .@x within the for loop from "3" to whatever you wish it to be; that way, it will count down for however long you set it to, without cluttering your code unnecessarily.

     i mean yes sir i already understand whats going on to the script that mr.pats gave to me..

     

    i just wanna know is it possible to make a cutin change each every second of the countdown? and how without messing the entire script


  13.  

    prontera,150,150,0	script	Sample	100,{	query_sql "SELECT DISTINCT(`account_id`) FROM `char` WHERE `online` = '1'",.@aid;	for ( .@i = 0; .@i < getarraysize(.@aid); .@i++ ) {		if ( attachrid( .@aid[.@i] ) ) {			if ( strcharinfo(3) == "prontera" )				 cutin "kafra_07", 2;		}	}	for ( .@x = 3; .@x > 0; .@x-- ) {		announce "Count down : " +.@x,0;		sleep 1000;	}	for ( .@y = 0; .@y < getarraysize(.@aid); .@y++ ) {		if ( attachrid( .@aid[.@y] ) ) {			if ( strcharinfo(3) == "prontera" )				 cutin "", 255;		}	}	end;}

    Like this?

    i will try this sir pats... thanks

     

     

     

     

    @edit yes this is what im looking for sir pats... is it ok if i will rip some of the lines that i only need ? cuz im planning to make an event more lively is it ok please??

     

    and btw the script seems very hard to understand for a newbie like me but i understand some of this

     

    can i change this line into a easy one

     

        for ( .@x = 3; .@x > 0; .@x-- ) {

    announce "Count down : " +.@x,0;

    sleep 1000;

     

    like

    announce "Count down : 3",0;

    sleep 1000;

    announce "Count down : 2",0;

    sleep 1000;

    announce "Count down : 1",0;

    sleep 1000;

     

     

    like that? correct me if im wrong sir pats.. really thanks to your help..

×
×
  • Create New...

Important Information

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