Jump to content

Cretino

Members
  • Posts

    50
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Cretino

  1. A friend, I will see what to do here, if you can even post an example, I thank you, because I'm not very experienced in this area, but I want to learn and try.
  2. From what I understand, the command and example you sent, it injects a dll into an executable right? But what I want to do is add the DLL permanently. I even know how to add, but that's no good, I can have the command to get the MAC address in a DLL, I also think it's the place to add the dll into the executable, it would have to send out a packet with the MAC address picked up by the DLL, so it runs the executable, and when the user logs on. I know it's possible because I saw something on a forum, but it was not on MAC address. I also would have a change in logserver and / or charserver and / or mapserver. If someone else can I explain some of the procedures, I thank you. And who says I want to ban MAC address? I asked for some time for someone to do something? See if you pay attention and read the right guy. I'm asking for help to find out where to put things and how to send and receive a packet. The rest is me.
  3. [i do not know if the topic is in the correct area, if not, ask a moderator to move to the correct location.] Hello, was wondering if this is possible, I wanted to create a dll with the command to get the MAC address and send to logserver and / or charserver and / or mapserver and add the dll on the client, so that every time you log in, send the information and MAC address. And if possible, ask someone who understands better, I explain how I do this process. Thank you for your attention, Cretino.
  4. Please, someone in moderation, close this topic.
  5. Have to replace all modified to handle this here: Open /src/map/battle.h Find: int bg_flee_penalty; Below add: int gm_monsterdrop_lv; Open /src/map/battle.c Find: { "bg_flee_penalty", &battle_config.bg_flee_penalty, 20, 0, INT_MAX, }, Below add: { "gm_monsterdrop_lv", &battle_config.gm_monsterdrop_lv, 0, 0, 99, }, Open /src/map/mob.c Scroll to or find the function mob_db Find: if(src && src->type == BL_MOB) mob_unlocktarget((struct mob_data *)src,tick); Below add: if( (mvp_sd && pc_get_group_level(mvp_sd)) || (sd && pc_get_group_level(sd)) ) { if( mvp_sd && pc_get_group_level(mvp_sd) < battle_config.gm_monsterdrop_lv ) type |= 1; else if( sd && pc_get_group_level(sd) < battle_config.gm_monsterdrop_lv ) type |= 1; } Open /conf/battle/gm.conf Find: // [GM] Can't be kicked from a chat? (No or mimimum GM level) gm_kick_chat: no Below add: // [GM] Minimum GM level to receive drops from monsters (0 = disabled.) gm_monsterdrop_lv: 40
  6. Only replace 'pc_isGM(sd)' by 'pc_get_group_level(sd)'. Not tested, but should work.
  7. No,this is notmy goal, I havesomething else in mind. I just want totake theaction ofa helmetso that when thecharacter dies, he atthestay on the ground. Ifsomeone can help, I thank you,now onlysayonething,do not takehasty conclusions. And one more thing, I had no idea that. Yes, I even thought it would be using the program ACTOR, but you could give me certain that it is in the archives .act? And also if you could post a tutorial link, because I do not understand anything .act. Thank you for your attention, Cretino.
  8. Hello, was wondering how can I do to remove an action from a sprite, Example: Action of a helmet at death: Falling on the floor. How could I modify this action? It would be in the file .Spr? It would be in the file .Act? It would be in the emulator? - I think maybe. Thank you in advance. Cretino. @EDIT PS: Please ask any member of staff to move the topic to the correct area, now that I saw posted in the wrong area, sorry.
×
×
  • Create New...