Jump to content

leloush

Members
  • Content Count

    269
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by leloush


  1. I have doubt that this needs to fix in src, however your suggested temporary solution really works but like what u said the body relocation animations will be sacrificed also it will have a permanent delay of 0.5 or more seconds to cast the body relocation.

    The main issue here is the sprite itself.


  2. cuz admin menu is not showing like. cp log / etc etc..

     

    NOTE:

    i already have adminmenu.php in main folder then i just linked this file to header.php above the line where submenu.php and pagemenu.php is located...

     

    so im wondering why still it doesnt show?

     

     

    EDIT:

    Thanks anyways.. its just need to include the code that inside the sidebar.php.. 


  3. Did anyone already encountered this kind of problem? when i tried to use /w or /who nothings happen that should the system will show the msg "There are (5) Currently connected" something like that.. but it doesn't show

    then i tried my old grf then it works there.. does anyone have a clue where to check this?

     

    Thank you.

     

    EDIT:

    DANG !! im very sorry that i did a rushpost.. btw i just found out that i changed my langtype, and put it back to what is lately.. im very sorry..  :sry:


  4. I remember I done something like this before, but has to careful about stacking

     

    for example, this custume setlook into something else

    and there is also a battleground script uses setlook to differentiate the team

    ( I think its this script -> http://rathena.org/board/topic/75477-custom-bg/?p=176806 )

     

    so, the player can join in the battleground, wear this costume, after battleground finished, unequip the costume

    now the player will be having the red/blue color costume which should be only available for the battleground

    you have to find some way to make them unequip before joining the event

    hi annie.. can u please this script if its okay to use in atleast 5items (script)

     

     

     

    function	script	test	{OnInit:	if (isequipped(2236)){	@oldlook = getlook (7);	@oldlok = getlook (6);	setlook 7,113;	setlook 6,1;	end;	}else{	setlook 7, @oldlook;	setlook 6, @oldlok;	end;	} }

    and here's the item script(just wondering if its ok to call the same function in deequip script)

    {callfunc "test";},{},{callfunc "test";} 

    i wonder if this script will work flawlesly without causing lagg to the server.. or any etc that will cause a problem to the server (idont have a bg that is using setlook)

     

    thanks

     


  5. hi just wondering if its possible to do on item script like this

     

     

    > setlook 7,1; - DONE

    > and save the cloth color, because when de equipped this item i just want to turn them back to original what they look before wearing this item..

     

     

    the changelook or setlook was done.. but the revert to original no luck i think it needs a function  ? i dont know how to do this can someone make a sample..

     

     

    thanks..


  6.  

    Disable the @mail command for normal players.

    you can still use mail system via alt+h then send message. or it can be access via npc.

     

    >>and also the *openmail

    https://github.com/HerculesWS/Hercules/blob/master/npc/other/mail.txt

     

    but wait,

    why you want to disable it ? is there some kind of bug ?

    if using langtype 0, it working fine ...

     

    euphy's woe setter script uses mailbox to send the reward ..

     

    bug maybe...

     

    last time i have an issue with this mail system.. they can dup items via mail system and i dont know how they do it.. i just found out that they got loads of stuff so decided to mac ban them :P

     

    and oh i remember there is a same issue also i forgot if its here or on rA.

     

    disable the npc and dont put @mail commands on group 0 that's what i did after..

    yup there is a bug regarding on it specially when you have a @security on your server.

     

    yeah they can send via alt + h but the reciever won't get the items/msg since you need the @mail or mail npc to view the inbox so its useless

     

    just make sure the mail.txt is disabled so no npc at all no commands as well.


  7. bug maybe...

     

    last time i have an issue with this mail system.. they can dup items via mail system and i dont know how they do it.. i just found out that they got loads of stuff so decided to mac ban them :P

     

    and oh i remember there is a same issue also i forgot if its here or on rA.

     

    disable the npc and dont put @mail commands on group 0 that's what i did after..


  8. What will Hercules do without Yommy!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    yommy is too awesome...  but you should not post comment something like this.. :P 

     

     

    yet there still an awesome persons left in hercules...


  9. http://herc.ws/board/blog/1/entry-48-a-peek-on-clans/

    Posted 5 months before by Ind...

     

    I also want to know when this would be implemented..

    yeah im waiting too.. hehehe i would sacrifice the ext. vending system for this.. and move to the latest when the clan system will be available..

     

    just a little concern about the clan system

     

    it would be nice if its 2 clan or 2 type on;y , " Devil and Angel "  so there is rivalry between these two clans


  10. i tried to find where line this need to add

     

    idk sir dats says its on

     

    script.c

    Place This above "BUILDIN_FUNC(dispbottom)" 
    but only i can see in my script.c is

     

     

    idk. if its a typo error only

    /*========================================== * Displays a message for the player only (like system messages like "you got an apple" ) *------------------------------------------*/BUILDIN(dispbottom){ TBL_PC *sd=script_rid2sd(st); const char *message; message=script_getstr(st,2); if(sd) clif->disp_onlyself(sd,message,(int)strlen(message)); return true;} 

    also found this posted by annieruru for Rathena Emulator by the way i am using Rathena Emulator

    i will replace my dispbottom on script.c?

    BUILDIN_FUNC(dispbottom) {

    TBL_PC *sd;

    if ( script_hasdata(st,4) ) {

    if ( data_isstring( script_getdata(st,4) ) )

    sd = map_nick2sd( script_getstr(st,4) );

    else

    sd = map_id2sd( script_getnum(st,4) );

    } else

    sd = script_rid2sd(st);

    if ( sd ) {

    const char* msg = script_getstr(st,2);

    unsigned short msg_len = strlen( msg ) +1;

    unsigned int colorcode;

    if ( script_hasdata(st,3) )

    colorcode = script_getnum(st,3);

    else

    colorcode = 0xbbffbb;

    WFIFOHEAD( sd->fd, msg_len + 12 );

    WFIFOW(sd->fd,0) = 0x2C1;

    WFIFOW(sd->fd,2) = msg_len + 12;

    WFIFOL(sd->fd,4) = 0;

    WFIFOL(sd->fd,8) = colorcode;

    safestrncpy((char*)WFIFOP(sd->fd,12), msg, msg_len);

    WFIFOSET( sd->fd, msg_len + 12 );

    }

    return 0;

    }

    >>

    BUILDIN_DEF(dispbottom,"s??"),

    prontera,162,180,5 script kjsdfhksdjf 100,{

    dispbottom "test color";

    dispbottom "test color", 0xff0000;

    dispbottom "test color", 0x0000ff;

    dispbottom "test color", 0xffffff;

    dispbottom "test color", 0xff00ff;

    end;

    }

    post-4102-0-51649400-1389537183_thumb.jpghttp--,,--//herc.ws/board/uploads/monthly_01_2014/post-4102-0-51649400-1389537183_thumb.jpg][/url]

     

     

    i dont think its a good idea to replace a code from source.. that is made from diff emulators.. not unless someone will confirm that is compatible to any emulator (or u know what u are doing.)

  11.  

     

    its working at the same time its throwing error

    implode command must have at least 1 index in the array or the server throws error

     

    Oh I get it now.. this would be the solution for that.. ^^

     

    -    script    test#444    -1,{OnCommand:    if ( !getstrlen( .@atcmd_parameters$ ) ) {	    message strcharinfo(0), "Please, enter a message (usage: @bst <message>).";	    end;    }    $@input$ = implode(.@atcmd_parameters$," " );    $@name$ = strcharinfo(0);    .@symbol$ = substr( .@atcmd_parameters$, 0,1 );    if ( .@symbol$ != "B>" && .@symbol$ != "S>" && .@symbol$ != "T>" ) {	    message strcharinfo(0), "Market Symbol is Needed when using this command ( B> S> T> )";	    end;    }    if ( bst_delay + 60 > gettimetick(2) ) {	    message strcharinfo(0), "There is a 60 seconds delay of using this command again";	    end;    }	    query_sql ("SELECT `char`.`account_id` FROM `char` JOIN `login` ON `char`.`account_id` = `login`.`account_id` WHERE `char`.`online` = 1", .@account_id);	    bst_delay = gettimetick(2); // delay	    while ( .@i < getarraysize(.@account_id) ) {		    if ( attachrid( .@account_id[.@i] ) )			    dispbottom "[Market]" + $@name$ + " : " + $@input$; // display to every character on the server.			    detachrid;			    .@i++;	    }	    end;OnInit:    bindatcmd "bst",strnpcinfo(0)+"::OnCommand", 0, 1; // bind @bst command.    end;}

    but AnnieRuru just used this to the old bst script to make color on chat 

    >>> 

        announce "[Market] "+ strcharinfo(0) +" : "+ implode( .@atcmd_parameters$," " ), bc_all, 0x9999FF;

    end;

    }

    can u just add this ?

     

    im wondering sir.. what u really want? lol

     

    just wondering.... someone gives a script using announce with a color..

     

    and the other one gaves u with dispbottom.. 

    and now u want them both ?

    if u add that line.. it will announce like what u showed in the previous post with a screenshot.(u don't want it right?)

     

    AFAIK.. dispbottom cant be in a color code..(not unless someone will do it for u and i believe it will required source modif.)

     

    no offense.. just wondering...


  12. Hi guys, 

    -       script  Join Ts -1,{Oncommande:        mes "[^6600CC Join Teamspeak ^000000]";        mes "<URL>Teamspeak.<INFO>"+ (.link$)  + strcharinfo(0) +"</INFO></URL>";        close;   OnInit:bindatcmd "joints",strnpcinfo(3)+"::Oncommande";do {.link$ = "ts3server://IPSERVER?port=PORTSERVER&password=PASSSERVER&nickname=";  sleep 1000; } while(1);end;}

    Someone know how to joints without click on link? 

     

    > if someone want, you can use this script ^^

    what does this script do sir? 

     

    it will direct you to team speak link? via ingame?


  13.  

     

     

    yeah that's it almost like that,

     

     

    just add it after the quest completion part.. so it will give that points..

     

    something almost like this

     

     

     

        mes "Well done you have started the quest of got me 5 apples";    mes "Thank you";set queststarted,0;    delitem 512,5;set #OWNPOINTS, #OWNPOINTS + 5;    dispbottom "You now have " +#OWNPOINTS+ " own points. by completing the collect 5 apples quest.";close; 

    if i add #OWNPOINTS what is the name of the Points? Own Points? how about i want to make it YourRO Points

    #YOURROPOINTS

    #Yourropoints or #Ownpoints is just a variables i think

     

    so if u want to call it then just add it to the disp bottom what will be the name of this points.. "+OWNPOINTS+" / "+YOURROPOINTS+" will just show you how many points(number) is currently u have.. but it will not show the name "OWNPOINTS" or "YOURROPOINTS"

     

    just add it to the msg.. everytime u will add it on a checking..

     

    something like talking to an npc is required a "yourpoints"

     

     

     mes "you have "+#OWNPOINTS+" Cash Points/Your Points/Wat ever Points." close;

     

     

    ingame this will show.

     you have 15 Cashpoints/your  points/watever points.

     

    And oh, sir dats already point it out here.

     

     

    CUSTOM_POINTS += 5; //You can Change CUSTOM_POINTS to any variable you want, and you can use this variable anywhere in other npc to check if player has certain amount of points or not,etc.

  14. yeah that's it almost like that,

     

     

    just add it after the quest completion part.. so it will give that points..

     

    something almost like this

     

     

     

        mes "Well done you have started the quest of got me 5 apples";    mes "Thank you";set queststarted,0;    delitem 512,5;set #OWNPOINTS, #OWNPOINTS + 5;    dispbottom "You now have " +#OWNPOINTS+ " own points. by completing the collect 5 apples quest.";close; 
×
×
  • Create New...

Important Information

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