Jump to content
  • 0

Edit Stone war Script


manabeast

Question


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

hi.... can i ask how to add like this?

- script Stone War::stone war 414,{
if (Class == Job_Novice) {
if (countitem(4424) < 1);
sc_end SC_CP_WEAPON;
sc_end SC_CP_ARMOR;
sc_end SC_CP_HELM;
sc_end SC_CP_SHIELD;
nude;
sc_start SC_STRIPWEAPON,6000000,5; // you can change the duration
sc_start SC_STRIPARMOR,6000000,5; // you can change the duration
sc_start SC_STRIPSHIELD,6000000,5; // you can change the duration
sc_start SC_STRIPHELM,6000000,5; // you can change the duration
sleep2 500;
warp "lakeside01",0,0;
end;
} else {
mes "[stone war]";
mes "Sorry! Only Novice Character are Allow to Enter";
close;
}
}
poring_c02 mapflag restricted 2
poring_c02 mapflag pvp
poring_c02 mapflag noexp
poring_c02 mapflag nomemo
poring_c02 mapflag nowarp
poring_c02 mapflag nowarpto
poring_c02 mapflag noteleport
poring_c02 mapflag nosave SavePoint
poring_c02 mapflag nomemo
poring_c02 mapflag nobranch
// --------- NPC Clones ---------
prontera,200,230,4 duplicate(StoneWar) stone war#m1-1 414

(Message:)

Welcome to Stone War,

This is a place for you to fight

what can i serve you?

(Select:)

Enter War

Stone Shop

Instruction Guide

Cancel

(Stone Shop)

Stapo card Id 4424, 100000z

Stone Id 7049, 2z

(Instruction Guide Message)

blablablablabla?

Edited by manabeast
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

This should do..

http://upaste.me/c657400ba4e4724

if not please state the error the map server is giving, best if screenshot

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

thanks you very much. i going try it out tonight. /thx /thx /thx

Have server error, and the npc are gone

http://www.mediafire...2b161n8cfe4f8n1

post-472-0-40235900-1338086128_thumb.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

Hey... i realize about mapflag i dun have [TAB]. i try it tonight.

Edited by manabeast
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

14120505.png

hi, bahmut.. the script you give working. but i have encounter some error. and the shop look like not working.

do you think this script can support more then one map?

Edited by manabeast
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  382
  • Reputation:   38
  • Joined:  01/17/12
  • Last Seen:  

This should work (Haven't tested it):

http://upaste.me/22db44193d2f1f5

I also added the possibility to add more than on map. Just look at my comments.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

49057420.png

thx to you the script working good. but why my server unrecognized mapflag for nosave and restricted?

Stone_Caster_War.txt

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