Jump to content
  • 0

[Request] Berserk Modification


LMF

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  11/16/11
  • Last Seen:  

Hi guys, i'm quite new here :D

well i was wondering if this can be possible to do some src modification.

LK, Berserk.

After you cast berserk, you can't talk, skills, even commands.

what if after cast berserk, you only can't do skills? talk and commands enable it.

is that possible?

Best regards,

LMF Ragnarok Online.

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

On 12/12/2011 at 11:11 PM, rootKid said:

i had tested this quite awhile back, and i can confirm that there is indeed a client block on it along with the server side things. hexing the client is required

search: 03 C8 5f 89 4b 08 5e 5b

replace: 03 C8 5f 90 90 90 5e 5b

the code is buggy, you may notice why if you try it. also when searching you will find more than 1 result, just try them all until you get it. this was tested with an older client, not sure about renewal.

note: this works assumings that you have already removed all the checks server side.

Are you able to reproduced this in 2015+ Clients?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  186
  • Reputation:   51
  • Joined:  11/14/11
  • Last Seen:  

I've attached a small diff.

Its untested but removed the berserk check on talk-related functions.

Let me know if it works. :D

berserk_talkable.diff

Edited by GodLesZ
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  11/16/11
  • Last Seen:  

i have a bit different compare with your diff, cause i'm using 3CeAM R650.

if (sd->sc.count && //no "chatting" while muted.
(sd->sc.data[sC_BERSERK] ||
(sd->sc.data[sC_NOCHAT] && sd->sc.data[sC_NOCHAT]->val1&MANNER_NOCHAT) ||
(sd->sc.data[sC_DEEPSLEEP] && sd->sc.data[sC_DEEPSLEEP]->val2) ||
sd->sc.data[sC_SATURDAYNIGHTFEVER]))
return -1;

so it should be..

-   (sd->sc.data[sC_BERSERK] ||

something like this only?

Edited by LMF
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  186
  • Reputation:   51
  • Joined:  11/14/11
  • Last Seen:  

so it should be..

-   (sd->sc.data[sC_BERSERK] ||

something like this only?

Without the beginning (, yes.

The block should be

if (sd->sc.count && //no "chatting" while muted.
((sd->sc.data[sC_NOCHAT] && sd->sc.data[sC_NOCHAT]->val1&MANNER_NOCHAT) ||
(sd->sc.data[sC_DEEPSLEEP] && sd->sc.data[sC_DEEPSLEEP]->val2) ||
sd->sc.data[sC_SATURDAYNIGHTFEVER]))
return -1;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  11/16/11
  • Last Seen:  

if (sd->sc.count && //no "chatting" while muted.

((sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOCHAT) ||

(sd->sc.data[SC_DEEPSLEEP] && sd->sc.data[SC_DEEPSLEEP]->val2) ||

sd->sc.data[SC_SATURDAYNIGHTFEVER]))

return -1;

can be this way? cause i see the starting should be in ((sd->sc.count && and end at fever]))

Edited by LMF
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  379
  • Reputation:   304
  • Joined:  11/10/11
  • Last Seen:  

If I remember correctly it's also a client issue (the client avoid to send talk packet to server when you are berserk)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  11/16/11
  • Last Seen:  

ridiculous.. will test it out ^.^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  186
  • Reputation:   51
  • Joined:  11/14/11
  • Last Seen:  

if (sd->sc.count && //no "chatting" while muted.

((sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOCHAT) ||

(sd->sc.data[SC_DEEPSLEEP] && sd->sc.data[SC_DEEPSLEEP]->val2) ||

sd->sc.data[SC_SATURDAYNIGHTFEVER]))

return -1;

can be this way? cause i see the starting should be in ((sd->sc.count && and end at fever]))

Yep, here the same a bit better:

// No "chatting" while muted
if (
   sd->sc.count &&
   (
       (sd->sc.data[sC_NOCHAT] && sd->sc.data[sC_NOCHAT]->val1&MANNER_NOCHAT) ||
       (sd->sc.data[sC_DEEPSLEEP] && sd->sc.data[sC_DEEPSLEEP]->val2) ||
       sd->sc.data[sC_SATURDAYNIGHTFEVER]
   )
)
   return -1;

If I remember correctly it's also a client issue (the client avoid to send talk packet to server when you are berserk)

Strange if so. But yea, this sounds like Gravity :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  241
  • Reputation:   46
  • Joined:  11/08/11
  • Last Seen:  

another reason for a open source client XD

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  186
  • Reputation:   51
  • Joined:  11/14/11
  • Last Seen:  

another reason for a open source client XD

Lets see how KeyWorld's roBrowser comes up. :D

@LMF: Any results on testing yet?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   11
  • Joined:  11/28/11
  • Last Seen:  

i had tested this quite awhile back, and i can confirm that there is indeed a client block on it along with the server side things. hexing the client is required

search: 03 C8 5f 89 4b 08 5e 5b

replace: 03 C8 5f 90 90 90 5e 5b

the code is buggy, you may notice why if you try it. also when searching you will find more than 1 result, just try them all until you get it. this was tested with an older client, not sure about renewal.

note: this works assumings that you have already removed all the checks server side.

Edited by kou
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   11
  • Joined:  11/28/11
  • Last Seen:  

sorry for the delay, had to find out.

2008-09-10aSakexe is the exe that i got it to work on

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