Jump to content
  • 0

Auto_event By Stolao Help


makuexile

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   1
  • Joined:  10/09/12
  • Last Seen:  

Please help to fix this script.

Warning code 51055 

and this debug script

Quote

            if($@CurrentEvent >= 5 && $@CurrentEvent <= 9){
                if(checkmadogear()){
                    if(checkweight(33017,1)){
                        getitem 33017,1;
                        setmadogear 0;
                    } else {
                        next;
                        mes "[ Event Management ]","Seems you're in a Mado Gear and cant seem to carry a voucher, either remove the Mado Gear or come back when you can hold the voucher.";
                        close;
                    }
                }
                if(checkdragon()){
                    if(checkweight(33018,1)){
                        getitem 33018,1;
                        setdragon 0;
                    } else {
                        next;
                        mes "[ Event Management ]","Seems you're on a Dragon and can't seem to carry a voucher, either remove you're Dragon or come back when you can hold the voucher.";
                        close;
                    }
                }            
                if(checkwug()){
                    if(checkweight(33019,1)){
                        getitem 33019,1;
                        setoption Option_Wugrider,0;
                    } else {
                        next;
                        mes "[ Event Management ]","Seems you're on a Wug and can't seem to carry a voucher, either remove you're Wug or come back when you can hold the voucher.";
                        close;
                    }
                }
                if(ismounting()){
                    if(checkweight(33020,1)){
                        getitem 33020,1;
                        setmounting;
                    } else {
                        next;
                        mes "[ Event Management ]","Seems you're mounted and can't seem to carry a voucher, either remove you're mount or come back when you can hold the voucher.";
                        close;
                    }
                }
                if(checkriding()){
                    if(checkweight(33021,1)){
                        getitem 33021,1;
                        setriding 0;
                    } else {
                        next;
                        mes "[ Event Management ]","Seems you're mounted and can't seem to carry a voucher, either remove you're mount or come back when you can hold the voucher.";
                        close;
                    }
                }
                if(checkfalcon()){
                    if(checkweight(33022,1)){
                        getitem 33022,1;
                        setfalcon 0;
                    } else {
                        next;
                        mes "[ Event Management ]","Seems you have  a falcon and can't seem to carry a voucher, either remove you're falcon or come back when you can hold the voucher.";
                        close;
                    }
                }
                if(geteleminfo(1) > 0)
                    unitkill geteleminfo(1);
                callfunc("dispell");
            } else if($@CurrentEvent == 2)
                callfunc("dispell");
            .register_aid[ .register_count ] = getcharid(3);
            .register_count++;
            if($@CurrentEvent == 13){
                delitem .candy_id, countitem( .candy_id );
                delitem .apple_id, countitem( .apple_id );
            }
            if($@CurrentEvent == 13 && checkcart()){
                if(checkweight(33023,1)){
                    getitem 33023,1;
                    setcart 0;
                } else {
                    next;
                    mes "[ Event Management ]","Seems you have cart and can't seem to carry a voucher, either remove you're cart or come back when you can hold the voucher.";
                    close;
                }    
            }

 

Untitled.png

auto_event.txt

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  147
  • Reputation:   36
  • Joined:  05/15/20
  • Last Seen:  

You don't have item that has the id 51055 on your import/item_db.yml
Try to change it to 7227 (TCG Card) and that warning won't show.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   1
  • Joined:  10/09/12
  • Last Seen:  

21 hours ago, KazumaSatou said:

You don't have item that has the id 51055 on your import/item_db.yml
Try to change it to 7227 (TCG Card) and that warning won't show.

thanks i will try to change it.

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...