Jump to content
  • 0

Can't cosume getBattleFlag("woe_reserved_char_id"); items in WoE


iraciz

Question


  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

I'm having issues in WoE, because the potions flagged for that maps are not consumed. can't be used.

This flagged items are from easycore bg telma

    .@bgchar = getBattleFlag("bg_reserved_char_id");
    .@woechar = getBattleFlag("woe_reserved_char_id");
    mes "[Telma]";
    if (countitem(.@badge) < (.@cost*.@sets)) {
        mes "You don't have enoughts ^FF0000"+getitemname(.@badge)+"s^000000 to buy"+(.@amt*.@sets)+" "+getitemname(.@item_id)+"s.";
    } else if (!checkweight(.@item_id, .@amt*.@sets)) {
        mes "You are carrying to much weight.";
    } else {
        delitem .@badge, .@cost*.@sets;
        if (.@bg_item) // Battleground's Consumables
            getitem2 .@item_id,(.@amt*.@sets),1,0,0, 254, 0, .@bgchar & 0xFFFF, .@bgchar >> 0x10;
        else
            getitem2 .@item_id,(.@amt*.@sets),1,0,0, 254, 0, .@woechar & 0xFFF, .@woechar >> 0x10;

 

BG ITEMS ARE WORKING FINE, THE PROBLEM IS THAT THE WOE FLAGGED ITEMS CAN'T BE USED IN THE WOE MAPS, ANY IDEA?

80546827_10156727215144249_7381174020009361408_o.jpg.c9621844aeebd4cc6947af02eae6a410.jpg

 

The WoE flagged item, is not consumed, I search every where and I can't find 

Where are those battleflags? scr? confs? It seems that the easycore patch do not included this part in his release

    .@bgchar = getBattleFlag("bg_reserved_char_id");
    .@woechar = getBattleFlag("woe_reserved_char_id");

getitem2 .@item_id,(.@amt*.@sets),1,0,0, 254, 0, .@woechar & 0xFFFF, .@woechar >> 0x10;

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

It's done and solved, thankyou all for the support! Bless

//mapflags
prtg_cas01    mapflag    woe_consume
prtg_cas02    mapflag    woe_consume
prtg_cas03    mapflag    woe_consume
prtg_cas04    mapflag    woe_consume
prtg_cas05    mapflag    woe_consume

payg_cas01    mapflag    woe_consume
payg_cas02    mapflag    woe_consume
payg_cas03    mapflag    woe_consume
payg_cas04    mapflag    woe_consume
payg_cas05    mapflag    woe_consume


gefg_cas01    mapflag    woe_consume
gefg_cas02    mapflag    woe_consume
gefg_cas03    mapflag    woe_consume
gefg_cas04    mapflag    woe_consume
gefg_cas05    mapflag    woe_consume

aldeg_cas01    mapflag    woe_consume
aldeg_cas02    mapflag    woe_consume
aldeg_cas03    mapflag    woe_consume
aldeg_cas04    mapflag    woe_consume
aldeg_cas05    mapflag    woe_consume

arug_cas01    mapflag    woe_consume
arug_cas02    mapflag    woe_consume
arug_cas03    mapflag    woe_consume
arug_cas04    mapflag    woe_consume
arug_cas05    mapflag    woe_consume

schg_cas01    mapflag    woe_consume
schg_cas02    mapflag    woe_consume
schg_cas03    mapflag    woe_consume
schg_cas04    mapflag    woe_consume
schg_cas05    mapflag    woe_consume

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

Hello,

If it's written WoE, it seems the item is well made.

Did you add allow woe item mapflag on the woe's map?

Edited by Kreustoo
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

you probably forgot to add mapflag woe_consume

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

6 hours ago, Haruka Mayumi said:

you probably forgot to add mapflag woe_consume

Hello dear, this mapflag is added in WoE script right?

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...