[King] Cannot learn spells

Womble

Dedicated Member
Dedicated Member
Mar 23, 2010
47
0
33
Just got king server up and running, but I cannot equip any spells? I have made the manuals and double clicked them but nothing happens? Any1 know a solution to resolve this?

---------- Post added at 05:17 PM ---------- Previous post was at 04:35 PM ----------

Also having a problem with @adjustlevel as it doesn't actually change the characters lvl (even tho it does the lvl up gfx effect)
 

Womble

Dedicated Member
Dedicated Member
Mar 23, 2010
47
0
33
even if i buy a book and translate it from book shop, it still doesnt allow you to learn it. Just stays in ur bag doing nothing.
 
Upvote 0

TheDayIDie

Banned
Banned
Dedicated Member
Jul 29, 2011
4,071
97
135
UK
If you wish to learn spells by double clicking them then you must go into

C:\Mud3\Envir\QuestDiary\System\ItemScripts
[@EventItem_Manual]
{
#ACT
SetItemEvent 61 2 [MENTION=6693]FireBall[/MENTION]

[[MENTION=6693]FireBall[/MENTION]]
#IF
#ACT
actcmd addmagic Fireball
take Fireball(manual)
break
Also check in your 00default.txt to see if its linked properly to the right file:
C:\Mud3\Envir\Market_Def\00default.txt
[@main]
#ACT
goto @Manual_ItemClick
goto @WeatherSystem

break

[@Manual_ItemClick]
#CALL [System\ItemScripts\Manual.txt] @EventItem_Manual
untitled-82.jpg

2 = Shape ~ Depending what number you put in the .txt document will be what you put in the database 1 -> 1000 etc
61 = StdMode ~ StdMode will always be 61 for making items clickable, any other will not work

this must be done for every spell book and in the book must be setup in database so its like this...

or you could just use a script already provided:
Code:
[@main]
#SAY
{FCOLOR/13}So how can i help you?{FCOLOR/1}\
{FCOLOR/13}Do you wish to Learn a new skill?{FCOLOR/1}\
{FCOLOR/13}To Learn a new skill you must have certain skill book{FCOLOR/1}\
{FCOLOR/13}with you. Furthermore the book must be Quite New{FCOLOR/1}\
{FCOLOR/13}for me to be able to read it. Otherwise the book{FCOLOR/1}\
{FCOLOR/13}is going in the bin. What skill would you like to learn?{FCOLOR/1}\ \

<Warrior Skills/[MENTION=589]Warrior[/MENTION]Skills22>\
<Wizard Skills/[MENTION=4428]Wizard[/MENTION]Skills22>\
<Taoist Skills/[MENTION=7419]Taoist[/MENTION]Skills22>\ \
<Exit/@Exit>\

[[MENTION=589]Warrior[/MENTION]Skills22]
#IF
CHECKJOB Warrior
#SAY
{FCOLOR/10}(Warrior Spells){FCOLOR/12}\ \
<Fencing(Level 7)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Fencing,7,5000)>\
<Slaying(Level 14)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Slaying,14,6000)>\
<Thrusting(Level 19)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Thrusting,19,7000)>\
<HalfMoon(Level 24)/[MENTION=589]Warrior[/MENTION]_Book_Convert(HalfMoon,24,10000)>\
<ShoulderDash(Level 27)/[MENTION=589]Warrior[/MENTION]_Book_Convert(ShoulderDash,27,15000)>\
<FlamingSword(Level 32)/[MENTION=589]Warrior[/MENTION]_Book_Convert(FlamingSword,32,20000)>\
<DragonRise(Level 35)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DragonRise,35,30000)>\
<BladeStorm(Level 38)/[MENTION=589]Warrior[/MENTION]_Book_Convert(BladeStorm,38,40000)>\
<DSurge(Level 40)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DSurge,40,50000)>\
<Interchange(Level 42)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Interchange,42,60000)>\
<Defiance(Level 44)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Defiance,44,70000)>\
<Beacon(Level 46)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Beacon,46,400000)>\
<StrengthPower(Level 47)/[MENTION=589]Warrior[/MENTION]_Book_Convert(StrengthPower,47,80000)>\
<Might(Level 48)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Might,48,90000)>\
<DrakeBladeStorm(Level 49)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DrakeBladeStorm,49,100000)>\
<Assault(Level 50)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Assault,50,140000)>\
<Endure(Level 51)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Endure,51,160000)>\
<ReflectDamage(Level 53)/[MENTION=589]Warrior[/MENTION]_Book_Convert(ReflectDamage,53,200000)>\
<Shackles(Level 55)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Shackles,55,250000)>\
<EarthSurge(Level 70)/[MENTION=589]Warrior[/MENTION]_Book_Convert(EarthSurge,70,290000)>\
<GreatAssault(Level 73)/[MENTION=589]Warrior[/MENTION]_Book_Convert(GreatAssault,73,340000)>\
<DragonStorm(Level 80)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DragonStorm,80,420000)>\ \
<Exit/@exit>\
#ELSESAY
Your are not a Warrior!\
<Exit/@exit>\

