-
Content Count
596 -
Joined
-
Last visited
-
Days Won
24
Posts posted by Kuya Jeo
-
-
1 minute ago, Hadeszeus said:Enable the HPMHooking plugin
NOTE : HPMHooking.c is already in src/plugin folder, just enable it in makefile
edit makefile.ini and makefile in trunk/src/plugin
enable it too in conf/plugin.conf
recompile your server
-
4 minutes ago, Hadeszeus said:Hello, I'm running on the same issue but different plugin (marketclone). at first I tried using make plugin.marketclone but it won't let me run it. So I decided to use make plugins and
I also added the plugin in conf/plugins.conf
run make clean > make plugins > make sql
no error at all but when I start the server I got this same issue.Thanks for your reply.
did you put your plugin file in the src/plugins folder?
to make it easier to compile just command
make clean && make all
-
9 minutes ago, theraider said:everytime i talk to npc everything freezes, typing @commands also causes it to freeze. closed connection. i might have done something i just cant recall, im new to this.
need help! thank you in advance
Client version? Please indicate too the exact error, thank you, also check if you are using packet_obfuscation or using new/old clients that isn't support by hercules
-
4 hours ago, Hadeszeus said:Were you able to fix this? I'm having the same issue
trunk/src/common/mmo.h
#define MAX_LEVEL 175
change into
#define MAX_LEVEL 255
Next is trunk/conf/map/battle/player.conf
this will make 255 stats
// Max limit of char stats. (AGI, STR, etc.) max_parameter: 99
change into
// Max limit of char stats. (AGI, STR, etc.) max_parameter: 255
Next is trunk/conf/map/battle/client.conf
max_lv: 99
change it to (same with the aura_lv if you want 255 player have a blue aura)
max_lv: 255
next step is trunk/db/pre-re/job_db.conf
you can use this one, not yet tested but give it a try
Link : https://pastebin.com/QaB3Y3Tv
Done forget to recompile your server after..
-
-
13 minutes ago, Hadeszeus said:Hello, anyone here that can help me setup client side and check my server side setup?
I can definitely learn it by myself since I was able to have my own server around 2013-14.
I just can't afford to waste more time to remember or learn it all again.
I definitely have an idea with everything I just forgot exactly what to do.So right now I was able to successfully set up the server-side on Linux Debian 9. But no luck on client-side setup. So if anyone willing to help me I can pay $10 per hour.
PM ME here or in my FB Page
-
39 minutes ago, Lergen said:Thanks for your help, guys! I got it working, but there's a minor issue - both the player's head, and weapon sprites still appear. Is it possible to hide them? I'm assuming scripts are likely the only practical way but I'm unfamiliar with how they work in Hercules, or if such a thing is actually possible.
Make an invisible/blank spr, actually its a little bit time consuming because you need to replace them all
-
3 hours ago, Lergen said:Pardon if this is the wrong section, it's a bit of a broad question.
Is it possible to completely replace a job sprite with something else? For example, if I wanted to replace the novice so instead it's a poring or an NPC, how would you go about it? I've seen a few threads on replacing the outfits of jobs, but nothing about whether or not you can actually completely replace the job's sprite with something else. If anybody has any suggestions or an idea of where to start with something like this, or if it's even actually possible, it'd be greatly appreciated.
1. Copy the monster.spr and monster.act you want.
2. Rename the monster.spr and monster.act that same with the job that you want to replace
3. replace the original spr and act file of the job you want to replace
-
On 2/25/2021 at 12:23 AM, MikZ said:Good day!
May I request a script example @flooritem with only 20x limit usage gm command per day? thank you!Actually i can help you but im quite busy right now developing a server, you can pm me here or in my FB Page if you need help.
-
43 minutes ago, Lergen said:Hi there,
I've recently gotten into playing around with Hercules, and while I've had no issue setting things up for the most part, I'm having a very persistent issue with the translations. Even though everything else is fine, a select few buttons just refuse to show their proper translations. For example:
Any ideas how to fix this? Stuff like items, dialogue, all translated fine. It's just mostly menu buttons like the above that don't work. I've tried varying settings both in packing them into grf's and just putting them in the data folder, changing the data folder read order, etc to no avail. Not sure what I'm missing. If anybody has any ideas I'd greatly appreciate the help.
Did you try to update your grf files?
https://github.com/zackdreaver/ROenglishRE
I used this one, i didnt encounter any problem using 2019 client -
2 hours ago, aabarreto said:What should I do?
: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189)
: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189)
: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189) [SQL]: DB error - Table 'ragnarok.pnp_gstorage' doesn't exist [Debug]: at C:\Users\Barreto\Desktop\Ragnarok\Hercules Updated\Hercules\src\map\script.c:19210 - SELECT `Guild_ID` , `Password` , `Question` , `Answer` FROM `pnp_gstorage` WHERE `Guild_ID`= '1' [Debug]: Source (NPC): Guild Manager at prontera (147,189)
Please upload the SQL in your database
-
5 minutes ago, Timokha said:Thanks a lot, I highly appreciate your assistance.
May the Gods bless you!!
I've made it works.
If someone needs, below share complete script for bulk sell.
It ignores:
x Items with 0z cost (eg. customs items)
x Refined items
x Equiped items
Works only for:
x Junk (ETC)
x Weapon / Armor / Pet armor
SOLVED.
nss_dojo,211,222,4 script TestNPC 4_M_MAYOR,{ getinventorylist; set .@overcharge_lv, getskilllv( "MC_OVERCHARGE" ); if( .@overcharge_lv ) set .@overcharge_rate, 105 + ( 2 * .@overcharge_lv ) - ( ( .@overcharge_lv >= 10 )? 1:0 ); while( .@i < @inventorylist_count ){ if( !@inventorylist_equip[.@i] && getiteminfo( @inventorylist_id[.@i], ITEMINFO_SELLPRICE ) != 0 && !@inventorylist_refine[.@i] != 0 && (getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ETC || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ARMOR || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_PETARMOR || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_WEAPON )) { set .@item_sell_price, getiteminfo( @inventorylist_id[.@i],1 ); if( .@overcharge_lv ) set .@item_sell_price, ( ( .@item_sell_price * .@overcharge_rate ) / 100 ); mes " > "+@inventorylist_amount[.@i]+ "x " +getitemname( @inventorylist_id[.@i] )+" : "+.@item_sell_price+"z"; .@cost += .@item_sell_price * @inventorylist_amount[.@i]; } .@i++; } if( .@cost ){ if( select( "Cost for all the Items - "+.@cost+" zeny?","Cancel" ) == 1 ){ .@i = 0; while( .@i < @inventorylist_count ){ if( !@inventorylist_equip[.@i] && getiteminfo( @inventorylist_id[.@i], ITEMINFO_SELLPRICE ) != 0 && !@inventorylist_refine[.@i] != 0 && (getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ETC || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ARMOR || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_PETARMOR || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_WEAPON )) delitem @inventorylist_id[.@i],@inventorylist_amount[.@i]; .@i++; } specialeffect(367, AREA, playerattached()); specialeffect(10, AREA, playerattached()); Zeny += .@cost; mes "You received a total cost of "+.@cost+" zeny."; } } else{ mes "You don't have any items to sell."; } close; }
nss_dojo,211,222,4 script TestNPC 4_M_MAYOR,{ getinventorylist; set .@overcharge_lv, getskilllv( "MC_OVERCHARGE" ); if( .@overcharge_lv ) set .@overcharge_rate, 105 + ( 2 * .@overcharge_lv ) - ( ( .@overcharge_lv >= 10 )? 1:0 ); while( .@i < @inventorylist_count ){ if( !@inventorylist_equip[.@i] && getiteminfo( @inventorylist_id[.@i], ITEMINFO_SELLPRICE ) != 0 && !@inventorylist_refine[.@i] != 0 && (getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ETC || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ARMOR || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_PETARMOR || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_WEAPON )) { set .@item_sell_price, getiteminfo( @inventorylist_id[.@i],1 ); if( .@overcharge_lv ) set .@item_sell_price, ( ( .@item_sell_price * .@overcharge_rate ) / 100 ); mes " > "+@inventorylist_amount[.@i]+ "x " +getitemname( @inventorylist_id[.@i] )+" : "+.@item_sell_price+"z"; .@cost += .@item_sell_price * @inventorylist_amount[.@i]; } .@i++; } if( .@cost ){ if( select( "Cost for all the Items - "+.@cost+" zeny?","Cancel" ) == 1 ){ .@i = 0; while( .@i < @inventorylist_count ){ if( !@inventorylist_equip[.@i] && getiteminfo( @inventorylist_id[.@i], ITEMINFO_SELLPRICE ) != 0 && !@inventorylist_refine[.@i] != 0 && (getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ETC || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ARMOR || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_PETARMOR || getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_WEAPON )) delitem @inventorylist_id[.@i],@inventorylist_amount[.@i]; .@i++; } specialeffect(367, AREA, playerattached()); specialeffect(10, AREA, playerattached()); Zeny += .@cost; mes "You received a total cost of "+.@cost+" zeny."; } } else{ mes "You don't have any items to sell."; } close; }
Thank you, im glad that I help you alot
-
6 hours ago, Timokha said:Thank you.
It works well, but it sells all items including cards and items, that should not (can't) be sold.
That's why I use //ITEMINFO_TYPE ) == IT_WEAPON/ARMOR/ETC// in my script.
I'm looking for a script, which will sell all items, expect for cards, usable, healing items, and some IDs from my list.
Try to put another condition in this part
if( !@inventorylist_equip[.@i] ){
something like this.
if( !@inventorylist_equip[.@i] && getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ETC){
i really dont test it. maybe just give it a try.
-
9 hours ago, Timokha said:Hello All,
Could you please help me.
I'd like to make below script scans and ignores all equiped items on the characters.
Now it deletes all items, including equiped.
I also want to include function to ignore specific item IDs.
Might be someone can help me with below or have alternative script with bulk selling, working with Hercules?
Thanks in advace,
nss_dojo,209,222,4 script Bulk_sell 1_M_MERCHANT,{ disable_items; getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { if ( getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ETC ) { .@id[.@c] = @inventorylist_id[.@i]; .@amount[.@c] = @inventorylist_amount[.@i]; .@zeny_total += getiteminfo( .@id[.@c], ITEMINFO_SELLPRICE ) * .@amount[.@c] *(100 + .Overcharge[ getskilllv(MC_OVERCHARGE)] )/100; ++.@c; } } for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { // if ( getiteminfo( !@inventorylist_equip[.@i], ITEMINFO_TYPE ) == IT_WEAPON ) { // if ( getiteminfo( !@inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_WEAPON ) { if( !@inventorylist_equip[.@i] && getiteminfo ( !@inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_WEAPON ){ .@id[.@c] = @inventorylist_id[.@i]; .@amount[.@c] = @inventorylist_amount[.@i]; .@zeny_total += getiteminfo( .@id[.@c], ITEMINFO_SELLPRICE ) * .@amount[.@c] *(100 + .Overcharge[ getskilllv(MC_OVERCHARGE)] )/100; ++.@c; } } for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { if ( getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_PETARMOR ) { .@id[.@c] = @inventorylist_id[.@i]; .@amount[.@c] = @inventorylist_amount[.@i]; .@zeny_total += getiteminfo( .@id[.@c], ITEMINFO_SELLPRICE ) * .@amount[.@c] *(100 + .Overcharge[ getskilllv(MC_OVERCHARGE)] )/100; ++.@c; } } for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { if ( getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ARMOR ) { .@id[.@c] = @inventorylist_id[.@i]; .@amount[.@c] = @inventorylist_amount[.@i]; .@zeny_total += getiteminfo( .@id[.@c], ITEMINFO_SELLPRICE ) * .@amount[.@c] *(100 + .Overcharge[ getskilllv(MC_OVERCHARGE)] )/100; ++.@c; } } if ( !.@c ) { mes "nothing to sell"; close; } mes "are you sure to sell :"; for ( .@i = 0; .@i < .@c; ++.@i ) mes .@amount[.@i] +"x "+ getitemname(.@id[.@i]); mes "в сумме за "+ F_InsertComma(.@zeny_total) +" Зени ?"; next; if ( select( "Yes", "No" ) == 2 ) close; if ( Zeny + .@zeny_total > MAX_ZENY ) { mes "you cannot carry much more zeny."; close; } for ( .@i = 0; .@i < .@c; ++.@i ) delitem .@id[.@i], .@amount[.@i]; specialeffect(367, AREA, playerattached()); specialeffect(10, AREA, playerattached()); mes "All items have been sold for "+ F_InsertComma(.@zeny_total) +" z"; Zeny += .@zeny_total; close; OnInit: setarray .Overcharge[0], 0, 7,9,11,13,15,17,19,21,23,24; end; }
nss_dojo,209,222,4 script Bulk_sell 1_M_MERCHANT,{ disable_items; getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { if ( getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ETC ) { .@id[.@c] = @inventorylist_id[.@i]; .@amount[.@c] = @inventorylist_amount[.@i]; .@zeny_total += getiteminfo( .@id[.@c], ITEMINFO_SELLPRICE ) * .@amount[.@c] *(100 + .Overcharge[ getskilllv(MC_OVERCHARGE)] )/100; ++.@c; } } for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { // if ( getiteminfo( !@inventorylist_equip[.@i], ITEMINFO_TYPE ) == IT_WEAPON ) { // if ( getiteminfo( !@inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_WEAPON ) { if( !@inventorylist_equip[.@i] && getiteminfo ( !@inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_WEAPON ){ .@id[.@c] = @inventorylist_id[.@i]; .@amount[.@c] = @inventorylist_amount[.@i]; .@zeny_total += getiteminfo( .@id[.@c], ITEMINFO_SELLPRICE ) * .@amount[.@c] *(100 + .Overcharge[ getskilllv(MC_OVERCHARGE)] )/100; ++.@c; } } for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { if ( getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_PETARMOR ) { .@id[.@c] = @inventorylist_id[.@i]; .@amount[.@c] = @inventorylist_amount[.@i]; .@zeny_total += getiteminfo( .@id[.@c], ITEMINFO_SELLPRICE ) * .@amount[.@c] *(100 + .Overcharge[ getskilllv(MC_OVERCHARGE)] )/100; ++.@c; } } for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { if ( getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ) == IT_ARMOR ) { .@id[.@c] = @inventorylist_id[.@i]; .@amount[.@c] = @inventorylist_amount[.@i]; .@zeny_total += getiteminfo( .@id[.@c], ITEMINFO_SELLPRICE ) * .@amount[.@c] *(100 + .Overcharge[ getskilllv(MC_OVERCHARGE)] )/100; ++.@c; } } if ( !.@c ) { mes "nothing to sell"; close; } mes "are you sure to sell :"; for ( .@i = 0; .@i < .@c; ++.@i ) mes .@amount[.@i] +"x "+ getitemname(.@id[.@i]); mes "в сумме за "+ F_InsertComma(.@zeny_total) +" Зени ?"; next; if ( select( "Yes", "No" ) == 2 ) close; if ( Zeny + .@zeny_total > MAX_ZENY ) { mes "you cannot carry much more zeny."; close; } for ( .@i = 0; .@i < .@c; ++.@i ) delitem .@id[.@i], .@amount[.@i]; specialeffect(367, AREA, playerattached()); specialeffect(10, AREA, playerattached()); mes "All items have been sold for "+ F_InsertComma(.@zeny_total) +" z"; Zeny += .@zeny_total; close; OnInit: setarray .Overcharge[0], 0, 7,9,11,13,15,17,19,21,23,24; end; }
Try this one, didnt test it yet.
mapname,100,100,4 script TestNPC 4_M_MAYOR,{ getinventorylist; set .@overcharge_lv, getskilllv( "MC_OVERCHARGE" ); if( .@overcharge_lv ) set .@overcharge_rate, 105 + ( 2 * .@overcharge_lv ) - ( ( .@overcharge_lv >= 10 )? 1:0 ); while( .@i < @inventorylist_count ){ if( !@inventorylist_equip[.@i] ){ set .@item_sell_price, getiteminfo( @inventorylist_id[.@i],1 ); if( .@overcharge_lv ) set .@item_sell_price, ( ( .@item_sell_price * .@overcharge_rate ) / 100 ); mes " > "+@inventorylist_amount[.@i]+ "x " +getitemname( @inventorylist_id[.@i] )+" : "+.@item_sell_price+"z"; .@cost += .@item_sell_price * @inventorylist_amount[.@i]; } .@i++; } if( .@cost ){ if( select( "Cost for all the Items - "+.@cost+" zeny?","Cancel" ) == 1 ){ .@i = 0; while( .@i < @inventorylist_count ){ if( !@inventorylist_equip[.@i] ) delitem @inventorylist_id[.@i],@inventorylist_amount[.@i]; .@i++; } Zeny += .@cost; mes "You received a total cost of "+.@cost+" zeny."; } } else{ mes "You don't have any items to sell."; } close; }
-
7 hours ago, lowkey said:But we can use the sprites yes? Like idle, sitting, mounts, attacking sprites?
Yes you can if you have the sprites
-
On 2/18/2021 at 9:05 PM, Jacktuloco said:I would like to know if there is a way to update it and keep the settings in the src
If you know all the things you changed in your src, i can help you..
-
12 minutes ago, botka4aet said:Monsters create at start server? Not at map activation?
Better remove normal spawn and do it with script.
Also use search -
the problem using monster "<mapname>",<X>,<Y>,"<MobName>",<Mob Sprite>,<Mob Amount>,"<NPCNAME>::<OnLabel>"; is when you used convex mirror, you cant find it or convex is not responding on the mob without boss_monster label
-
Just now, xJhay said:Asking for help about MVP Respawn on server restart, does anyone knows how to disable all MVP & BOSS monsters respawning on restart?
I'm posting it here cause I don't know if it's source code or script based only or config.
Please help, thank you in advance!
Its possible for script by killing all the mobs in the map something like killallmonsterall "prontera"; but you need to put it all in the MVP Maps.
Sample : this will kill all mobs after restart and reloadscript
- script MVPKILLRESTART FAKE_NPC,{ OnInit: killmonsterall "prt_maze03"; // Kill Baphomet and all monster in the map cleanmap "prt_maze03"; // Clean all drops in the map end; }
-
7 hours ago, Kuroyama said:It is located in your hercules npc folder:
https://github.com/HerculesWS/Hercules/blob/stable/npc/custom/quests/hunting_missions.txt
Please provide an error it there is.. but I just tested the script from the hunting mission located in custom folder and its working fine.. did you modified the script?
-
2 hours ago, ruben0101 said:Hello everyone, im looking for a Emulator with 4th jobs i know that some servers have it (custom) so where i can get it ?
Actually herc and rA doesn't support 4th job yet.. they need to pull all the stuff in iRO and kRO before implementing it, I know someone who making an emulator for 4th job but they will not release it for public as she said..
-
8 hours ago, Ai4rei said:For various reasons an idea came up, to have a reverse search (or search-by-image) function in the NPC list.
The question is, would there be general demand for such a function, or not?
For me your npc list is great, i always used your site for npc names because of herc compatibility
-
3 hours ago, brunosc said:i know it, but i want to make like @newcommand and it call some event.
if you want to make it a new command then used bindatcmd
Try this one, just change the content if you want
- script Sample_Atcmd FAKE_NPC,{ OnInit: // This command can only use for GM Group 99 bindatcmd "newcommand",strnpcinfo(3)+"::OnNewCommand",99,99; end; OnNewCommand: mes "[ Admin Command ]"; mes "Choose what option you want to perform."; next; switch(select("Event 1:Event 2")){ // Attached Player with RID case 1: mes "[ Admin Command ]"; mes "You selected Event 1."; close2; doevent "EventNPC_1::OnEventStart"; break; // No Player Attached in the NPC case 2: mes "[ Admin Command ]"; mes "You selected Event 2."; close2; donpcevent "EventNPC_2::OnEventStart"; break; } end; }
-
On 2/13/2021 at 5:04 PM, brunosc said:Im try to make onr plugin to call any event like Onpclogin , or other custom Event.
doevent will do
doevent "NPCNAME:OnPCLogin"; - attached player with RID
donpcevent "NPCNAME:OnLabel"; - player not attached -
12 hours ago, botka4aet said:because packet version. As @Kuya Jeo mention, you can have 2 different diff clients.
But can you status window hardcoded in exe.
I already did this before.. I used the CHIBI Type Sprite char and regular sprite but I used 2 different ragexe and the same ragexe version with different diff too.
Client CRASH WHEN going into this part of turbo room
in Client-Side Support
Posted · Edited by Kuya Jeo
Show us the crash logs so that we can check it for you but initially error comes with missing textures and sprites or even model