Christian [epicRO]

Members
  • Content count

    18
  • Joined

  • Last visited

About Christian [epicRO]

  • Rank
    Member
  • Birthday 04/25/86

Contact Methods

  • Website URL
    https://epicro.de

Profile Information

  • Gender
    Male
  • Location:
    Germany, Hamburg
  • Emulator:
    Hercules
  • Github
    epicrov4tech

Recent Profile Visitors

390 profile views
  1. plugin

    If you want to make Arrows and Bullets Auto-Equip after they have been restocked: if ([email protected]){ [email protected] = restkid; ++ if (getiteminfo([email protected], ITEMINFO_TYPE) == 10) autoequip([email protected], 1); restock_item([email protected],[email protected],[email protected]); if ([email protected] == 1) [email protected]$ = "Storage"; if ([email protected] == 2) [email protected]$ = "Guild Storage"; sleep2 500; if (countitem([email protected]) == 0) { announce "Trying to restock "[email protected]+"x "[email protected]+" from "[email protected]$+". Failed. Amount does not fit.",bc_self,0xFF8F01; } ++ if (getiteminfo([email protected], ITEMINFO_TYPE) == 10) autoequip([email protected], 0); restkid = 0; }
  2. plugin

    It will check if the last of selected item was consumed and do ::OnRestock NPC Event to restock the items to the selected amount. Works very well and without any ms of lag. Thanks to @Dastgir Fixed and corrected. Works fine on current branch. How to enable: Move "restock.c" to "src/plugins" and open "Makefile" with editor. add "restock" to line "MYPLUGINS = " Move "atcommand_restock.txt" to "npc/custom" and add "npc/custom/atcommand_restock.txt" to your "scripts_custom. conf" for autostart.Open file "conf/plugins.conf" and add " "restock", " to enable this plugin after you'll restart the map serve Do "make all" on console. To enable all changes. Enjoy @restock and @restock2 If you want to disable @restock on Castles/WoE just configure your atcommand_restock.txt and do a mapcheck on "OnRestock:" like getmapxy([email protected]$, [email protected], [email protected], UNITTYPE_PC); if (getmapflag([email protected]$, "mf_gvg_castle") == 1) { dispbottom "Atcommand disabled on this map."; end; } restock.c atcommand_restock.txt
  3. Welcome to a Ragnarok Server free of pay2win with the good old stable and balanced feeling of Pre-Renewal. We are running on NPCs who appears in Episode 13.2 with custom changes and security updates and fixes until today. We are glad to offer you a 24/7 stable server with high performance and a full ddos and injection protection. Location of the server is in EU / France. Gamemasters are german guys and girls with the will to improve our own english skills. We are online since 2008 (started on eA until 2012 with 2 wipes. Some hackers attacks and some big mistakes of the leading team. 2012 until 2016 no wipe. Since 10th of February we are running on Mid Rate Settings. A whole gameplay but with a lot of pay2win content. On April 2017 we've started our new Version called "epicRO Rebirth" without any single-player-pay2win-content. You can donate us and receive some cashpoints for the ingame cashshop. There you'll find some style-only equipments. No + stats, + boni, nothing. Just join us today and tell our Novice Manager Sylvie the following code: "HERCWS" You'll receive instant our starters pack and some good boni to start and make a whole overview about our server and its content. We are looking forward to see you ingame and become a part of the epicRO Community. Homepage: https://epicro.de/rebirth/index.php?hercws=1 Ratemyserver: http://ratemyserver.net/index.php?page=detailedlistserver&preview=1&serid=20043&url_sname=epicRO New Midrate Used herc.ws content: - plugin "whosell" (to make you search the vending stores) - plugin "fixedaspd" (for custom events [belongs to fairness]) - plugin "noitem" (for custom events like Novice PvP) - plugin "hBG" (for a great feeling in Battleground with Consumable Items, active 2-chars-check) - plugin "VisibleMonstersHP" (to see every monsters HP if its in range) - plugin "costumeitem" for Cashshop Items and Costume Creator NPC - plugin "auraset" for Cashshop and WoE / Event Rewards - plugin "mobs" to see what mobs are on the entire map - plugin "movespeed (for custom events [belongs to fairness]) - plugin "market" to leave a market clone of your char back to make advertisements - plugin "arealoot" to make you pick up 4x4 cells items on the ground (no autoloot) - own plugin "rodex-bank-npc" to prevent players from using rodex and bank while acting Usable commands for players @auraset @autoloot @alootid Disable, enable and changes aura of you. Pickup all items after mob death Pickup just selected Item IDs as autoloot does @autotrade Your vending merchant will stay logged and the client is closing @arealoot Picking up items on 4x4 cell (auto-enabled), disable with @settings @autoloot Only @autoloot 1 (auto enabled) (disable with @settings) @buy Opens the Tool Dealer with 100% price rise @cashshop Opens the cashshop (no pay 2 win content) @changegm {charname} Changes the guild leader of your guild @commands Shows you all useable @commands @eventinfo Shows you autostart event informations @exp Shows you your current exp points @findgm @go Part of our 'Find Gamemaster Event' Warps you directly to a town @guildstoragepw Change, setup and display guild storage password @help Shows you the global server help @hominfo Opens detailed information about your homunculus @homstats Shows you the current stats of your homunculus @iteminfo {item_id | item_name} Shows you global information about an item @jailtime Shows you the left jail-time of your character @market "title" "info text" Leaves a clone with chat window. You can play after clone appears. @marketkill Kills the market clone. (Same effect as relog) @mobinfo {mob_id | mob_name} Shows you global information about a mob @mobs Displays current mobs / mvps of the map @rates Displays the current rates in your chat @refresh @repair Synchronises your client with the server Repairs all broken equipments for 10.000 zeny @request @sell Opens the request system (currently unavailable) Opens a selling window to your client @settings Toggles epicRO specific settings @shoexp Shows you your received experience points @showdelay Activates skill-fail-messages of delayed skills @showzeny Shows your received zeny in your chat @time Displays the current server time (Germany/Berlin) @uptime Shows you the uptime of the system @whereis {mob_id | mob_name} Display spawn locations of mobs @whodrops Shows you the mob that drops the item you've looked for @whosell Let you serch for items in the vending shops and shows your the location Server Settings Global / Floating Rates: 30x ~ 50x Base | 30x ~ 50x Job | 30x Quest | 30x Item | 30x Card Base and job exp are based on total votes. Boss Rates: 30x Base | 30x Job | 30x Item | 1x Card MVP Extra Drop Rate: 1x Item | 1x Card AddDrop Rate: 1x (Normal State) Unique Item ID's: activated Episode: 13.2 Pre Renewal Serversoftware: Hercules (Current Git) Client Version: 2015-05-13aRagexe Language settings NPC and client in english Protection Gepard Protection (no 0delay, no Bots, no changes at the client, Unique ID transfer) Mobcount: 100% Monster Respawn: Normal Monster Hitlock: Normal Party Share: up to 15 level difference Max. Party Member: 24 Member Death Penality: 1% of the reached base exp Max ASPD 190 Vending-Tax: 2% @autotrade Savetime: Even after server-restart vending chars will stand logged in Max Zeny 2.147.483.647 Restart and Backup: Keep in mind the news and changelogs in our board. Timeline: 2017-03-04 - 06'15 pm: Start of alpha. Serversettings rated with community 2017-03-11 - 07'19 pm: Server-Wipe and start of the beta phase 2017-03-25 - 08'00 am: 2018-02-10 - 08:00 am: Beta end on 25th of march '17. No more wipe needed. Changed server settings from Low Rate to Mid Rate WoE 1.0 active. Times: UTC +1 Wednesday and Sunday - 8 p.m. - 9 p.m. WoE SE planned.
  4. Dear Dastgir, I am using Version "1.5" of your plugin but for normal players the aura doesn't take effect as it should. With GM (not Admin in clifinfo.xml) as Arc Bishop: "@aura 586 0 0" Standard Aura is invisible, Lighthalzen Aura appears With Non-GM: "@aura 586 0 0" Standard Aura does'nt disappear, Lighthalzen Aura appears Using NPC to check the Variables: GM and Non-GM: USERAURA1 = 586 USERAURA2 = 0 USERAURA3 = 0 Edit: It does not depends on GM or Non-GM it depends on Job-Class. With my GM I was Arc Bishop. Also I've tried to edit client.conf and do @reloadbattleconf without any effect. max_lv: 99 aura_lv: 150 Could you help me please? Thank you. Should I have to hex the client to disable LVL 99 Aura?
  5. Dear Dastgir, I am using Version "1.5" of your plugin but for normal players the aura doesn't take effect as it should. With GM (not Admin in clifinfo.xml): "@aura 586 0 0" Standard Aura is invisible, Lighthalzen Aura appears With Non-GM: "@aura 586 0 0" Standard Aura does'nt disappear, Lighthalzen Aura appears Using NPC to check the Variables: GM and Non-GM: USERAURA1 = 586 USERAURA2 = 0 USERAURA3 = 0 Edit: It does not depends on GM or Non-GM it depends on Job-Class. With my GM I was Arc Bishop. Also I've tried to edit client.conf and do @reloadbattleconf without any effect. max_lv: 99 aura_lv: 150 Could you help me please? Thank you.
  6. Thank you for the possibility to post here. We've got 3 registred accounts of your community since posted the topic.
  7. Welcome to a Ragnarok Server free of pay2win with the good old stable and balanced feeling of Pre-Renewal. We are running on NPCs who appears in Episode 13.2 with custom changes and security updates and fixes until today. We are glad to offer you a 24/7 stable server with high performance and a full ddos and injection protection. Location of the server is in EU / France. Gamemasters are german guys and girls with the will to improve our own english skills. We are online since 2008 (started on eA until 2012 with 2 wipes. Some hackers attacks and some big mistakes of the leading team. 2012 until 2016 no wipe. A whole gameplay but with a lot of pay2win content. On April 2017 we've started our new Version called "epicRO Rebirth" without any single-player-pay2win-content. You can donate us and receive some cashpoints for the ingame cashshop. There you'll find some style-only equipments. No + stats, + boni, nothing. Just join us today and tell our Novice Manager Sylvie the following code: "HERCWS" You'll receive instant our starters pack and some good boni to start and make a whole overview about our server and its content. We are looking forward to see you ingame and become a part of the epicRO Community. Homepage: https://epicro.de/rebirth/index.php?hercws=1 Ratemyserver: http://ratemyserver.net/index.php?page=detailedlistserver&serid=19879 Used herc.ws content: - plugin "whosell" (to make you search the vending stores) - plugin "fixedaspd" (for custom events [belongs to fairness]) - plugin "noitem" (for custom events like Novice PvP) - plugin "hBG" (for a great feeling in Battleground with Consumable Items, active 2-chars-check) - plugin "VisibleMonstersHP" (to see every monsters HP if its in range) - plugin "costumeitem" for Cashshop Items and Costume Creator NPC - plugin "auraset" for Cashshop and WoE / Event Rewards - plugin "mobs" to see what mobs are on the entire map - plugin "movespeed (for custom events [belongs to fairness]) - plugin "market" to leave a market clone of your char back to make advertisements - plugin "arealoot" to make you pick up 4x4 cells items on the ground (no autoloot) - own plugin "rodex-bank-npc" to prevent players from using rodex and bank while acting Usable commands for players @auraset Disable, enable and changes aura of you. @autotrade Your vending merchant will stay logged and the client is closing @arealoot Picking up items on 4x4 cell (auto-enabled), disable with @settings @autoloot Only @autoloot 1 (auto enabled) (disable with @settings) @buy Opens the Tool Dealer with 100% price rise @cashshop Opens the cashshop (no pay 2 win content) @changegm {charname} Changes the guild leader of your guild @commands Shows you all useable @commands @eventinfo Shows you autostart event informations @exp Shows you your current exp points @findgm Part of our 'Find Gamemaster Event' @guildstoragepw Change, setup and display guild storage password @help Shows you the global server help @hominfo Opens detailed information about your homunculus @homstats Shows you the current stats of your homunculus @iteminfo {item_id | item_name} Shows you global information about an item @jailtime Shows you the left jail-time of your character @market "title" "info text" Leaves a clone with chat window. You can play after clone appears. @marketkill Kills the market clone. (Same effect as relog) @mobinfo {mob_id | mob_name} Shows you global information about a mob @mobs Displays current mobs / mvps of the map @rates Displays the current rates in your chat @refresh Synchronises your client with the server @request Opens the request system (currently unavailable) @settings Toggles epicRO specific settings @shoexp Shows you your received experience points @showdelay Activates skill-fail-messages of delayed skills @showzeny Shows your received zeny in your chat @time Displays the current server time (Germany/Berlin) @uptime Shows you the uptime of the system @whereis {mob_id | mob_name} Display spawn locations of mobs @whodrops Shows you the mob that drops the item you've looked for @whosell Let you serch for items in the vending shops and shows your the location Server Settings Global / Floating Rates: 3x ~ 5x Base | 3x ~ 5x Job | 3x Quest | 3x Item | 3x Card Base and job exp are based on total votes. Boss Rates: 3x Base | 3x Job | 3x Item | 1x Card MVP Extra Drop Rate: 1x Item | 1x Card AddDrop Rate: 1x (Normal State) Unique Item ID's: activated Episode: 13.2 Pre Renewal Serversoftware: Hercules (Current Git) Client Version: 2015-05-13aRagexe Language settings NPC and client in english Protection Gepard Protection (no 0delay, no Bots, no changes at the client, Unique ID transfer) Mobcount: 100% Monster Respawn: Normal Monster Hitlock: Normal Party Share: up to 15 level difference Max. Party Member: 24 Member Death Penality: 1% of the reached base exp Max ASPD 190 Vending-Tax: 2% @autotrade Savetime: Even after server-restart vending chars will stand logged in Max Zeny 2.147.483.647 Restart and Backup: Keep in mind the news and changelogs in our board. Timeline: 2017-03-04 - 06'15 pm: Start of alpha. Serversettings rated with community 2017-03-11 - 07'19 pm: Server-Wipe and start of the beta phase 2017-03-25 - 08'00 am: Beta end on 25th of march '17. No more wipe needed. WoE 1.0 active. Times: UTC +1 Wednesday and Sunday - 8 p.m. - 9 p.m.
  8. Works well. Thank you very much. Now the penny has droped. //===== Hercules Plugin ====================================== //= rodex-bank-npc //===== By: ================================================== //= Christian / epicRO //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= Hercules 2016-12-18 //===== Description: ========================================= //= disables usage of rodex and bank deposit while npc dialog //===== Additional Comments: ================================= //= spcial thanks to 4114/herc.ws for your time and info //============================================================ #include "common/hercules.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include "common/utils.h" #include "common/memmgr.h" #include "common/strlib.h" #include "map/clif.h" #include "map/pc.h" #include "plugins/HPMHooking.h" #include "common/HPMDataCheck.h" HPExport struct hplugin_info pinfo = { "rodex-bank-npc", // 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) }; void clif_DisableActing_pre(int *fdPtr, struct map_session_data **sdPtr){ int fd = *fdPtr; struct map_session_data *sd = *sdPtr; if ((pc_cant_act2(sd)) || (sd->state.vending) || (sd->npc_id) || (pc_istrading(sd)) || (sd->chat_id != 0)) { clif->messagecolor_self(fd, 0xFF0000, "This action is disabled while acting."); ShowError("[Plugin %s] : player %s tried to send mail/zeny while acting.\n", pinfo.name,sd->status.name); hookStop(); return; } } HPExport void plugin_init(void) { addHookPre(clif, pBankDeposit, clif_DisableActing_pre); addHookPre(clif, pRodexSendMail, clif_DisableActing_pre); } HPExport void server_online(void) { ShowInfo("'%s' Plugin by Christian/epicRO. Version '%s'\n", pinfo.name, pinfo.version); }
  9. At first: Thank you for your time. Time is the most good we humans have and is non-reproducable. I tried out with my own "rodex-bank-npc.c" in src/plugins/ and edited the Makefile.in as well. After "make plugins" in console I am getting the following errors: CC rodex-bank-npc.c In file included from rodex-bank-npc.c:30:0: ../plugins/HPMHooking.h:49:3: error: expected declaration specifiers or ‘...’ before ‘(’ token (void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \ ^ rodex-bank-npc.c:57:2: note: in expansion of macro ‘addHookPre’ addHookPre(clif, clif_parse_BankDeposit, clif_parse_BankDeposit_pre); ^ ../plugins/HPMHooking.h:50:3: error: expected declaration specifiers or ‘...’ before ‘HPMi’ HPMi->hooking->AddHook(HOOK_TYPE_PRE, #ifname "->" #funcname, (hook), HPMi->pid) \ ^ rodex-bank-npc.c:57:2: note: in expansion of macro ‘addHookPre’ addHookPre(clif, clif_parse_BankDeposit, clif_parse_BankDeposit_pre); ^ rodex-bank-npc.c:58:1: error: expected identifier or ‘(’ before ‘}’ token } ^ Makefile:105: recipe for target '../../plugins/rodex-bank-npc.so' failed This is my file: //===== Hercules Plugin ====================================== //= rodex-bank-npc //===== By: ================================================== //= Christian / epicRO //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= Hercules 2016-12-18 //===== Description: ========================================= //= disables usage of rodex and bank deposit while npc dialog //===== Additional Comments: ================================= //= spcial thanks to 4114/herc.ws for your time and info //============================================================ #include "common/hercules.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include "common/utils.h" #include "common/memmgr.h" #include "common/strlib.h" #include "map/clif.h" #include "map/pc.h" #include "plugins/HPMHooking.h" #include "common/HPMDataCheck.h" HPExport struct hplugin_info pinfo = { "rodex-bank-npc", // 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) }; void clif_parse_BankDeposit_pre(int *fdPtr, struct map_session_data **sdPtr){ int fd = *fdPtr; struct map_session_data *sd = *sdPtr; if ((pc_cant_act2(sd)) || (sd->state.vending) || (sd->npc_id) || (pc_istrading(sd)) || (sd->chat_id != 0)) { clif->messagecolor_self(fd, 0xFF0000, "You are not able to deposit while acting."); hookStop(); return; } } HPExport void plugin_init(void) addHookPre(clif, clif_parse_BankDeposit, clif_parse_BankDeposit_pre); } HPExport void server_online(void) { ShowInfo("'%s' Plugin by Christian/epicRO. Version '%s'\n", pinfo.name, pinfo.version); }
  10. Hey cebols, just use a simple for-loop to create your menu. L_CUSTOMHELMS: set [email protected], 2001; set [email protected], 2100; set [email protected], [email protected] - [email protected]; set [email protected]_menu$, ""; for ( set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected] +1 ) { set [email protected], [email protected] + 1; set [email protected]_menu$, [email protected]_menu$+" Helm ["[email protected]+"]:"; } set .selected, select([email protected]_menu$) -1; set CUST_LOOK_HEAD_TOP, getlook(LOOK_HEAD_TOP); set [email protected], [email protected] + .selected - 1; mes "You've selected Helm "+.selected+". You can see the style the next 5 seconds."; close2; set CUST_PREVIEWVIEW, 1; setlook(LOOK_HEAD_TOP, [email protected]); sleep2 5000; setlook(LOOK_HEAD_TOP, CUST_LOOK_HEAD_TOP); set CUST_PREVIEWVIEW, 0; end; // To prevent Logout to bypass the "preview" OnPCLoginEvent: if (CUST_PREVIEWVIEW == 1) { setlook(LOOK_HEAD_TOP, CUST_LOOK_HEAD_TOP); set CUST_PREVIEWVIEW, 0; } end;
  11. @plugin Am I right that I have to copy the whole functions to add them into a plugin and tell the plugin.c that the server should ignore the standard function if - what kind of conditions - ? Is there some better guide for plugins instead of this one? http://herc.ws/wiki/Hercules_Plugin_Manager @bugtracker Issue will be placed in some minutes.
  12. Yup. Worked well. RoDex send the item. It's the problem. You can send while you are in npc dialog. For some reasons the herc Puchuchartan is not written well. So within the npc is missing a check. Generally special on this npc its a scripting mistake. Because delitem is after getitem. This is why the server always displayed "Could not delete item xy from char xy."
  13. Used your updated plugin. After I was trying to use findmob([email protected]$,[email protected]); the server decided to crash. Any idea why the server told me "Access error. Received Crash signal" ? Never the less, thank you for sharing Jeroen.
  14. Your welcome. Instead of #die you could also use a cleaner way: unitskilluseid .accountid,"NV_TRICKDEAD",1; But caution, if you decide to use TRICKDEAD instead, you've to save all players on start into an array and do something like this on event finish. for ([email protected] = 0; .i < getarraysize([email protected]); [email protected]) { unitskilluseid [email protected],"NV_TRICKDEAD",1; } My players does love this mini event. I am acting as a gamemaster with the players as well. So they like to see me dying o.O
  15. R> Hardcode Changes > Plugin (No RoDex / Bank while Acting) Dear Herc.ws Com, I'd like to ask you for a plugin. I don't understand how to convert my Hardcode Source-Changes into a simple plugin. src/map/clif.c (void clif_parse_BankDeposit) const struct packet_banking_deposit_req *p = RP2PTR(fd); int money; + if ((pc_cant_act2(sd)) || (sd->state.vending) || (sd->npc_id) || (pc_istrading(sd)) || (sd->chat_id != 0)) { + clif->messagecolor_self(fd, 0xFF0000, "You are not able to deposit while acting."); + return; + } src/map/rodex.c (int rodex_send_mail) nullpo_retr(RODEX_SEND_MAIL_FATAL_ERROR, body); nullpo_retr(RODEX_SEND_MAIL_FATAL_ERROR, title); + if ((pc_cant_act2(sd)) || (sd->state.vending) || (sd->npc_id) || (pc_istrading(sd)) || (sd->chat_id != 0)) { + rodex->clean(sd, 1); + return RODEX_SEND_MAIL_ITEM_ERROR; + } if (zeny < 0) { rodex->clean(sd, 1); I think the title explains everthing. This simple Source Change disables using of Client Side RoDex and Bank while NPC Dialog to prevent Item Dupe like in Puchuchartan (divide pure enchanted stones -> Send RoDex after you've accepted the deal with an input of 1~9. My first move was to add a countitem() check on every case (it works) but you never mind that this might be the last known bug / exploit. So I've decided to disable RoDex and Bank while the Player is acting. It would be nice if one of you could merge this source edit into a simple plugin. Thank you very much.