[[MENTION=4428]Wizard[/MENTION]Skills22]
#IF
CHECKJOB Wizard
#SAY
{FCOLOR/10}(Wizard Spells){FCOLOR/12}\ \
<Fireball(Level 7)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Fireball,7,2000)>\
<LightningBall(Level 8)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(LightningBall,8,3000)>\
<Iceball(Level 9)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Iceball,9,4000)>\
<PowerBurst(Level 10)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(PowerBurst,10,5000)>\
<FlameRepulse(Level 12)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(FlameRepulse,12,6000)>\
<ElectricShock(Level 13)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ElectricShock,13,7000)>\
<Teleport(Level 14)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Teleport,14,8000)>\
<GreatFireball(Level 15)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GreatFireball,15,9000)>\
<ThunderBolt(Level 16)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ThunderBolt,16,10000)>\
<IceBlades(Level 17)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(IceBlades,17,11000)>\
<GreatPowerBurst(Level 18)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GreatPowerBurst,18,12000)>\
<Hellfire(Level 20)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Hellfire,20,13000)>\
<LightningBeam(Level 21)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(LightningBeam,21,14000)>\
<FrozenEarth(Level 22)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(FrozenEarth,22,15000)>\
<BlowEarth(Level 23)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(BlowEarth,23,16000)>\
<Firewall(Level 24)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Firewall,24,17000)>\
<TurnUndead(Level 26)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(TurnUndead,26,18000)>\
<GeoManipulation(Level 27)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GeoManipulation,27,20000)>\
<MagicShield(Level 29)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(MagicShield,29,23000)>\
<Explosion(Level 32)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Explosion,32,25000)>\
<Lightning(Level 33)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Lightning,33,30000)>\
<IceStorm(Level 34)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(IceStorm,34,40000)>\
<DragonTornado(Level 35)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(DragonTornado,35,50000)>\
<GtFrozenEarth(Level 38)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GtFrozenEarth,38,60000)>\
<ChainLightning(Level 40)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ChainLightning,40,70000)>\
<MeteorShower(Level43)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(MeteorShower,42,80000)>\
<Renounce(Level 46)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Renounce,46,90000)>\
<Tempest(Level 49)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Tempest,49,100000)>\
<ThunderGuard(Level 52)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ThunderGuard,52,110000)>\
<MassThunder(Level 54)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(MassThunder,54,120000)>\
<SelfMultiply(Level 56)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(SelfMultiply,56,130000)>\
<EvilSpiritPower(Level 70)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(EvilSpiritPower,70,140000)>\
<HellChain(Level 72)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(HellChain,72,150000)>\
<EvilStorm(Level 74)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(EvilStorm,74,160000)>\
<EvilFlame(Level 76)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(EvilFlame,76,170000)>\
<GtMagicShield(Level 78)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GtMagicShield,78,180000)>\
<GreatRenounce(Level 80)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GreatRenounce,80,190000)>\ \
<Exit/@exit>\
#ELSESAY
Your are not a Wizard!\
<Exit/@exit>\

