Jump to content


Photo

Away System


  • Please log in to reply
8 replies to this topic

#1 sbk_

sbk_

    Advanced Member

  • Members
  • PipPipPip
  • 90 posts
  • LocationSão Paulo - Brasil
  • Emulator:Hercules
  • Github:https://github.com/SoulBlaker

Posted 01 November 2014 - 12:20 PM

Well this system allows the player to be missing from the server with an automatic response. Actually there are two commands, one disconnects the player and the other keeps him connected. 
 
Not diferenção is not only there, the command @away2 will disconnect the player and his status ignore monster, the other does not allow this status since the player can be killing a monster and use the command when it has low HP and go recovering. 
 
This question is to be examined in the new version, now a brief explanation of the commands:
 
 

@away <message>

Makes the player stay with a headgear of afk and sends a response suggesting the second string if a player send a private message.

 

@away2 <message>

Makes the player stay with a headgear of afk and sends a response suggesting the second string if a player send a private message and disconnects the player from the server.

 

Important explanations:

  • Players can not use the command on maps PvP, GvG or BattleGround.
  • By using the command @away the player is unable to move, carrying the command again using the player can move free.
  • The view id of head equipment is kept safe when the player quit the commandaway using the viewId that was before replacement is on-post, but not the player keeps changing the equipment and change the viewId, perhaps in next version.

Important explanations Version 1.1:

 

The 1.1 version does not allow the player to withdraw, talk to npc, drop items, use an item and equip item, it solves most of the problems, unless the player use the teleport commands, it will continue to place more inactive.

 

Considerations for a future release:

  • Remove blocking movement of the player and adding the source as is well implemented and easy for function in places that activate the idle players.
  • As stated above, block handling equipment change when you are away, or just add replacement viewId or something related.
  • Block more functions in core.

Demonstration images? This being done a job on top of that, the images instead movie detailing more.

 

I will not provide plugin because I'm not familiar with this feature Hercules.
 
Download v1.1: Click Here

Download v1.0: Click Here


Edited by sbk_, 02 November 2014 - 08:44 AM.


#2 GmOcean

GmOcean

    Advanced Member

  • Community Contributors
  • 365 posts
  • Emulator:Hercules

Posted 01 November 2014 - 02:50 PM

This is a neat idea, an AutoTrade effect, for afk use.

My only suggestion is, remove the ignore monster effect because, this makes it 100% abusable for leeching people to higher levels.

 

Other than that, I like it, and will give it a test =P


Posted Image

#3 sbk_

sbk_

    Advanced Member

  • Members
  • PipPipPip
  • 90 posts
  • LocationSão Paulo - Brasil
  • Emulator:Hercules
  • Github:https://github.com/SoulBlaker

Posted 01 November 2014 - 09:07 PM

The first command does not ignore the @away monsters have to guard the player is dying for a MvP for example, and use the command to get off target and recover HP.



#4 Litro

Litro

    Advanced Member

  • Members
  • PipPipPip
  • 363 posts
  • LocationProntera
  • Emulator:Hercules
  • Github:Litro

Posted 07 April 2015 - 07:29 AM

Can some one convert it to plugins ? @Dastgir


:thx:For being you, For all of you :thx: 

 

:wub: ~ Certified Fans of AnnieRuru ~ :wub:

 


#5 mrlongshen

mrlongshen

    Noobies

  • Members
  • PipPipPip
  • 1127 posts
  • Locationlocalhost 127.0.0.1
  • Emulator:Hercules

Posted 07 April 2015 - 11:49 AM

@Litro I want that too :P


Long live Hercules emulator


#6 Quazi

Quazi

    Advanced Member

  • Members
  • PipPipPip
  • 189 posts
  • Emulator:Hercules
  • Github:Miracle

Posted 06 December 2015 - 04:02 PM

any update on this work?..
im having trouble with atcommand.c part..
it's working in game,
Posted Image
but it's giving me this error..
Posted Image ..
 



#7 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3340 posts
  • IRC Nickname:Dastgir
  • LocationIndia
  • Emulator:Hercules
  • Github:dastgir

Posted 06 December 2015 - 05:12 PM

SRC/map/atcommand.h
Find
#define MAX_MSG 1500
Change 1500 to 1613

My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click rep_up.png
btn_donateCC_LG.gif

Quick Donate Link: http://paypal.me/dherc


#8 Quazi

Quazi

    Advanced Member

  • Members
  • PipPipPip
  • 189 posts
  • Emulator:Hercules
  • Github:Miracle

Posted 06 December 2015 - 11:45 PM

hehe this is great. it's doesn't give error now.. perfectly working, thank you sir @Dastgir



#9 Hafflex

Hafflex

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 20 February 2016 - 01:32 PM

Hi, how to add diff files such as this script?

Can you please send or message me privately the steps?

 

 

Thanks a lot.


I'm willing to learn, please be patient and I'll do my best to catch up!

hafflexsig_zpsiwfaodsg.gif





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 279 user(s)