Shikazu
-
Content Count
74 -
Joined
-
Last visited
-
Days Won
3
Reputation Activity
-
Shikazu got a reaction from Kusoo in [WIP] AthenaMT
A short update to this project.
No it's not dead and i made some progress. I've got a working login server now and before im making more progress on that topic, there is another project which i would like to push forward.
Will make a post later about it, it's neccessary for me to make it a very good emulator
Stay tuned.
-
Shikazu got a reaction from Legend in [WIP] AthenaMT
A short update to this project.
No it's not dead and i made some progress. I've got a working login server now and before im making more progress on that topic, there is another project which i would like to push forward.
Will make a post later about it, it's neccessary for me to make it a very good emulator
Stay tuned.
-
Shikazu reacted to goddameit in BOT
File Name: BOT
File Submitter: goddameit
File Submitted: 10 Mar 2014
File Category: Source Modifications
Refer:
http://rathena.org/board/files/file/2551-autoattack/
http://rathena.org/board/files/file/2826-autopots/
Preview:
https://www.facebook.com/photo.php?v=774591642560012
https://www.facebook.com/fanen.goddameit/posts/774573372561839
https://www.facebook.com/fanen.goddameit/posts/773655365986973
Info:
This system will make player auto-attack when they active this SC.
Player can put some skill and item to their hotkeys for controlling something,
for example, if I put fly wing to my F1, and it will use it for teleporting.
Hotkeys:
F1 ---> Fly wing
F2 ---> Teleport (Skill)
F3 ~ F7 ---> buff skill for yourself
F8 ---> Main attacking skill
F9 ---> Second chosen skill
Line 2 1st ---> Item for HP (Lower 80%)
Line 2 2nd ---> Item for SP (Lower 80%)
http://i.imgur.com/v3rBXjc.jpg
Active:
sc_start4 SC_BOT,<Duration>,<Use Normal Attack>,0,0,0; Forced End:sc_end SC_BOT; Sample for ONOFF:@boton ---> start @botoff \ @botend ---> end http://pastebin.com/VEpkVF9i
PS:
If everything is right, but BOT still not working, check your SC_BOT definition in db/const.txt and status.h, both must be same value.
For New Version Hercules Users :
path->search is updated and it needs block_list now, so just add it by yourself.
http://herc.ws/board/topic/4821-bot/?p=67769
Update:
Click here to download this file -
Shikazu got a reaction from jaBote in [Script CMD]messagecolor
This script command is written to send color'ed messages to the player.
dispbottomcolor is only writing messages to the players chatlog, but messagecolor is writing it to the chatlog and the message appears above his character's head.
The source is available via github: https://github.com/shikazu/hpm-plugins/blob/master/src/plugins/
Usage:
messagecolor <player>,<message>,<color>;
Color is defined in db/const.txt and needs to be an integer.
The color is optional, so you can still send messages like you did with message .. Both scripts are working the same
~Shikazu
-
Shikazu got a reaction from Xgear in Shikazu's HPM Plugin Collection
Hey Guys,
here i will list all plugins i write for the Plugin Module of Hercules.
GitHub Repository: https://github.com/shikazu/hpm-plugins
Plugin List:
- [Atcommand] @afk -> http://herc.ws/board/topic/984-atcommandafk/
- [Atcommand] @mapmoblist -> https://github.com/shikazu/hpm-plugins/blob/master/src/plugins/mapmoblist.c
- [script Command] autonext -> http://herc.ws/board/topic/976-script-cmdautonext/
- [script Command] dispbottomcolor -> http://herc.ws/board/topic/974-script-cmddispbottomcolor/
- [script Command] messagecolor -> http://herc.ws/board/topic/978-script-cmdmessagecolor/
A description of this will be available in the specific topic's. Use this topic to post requests for plugins and i will decide if i can code them as plugin!
~Shikazu
-
Shikazu got a reaction from Xgear in [Script CMD]messagecolor
This script command is written to send color'ed messages to the player.
dispbottomcolor is only writing messages to the players chatlog, but messagecolor is writing it to the chatlog and the message appears above his character's head.
The source is available via github: https://github.com/shikazu/hpm-plugins/blob/master/src/plugins/
Usage:
messagecolor <player>,<message>,<color>;
Color is defined in db/const.txt and needs to be an integer.
The color is optional, so you can still send messages like you did with message .. Both scripts are working the same
~Shikazu
-
Shikazu got a reaction from Rebel in [Atcommand]afk
The plugin is working but has no timeout and you can sit wherever you want.
It is being reworked, when i have found out how to access the config's from a plugin.
Here it is: https://github.com/shikazu/hpm-plugins/blob/master/src/plugins/afk.c
just compile it, add it to your plugins.conf and type @afk ingame
A little screenshot how it looks ingame, since you can't see it (afk logs you out, but you are still sitting there )
~Shikazu
-
Shikazu got a reaction from jaBote in [Atcommand]afk
The plugin is working but has no timeout and you can sit wherever you want.
It is being reworked, when i have found out how to access the config's from a plugin.
Here it is: https://github.com/shikazu/hpm-plugins/blob/master/src/plugins/afk.c
just compile it, add it to your plugins.conf and type @afk ingame
A little screenshot how it looks ingame, since you can't see it (afk logs you out, but you are still sitting there )
~Shikazu
-
Shikazu got a reaction from jaBote in Shikazu's HPM Plugin Collection
Hey Guys,
here i will list all plugins i write for the Plugin Module of Hercules.
GitHub Repository: https://github.com/shikazu/hpm-plugins
Plugin List:
- [Atcommand] @afk -> http://herc.ws/board/topic/984-atcommandafk/
- [Atcommand] @mapmoblist -> https://github.com/shikazu/hpm-plugins/blob/master/src/plugins/mapmoblist.c
- [script Command] autonext -> http://herc.ws/board/topic/976-script-cmdautonext/
- [script Command] dispbottomcolor -> http://herc.ws/board/topic/974-script-cmddispbottomcolor/
- [script Command] messagecolor -> http://herc.ws/board/topic/978-script-cmdmessagecolor/
A description of this will be available in the specific topic's. Use this topic to post requests for plugins and i will decide if i can code them as plugin!
~Shikazu
-
Shikazu got a reaction from nanakiwurtz in [Script CMD]autonext
So here is the plugin which has been requested here.
Thank you for requesting it, i was just thinking about stuff i can implement
The problem with this is, that the "next" buttons are still in the bottom of the window of that npc and they are not going to disappear, because the next is made by the server and not by the user. Just like XKore from openkore ^^
Anyways, here is the script for anyone who wants to use it.
#include <stdio.h>#include <string.h>#include "../common/HPMi.h"#include "../map/script.h"#include "../map/pc.h"HPExport struct hplugin_info pinfo = { "autonext", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "1.0", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};BUILDIN(autonext) { TBL_PC* sd; int timeout; sd = script->rid2sd(st); if( sd == NULL ) return true;#ifdef SECURE_NPCTIMEOUT sd->npc_idle_type = NPCT_WAIT;#endif timeout=script_getnum(st,2); if(st->sleep.tick == 0) { st->state = RERUNLINE; st->sleep.tick = timeout; } else {// sleep time is over st->state = RUN; st->sleep.tick = 0; } clif->scriptnext(sd, st->oid); return true;}/* Server Startup */HPExport void plugin_init (void) { clif = GET_SYMBOL("clif"); script = GET_SYMBOL("script"); if( HPMi->addScript != NULL ) { HPMi->addScript("autonext","i",BUILDIN_A(autonext)); }}
The Script command is used like this:
autonext 1000; This means, the script is waiting for 1000 milliseconds and then it's using next!
If the user is pressing "next" on it's own, it is just ignored! Don't forget that!
If you encounter any bugs, just ping me!
~Shikazu
-
Shikazu got a reaction from nanakiwurtz in Auto 'Next'
Looking into that
Will be making a new thread if i can do it
EDIT://
I figured something out! I just checking everything and will create a thread in about an hour.
EDIT2://
Here is the link to the Plugin Thread! http://herc.ws/board/topic/976-script-cmdautonext/
-
Shikazu got a reaction from nanakiwurtz in @securiry
So if i get that right, you want a new atcommand called @security to block transfer of equipment if the account is hacked?
I think u don't need that at all..
1. A user has to be cautious about his account may be hacked to type in that command
2. You could easily use the pincode system from renewal, it works the same way, because if you have user + pw, you need an additional pin.. This atcommand wouldn't be so much different than that.
Hope i got that right, if not, explain it to me and i check if i can get something like that to work. But it's a huge edit, because it was never intended!