[[MENTION=7419]Taoist[/MENTION]Skills22]
#IF
CHECKJOB Taoist
#SAY
{FCOLOR/10}(Taoist Spells){FCOLOR/12}\ \
<Healing(Level 7)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Healing,7,2000)>\
<SpiritSword(Level 8)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SpiritSword,8,3000)>\
<Poisoning(Level 12)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Poisoning,12,4000)>\
<SoulFireball(Level 13)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SoulFireball,13,5000)>\
<EvilSlayer(Level 14)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(EvilSlayer,14,6000)>\
<SummonSkeleton(Level 17)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonSkeleton,17,7000)>\
<Hiding(Level 20)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Hiding,20,8000)>\
<SoulShield(Level 21)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SoulShield,21,9000)>\
<MassHiding(Level 23)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassHiding,23,10000)>\
<GreatEvilSlayer(Level 24)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(GreatEvilSlayer,24,11000)>\
<BlessedArmour(Level 25)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(BlessedArmour,25,12000)>\
<TrapHexagon(Level 27)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(TrapHexagon,27,13000)>\
<CombatKick(Level 28)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(CombatKick,28,14000)>\
<ElementalSup(Level 29)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(ElementalSup,29,15000)>\
<SummonShinsu(Level 30)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonShinsu,30,16000)>\
<MassHealing(Level 31)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassHealing,31,17000)>\
<SummonJin(Level 33)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonJin,33,20000)>\
<BloodLust(Level 34)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(BloodLust,34,30000)>\
<Resurrection(Level 35)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Resurrection,35,40000)>\
<Purification(Level 38)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Purification,38,60000)>\
<Strength(Level 40)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Strength,40,80000)>\
<Transparency(Level 43)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Transparency,43,90000)>\
<CelestialLight(Level 46)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(CelestialLight,46,110000)>\
<RaisingLife(Level 47)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(RaisingLife,47,130000)>\
<EnergyEnhancer(Level 48)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(EnergyEnhancer,48,150000)>\
<GreatExplosion(Level 49)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(GreatExplosion,49,180000)>\
<MassPoisoning(Level 50)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassPoisoning,50,220000)>\
<SummonDummy(Level 52)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonDummy,52,250000)>\
<CombatKick(Level 54)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(CombatKick,54,290000)>\
<BlessedGuard(Level 70)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(BlessedGuard,70,350000)>\
<MoonExplosion(Level 72)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MoonExplosion,72,400000)>\
<MassTrans(Level 78)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassTrans,78,600000)>\ \
<Exit/@exit>\
#ELSESAY
Your are not a Taoist!\
<Exit/@exit>\


[[MENTION=4428]Wizard[/MENTION]_Book_Convert()]
#IF
#ACT
Mov A1{BOOK} %ARG(1)
Mov A2{lvl} %ARG(2)
Mov A3{MAP} %ARG(3)
goto @ConvertRootinBook_Step1

[[MENTION=589]Warrior[/MENTION]_Book_Convert()]
#IF
#ACT
Mov A1{BOOK} %ARG(1)
Mov A2{lvl} %ARG(2)
Mov A3{MAP} %ARG(3)
goto @ConvertRootinBook_Step1

[[MENTION=7419]Taoist[/MENTION]_Book_Convert()]
#IF
#ACT
Mov A1{BOOK} %ARG(1)
Mov A2{lvl} %ARG(2)
Mov A3{MAP} %ARG(3)
goto @ConvertRootinBook_Step1

[@ConvertRootinBook_Step1]
#SAY
So, you would like to Learn {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12} Spell?\
I can teach you the book for {FCOLOR/10}<$OUTPUT(A3)>{FCOLOR/12} Gold \
<Continue/@ConvertRootinBook_Step2>\
<Cancel/@exit>

[@ConvertRootinBook_Step2]
#IF
CHECKITEM %A1{BOOK} 1
CHECKlevel %A2
#ACT
goto @ConvertRootinBook_Step3
#ELSESAY
You do not have the required {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12} Spell Book!\
Or you are not level{FCOLOR/10} <$OUTPUT(A2)>{FCOLOR/12} to use this Book\ \
<Exit/@exit>\



