Jump to content
  • 0

Strip Items + Store Items in Storage + Items for Maps


StonedLover

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  11/23/13
  • Last Seen:  

Heyho,

 

I want to create a Event. For this I want, that all ppl who join this Event get teleport an a specific map. When they get teleportet, I want, that all their Items their wear will get strippt and all Items ( Items, Equip, Mic, Private) will get stored automatic in their Storage. That means, that they have no Items on this Specific Map. Is this possible? And how?

 

Then I want to know if it is possible to enable Items just on one Map. e.g. when they left the Map the Items will get delete.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   3
  • Joined:  11/29/13
  • Last Seen:  

you can use nude; on your script to strip all their equipment to their inventory.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  11/23/13
  • Last Seen:  

Okay, thanks :) Is their a command to store all Items in the Storage?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   3
  • Joined:  11/29/13
  • Last Seen:  

sorry i forgot ur second request.. here, you can use this on your script to put all items and equipments in your inventory to storage

atcommand "@storeall";

i've made this script for my server once, i will share to you because your request is exactly same with this.

hope this script will help you with your project.  /no1

prontera,169,229,3	script	Claus Severine#1	628,{

OnInit: {
waitingroom "RWC Organizer",0;
}

// Set this to the minimum GM level allowed to access the GM CP.
if (getgmlevel() > 80) goto L_gm;

L_insert:
	cutin "bu_du1",2;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "Hello ^0000FF" + strcharinfo(0) + "^000000.";
	mes "My name is ^0000FFClaus Severine^000000, but you can just call me Claus.";
	next;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "I'm the one who gather all the";
	mes "great guild around";
	mes "the ^0000FFRune Midgard^000000";
	mes "to invite them to join";
	mes "^0000FFRWC (Ragnarok World Championship)^000000.";
	next;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "^FF0000This is an exclusive event^000000. Only the chosen and strong guild can participate.";
	next;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "To participate in this event,";
	mes "you must ^0000FFRegister^000000 first.";
	mes "Then, party up with your guild member at total 7 members of the party.";
	next;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "..therefore, i've already give";
	mes "the ^0000FFInvitation Code^000000 to the party leader or guild leader.";
	mes "Use it to go to the event place with your party.";
	next;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "If you still not have the ^0000FFInvitation Code^000000,";
	mes "go ask your party or guild leader";
	mes "for the code.";
	next;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "...yeah ...uhmm";
	mes "..there's another rules about";
	mes "^0000FFRWC (Ragnarok World Championship)^000000.";
	mes "But you can ask ^FF0000Lloyd Elliot^000000 on the event place for more information.";
	next;
	cutin "bu_du2",2;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "...So, did you have the";
	mes "^0000FFInvitation Code^000000?";
	mes "If so, please give me your ^0000FFInvitation Code^000000, then i";
	mes "will take you to the event place.";
	next;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "Go on, give me your ^0000FFInvitation Code^000000.";
	input @text$;
	if (@text$ == $password$) goto L_win;
	if (@text$ != $password$) goto L_error;

L_error:
	next;
	cutin "bu_du3",2;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "Sorry, that's incorrect";
	mes "^FF0000Invitation Code^000000.";
	mes "Please leave now, you do not have the requirement.";
	next;
	warp "prontera" ,156,191;
	cutin "bu_du3",255;
	close;

L_win:
	next;
	cutin "bu_du2",2;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "Alright! Welcome to the event, one of the greatest guild on Rune Midgard.";
	mes "We're all have already waiting for you to join the event.";
	next;
	cutin "bu_du1",2;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "I will take you to the event place now, but ^FF0000this place is not open to the public^000000, in accordance with our rules, you must behave in an orderly fashion once inside.";
	next;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "^FF0000In the interest of protecting the rules of RWC, i will disarm your equipment once you enter^000000";
	next;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "^FF0000You can found your equipment and other items on your storage once you've back here^000000";
	nude;
	atcommand "@storeall";
	dispbottom "All of your items and equipments has been stored on your own storage!";
	next;
	announce "Claus Severine: " + strcharinfo(0) + " has joined Ragnarok World Championship Event!",0;
	warp "new_2-2" ,100,93;
	cutin "bu_du1",255;
	close;

L_gm:
	cutin "bu_du1",2;
	mes "^0000FFClaus Severine^000000";
	mes "[^FF0000RWC Event Manager^000000]";
	mes "Hello GM ^0000FF" + strcharinfo(0) + "^000000, what would you like to do?";
	mes "Current ^0000FFInvitation Code^000000 are ^008000"+$password$+"^000000.";
	while (1) {
		switch(select("Warp to ^0000FFLobby^000000.:Set new ^0000FFInvitation Code^000000.:^FF0000Nothing^000000.")) {
		case 1:
			next;
			cutin "bu_du2",2;
			mes "^0000FFClaus Severine^000000";
			mes "[^FF0000RWC Event Manager^000000]";
			mes "Alright, i will warp you to ^0000FFLobby^000000 now.";
			next;
			warp "new_2-2" ,100,93;
			end;
		case 2:
			next;
			mes "^0000FFClaus Severine^000000";
			mes "[^FF0000RWC Event Manager^000000]";
			mes "Okay, give me the new ^0000FFInvitation Code^000000 that you want.";
			input $password$;
			next;
			cutin "bu_du2",2;
			mes "^0000FFClaus Severine^000000";
			mes "[^FF0000RWC Event Manager^000000]";
			mes "Alright, i already accept the ^0000FFInvitation Code^000000 to be ^008000"+$password$+"^000000.";
			next;
			cutin "bu_du2",255;
			end;
		case 3:
			next;
			mes "^0000FFClaus Severine^000000";
			mes "[^FF0000RWC Event Manager^000000]";
			mes "Okay, see you again!";
			cutin "bu_du1",255;
			close;
		}
	}
}
Edited by Jesky
  • Upvote 1
Link to comment
Share on other sites


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

atcommand "@storeall";

...

I am sure players can purposely filled their storage with junks to bypass this system ...

but, its a nice script though

RWC ... I see

I think your entrance NPC script would have another check with getinventorylist... right ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   3
  • Joined:  11/29/13
  • Last Seen:  

Thanks Annie, yeah i guess so...

 

i just try to made my own RWC script because i do not find the complete RWC script anywhere in rathena..

so i try to build the script from my limited scripting knowledge...

 

but, one of the fact is.. for the RWC battle system, i use ur custom_bg script lol..

i'm sorry if i'm not asking for your permissions first, my plan is i will credit when i finish the script.

at last, i give up when the script itself about 80%..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  11/23/13
  • Last Seen:  

Woow. Thanks ^--^

 

I need this Commands for a Event/minigame wich i try to create at the moment ^-^

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