Help!

Desolation Mir2 (Med Rate Server)

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
Code:
;Next level up (info)
[@Onlevelup]
#IF
checklevel = 2
#ACT
Linemsg 0 "Congratulations. You need 200 experience points for your next level.Have fun!"

#IF
checklevel = 3
#ACT
Linemsg 0 "Congratulations. You need 300 experience points for your next level.Have fun!"

#IF
checklevel = 4
#ACT
Linemsg 0 "Congratulations. You need 400 experience points for your next level.Have fun!"

#IF
checklevel = 5
#ACT
Linemsg 0 "Congratulations. You need 600 experience points for your next level.Have fun!"

#IF
checklevel = 6
#ACT
Linemsg 0 "Congratulations. You need 900 experience points for your next level.Have fun!"

#IF
checklevel = 7
#ACT
Linemsg 0 "Congratulations. You need 1200 experience points for your next level.Have fun!"

#IF
checklevel = 8
#ACT
Linemsg 0 "Congratulations. You need 1700 experience points for your next level.Have fun!"

#IF
checkLevel = 9
#ACT
Linemsg 0 "Congratulations. You need 2500 experience points for your next level.Have fun!"

#IF
checkLevel = 10
#ACT
Linemsg 0 "Congratulations. You need 6000 experience points for your next level.Have fun!"

#IF
checkLevel = 11
#ACT
Linemsg 0 "Congratulations. You need 8000 experience points for your next level.Have fun!"

#IF
checkLevel = 12
#ACT
Linemsg 0 "Congratulations. You need 10000 experience points for your next level.Have fun!"

#IF
checkLevel = 13
#ACT 
Linemsg 0 "Congratulations. You need 15000 experience points for your next level.Have fun!"

Guys ok i have 2 or 3 questions about the scripts that u see ...
1. Where should i put that in so when a player level's up he gets that line message? Atm it's in QManage but i don't think it should be there lol
2. Ok , i know you say sometimes ,,omg this guy is a noob in scripting" ill give u right lol ... how should i put that [<command> so when he levels up he gets the message? Im not sure if the command i used is ok...
3. Linemsg 0 is ok? because i used Sendmsg but then i was thinking; OMFG that command sends the message to all server..i wanna send the message only to the player that leveled up...





A last question: Isn't related to the this script...what's the command when you kill a mob there respawns another like on 4h

(S) =>>> (M) =>>>> ... etc

Thanks

/Dany
 

Chriz

Captain Lurker
VIP
Mar 24, 2003
1,199
1
340
315
LOMCN
#IF
checklevel = 2
#ACT
Linemsg 0 "Congratulations. You need 200 experience points for your next level.Have fun!"
break
#IF
checklevel = 3
#ACT
Linemsg 0 "Congratulations. You need 300 experience points for your next level.Have fun!"
break

make sure you put the breaks in or a level 5 will get 5 different messages :P
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
125
Q Function.txt is the 1 were you level up and shouts OUT.

[@Levelup]
#IF
CHECKLEVELEX < 6
#ACT
SETRANKLEVELNAME %s\Name

Q Manage.txt is the 1 were you login and it CHECKS if your the LEVEL.

[@Login]
#IF
CHECKLEVELEX < 6
#ACT
SETRANKLEVELNAME %s\Name

Hope this helps :)
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
125
This got nothing to do with topic but who you ingame servers?:P I just like to know. Never heard ya LOMCN name ingame befor:P so im bein noisey:wink:

You know who i am. If you don't look @ sig:P Big hint lol

Good luck to your server if you making 1 or just askin a question for a mate. It better not be LOW!:P
 
Upvote 0

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
Ok still a last problem... the LineMsg sends that message to all server ... what's the command that is sending that message only to the player who leveled up..
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
Sends a message with the content 'text', options: 0(regular message), 1 ((*) infront), 2 ([npc name] infront), 3([charname] infront), 4(just message of (I think npc) saying), 5 (red text), 6 (green text), 7(blue text), 8(group text), 9 (guild text)

so just change the number 0 to one of whaat u want from the above.
 
Upvote 0

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
Gezza..i know this command..i use it lol... but which one from them sends the message only to one player? USed Linemsg 0 and 1 ... both message were global...
2. global to but adds npc
3. same
4. crap
5, 6 and 7 are they global?
 
Upvote 0

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
thanks gezza..works perfectly but now i have another problem
Code:
[@LevelUp]
#IF
checklevel = 2
#ACT
linemsg 6 "Congratulations. You need 200 experience points for your next level.Have fun!"
break