[@ConvertRootinBook_Step3]
#IF
checkgold %A3
#ACT
TAKE gold %A3
Take %A1
actcmd addmagic %A1
#SAY
You succesfully learnt {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12}.\\
<Exit/@exit>
#ELSESAY
You do not have enough Gold!\\
<Exit/@exit>
 
Last edited:
Upvote 0

Womble

Dedicated Member
Dedicated Member
Mar 23, 2010
47
0
33
thanks for the replies its much appreciated - where should i put this script? Pardon my ignorance but im a complete novice at this type of stuff
 
Upvote 0

TheDayIDie

Banned
Banned
Dedicated Member
Jul 29, 2011
4,071
97
135
UK
C:\Mud3\Envir\Market_Def\Bichon - file must be named Book-0.txt

(Book = name)(-0 is map)
then in your merchant.txt found at C:\Mud3\Envir

Bichon\Book 0 100 100 BookGuy 0 8
(folder) (filename) (map) (cords) (cords) (name) (dno) (skin)
 
Upvote 0

Diego

Dedicated Member
Dedicated Member
Sep 20, 2010
72
1
3
35
There is an alternative to using that get around method. Its a long one (I'm referring to the NPC script get around)
As mentioned at the start of the thread:

Test this with one book first:
Go into Game3G database STDitems, do a grid search to find STD mode 51
Change one desired book to a mode 61, add (Manual) to the name and change the shape to the shape specified Envir/QuestDiary/System/Itemscripts/Manual.txt. The shape is the number specified after the 61 here.

Also do a grid search in the same place on SQL for STD mode 4, find the same skill you selected and remove the brackets manual entry.

I haven't sorted out the readbook txt yet, so I changed the command line in 00Default.txt (Envir/Market Def) to only examine the readbook.txt if player lv was above 99, else saying "you must translate to a manual".

This way ur books will not read, ur manuals will give skills

*Unfortunately u will have a ghost book when u learn skill, but it will disappear on re-log*

Your manuals should not sell now, but this can be easily solved by adding a +61 to the bookshop.txt for each settlement.
 
Last edited:
Upvote 0

Patan

Dedicated Member
Dedicated Member
Mar 31, 2005
245
26
75
If you wish to learn spells by double clicking them then you must go into


Also check in your 00default.txt to see if its linked properly to the right file:

untitled-82.jpg

2 = Shape ~ Depending what number you put in the .txt document will be what you put in the database 1 -> 1000 etc
61 = StdMode ~ StdMode will always be 61 for making items clickable, any other will not work

this must be done for every spell book and in the book must be setup in database so its like this...

or you could just use a script already provided:
Code:
[@main]
#SAY
{FCOLOR/13}So how can i help you?{FCOLOR/1}\
{FCOLOR/13}Do you wish to Learn a new skill?{FCOLOR/1}\
{FCOLOR/13}To Learn a new skill you must have certain skill book{FCOLOR/1}\
{FCOLOR/13}with you. Furthermore the book must be Quite New{FCOLOR/1}\
{FCOLOR/13}for me to be able to read it. Otherwise the book{FCOLOR/1}\
{FCOLOR/13}is going in the bin. What skill would you like to learn?{FCOLOR/1}\ \

<Warrior Skills/[MENTION=589]Warrior[/MENTION]Skills22>\
<Wizard Skills/[MENTION=4428]Wizard[/MENTION]Skills22>\
<Taoist Skills/[MENTION=7419]Taoist[/MENTION]Skills22>\ \
<Exit/@Exit>\

[[MENTION=589]Warrior[/MENTION]Skills22]
#IF
CHECKJOB Warrior
#SAY
{FCOLOR/10}(Warrior Spells){FCOLOR/12}\ \
<Fencing(Level 7)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Fencing,7,5000)>\
<Slaying(Level 14)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Slaying,14,6000)>\
<Thrusting(Level 19)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Thrusting,19,7000)>\
<HalfMoon(Level 24)/[MENTION=589]Warrior[/MENTION]_Book_Convert(HalfMoon,24,10000)>\
<ShoulderDash(Level 27)/[MENTION=589]Warrior[/MENTION]_Book_Convert(ShoulderDash,27,15000)>\
<FlamingSword(Level 32)/[MENTION=589]Warrior[/MENTION]_Book_Convert(FlamingSword,32,20000)>\
<DragonRise(Level 35)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DragonRise,35,30000)>\
<BladeStorm(Level 38)/[MENTION=589]Warrior[/MENTION]_Book_Convert(BladeStorm,38,40000)>\
<DSurge(Level 40)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DSurge,40,50000)>\
<Interchange(Level 42)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Interchange,42,60000)>\
<Defiance(Level 44)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Defiance,44,70000)>\
<Beacon(Level 46)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Beacon,46,400000)>\
<StrengthPower(Level 47)/[MENTION=589]Warrior[/MENTION]_Book_Convert(StrengthPower,47,80000)>\
<Might(Level 48)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Might,48,90000)>\
<DrakeBladeStorm(Level 49)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DrakeBladeStorm,49,100000)>\
<Assault(Level 50)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Assault,50,140000)>\
<Endure(Level 51)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Endure,51,160000)>\
<ReflectDamage(Level 53)/[MENTION=589]Warrior[/MENTION]_Book_Convert(ReflectDamage,53,200000)>\
<Shackles(Level 55)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Shackles,55,250000)>\
<EarthSurge(Level 70)/[MENTION=589]Warrior[/MENTION]_Book_Convert(EarthSurge,70,290000)>\
<GreatAssault(Level 73)/[MENTION=589]Warrior[/MENTION]_Book_Convert(GreatAssault,73,340000)>\
<DragonStorm(Level 80)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DragonStorm,80,420000)>\ \
<Exit/@exit>\
#ELSESAY
Your are not a Warrior!\
<Exit/@exit>\

