Jump to content

Faction System


Lilith

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  07/28/14
  • Last Seen:  

Wow this system is very hard to implement because of the changed pointer from old version to now... i alreay compiled it and i will test, seems to be pretty good, some hints to make it work is use master instead of msd on some pointers about pet, most of them use the msd and the actual rathena uses master...

 

 

Edit: now is working fine, i got all the faction issues solved for me on my server but i have only 1 question, when you attack a normal mob, you must remain clicking on it or let pressed the mouse button to autoattack, because if you release it the char only attack one time, why? i am loocking for this 

Edited by zadoch
Link to comment
Share on other sites

  • 8 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/03/16
  • Last Seen:  

Does this still work?

Edited by BenPaolo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

with some updating of the patches, yeah it still works

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/03/16
  • Last Seen:  

How would I do that? Check and see if there are no conflicting packets being used?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   8
  • Joined:  07/01/14
  • Last Seen:  

Hi, It's been a while since I start adding the faction system, solving each problems one by one. But I'm having one problem that I'm stuck with:

make[1]: Entering directory `/home/rlcpba9c/emulador/src/char'
	MKDIR	obj
	CC	char.c
char.c: In function 'char_mmo_char_tosql':
char.c:331: error: called object 'p->faction_id != cp->faction_id' is not a function
I don't know where to declare this function. I tried a lot but nothing... I'm almost sure that it could be easy to fix... I think I'm overwhealmed... If anyone can help me with that I'll be eternally gratefull...

 

Obs: Sorry about the english, Im brazilian.

 

Thank you again for your time.

 

Edit:

I got it! It's because it's missing || (OR) in one of them. But other errors have arised...  I'll try to solve whithin a couple of days. If I can't solve it, I'll post here. Thank you guys!

Edited by Fratini
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  04/19/13
  • Last Seen:  

This kinda reminds me of the movie divergent haha! anyway nice work /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   8
  • Joined:  07/01/14
  • Last Seen:  

I did it! Finally!! Lilith, you are awesome in source! Thank you a lot!! The faction chat, the system of aura, leader, everything in order! Very nice!!

 

Thank you again, Lilith!

 

I made a little edit in normal monster. Since mob don't attack mob, faction monsters attack neutral monsters, but monster didn't attack back. So I edit in battle.c a little thing so monster attack faction monsters when attacked or when aggressives: 

			if( !md->special_state.ai )
			{ //Normal mobs
				if(
					( target->type == BL_MOB && t_bl->type == BL_PC && ( ((TBL_MOB*)target)->special_state.ai != AI_ZANZOU && ((TBL_MOB*)target)->special_state.ai != AI_ATTACK ) ) ||
					( t_bl->type == BL_MOB && !((TBL_MOB*)t_bl)->special_state.ai && !((TBL_MOB*)t_bl)->faction_id)
				  )
					state |= BCT_PARTY; //Normal mobs with no ai are friends.
				else
					state |= BCT_ENEMY; //However, all else are enemies.
			}

Adding  "&& !((TBL_MOB*)t_bl)->faction_id" at the second if, made faction monsters natural enemy for neutral monsters.

Edited by Fratini
Link to comment
Share on other sites

  • 6 months later...

  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  94
  • Reputation:   5
  • Joined:  06/30/16
  • Last Seen:  

Any one got a working patch for latest ra?

Too many errors.

Link to comment
Share on other sites

  • 5 months later...

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   15
  • Joined:  01/26/12
  • Last Seen:  

Kinda reviving this but i would love to see this working on latest Ra i would pay someone to fix it and have it working and also share it with everyone!

Link to comment
Share on other sites

  • 3 years later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   2
  • Joined:  01/23/14
  • Last Seen:  

[solved]

Hi guys! How can I clone rAthena 17310? thank you

Edited by biali
Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  33
  • Reputation:   2
  • Joined:  11/22/16
  • Last Seen:  

Hello, anyone has a patch for the latest emulator?, this system it's pretty nice!.

Link to comment
Share on other sites

  • 10 months later...

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

will this still works with the latest rev?

 

Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   0
  • Joined:  06/12/16
  • Last Seen:  

we can try reviving this on latest versions. this is a good system. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...