[@Levelup]
#IF
checklevel = 3
#ACT
linemsg 6  "Congratulations. You need 300 experience points for your next level.Have fun!"
break
[@Levelup]
#IF
checklevel = 4
#ACT
linemsg 6  "Congratulations. You need 400 experience points for your next level.Have fun!"
break
[@LevelUp]
#IF
checklevel = 5
#ACT
linemsg 6  "Congratulations. You need 600 experience points for your next level.Have fun!"
break
[@levelup]
#IF
checklevel = 6
#ACT
linemsg 6  "Congratulations. You need 900 experience points for your next level.Have fun!"
break

Every time when i level up i don't get the message forthe lvl i am... i get the message from the first leve (200exp points)...Any idea how to fix?

Thanks

/Dany
 
Upvote 0

boothy

LOMCN Veteran
Veteran
Mar 23, 2007
458
12
45
Try it like:

[@LevelUp]
#IF
checklevelex > 1
checklevelex < 3
#ACT
linemsg 6 "Congratulations. You need 200 experience points for your next level.Have fun!"
break

#IF
checklevelex > 2
checklevelex < 4
#ACT
linemsg 6 "Congratulations. You need 300 experience points for your next level.Have fun!"
break

#IF
checklevelex > 3
checklevelex < 5
#ACT
linemsg 6 "Congratulations. You need 400 experience points for your next level.Have fun!"
break

#IF
checklevelex > 4
checklevelex < 6
#ACT
linemsg 6 "Congratulations. You need 600 experience points for your next level.Have fun!"
break

#IF
checklevelex > 5
checklevelex < 7
#ACT
linemsg 6 "Congratulations. You need 900 experience points for your next level.Have fun!"
break

Btw you don't need [@LevelUp] for every one, only need one.

edit: or just try like:

[@LevelUp]
#IF
checklevelex = 2
#ACT
linemsg 6 "Congratulations. You need 200 experience points for your next level.Have fun!"
break
 
Last edited:
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
Btw you don't need [@LevelUp] for every one, only need one.

edit: or just try like:

[@LevelUp]
#IF
checklevelex = 2
#ACT
linemsg 6 "Congratulations. You need 200 experience points for your next level.Have fun!"
break
#IF
checklevelex = 2
#ACT
linemsg 6 "Congratulations. You need 300 experience points for your next level.Have fun!"
break

As boothy says you only need [@leveupl] once at the top you don't need to add it for every part, that is most probably the problem. If you still have the problem try using flags, but you shouldn't need to doing it correctly.
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
125
This is my level up one. Just change them to points:P

Q Func.txt

[@Levelup]
#IF
CHECKLEVELEX < 6
#ACT
SETRANKLEVELNAME %s\~Zelious~

#IF
CHECKLEVELEX = 7
#ACT
SETRANKLEVELNAME %s\Level*7+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 7!"

#IF
CHECKLEVELEX = 20
#ACT
SETRANKLEVELNAME %s\Level*20+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 20!"
LineMSG 6 "Congratulations you have unlocked:: Grass_Land!"

#IF
CHECKLEVELEX = 30
#ACT
SETRANKLEVELNAME %s\Level*30+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 30!"
LineMSG 6 "Congratulations you have unlocked:: Dead_Cave!"

#IF
CHECKLEVELEX = 40
#ACT
SETRANKLEVELNAME %s\Level*40+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 40!"
give gold 50000

#IF
CHECKLEVELEX = 50
#ACT
SETRANKLEVELNAME %s\Level*50+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 50!"
give gold 100000

#IF
CHECKLEVELEX = 60
#ACT
SETRANKLEVELNAME %s\Level*60+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 60!"
give gold 200000

#IF
CHECKLEVELEX = 70
#ACT
SETRANKLEVELNAME %s\Level*70+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 70!"
give gold 500000

#IF
CHECKLEVELEX = 80
#ACT
SETRANKLEVELNAME %s\Level*80+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 80!"
give gold 700000

#IF
CHECKLEVELEX = 90
#ACT
SETRANKLEVELNAME %s\Level*90+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 90!"
give gold 850000

#IF
CHECKLEVELEX = 100
#ACT
SETRANKLEVELNAME %s\Level*100+
SENDMSG 0 "<$USERNAME> Has Level Up! He Is Now Level 100!"
give GoldBar

Q Manage.txt

#IF
CHECKLEVELEX < 6
#ACT
SETRANKLEVELNAME %s\~Zelious~

#IF
CHECKLEVELEX > 6
#ACT
SETRANKLEVELNAME %s\Level*7+

#IF
CHECKLEVELEX > 19
#ACT
SETRANKLEVELNAME %s\Level*20+

