AnyOne Have a Fully Working Sabuk?

Mu online season 21 - grand opening

mauldor

Dedicated Member
Dedicated Member
Dec 29, 2003
171
0
42
Does someone have the fixes so that Sabuk has a NPC etc when you own wall to get income etc and the Lions outside to fight when a war is on?

I have the lions in the database but not sure what to put where to get it all working...
 

mauldor

Dedicated Member
Dedicated Member
Dec 29, 2003
171
0
42
Well i have indeed got it all working - ive searched the forums to death and noticed something else - posts seem to drop off as they get a certain age - so probably somebody did post the answer to this but its probably gone.

In the end it was plain old hard work and now have a fully working Sabuk with the statues or gates (cos ive not actually seen a real SW at war before).

My Archers and guards work, my income works from the shops in SW and the gate can be closed or open and so forth.
 
Upvote 0

Zeph

Dedicated Member
Dedicated Member
Mar 29, 2003
102
0
93
You might need to hex your exe as the warzone only appears to affect the secret passage and the palace when a war is declared.
The only thing i have been able to do is change the map number in the exe from the secret passage (D701 I think) to the sabuk map number (3 or 31 depending on which ssabuk map you are using).
Not an ideal solution as whole sabuk map becomes a war zone but at least you can have a war without ppl going red from killing.
 
Upvote 0

mauldor

Dedicated Member
Dedicated Member
Dec 29, 2003
171
0
42
Well I tested this SW thing - delcared war and move the clock to right time for war.

Now the archers etc all attaacked me (as the person going for the wall) and not the person who owns the wall - so far so good.

As the attacker - i killed all the archers, stats and main gate - yet i could still not go through to palace and thus take the wall. Now if i Move there (as gm) then it says I have taken the wall and if people who owned the wall before moves there - again they take back the wall.

Now what i was hoping would happen is this:

Once you kill all the Statues (my Left, right wall etc) you can then enter the Palace and thus take the wall. It seems this is not the case as i cannot go into the palace at all - even after i kill all the statues. The only people able to go into the palace (map 150) is the people who currenyl own the wall.

I am missing something here - this Wall thing is becmoning a pain to be honest...
 
Upvote 0

TritoN

LOMCN Veteran
Veteran
Aug 21, 2003
474
1
94
how u got the income and open/close gate working? did u changed the sabuk officer script? or just the !castle.txt?
 
Upvote 0

mauldor

Dedicated Member
Dedicated Member
Dec 29, 2003
171
0
42
Well basically if you add maingate and actually put co-ordates of the gate at the front - the open and close gate work fine. Only problem is - nobody even the owning guild can enter.

The npc for money each day is a seperate npc:

[@main]
Hello {FCOLOR/1}<$USERNAME>{FCOLOR/12}, I am your Wages Master,According to Wall Leaders {FCOLOR/1}<$LORD>{FCOLOR/12} Order,
I responsibly provide {FCOLOR/1}<$OWNERGUILD>{FCOLOR/12} Member's daily wage,
<Saturday and Sunday you may get 20,000 gold coins each day, Monday to Friday you can receive 10000 Gold a day.>
.\
\\
<Get My Wages/@main-1>\
<Exit/@exit> \

[@main-1]
#if
dayofweek sun
#act
goto @sun
break

#if
dayofweek mon
#act
goto @mon
break

#if
dayofweek tue
#act
goto @tue
break

#if
dayofweek wed
#act
goto @wed
break

#if
dayofweek thu
#act
goto @thu
break

#if
dayofweek fri
#act
goto @fri
break

#if
dayofweek sat
#act
goto @sat
break

[@sun]
#IF
check [871] 0
#act
set [871] 1
set [872] 0
set [873] 0
set [874] 0
set [875] 0
set [876] 0
set [877] 0
give GOLD 20000
#SAY
You obtained 20,000 Wages,as you diligently defended the Wall.\
#ELSESAY
Sorry, You already have had your wages today, Therefore I cannot pay you again?\\<EXIT/@exit>
[@mon]
#IF
check [872] 0
#act
set [871] 0
set [872] 1
set [873] 0
set [874] 0
set [875] 0
set [876] 0
set [877] 0
give GOLD 10000
#SAY
You obtained 10,000 Wages,as you diligently defended the Wall.\
#ELSESAY
Sorry, You already have had your wages today, Therefore I cannot pay you again.\\<EXIT/@exit>
[@tue]

You need to place this NPC in the palace at sabuk and add to your npc.txt (mine is called Penny-0150.txt).
 
Upvote 0

TritoN

LOMCN Veteran
Veteran
Aug 21, 2003
474
1
94
the penny npc is a nice idea :)
but iforgot 1 question above lol
do u have an extra npc for placing the archers 2?
placing archer through the sabuk officer wont work on my server...
perhaps u could post your !castle.txt for comparation here 2 :)

ty m8
 
Upvote 0

mauldor

