Klutz
Members-
Content Count
87 -
Joined
-
Last visited
About Klutz
-
Rank
Advanced Member
-
Klutz reacted to a post in a topic: BladeCP - An advanced CMS
-
Klutz reacted to a post in a topic: HAT - The Hercules Admin Tool!
-
Looks great Love your work smoke
-
Klutz reacted to a post in a topic: BladeCP - An advanced CMS
-
@Ai4rei Is there any update regarding this? i am really looking forward to see it
-
@Jman Is there any update regarding this project? i didn't see anything on GitHub
-
Klutz reacted to a post in a topic: Midgard-Community
-
Klutz reacted to an answer to a question: Monster Doesn't reflect
-
I found the problem in my source but not sure why it cause it. case CR_REFLECTSHIELD: case MS_REFLECTSHIELD: case AS_POISONREACT: case MC_LOUD: case MG_ENERGYCOAT: case MO_EXPLOSIONSPIRITS: case MO_STEELBODY: case MO_BLADESTOP: case LK_AURABLADE: case LK_PARRYING: case MS_PARRYING: case LK_CONCENTRATION: case WS_CARTBOOST: case SN_SIGHT: case WS_MELTDOWN: case WS_OVERTHRUSTMAX: case ST_REJECTSWORD: case HW_MAGICPOWER: case PF_MEMORIZE: case PA_SACRIFICE: case ASC_EDP: case PF_DOUBLECASTING: case SG_SUN_COMFORT: case SG_MOON_COMFORT: case SG_STAR_COMFORT: case NPC_HALLUCINATION: case GS_MADNESSCANCEL: case GS_ADJUSTMENT: case GS_INCREASING: case NJ_KASUMIKIRI: case NJ_UTSUSEMI: case NJ_NEN: case NPC_DEFENDER: case NPC_MAGICMIRROR: case ST_PRESERVE: if( sd ) { if( sd->sc.count && sd->sc.data[SC_PRESERVE] ){ status_change_end(bl, SC_PRESERVE, INVALID_TIMER); clif->skill_nodamage(src, bl, skill_id, skill_lv, 1); } else{ clif->skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv))); } } break; case NPC_INVINCIBLE: case NPC_INVINCIBLEOFF: case RK_DEATHBOUND: case AB_RENOVATIO: case AB_EXPIATIO: case AB_DUPLELIGHT: If i am moving the break inside the if it reflect normal
-
Nothing that's why i find it weird. my shop calls functions to count items, and delete items. gold_coin = 1 gold_bag = 10 gold_coins GoldCoinCounter - counts the total of Gold_coin+gold_bags GoldCoinToDelete - delitem and give back change
-
Server crashed today with this errors: (05/08/2017 06:25:54) [ Error ] : --- nullpo info -------------------------------------------- (05/08/2017 06:25:54) [ Error ] : script.c:3161: 'sd' in function `script_array_src' (05/08/2017 06:25:54) [ Error ] : ./map-server(assert_report+0x80) [0x6400e0] (05/08/2017 06:25:54) [ Error ] : ./map-server(script_array_src+0x14c) [0x5685fc] (05/08/2017 06:25:54) [ Error ] : ./map-server(script_cleararray_pc+0x44) [0x569f04] (05/08/2017 06:25:54) [ Error ] : ./map-server(buildin_purchaseok+0x6e) [0x58ce6e] (05/08/2017 06:25:54) [ Error ] : ./map-server(run_func+0x13a) [0x5a0fca] (05/08/2017 06:25:54) [ Error ] : ./map-server(run_script_main+0x310) [0x5a6f60] (05/08/2017 06:25:54) [ Error ] : ./map-server(npc_trader_pay+0x134) [0x530634] (05/08/2017 06:25:54) [ Error ] : ./map-server(npc_cashshop_buylist+0x49d) [0x5300dd] (05/08/2017 06:25:54) [ Error ] : ./map-server(clif_parse_cashshop_buy+0x1a8) [0x48f5f8] (05/08/2017 06:25:54) [ Error ] : ./map-server(clif_parse+0x1a2) [0x48b3f2] (05/08/2017 06:25:54) [ Error ] : --- end nullpo info ---------------------------------------- (05/08/2017 06:25:54) [ Error ] : --- nullpo info -------------------------------------------- (05/08/2017 06:25:54) [ Error ] : script.c:3161: 'sd' in function `script_array_src' (05/08/2017 06:25:54) [ Error ] : ./map-server(assert_report+0x80) [0x6400e0] (05/08/2017 06:25:54) [ Error ] : ./map-server(script_array_src+0x14c) [0x5685fc] (05/08/2017 06:25:54) [ Error ] : ./map-server(script_cleararray_pc+0x44) [0x569f04] (05/08/2017 06:25:54) [ Error ] : ./map-server(buildin_purchaseok+0x85) [0x58ce85] (05/08/2017 06:25:54) [ Error ] : ./map-server(run_func+0x13a) [0x5a0fca] (05/08/2017 06:25:54) [ Error ] : ./map-server(run_script_main+0x310) [0x5a6f60] (05/08/2017 06:25:54) [ Error ] : ./map-server(npc_trader_pay+0x134) [0x530634] (05/08/2017 06:25:54) [ Error ] : ./map-server(npc_cashshop_buylist+0x49d) [0x5300dd] (05/08/2017 06:25:54) [ Error ] : ./map-server(clif_parse_cashshop_buy+0x1a8) [0x48f5f8] (05/08/2017 06:25:54) [ Error ] : ./map-server(clif_parse+0x1a2) [0x48b3f2] (05/08/2017 06:25:54) [ Error ] : --- end nullpo info ---------------------------------------- (05/08/2017 06:25:54) [ Error ] : Server received crash signal! Attempting to save all online characters! Player tried to use Gold Shop (Dynamic Shop). - script GoldShop FAKE_NPC,{ OnInit: tradertype(NST_CUSTOM); sellitem 4441,50; sellitem 4408,25; end; OnCountFunds: setcurrency(callfunc("GoldCoinCounter","None")); end; OnPayFunds: if(callfunc("GoldCoinCounter","None") < @price-@points ) end; set .@InventoryCheck,0; if (@price < 10) { if (@price > (callfunc("GoldCoinCounter","Coins"))) .@InventoryCheck = 10 - @price; } else { .@InventoryCheck = @price/10; .@InventoryCheck = @price - (.@InventoryCheck*10); } getinventorylist(); if ((@inventorylist_count + .@InventoryCheck ) >= MAX_INVENTORY) { .@InventoryCheck = .@InventoryCheck + @inventorylist_count + 1; dispbottom "You will have "+ .@InventoryCheck +" items in your Inventory."; dispbottom "The Maxium number allowed is: "+ MAX_INVENTORY; dispbottom "Please clear some space in your Inventory"; end; } callfunc("GoldCoinToDelete",@price); purchaseok(); end; }
-
Hey, I am really worried about those errors, do you know what can cause them? Regards, Klutz
-
super excited to see the update!
-
Klutz reacted to a post in a topic: HAT - The Hercules Admin Tool!
-
Hey, Lately i am starting to get Errors regarding mapflags. Not if i will restart the map server i won't get any errors, it only happens after some time period with @reloadscript (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=weapon_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=weapon_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=weapon_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=weapon_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=weapon_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=weapon_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=magic_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=magic_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=magic_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=magic_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=magic_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=magic_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=misc_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=misc_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=misc_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=misc_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=misc_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=misc_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=short_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=short_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=short_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=short_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=short_damage_rate * w4=50 (05/05/2017 13:52:47) [ Error ] : npc_parse_mapflag: Invalid mapflag definition in file '', line '1'. * w1= * w2= * w3=short_damage_rate * w4=50 Any idea what cause it? Regards, Klutz
-
Hey, I move all pre-re item_combo_db.txt into the item_db.conf using if isequipped() Maybe you would like to commit it into the emulator and get rid of item_combo_db. It didn't let me to update it with .conf so i changed it to .txt Regards, Klutz item_db.txt
-
bump, this bug affect both pre-re and re. any trap that trying to get push using AC_SHOWER, getting this error and makes tons of map error on log
-
After debugging this issue. The problem is the :status_get_base_status function it gets type of BL_SKILL and there is no case for BL_SKILL so it returns null
-
Legend reacted to a post in a topic: getmapusers - More options
-
Lately i been working to switch from eAthena server to Hercules. with all the new functions Hercules has i started to build new scripts for my npcs. i found myself searching a lot for lists: 1) Name of people on specific map. 2) Char ID of people on specific map. 3) Account ID of people on specific map. BUILDIN(getmapusers) { int16 m; int type = 0; int users = 0; struct s_mapiterator* iter; struct map_session_data *sd; const char *str; str = script_getstr(st,2); if( (m=map->mapname2mapid(str))< 0) { script_pushint(st,-1); return true; } if (script_hasdata(st,3)) type = script_getnum(st,3); else{ script_pushint(st,map->list[m].users); return true; } iter = mapit_getallusers(); for (sd = BL_UCAST(BL_PC, mapit->first(iter)); mapit->exists(iter); sd = BL_UCAST(BL_PC, mapit->next(iter))) { if (sd->bl.m == m){ switch (type) { case 1: mapreg->setregstr(reference_uid(script->add_str("$@mapcharname$"), users), sd->status.name); break; case 2: mapreg->setreg(reference_uid(script->add_str("$@mapcharid"), users), sd->status.char_id); break; case 3: mapreg->setreg(reference_uid(script->add_str("$@mapaccountid"), users), sd->status.account_id); break; } users++; } } mapit->free(iter); return true; } BUILDIN_DEF(getmapusers,"s?"), I was wondering if you want to add it to Hercules as a new feature. Regards, Klutx
-
[QUESTION] Sprite Thumbnail viewer in Windows 7
Klutz replied to kbandeleon's question in General Server Support
Copy WeeThumbnail.dll under windows/System32/ open a cmd and run this command: regsvr32 /s "WeeThumbnail.dll" -
Did you reload the map server after the change?Not sure.... but I recompiled it all you need to do is for example: { id: 98 name: "test" level: 98 inherit: ( "Head GM" ) commands: { } log_commands: true permissions: { use_check: true use_changemaptype: true all_commands: true show_bossmobs: true } } and then @reloadatcommand After that try to login with the group:98