treasure resp

Unico

Dedicated Member
Dedicated Member
Dec 15, 2007
230
1
64
hello all.

I want put in my server a system of chests respawn when you kill the boss. For example: I kill a woomataurus and respawn chests to user group (2 users kill boss = respawn 2 chests, only 1 user kill the boss = respawn only 1 chest) but my script does not work

Code:
i put in mapquest.txt

D0024  [0] 0 [MonDie] WoomaTaurus * [MapQuest_Def\treasurespawn] [@wt] group

and in MapQuest_Def\treasurespawn.txt

[@wt]
#ACT
Mov A8 %UserX
AddStr A8 %UserY
AddStr A8 %UserMap
MonGenP %A8 TreasureChest 1

but dont respawn the chest :(
 

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
#ACT
Mov A0 %USERMAP
Mov A1 %USERx
Mov A2 %USERY
Mov N1 %A1
Mov N2 %A2
Mov N3 %A1
Mov N4 %A2
ForMatStr "%s,%s" %A0 %N1
Mov A3 %A9
ForMatStr "%s,%s,%s" %A3 %N2 %N3
Mov A3 %A9
Mov A8 ",+d400, +t10, +h"
ForMatStr "%s,%s,%s" %A3 %N4 %A8
MonGenP %A9 TreasureChest 1


think that's it. and I think to spawn for each member of group you need to put the word group in the mapquest.txt in /envir

map1 [0] 0 [MonDie] woomataurus * [MapQuest_Def\woomataurus] [@Main] Group
 
Upvote 0

Unico

Dedicated Member
Dedicated Member
Dec 15, 2007
230
1
64
now work and treasurechest respawn

but i want if 2 person kill the boss respawn 2 chests and only respawn 1 :(
 
Last edited:
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
I think....

#IF
CHECKGROUPCOUNT
#ACT
MOV D1 %P9


then you can use D1 to specify number of mobs to spawn
 
Upvote 0

kyeron

LOMCN Veteran
Veteran
Loyal Member
Sep 28, 2008
296
1
45
timisoara
u should add a checkhum on the kr floor as only with the groupcount ppl will just grp noobs that are in sz when they kill boss and they will receive the treasure chest for all the grp member(even thouse who are not in kingroom)
 
Upvote 0

jonathan508

Golden Oldie
Golden Oldie
Dec 27, 2007
623
11
125
Europe
I'm other Gm ultimatum server with rikuoh,(unico)
1 question,

i search this treasures is coloque in coords 180,111 when i can make ?

sorry for my englist, is bad,

Unico jony ma deixat sa conta , tu estic escribint així perque , no traduixin y em fiquin un borrat de conta.
:D
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
u should add a checkhum on the kr floor as only with the groupcount ppl will just grp noobs that are in sz when they kill boss and they will receive the treasure chest for all the grp member(even thouse who are not in kingroom)

In order for that to work you would have to only enable one group at a time into the map and after every kill you would have to checkhum and checkgroup and make sure the numbers matched otherwise members could enter map then leave to sz.
 
Upvote 0

kyeron

LOMCN Veteran
Veteran
Loyal Member
Sep 28, 2008
296
1
45
timisoara
the checkhum/groupcount should be on the mob die script , so mob rs's only chests for how many ppl are in grp and on the map when he dies ...
 
Upvote 0