Jump to content
  • 0

Anti FLood System (Mute), Help


AllHailToTheKing

Question


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

hello rathena. ive done this before when im using eathena. but i tried to do it again here in rathena but im getting error when re compile

clif.c: In function 'clif_parse_GMReqNoChat':
clif.c:12565: warning: implicit declaration of function 'pc_isGM'
clif.c:12572: error: 'level' undeclared (first use in this function)
clif.c:12572: error: (Each undeclared identifier is reported only once
clif.c:12572: error: for each function it appears in.)
clif.c:12572: warning: implicit declaration of function 'get_atcommand_level'
clif.c:12572: error: 'atcommand_mute' undeclared (first use in this function)
clif.c:14064: error: invalid storage class for function 'clif_Auction_setitem'
clif.c:15467: error: invalid storage class for function 'clif_parse_ReqOpenBuyingStore'
clif.c:15575: error: invalid storage class for function 'clif_parse_ReqCloseBuyingStore'
clif.c:15605: error: invalid storage class for function 'clif_parse_ReqClickBuyingStore'
clif.c:15643: error: invalid storage class for function 'clif_parse_ReqTradeBuyingStore'
clif.c:15759: error: invalid storage class for function 'clif_parse_SearchStoreInfo'
clif.c:15876: error: invalid storage class for function 'clif_parse_SearchStoreInfoNextPage'
clif.c:15903: error: invalid storage class for function 'clif_parse_CloseSearchStoreInfo'
clif.c:15911: error: invalid storage class for function 'clif_parse_SearchStoreInfoListItemClick'
clif.c:16347: error: invalid storage class for function 'clif_parse'
clif.c:16507: error: invalid storage class for function 'packetdb_readdb'
clif.c:17133: error: expected declaration or statement at end of input
clif.c:17133: error: expected declaration or statement at end of input




i try to search here in rathena with the same details like i this one but i cant find one. so i tried to do it like the post on eathena and there is error.


http://www.eathena.w...howtopic=242003

Edited by AllHailToTheKing
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Open trunk/src/map/clif.c and find this line:

if (type == 2 /* && (pc_get_group_level(sd) > 0 || sd->bl.id != id)*/)

Change it to:

if (type == 2 && (pc_get_group_level(sd) > 0 || sd->bl.id != id))

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

Open trunk/src/map/clif.c and find this line:

if (type == 2 /* && (pc_get_group_level(sd) > 0 || sd->bl.id != id)*/)

Change it to:

if (type == 2 && (pc_get_group_level(sd) > 0 || sd->bl.id != id))

thanks brian. you are the best around here

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

Open trunk/src/map/clif.c and find this line:

if (type == 2 /* && (pc_get_group_level(sd) > 0 || sd->bl.id != id)*/)

Change it to:

if (type == 2 && (pc_get_group_level(sd) > 0 || sd->bl.id != id))

 

 

brian i just tried this right now. but seems not working. 

 

//If type is 2 and the ids don't match, this is a crafted hacked packet!    //Disabled because clients keep self-muting when you give players public @ commands... [skotlex]    if (type == 2 && (pc_get_group_level(sd) > 0 || sd->bl.id != id))        return;
 
this is what i put and tried to spam on the server nothing happens
Edited by AllHailToTheKing
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

(But it compiled with no errors, right?)

hmm if you're not self-muting, maybe that feature was removed from kRO clients ?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

(But it compiled with no errors, right?)

hmm if you're not self-muting, maybe that feature was removed from kRO clients ?

 

yes it compile without any errors. 

 

means this is not working anymore?

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
Answer this question...

×   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...