#IF
CHECKLEVELEX > 29
#ACT
SETRANKLEVELNAME %s\Level*30+

#IF
CHECKLEVELEX > 39
#ACT
SETRANKLEVELNAME %s\Level*40+

#IF
CHECKLEVELEX > 49
#ACT
SETRANKLEVELNAME %s\Level*50+

#IF
CHECKLEVELEX > 59
#ACT
SETRANKLEVELNAME %s\Level*60+

#IF
CHECKLEVELEX > 69
#ACT
SETRANKLEVELNAME %s\Level*70+

#IF
CHECKLEVELEX > 79
#ACT
SETRANKLEVELNAME %s\Level*80+

#IF
CHECKLEVELEX > 89
#ACT
SETRANKLEVELNAME %s\Level*90+

#IF
CHECKLEVELEX > 99
#ACT
SETRANKLEVELNAME %s\Level*100+

I usly use...

SENDMSG 6 "Welcome to SafeZone" <- Sends message to you only.

SENDMSG 0 "Level up 50!" <- Sends message to everyone on server.

If your looking for Global shout. Here is the script.

GlobalShout - MarketDef/Global.txt


(@@SendMsg)
(@@useitemname)
[@main]
#say
Welcome <$USERNAME> witch feature would you\
like to use\
<ItemNameChange/@itemchange>\
<Name Colour/@color>\
<Send An Pefix Msg/@msgsend> To The Whole Server\
<Send Your Own Msg/@Global> To The Whole Server\\
<None Thx/@Exit>\

[@Global]
Would you like to send a Global Message\
Note it will cost you 500k a message\\
<Yes Please/@@sendmsg>\
<no way/@exit>\

[@@SendMsg]
#IF
checkgold 500000
#ACT
take Gold 500000
SETSENDMSGFLAG
#elsesay
You dont have enough gold\ \
<Back/@main> <Exit/@Exit>

[@msgsend]
===---===---===---===---===---===---===---===---===---===---===\
#say
Welcome here you can send global pefixed\
msg to the whole server.But with an\
cost of 100k

SendMsg :<Send/@next1>\
Exit :<Exit/@exit>\
===---===---===---===---===---===---===---===---===---===---===\\

[@next1]
===---===---===---===---===---===---===---===---===---===---===\
#say
<State Your Level/@sh32>\
<Looking For a Parnter/@sh33>\
<Recruit For Guild/@sh34>\
<My Weapon Owns/@sh31>\
<Looking For any Hunts/@sh36>\
<Anyone Want a PVP/@sh37>\
<More/@next2> , <Exit/@exit>\
===---===---===---===---===---===---===---===---===---===---===\\
#ELSESAY
You don't have enough points to use my service!\
<Exit/@exit>\
===---===---===---===---===---===---===---===---===---===---===\\
[@next2]
===---===---===---===---===---===---===---===---===---===---===\
#say
<Selling Wizard Items/@sh38>\
<Selling Taoist Items/@sh39>\
<Selling Warrior Items/@sh40>\
<Selling PointScrolls/@sh41>\
<Selling Loads/@sh42>\

<Exit/@exit>\
===---===---===---===---===---===---===---===---===---===---===\\



[@sh31]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME>'s <$USERWEAPON> Owns All!"
goto @main
#ELSEACt
GOTO @sh

[@sh32]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME> Is Level <$LEVEL>!"
goto @main
#ELSEACt
GOTO @sh

[@sh33]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME> Is Looking For A Partner To Marry ?"
goto @main
#ELSEACt
GOTO @sh

[@sh34]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME> Is Recruiting Members For Guild"
goto @main
#ELSEACt
GOTO @sh



[@sh36]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME>'s Looking For A Hunt ! (MSG ME)"
goto @main
#ELSEACt
GOTO @sh

[@sh37]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME>'s Looking For A Fight ! (PVP)"
goto @main
#ELSEACt
GOTO @sh

[@sh38]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling Good Wizard Items (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@sh39]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling Good Taoist Items (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@sh40]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling Good Warrior Items (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@sh41]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling PointScrolls (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@sh42]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling Loads Of Stuff (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@color]
#IF
#ACT
goto @doplayer

[@doplayer]
Welcome to the name colour service.\
<Black/@doblack> \
<Dark Blue/@dodarkblue> \
<Green/@dolightblue>\
<Purple/@doyellow>\
<Dark Red/@dowhite> \ \
<Info/@info> , <Exit/@exit>\


[@info]
Once you logout your name will be back to nomal\ \
<Ok Thanks/@exit>\