Dedicated Member
Dedicated Member
Dec 29, 2003
171
0
42
Well Save me posting my Castle - let me tell ya how to get archers working..

Go in game and run around in SW and write down co-ordinates of where you want the archers to be. Now edit your castle.txt so that the archers X and Y are correct.

When you now go to NPC - the archers will be renewed etc.

But i ask myself this question - why does not one server i have seen have aechers in place - im thinking maybe they dont work (as in taking SW) if there is archers about.

I still dont seem to be able to actually go into Palace upon killing the walls - so still not sure if i have mine working..
 
Upvote 0

Zeph

Dedicated Member
Dedicated Member
Mar 29, 2003
102
0
93
Well i use the following for the administrator of sabuk and i dont appear to have any problems collecting or depositing cash in the sabuk wall coffers.

[@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>\

I then used this for the ring seller and sold some rings and when i went to the palace i had recieved my cut of the money. :))

%100
;¹ÝÁö
+22
+23

;´ëÈ_, '*' : ´ëÈ_ ű×
[@main]
{NPCIMG/50}
Hello <$Username>, I think you would look \
enchanting wearing some of my rings ! \
Members of <$OWNERGUILD> will By order of <$LORD> recieve \
a discount on My prices.\ \
<buy ring/@buy>\
<sell ring/@sell>\
<repair ring/@repair>\\
<leave/@exit>


[@buy]
{NPCIMG/50}
what ring would you like to buy?\ \ \
<back/@main>

[@sell]
{NPCIMG/50}
what ring would you like to sell?\ \ \
<back/@main>

[@repair]
{NPCIMG/50}
what ring would you like me to repair?\ \ \
<back/@main>

[~@repair]
{NPCIMG/50}
here's your repaired item.\ \
<back/@main>

[Goods]
;Á¨µÇ´Â »óǰ ¹°·® hour
Glassring 50 1
HexagonalRing 50 1
HornRing 50 1
BlueRing 50 1
IronRing 50 1
SerpentEyeRing 50 1
PearlRing 50 1
 
Last edited:
Upvote 0

TritoN

LOMCN Veteran
Veteran
Aug 21, 2003
474
1
94
yup i got all coords for the archers but u cant place them by the npc though...they appear if u manulay add them to the file and restart the server...but if get killed u cant place new ones!?
regarding the entering palace problem i use a little trick for entering it during sabuk war:
each wall/door will drop a certain item 1/1 if destroyed..guildleader of attacking guild will be teled into palace by a npc if he has all items and can recall his grp m8ts...
this takes a bit of tactical planning but should work fine (to be tested during next war)
last war was more a capture the hill type war..that guild that holded the socket in the centre of sabuk got the wall lol
 
Upvote 0

mauldor

Dedicated Member
Dedicated Member
Dec 29, 2003
171
0
42
Hmmm - sounds a good idea at first - but there is a slight problem there - at least on my server. If the person taking the wall enter the palace - the other side (who actually owned the wall) cannot now enter palace - so once the side who kills the stats and goes into palace - they will win the wall.

Im trying a few things and if i ever get it working (which i will) then ill tell you all how to do it.
 
Upvote 0

Zeph

Dedicated Member
Dedicated Member
Mar 29, 2003
102
0
93
Here is how i got sabuk working

download the following file (to unpack get 7-zip from www.7-zip.org )

This includes the following

1. npc's for sabuk shops which give discount to owning guild and pay 20% into the sabuk wall coffers
2. Sabuk administrator to open and close your gate and deposit / remove cash from coffers and hire archers
3. !sabuk.txt which has some coords for archers if using original map3 for sabuk map

Place the npc's where you want them in sabuk the administrator should be on map 0150

You must have an entry in your monster DB with the name Archer for the Sabuk Archers this may be named SabukArcher in the DB change it by deleting the Sabuk from the name.

You should name the doors and walls as follows in your DB

MainDoor ----> SabukWall
LeftWall ----> SabukWall1
CenterWall --> SabukWall2
RightWall ---> SabukWall3

The only bit to get sorted now is the non controlling guild being able to get in when walls have been knocked down.
 
Upvote 0

mauldor

Dedicated Member
Dedicated Member
Dec 29, 2003
171
0
42
Well - on a couple of servers (DragonNet been one of them) they had the following:

They Only Had 3 statues (walls if you like - just diff image)
They had no archers nor main door.
They forgot (doh) to make map 3 warzone so that killing people in a war turned you RED which meant you went to jail - handy that.
If you killed the 3 Statues, then you could (any of your guild) walk through the palace doors and thus take SW.

The other side (the previous owning guild) could also walk through the door - in fact during a war - any body - guild or not could walk in to the palace (only one it was taken though).

Im guessing he has Hexed the server to make all this happen - the only thing i though at the time when i was testing was archers caused a problem or the main door.

Thanks though for the help - im willing to give all sorts a try and by the way - i have hex codes for War now - so if anybody need war time and how long it takes to start a war - let me know - ill post them up,,


