Jump to content
  • 0
ScriptingPhailure

Official banker?

Question

I was looking through the sql files and the Ragnarok EP timeline. It says they put in a bank system. Is that implemented in Hercules? If so can anyone please tell me where the npc files are located? I can't find them under re or the other folder.

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

this patch so banking can only use in town mapflag

 

 

src/map/clif.c | 4 ++++ 1 file changed, 4 insertions(+)diff --git a/src/map/clif.c b/src/map/clif.cindex c61a725..1934bbb 100644--- a/src/map/clif.c+++ b/src/map/clif.c@@ -17950,6 +17950,10 @@ void clif_parse_BankWithdraw(int fd, struct map_session_data* sd) { void clif_parse_BankCheck(int fd, struct map_session_data* sd) {     struct packet_banking_check p; +    if ( !map->list[sd->bl.m].flag.town ) {+        clif->colormes(fd,COLOR_RED,msg_txt(1483));+        return;+    }     if( !battle_config.feature_banking ) {         clif->colormes(fd,COLOR_RED,msg_txt(1483));         return;

 

but for the plugin ... eh ... use a trick :P

http://upaste.me/5f1d11081bf7e165e

Share this post


Link to post
Share on other sites
  • 0

it is client sided, use the latest client to use it :D there is a button on the interface, not a npc :P

Share this post


Link to post
Share on other sites
  • 0

Can you access it anywhere or only in town? If it's accessible anywhere that feels a little lazy. I would prefer an npc.

Anywhere in the World of RO.

Share this post


Link to post
Share on other sites
  • 0

this patch so banking can only use in town mapflag

 

 

src/map/clif.c | 4 ++++ 1 file changed, 4 insertions(+)diff --git a/src/map/clif.c b/src/map/clif.cindex c61a725..1934bbb 100644--- a/src/map/clif.c+++ b/src/map/clif.c@@ -17950,6 +17950,10 @@ void clif_parse_BankWithdraw(int fd, struct map_session_data* sd) { void clif_parse_BankCheck(int fd, struct map_session_data* sd) {     struct packet_banking_check p; +    if ( !map->list[sd->bl.m].flag.town ) {+        clif->colormes(fd,COLOR_RED,msg_txt(1483));+        return;+    }     if( !battle_config.feature_banking ) {         clif->colormes(fd,COLOR_RED,msg_txt(1483));         return;

 

but for the plugin ... eh ... use a trick :P

http://upaste.me/5f1d11081bf7e165e

2 Condition returning same condition??

Better if 

 

if( !battle_config.feature_banking || !map->list[sd->bl.m].flag.town ) {

Share this post


Link to post
Share on other sites
  • 0

well the patch was built for the plugin in mind

and I also realized the plugin also not that ... powerful

 

http://upaste.me/5f1c110840f19f3f0

ok just learn the HookStop() command from Samuel

Edited by AnnieRuru

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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