[@doblack]
#IF
#ACT
CHANGENAMECOLOR 0
goto @doend

[@dowhite]
#IF
#ACT
CHANGENAMECOLOR 1
goto @doend

[@dolightblue]
#IF
#ACT
CHANGENAMECOLOR 2
goto @doend

[@dolightpurple]
#IF
#ACT
CHANGENAMECOLOR 3
goto @doend

[@dodarkblue]
#IF
#ACT
CHANGENAMECOLOR 4
goto @doend

[@doyellow]
#IF
#ACT
CHANGENAMECOLOR 5
goto @doend

[@dolightgreen]
#IF
#ACT
CHANGENAMECOLOR 6
goto @doend

[@dolightred]
#IF
#ACT
CHANGENAMECOLOR 7
goto @doend

[@dodarkgrey]
#IF
#ACT
CHANGENAMECOLOR 8
goto @doend

[@dolightgrey]
#IF
#ACT
CHANGENAMECOLOR 9
goto @doend

[@dolightorange]
#IF
#ACT
CHANGENAMECOLOR 13
goto @doend

[@dogmcolor]
#IF
#ACT
CHANGENAMECOLOR 161
#SAY
Your Name Color has changed.\ \

<Exit/@exit>

[@dodarkorange]
#IF
#ACT
CHANGENAMECOLOR 188
goto @doend

[@dolightbrown]
#IF
#ACT
CHANGENAMECOLOR 222
goto @doend

[@dodarkbrown]
#IF
#ACT
CHANGENAMECOLOR 223
goto @doend

[@dodarkred]
#IF
#ACT
CHANGENAMECOLOR 231
goto @doend

[@dolightpink]
#IF
#ACT
CHANGENAMECOLOR 225
goto @doend

[@dodarkpink]
#IF
#ACT
CHANGENAMECOLOR 237
goto @doend

[@dodarkpurple]
#IF
#ACT
CHANGENAMECOLOR 251
goto @doend

[@dokarki]
#IF
#ACT
CHANGENAMECOLOR 253
goto @doend

[@dodarkgreen]
#IF
#ACT
CHANGENAMECOLOR 254
goto @doend

[@dotest]
#IF
#ACT
CHANGENAMECOLOR 120
#SAY
Your Name Color has changed.\ \

<Exit/@exit>

[@doend]
#IF
#SAY
Your Name Color Has Been Done.\ \

<Thanks/@exit>\



[@itemchange]
#SAY
Please choose the Item you wish to rename\
------------------------------------------------------------\
<Armour/@@useitemname0> <Weapon/@@useitemname1>\
<Necklace/@@useitemname3> <Helmet/@@useitemname4>\
<Left Brace/@@useitemname5> <Right Brace/@@useitemname6>\
<Left Ring/@@useitemname8> <Right Ring/@@useitemname7>\
<Candle Slot/@@useitemname2>\
------------------------------------------------------------\
<Exit/@exit>

[@@useitemname0]
#ACT
goto @ChangeName
[@@useitemname1]
#ACT
goto @ChangeName
[@@useitemname2]
#ACT
goto @ChangeName
[@@useitemname3]
#ACT
goto @ChangeName
[@@useitemname4]
#ACT
goto @ChangeName
[@@useitemname5]
#ACT
goto @ChangeName
[@@useitemname6]
#ACT
goto @ChangeName
[@@useitemname7]
#ACT
goto @ChangeName
[@@useitemname8]
#ACT
goto @ChangeName
[@@useitemname9]
#ACT
goto @ChangeName
[@@useitemname10]
#ACT
goto @ChangeName
[@@useitemname11]
#ACT
goto @ChangeName
[@@useitemname12]
#ACT
goto @ChangeName
[@ChangeName]
#IF
#act
SETSCRIPTFLAG 1 1
sendmsg 7 Item_renamed_successfully.
Close
#elseact
sendmsg 7 You_dont_have_enough_gold.

Good luck with server.

I hope these help:)

PS:Sorry i couldnt make the post SHORTER:P
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
use
Code:
 saves reading all that crap :P

[CO DE] [/CO DE]
 
Last edited:
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
125
lol Shh you i was only trying to help:P

My Systems will work 100% and will work when i make new ones:P

I never give up on the scripts lol. I think ahead of people on scripts etc exploating it.

Not my fault that a long and sexy script:P

Good luck bud.
 
Upvote 0

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
Thank you guys for helping . It's working now :D

/Dany

Edit: here's a pic
images02u.png
[/URL]
Uploaded with ImageShack.us
 
Last edited:
Upvote 0