[[MENTION=4428]Wizard[/MENTION]Skills22]
#IF
CHECKJOB Wizard
#SAY
{FCOLOR/10}(Wizard Spells){FCOLOR/12}\ \
<Fireball(Level 7)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Fireball,7,2000)>\
<LightningBall(Level 8)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(LightningBall,8,3000)>\
<Iceball(Level 9)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Iceball,9,4000)>\
<PowerBurst(Level 10)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(PowerBurst,10,5000)>\
<FlameRepulse(Level 12)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(FlameRepulse,12,6000)>\
<ElectricShock(Level 13)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ElectricShock,13,7000)>\
<Teleport(Level 14)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Teleport,14,8000)>\
<GreatFireball(Level 15)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GreatFireball,15,9000)>\
<ThunderBolt(Level 16)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ThunderBolt,16,10000)>\
<IceBlades(Level 17)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(IceBlades,17,11000)>\
<GreatPowerBurst(Level 18)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GreatPowerBurst,18,12000)>\
<Hellfire(Level 20)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Hellfire,20,13000)>\
<LightningBeam(Level 21)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(LightningBeam,21,14000)>\
<FrozenEarth(Level 22)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(FrozenEarth,22,15000)>\
<BlowEarth(Level 23)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(BlowEarth,23,16000)>\
<Firewall(Level 24)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Firewall,24,17000)>\
<TurnUndead(Level 26)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(TurnUndead,26,18000)>\
<GeoManipulation(Level 27)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GeoManipulation,27,20000)>\
<MagicShield(Level 29)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(MagicShield,29,23000)>\
<Explosion(Level 32)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Explosion,32,25000)>\
<Lightning(Level 33)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Lightning,33,30000)>\
<IceStorm(Level 34)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(IceStorm,34,40000)>\
<DragonTornado(Level 35)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(DragonTornado,35,50000)>\
<GtFrozenEarth(Level 38)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GtFrozenEarth,38,60000)>\
<ChainLightning(Level 40)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ChainLightning,40,70000)>\
<MeteorShower(Level43)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(MeteorShower,42,80000)>\
<Renounce(Level 46)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Renounce,46,90000)>\
<Tempest(Level 49)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Tempest,49,100000)>\
<ThunderGuard(Level 52)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ThunderGuard,52,110000)>\
<MassThunder(Level 54)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(MassThunder,54,120000)>\
<SelfMultiply(Level 56)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(SelfMultiply,56,130000)>\
<EvilSpiritPower(Level 70)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(EvilSpiritPower,70,140000)>\
<HellChain(Level 72)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(HellChain,72,150000)>\
<EvilStorm(Level 74)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(EvilStorm,74,160000)>\
<EvilFlame(Level 76)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(EvilFlame,76,170000)>\
<GtMagicShield(Level 78)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GtMagicShield,78,180000)>\
<GreatRenounce(Level 80)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GreatRenounce,80,190000)>\ \
<Exit/@exit>\
#ELSESAY
Your are not a Wizard!\
<Exit/@exit>\