As per your thread - this is what mine does now...

1. They do give discount and they do generate money for the Owning guild (NPC thats is).
2. The admin and money girl give out money to guild, the admin will only talk to Guild leaders, they open and close gate, re-do archers etc..
3. I am using original map - i found places archers outside castle (cos i wanted to protect me doors) did not work - but inside the castle worked no problem.

The only problem i think me and a lot of other have it sounds like is the killing of the said doors and entering palace - i have not tested since i have made map 3 a warzone - so it might work now - i dont know...
 
Last edited:
Upvote 0

mauldor

Dedicated Member
Dedicated Member
Dec 29, 2003
171
0
42
Right - i see what the problem is now - i dont think there is anything you can change in the server (2.9) to get Sabuk working - what you need is a later Server.exe (and i guess a newer client to go with said server).

I tired Zeph's 12-03 files (just the server.exe and a modified client) and sure enough when you delclare war and war starts - when you ride Inside the castle - its says WARZONE and you turn Blue. After killing the Doors etc - I could march right into palace and take the Wall.

This would be great but the Server / Client is not fully translated - which means the moment you get on your horse - you cannot get back off (no matter what command you type as its not been translated).

SO ill stop wasting my time trying to get SW working on 2.9 and look at ways to get a later file from Zeph of possible or Nightwolfs.
 
Upvote 0

Nightwolf

Developer
VIP
Jul 16, 2003
2,133
21
265
Manchester, UK
ok i have sabuk working fine along with archers walls and doors the doors walls should be in Mon-20.wil and here the info i put in
!sabuk.txt

[setup]
CastleName=Sabuk
OwnGuild=~GameMasters~
ChangeDate=11/02/2004 06:40:23
WarDate=02/02/2004 02:15:46
IncomeToday=13/02/2004 02:14:43
TotalGold=2279088
TodayIncome=0

[defense]
CastleMap=3
MainDoorName=MainDoor
MainDoorX=234
MainDoorY=191
MainDoorOpen=1
MainDoorHP=10000

LeftWallName=LeftWall
LeftWallX=169
LeftWallY=191
LeftWallHP=5000

CenterWallName=CenterWall
CenterWallX=202
CenterWallY=153
CenterWallHP=0

RightWallName=RightWall
RightWallX=234
RightWallY=127
RightWallHP=0

Archer_1_X=204
Archer_1_Y=145
Archer_1_HP=2000

Archer_2_X=194
Archer_2_Y=155
Archer_2_HP=2000

Archer_3_X=200
Archer_3_Y=140
Archer_3_HP=2000

Archer_4_X=191
Archer_4_Y=149
Archer_4_HP=2000
Archer_5_X=0
Archer_5_Y=0
Archer_5_HP=2000
Archer_6_X=0
Archer_6_Y=0
Archer_6_HP=2000
Archer_7_X=0
Archer_7_Y=0
Archer_7_HP=2000
Archer_8_X=0
Archer_8_Y=0
Archer_8_HP=2000
Archer_9_X=0
Archer_9_Y=0
Archer_9_HP=2000
Archer_10_X=0
Archer_10_Y=0
Archer_10_HP=2000
Archer_11_X=0
Archer_11_Y=0
Archer_11_HP=2000
Archer_12_X=0
Archer_12_Y=0
Archer_12_HP=2000
Guard_1_X=0
Guard_1_Y=0
Guard_1_HP=0
Guard_2_X=0
Guard_2_Y=0
Guard_2_HP=0
Guard_3_X=0
Guard_3_Y=0
Guard_3_HP=0
Guard_4_X=0
Guard_4_Y=0
Guard_4_HP=0


and the appr in the monster db for them is:
MainDoor appr 190
RightWall appr 192
LeftWall appr 193
CenterWall appr 195

hope this info helps :)
 
Last edited:
Upvote 0

mauldor

Dedicated Member
Dedicated Member
Dec 29, 2003
171
0
42
The problem Night wolf is not the Archers, the walls nor the npc - at least no on any server - even 2.9 i have tested.

I think the problem is actually entering Map 0150 (palace) once you have killed all the walls etc. To win a war - you need to enter the map 0150 in order for the server to say "blah blah blah has taken Sabuk". The idea posted about making the walls drop something and then a NPC allowing you to go into palace when you have the items is not fair to be honest as the other side will not be able to get in the palace once the opposing side has got in there.

Im sure everybody who has a half working wall is mising something - its either the numbers in the database are not right (im clutching at straws here) or some other mad reason, the server must allow you to enter the wall once you have killed a certain thing and everybody that dont have a working wall is missing that certain thing and thus not been able to enter the palace.

If so many have it working - then surley one person can give us some insight into why we cannot enter the palace?
 
Upvote 0

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
Hmm i may not be amazing at mir 3 but for mir 2 you put the cords where you can go when the door is killed in the map info so when you stand on the spot where the door is then you goto 0150 can't you just do that with mir3 o.O

/Miles
 
Upvote 0