Jump to content

Rosiel

Members
  • Content Count

    8
  • Joined

  • Last visited

Everything posted by Rosiel

  1. Ind, thank you very much for this. And I am very sorry for not getting back to this. I could say I was busy with work, but that would be lying.
  2. Sadly - no. But you could take a look at this: www.generatedata.com/#generator It can output SQL statements.
  3. Rosiel

    Mob Behaviour

    Sounds like a fun and useful project, if only I had the time...
  4. all traps can be blown using arrow shower except ankle snare and electric shocker.. and define in skill.c case BL_SKILL: su = (struct skill_unit *)target; if( su && su->group && su->group->unit_id == UNT_ANKLESNARE ) return 0; // ankle snare cannot be knocked back break; Yes I know. It can't be but how to enable it for them to be knocked back? for example if using ankle snare and electric shocker arrow shower will cause them knock back.. Should I do this? //case BL_SKILL: //su = (struct skill_unit *)target; //if( su && su->group && su->group->unit_id == UNT_ANKLESNARE ) //return 0; // ankle snare cannot be knocked back //break; No, please do this: case BL_SKILL: su = (struct skill_unit *)target;// if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )// return 0; // ankle snare cannot be knocked back break;
  5. More like rewriting it. Well... theoretically you could make a hook for fopen() (and hope that's what Gravity used) and replace it with your own function which reads data from the server, but it is not going to be easy either.
  6. One could add an Id to the map_session_data structure. I took a short look at the instancing code, as far as I can see one would need a second instance_create which would accept a charid, instance_create_sd or something like that. instance_destroy would need to be modified so it does update the sd variable and not the party variable if that is set. One would also have to make sure that a party can not start an instance at the same time as when one of it's members is in an instance and vice versa. I also do not like how the instancing module is just using a global array with MAX_INSTANCE, this could be solved much better using a linked list and allocation on demand, but it works so I am not touching that. I am not very familiar with Hercules code, it would be very helpful if one of the developers could comment this post and tell me if what I have in mind is a good idea or not.
  7. It would be very nice to see the instance system to be able to create instances for individual characters. I will hopefully have some time next month to implement this, nevertheless I wanted to post the idea here to see how it is received.
  8. First I would like to say... Very ambitious project, I like it and I will try it out as soon as possible. Second... How are you implementing this? It would be nice to have function pointer arrays for each module, this would make runtime modification possible. Edit: And.... that's exactly what you are doing, how nice ^^
×
×
  • Create New...

Important Information

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