Sabuk Wall Administrator

omkron

Banned
Banned
Dedicated Member
Jul 31, 2003
81
0
82
Cant get the administrator to let me get archers :(

Current Npc Script:

[@main]
Sabuk Is owned by <$OWNERGUILD> and controlled by <$LORD>.\
The total gold of the castle is: <$CASTLEGOLD>.\
Todays income is: <$TODAYINCOME>\ \

<WithDraw Cash/@@withdrawal>\
<Store Cash/@@receipts>\
<Control Main Gate/@treatdoor>\
<Repair Castle gate and walls/@repaircastle>\
<Hire Guards and Archers/@guardcmd>\
<Hire Archers/@hirearchers>\


--------------------------------------------------


[@treatdoor]
The Castle Door is currently <$CASTLEDOORSTATE>\ \
<Close the main gate/@closemaindoor>\
<Open the main gate/@openmaindoor>\
<Back/@main>\

[@openmaindoor]
The main gate is now open.\ \
<Back/@treatdoor>\

[@closemaindoor]
The main gate is now closed.\ \
<Back/@treatdoor>\


;--------------------------------------------------
[@repaircastle]
What do you want to repair?\ \
<Repair the main door./@repairdoor>\
<Repair castle walls./@repairwalls>\
<Back/@main>\

[@repairdoor]
It will cost <$REPAIRDOORGOLD> to repair the Door!\ \
<Repair Door Now/@repairdoornow>\
<Back/@repaircastle>\

[@repairwalls]
It will cost <$REPAIRWALLGOLD> to repair the Wall.\ \
<Repair Wall./@repairwallnow1>\
<Repair Wall./@repairwallnow2>\
<Repair Wall./@repairwallnow3>\
<Back/@repaircastle>\


--------------------------------------------------

[@guardcmd]
Do you want ot hire Archers?.\ \
<Hire more Guards./@hireguards>\
<Hire more Archers./@hirearchers>\
<Command order?./@commandorder>\
<Back/@main>\


[@hireguards]
¾î´À °÷¿¡ °æºñº´À» °í¿ëÇϽðڽÀ´Ï±î?\
ºñ¿ëÀº ÇѸí´ç <$GUARDFEE>Àü ÀÔ´Ï´Ù.\ \
¼º¹®¾Õ <Guard1/@hireguardnow1>, <Guard2/@hireguardnow2>\
³»¼º¾Õ <Guard3/@hireguardnow3>, <Guard4/@hireguardnow4>\
<Back/@guardcmd>\

[@hirearchers]
Do you want to hire some Arch's?\
They dont Come free, they will cost \
<$ARCHERFEE> each.\ \
Hire <Archer1/@hirearchernow1>, <Archer2/@hirearchernow2>, <Archer3/@hirearchernow3>\
Hire <Archer4/@hirearchernow4>, <Archer5/@hirearchernow5>, <Archer6/@hirearchernow6>\
Hire <Archer7/@hirearchernow7>, <Archer8/@hirearchernow8>\
Hire <Archer9/@hirearchernow9>, <Archer10/@hirearchernow10>\
Hire <Archer11/@hirearchernow11>, <Archer12/@hirearchernow12>\
<Back/@main>\
<Back/@guardcmd>\

[@commandorder]
Guards are currently set to <$GUARDRULE>.\
Do you want to Change it?\ \
<Guards normal operation/@guardrule_normalnow>\
<Guards attack pk's on site/@guardrule_pkattack>\
<Back/@guardcmd>\

Id nethin wrong with it pls tell me
 

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
Make sure theres a bit at the bottom which has "Archers" hp etc down there i dont have the one with real hp etc atm as it whipes sometimes when you start the server >.<

/Miles
 

Wittin

Ex-Δdministrator
VIP
May 7, 2003
1,341
1
244
295
[setup]
CastleName=SabukWall
OwnGuild=~{GameMasters}~
ChangeDate=07/06/2003 20:15:53
WarDate=30/12/1899
IncomeToday=07/06/2003 19:15:09
TotalGold=5000
TodayIncome=0

[defense]

CastleMap=3
MainDoorName=MainDoor
MainDoorX=672
MainDoorY=330
MainDoorOpen=0
MainDoorHP=100

LeftWallName=LeftWall
LeftWallX=624
LeftWallY=278
LeftWallHP=5000

CenterWallName=RightWall
CenterWallX=627
CenterWallY=278
CenterWallHP=100

RightWallName=CenterWall
RightWallX=634
RightWallY=271
RightWallHP=100

Archer_1_X=662
Archer_1_Y=333
Archer_1_HP=100

Archer_2_X=664
Archer_2_Y=331
Archer_2_HP=100

Archer_3_X=666
Archer_3_Y=329
Archer_3_HP=100

Archer_4_X=676
Archer_4_Y=319
Archer_4_HP=0

Archer_5_X=678
Archer_5_Y=317
Archer_5_HP=100

Archer_6_X=681
Archer_6_Y=314
Archer_6_HP=100

Archer_7_X=671
Archer_7_Y=334
Archer_7_HP=100

Archer_8_X=675
Archer_8_Y=329
Archer_8_HP=100

Archer_9_X=630
Archer_9_Y=283
Archer_9_HP=100

Archer_10_X=637
Archer_10_Y=276
Archer_10_HP=100

Archer_11_X=627
Archer_11_Y=271
Archer_11_HP=100

Archer_12_X=632
Archer_12_Y=266
Archer_12_HP=100

Guard_1_X=633
Guard_1_Y=273
Guard_1_HP=100

Guard_2_X=629
Guard_2_Y=277
Guard_2_HP=100

Guard_3_X=668
Guard_3_Y=335
Guard_3_HP=100

Guard_4_X=676
Guard_4_Y=326
Guard_4_HP=100


use this as your sabukw.txt, also ensure m2server.exe is not running when you replace yours with this

-Wittin
 

Taurus

Guest
Guard_1_X=633
Guard_1_Y=273
Guard_1_HP=100

Guard_2_X=629
Guard_2_Y=277
Guard_2_HP=100

Guard_3_X=668
Guard_3_Y=335
Guard_3_HP=100

Guard_4_X=676
Guard_4_Y=326
Guard_4_HP=100
In order for this part to work it must be enabled on the sabukwall Administrator NPC script. however the commands of changing attacks have not been translated (In any m2server i have...don't know if there is one.) therefore do not work.

HP = 0 - Archer is dead
HP = 1+ - Archer is alive, however only has 1 HP left (or what ever the number is up.) this is how it knows its HP when the server is reset.
The text sometimes resets should you have sortage of ram, so make a regular backup on the sabukw.txt.