[[MENTION=7419]Taoist[/MENTION]Skills22]
#IF
CHECKJOB Taoist
#SAY
{FCOLOR/10}(Taoist Spells){FCOLOR/12}\ \
<Healing(Level 7)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Healing,7,2000)>\
<SpiritSword(Level 8)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SpiritSword,8,3000)>\
<Poisoning(Level 12)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Poisoning,12,4000)>\
<SoulFireball(Level 13)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SoulFireball,13,5000)>\
<EvilSlayer(Level 14)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(EvilSlayer,14,6000)>\
<SummonSkeleton(Level 17)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonSkeleton,17,7000)>\
<Hiding(Level 20)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Hiding,20,8000)>\
<SoulShield(Level 21)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SoulShield,21,9000)>\
<MassHiding(Level 23)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassHiding,23,10000)>\
<GreatEvilSlayer(Level 24)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(GreatEvilSlayer,24,11000)>\
<BlessedArmour(Level 25)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(BlessedArmour,25,12000)>\
<TrapHexagon(Level 27)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(TrapHexagon,27,13000)>\
<CombatKick(Level 28)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(CombatKick,28,14000)>\
<ElementalSup(Level 29)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(ElementalSup,29,15000)>\
<SummonShinsu(Level 30)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonShinsu,30,16000)>\
<MassHealing(Level 31)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassHealing,31,17000)>\
<SummonJin(Level 33)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonJin,33,20000)>\
<BloodLust(Level 34)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(BloodLust,34,30000)>\
<Resurrection(Level 35)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Resurrection,35,40000)>\
<Purification(Level 38)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Purification,38,60000)>\
<Strength(Level 40)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Strength,40,80000)>\
<Transparency(Level 43)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Transparency,43,90000)>\
<CelestialLight(Level 46)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(CelestialLight,46,110000)>\
<RaisingLife(Level 47)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(RaisingLife,47,130000)>\
<EnergyEnhancer(Level 48)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(EnergyEnhancer,48,150000)>\
<GreatExplosion(Level 49)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(GreatExplosion,49,180000)>\
<MassPoisoning(Level 50)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassPoisoning,50,220000)>\
<SummonDummy(Level 52)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonDummy,52,250000)>\
<CombatKick(Level 54)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(CombatKick,54,290000)>\
<BlessedGuard(Level 70)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(BlessedGuard,70,350000)>\
<MoonExplosion(Level 72)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MoonExplosion,72,400000)>\
<MassTrans(Level 78)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassTrans,78,600000)>\ \
<Exit/@exit>\
#ELSESAY
Your are not a Taoist!\
<Exit/@exit>\


[[MENTION=4428]Wizard[/MENTION]_Book_Convert()]
#IF
#ACT
Mov A1{BOOK} %ARG(1)
Mov A2{lvl} %ARG(2)
Mov A3{MAP} %ARG(3)
goto @ConvertRootinBook_Step1

[[MENTION=589]Warrior[/MENTION]_Book_Convert()]
#IF
#ACT
Mov A1{BOOK} %ARG(1)
Mov A2{lvl} %ARG(2)
Mov A3{MAP} %ARG(3)
goto @ConvertRootinBook_Step1

