GameGold

Mu online season 21 - grand opening

RalosZek

Dedicated Member
Dedicated Member
Aug 6, 2008
50
0
33
Germany
GameGold in game is not working all npc is set up correctly but when it says you received game gold there is no gamegold been given.

Do i have to activate somewhere.
 

transporter

LOMCN Veteran
Veteran
Jul 12, 2008
608
8
105
Darlington
I know your saying your NPC is correct but GameGold should work, so post your NPC so we can see.

Or try it on Your GM character.

@GameGold <Username> <+ or -> <Amount>
 
Last edited:
Upvote 0

RalosZek

Dedicated Member
Dedicated Member
Aug 6, 2008
50
0
33
Germany
Code:
[@main]
#SAY
<Game Gold for 1k/@gold>\

[@gold]
#IF
checkgamegold = 1
#ACT
gamegold - 1
GIVE GOLD 1000
#SAY
1,000 gold pieces received.\ \
 
Upvote 0

Dazz

LOMCN Veteran
Veteran
Apr 12, 2008
296
0
43
I might be wrong, but that checks if you have exactly 1 GG.

try CHECKGAMEGOLD 1
 
Upvote 0

transporter

LOMCN Veteran
Veteran
Jul 12, 2008
608
8
105
Darlington
Code:
[@main]
#SAY
<Game Gold for 1k/@gold>\

[@gold]
#IF
CheckGameGold = 1
#ACT
GameGold - 1
GIVE GOLD 1000
#SAY
1,000 gold pieces received.\ \


Code:
[@main]
#SAY
<Game Gold for 1k/@gold>\
<Game Gold for 1Mill/@1Mill>\


[@gold]
#IF
checkgamegold > 0
#ACT
gamegold - 1
GIVE GOLD 1000
#SAY
1,000 gold pieces received.\ \
<Close/@exit>
#ELSESAY
You have no GameGold.\ \
<Close/@exit>





[@1Mill]
#IF
CheckGameGold > 999
#ACT
GameGold - 1000
GIVE GOLD 1000000
#SAY
1,000,000 gold pieces received.\ \
<Close/@exit>
#ELSESAY
You need 1000 GameGold.\ \
<Close/@exit>
 
Upvote 0

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
274
Where you put '=' it means its looking for 1 GP, nothing higher nothing less.
Looking back on school.

> Greater than
< Less than
= Equal to
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
in td files you have to have + 1 more game gold than you actually need

so
#IF
CHECKGAMEGOLD >= 5000
#ACT
GAMEGOLD - 5000

you would actually need to have 5001 gamegold for this to work..
simply when you add gamegold just add 1 more

@gamegold Daz + 5001

this should solve your problem
 
Upvote 0

transporter

LOMCN Veteran
Veteran
Jul 12, 2008
608
8
105
Darlington
in td files you have to have + 1 more game gold than you actually need

so
#IF
CHECKGAMEGOLD >= 5000
#ACT
GAMEGOLD - 5000

you would actually need to have 5001 gamegold for this to work..
simply when you add gamegold just add 1 more

@gamegold Daz + 5001

this should solve your problem



I use what i have posted above on my server and it works 100% perfect. And what i have underlined would not work.

Simply check for more than 4999

#IF
CHECKGAMEGOLD > 4999 (This is bascily looking to see if you have more than 4999 meaning 5000+)
#ACT
 
Last edited:
Upvote 0