Jump to content
  • 0
Sign in to follow this  
Klutz

map server errors + Crash

Question

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

Edited by Klutz

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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;
}
Edited by Klutz

Share this post


Link to post
Share on other sites
  • 0

What changes you did in BUILDIN(purchaseok)?

because it cant call script_cleararray_pc

Share this post


Link to post
Share on other sites
  • 0

What changes you did in BUILDIN(purchaseok)?

because it cant call script_cleararray_pc

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.