[[MENTION=7419]Taoist[/MENTION]_Book_Convert()]
#IF
#ACT
Mov A1{BOOK} %ARG(1)
Mov A2{lvl} %ARG(2)
Mov A3{MAP} %ARG(3)
goto @ConvertRootinBook_Step1

[@ConvertRootinBook_Step1]
#SAY
So, you would like to Learn {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12} Spell?\
I can teach you the book for {FCOLOR/10}<$OUTPUT(A3)>{FCOLOR/12} Gold \
<Continue/@ConvertRootinBook_Step2>\
<Cancel/@exit>

[@ConvertRootinBook_Step2]
#IF
CHECKITEM %A1{BOOK} 1
CHECKlevel %A2
#ACT
goto @ConvertRootinBook_Step3
#ELSESAY
You do not have the required {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12} Spell Book!\
Or you are not level{FCOLOR/10} <$OUTPUT(A2)>{FCOLOR/12} to use this Book\ \
<Exit/@exit>\



[@ConvertRootinBook_Step3]
#IF
checkgold %A3
#ACT
TAKE gold %A3
Take %A1
actcmd addmagic %A1
#SAY
You succesfully learnt {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12}.\\
<Exit/@exit>
#ELSESAY
You do not have enough Gold!\\
<Exit/@exit>


is this script complete ? do i need to kmake step 1 and 2 too if i wanna use the script ??? it took me some time becouse a little error,
after i understand that @main need to be called BookStoreMain etc. ^^ and without this
{
script dont load :/
next problem is this [Mention] things i cant click on warrior wizard or taoist, nothing happens just with exit its working.

what is this mention ?? same like @Warrior or ??

cant learn any spells (not even with gm command) and adjustlevel have same prob that it dont do anything
 
Upvote 0

RealLionSoul

Dedicated Member
Dedicated Member
Oct 13, 2013
79
1
34
Holy thread revival!!

I am trying to use this script. The first dialog box pops up but when i click on Wiz/War or Tao it doesnt do anything.

Any assistance would be awesome.
 
Upvote 0

CraZyEriK

Golden Oldie
Golden Oldie
Jan 23, 2006
1,214
246
170
Alicante, Spain
Fix mention about [@warriorskills2] and these stuff, if you know a bit of scripting you can solve it, cant do it atm on phone sorry


edit: anyway full script is bad scripter (i think forum changed main brackets to mention,, try to search for another script on forums, there is loads of them for king)
 
Last edited:
Upvote 0

RealLionSoul

Dedicated Member
Dedicated Member
Oct 13, 2013
79
1
34
Hi Crazy,

Thanks for replying. Yep figured it out. Many thanks for your help!

I am going to try the GSP files which they uploaded to see if theyre any better. The skills look crazy messed up on here :x
 
Upvote 0

CraZyEriK

Golden Oldie
Golden Oldie
Jan 23, 2006
1,214
246
170
Alicante, Spain
Hi Crazy,

Thanks for replying. Yep figured it out. Many thanks for your help!

I am going to try the GSP files which they uploaded to see if theyre any better. The skills look crazy messed up on here :x


Dont waste time on GSP, djdarkz & me got the original files, and most of gates are cracked up, items are hard encoded and there is nothing to do, now official gsp files are off, and djdarkz is working with elamo on GSP emulator :) free of bugs and that stuff

you can see it on here: http://www.lomcn.org/forum/showthre...P-Server-Emu&p=1035236&viewfull=1#post1035236
 
Upvote 0

spartekas

LOMCN Veteran
Veteran
Sep 21, 2009
694
6
105
USA
Would the reason for bugs be chinese? Btw Kings2009 cracked on quad core and ran...Intending to do some releases and the people, 1 to Azura and 1 to Twisterdmk for sure..

1 big ? Can i use my data from 3.68 client, and environment..Oh book and manuals rember Demonic saying 4 51 1 is a book/skill other manual learnable..I rember Nicoles server being bug and lag free...Will test stats today..would like to release a Translated mud3 but dont want it on someones site... THX and GL :)


oops thx PATAN will try it:)
 
Upvote 0