Jump to content

WhiteEagle

Members
  • Content Count

    52
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by WhiteEagle


  1. I would like to change the @follow command so that it is only available on the same map

    and aborts when changing the map as long as it is used by a GM level below 90.

    To block @follow on some maps, a custom mapflag "nofollow" would be helpful to keep the settings simple.

    Can anyone do this?


  2. Thanks for your reply.
    Yea, i searched a while but found nothing.

    I have now tested older clients and they work.
    I am looking for a client that is fine with live servers and can use the mapInfo_true.lub system.
    Atm i use the 2019-06-26bRagexeRE and for Zero 2019-06-26_3aRagexe_zero


  3.  

    Hey guys,

    Does anyone know how to fix this error?

     

    Infomations:
    Client Version: 2019-12-24_5aRagexe_zero
    Compiled with: ./configure --enable-packetver=20191224 --enable-packetver-zero

    Zero Client downloaded and patched.
    Translated Files tested: Zackdreaver and Asheraf (original files too)



    error.PNG.b7e70cc37390ce781262e51681e72b3b.PNG


  4. Thanks Dastgir.
    Why is not this basically present in hercules?
    Just a question. :D 

     

    PS:
    I get now the error message: 

        parse_simpleexpr: unmatched ')'

    in this line here and the part with "("

     while(array_count"(".@gqname$,2))

     


  5. Gives here in hercules anything what is similar with "countinarray" from rathena?

    *countinarray <array name>{[<start index>]},<array name>{[<start index>]};

     I Need this for this part here:
     

    setarray .@gqname$[0],"Kill Mantis","Kill Bees","Kill Soils","Kill Porings";
    	.@null$ = "NULL";
    	while(countinarray(.@gqname$[0], .@null$) != 2)
    		.@gqname$[rand(getarraysize(.@gqname$))] = .@null$;
    
    	switch(select(replacestr(implode(.@gqname$, ":"), .@null$, ""))) {
    		case 1:
    			mes("mantis");
    			close;
    		case 2:
    			mes("bees");
    			close;
    		case 3:
    			mes("soils");
    			close;
    		case 4:
    			mes("porings.");
    			close;
    	}

     


  6. Hey, 
    can anyone help me please to make this working?
    It should be checked if a quest with the number 1 to 10 was accepted.
    Not like:
    if ($GQuest_1 ..
    if($GQuest_2 …
     

    Spoiler

    for(.@i = 1; .@i<11; ++.@i)
        if ($GQuest_.@i[getcharid(CHAR_ID_GUILD)] == 1) {

     


  7. Thank you for your answer.
    I have always tested it with the RagexeRE. I have now found one that works (2019_02_13lRagexeRE), but I'm still not completely satisfied with the patches that are possible.

    Quote

    For ragexe need copy cdclient.dll from nemo

    Oh, I did not know that. Thank you for the information.
    The CDClient.dll from the Input folder, right?
     


  8. Hey,
    I have already tested several client versions and always get the same error message.

    Here the Informations:
    Client Version: 20180621
    Patches:
     

    Spoiler

    9 Disable 1rag1 type parameters (Recommended)
    23 Enable /who command (Recommended)
    24 Fix Camera Angles (Recommended)
    290 Hide build info in client (Recommended)
    34 Enable /showname (Recommended)
    291 Hide packets from peek (Recommended)
    35 Read Data Folder First
    36 Read msgstringtable.txt (Recommended)
    38 Remove Gravity Ads (Recommended)
    39 Remove Gravity Logo (Recommended)
    40 Restore Login Window (Recommended)
    41 Disable Nagle Algorithm (Recommended)
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets (Recommended)
    48 Use Plain Text Descriptions (Recommended)
    49 Enable Multiple GRFs (Recommended)
    53 Use Ascii on All LangTypes (Recommended)
    64 @ Bug Fix (Recommended)
    65 Load Custom lua file instead of iteminfo*.lub (Recommended)
    73 Remove Hourly Announce (Recommended)
    84 Remove Serial Display (Recommended)
    90 Enable DNS Support (Recommended)
    97 Cancel to Login Window (Recommended)
    213 Disable Help Message on Login (Recommended)
    244 Disable Cheat Defender Game Guard (Recommended)

    And here is the error:error.PNG.565adf12d13f8302636d989729c5d250.PNG

    Can anyone help me please?


  9. The Item random option system works fine. But your plugin for the refine drop will not work anymore because the structure has changed.
    This line here:

    struct item_drop *mob_setdropitem_post( struct item_drop* retVal, int nameid, int qty, struct item_data *data ) {

    That's why I asked you if you know what needs to be changed to make the refine drop work again.

     

     

    The error says that something is wrong here:

    HPExport void plugin_init( void ) {
    	addHookPost( mob, setdropitem, mob_setdropitem_post );

     


  10. Hey AnnieRuru, may I can ask your help again.
    After adding the random option system, the refine drop dont work anymore.

    I changed this:

    struct item_drop *mob_setdropitem_post( struct item_drop* retVal, int nameid, int qty, struct item_data *data ) {

    to

    struct item_drop *mob_setdropitem_post( struct item_drop* retVal, int nameid, struct optdrop_group *options, int qty, struct item_data *data ) {

    to get no errors. But no items are droped with refine level :(
    Can you please fix this? 
    Thanks in advance <3


  11. The problem is, that normally you can only skill your 2nd job skills, when you have already skill your 1st job skills.
    But in the screenshot you can see, I dont need to use my 40/50 skillpoints from my 1st job.
    So I can spend more skillpoints for my 2nd job after my reset.


  12. Quote

    so you mean this is use on normal monster drop as well ?

    Spoiler
    
    
    #include "common/hercules.h"
    #include "map/mob.h"
    #include "plugins/HPMHooking.h"
    #include "common/HPMDataCheck.h"
    
    HPExport struct hplugin_info pinfo = {
    	"addrefinedrop",
    	SERVER_TYPE_MAP,
    	"x.x",
    	HPM_VERSION,
    };
    
    struct item_drop *mob_setdropitem_post( struct item_drop* retVal, int nameid, int qty, struct item_data *data ) {
    	if ( retVal->item_data.nameid == 1202 )
    		retVal->item_data.refine = 2;
    	return retVal;
    }
    
    HPExport void plugin_init( void ) {
    	addHookPost( mob, setdropitem, mob_setdropitem_post );
    }

     

     

    Yea awesome, that's what i mean!
    But not only for one or few items, for all armor and weapons.
    Like:

     if ( retVal->item_data.type == IT_ARMOR && retVal->item_data.type == IT_WEAPON )
            retVal->item_data.refine = rand(1,9);

    The stuff with cards is not much important. The function for the refine is good enough.

    Thanks AnnieRuru for your time.
     


  13. Quote

    just use OnNPCKillEvent and makeitem2 script command, shouldn't very hard to do

    At first thanks for your response and yes it isnt hard to do like this,
    but the problem with makeitem is, it can happen it drop twice. (1x normal and 1x from makeitem)
    As example: Poring get killed and drop a knife and with some "luck" prog the makeitem, so he get 2 knifes.
    I would have to switch off the normal drop completely and just let makeitem run.
     

    Edit:
    If i understand this correct, could this added here.

    /*==========================================
     * item drop with delay (timer function)
     *------------------------------------------*/
    static int mob_delay_item_drop(int tid, int64 tick, int id, intptr_t data)
    {
    	struct item_drop_list *list;
    	struct item_drop *ditem;
    	list=(struct item_drop_list *)data;
    	ditem = list->item;
    	while (ditem) {
    		struct item_drop *ditem_prev;
    		map->addflooritem(NULL, &ditem->item_data,ditem->item_data.amount,
    		    list->m,list->x,list->y,
    		    list->first_charid,list->second_charid,list->third_charid,0,
    		    ditem->showdropeffect);
    		ditem_prev = ditem;
    		ditem = ditem->next;
    		ers_free(item_drop_ers, ditem_prev);
    	}
    	ers_free(item_drop_list_ers, list);
    	return 0;
    }

     


  14. 15 hours ago, 4144 said:

    @WhiteEagle This green message from msgstringtable. If you using hercules, you can disable information about players on server.

     

    Thanks sir.

    I am using herc and rathena. Good to know that can be disabled at herc. If I found the right line to translate, I'll  share it here.

×
×
  • Create New...

Important Information

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