English Tibia level+money

41 replies
Goto Page
To the start Previous 1 2 3 Next To the start
26.08.13 11:36:25 am
Up
Jarates
User
Offline Off
Hi I need help with the tibia script how to implement add level to player and give money to player in the admins.lua? Thanks.
26.08.13 11:40:05 am
Up
Communism
Reviewer
Offline Off
Stupid kid cheater.
Stop cheating and play legit ffs!
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
26.08.13 11:54:39 am
Up
Necr0
User
Offline Off
give xp
Code:
1
!l addexp(id,amount)

give money
Code:
1
!l addmoney(id,amount)


-- EDIT
code >

add this to your admin.lua and it should add a set level command
Code:
1
!g <targetid> <level>


PS: make sure you fixed the bug(droping NaN or Inf)
edited 2×, last 26.08.13 12:20:19 pm
26.08.13 03:30:17 pm
Up
Jarates
User
Offline Off
I edited and it only changes the exp not the level and how to make give gold?
26.08.13 03:58:06 pm
Up
Necr0
User
Offline Off
More >


Now it changes the level. For the money :

More >
26.08.13 04:05:36 pm
Up
Jarates
User
Offline Off
Thanks but how to add or remove item of player?
Omg I can change only my level not others lvl it is bugged
edited 2×, last 26.08.13 04:35:39 pm
26.08.13 04:44:05 pm
Up
Necr0
User
Offline Off
Code:
1
2
!l removeitem(targetid,itemid[,amout,tell])
!l additem(targetid,itemid[,amout,tell])


or if you want to have a function for it:

More >


I have no idea if this works maybe there is a bug when it tries to get the amount. (just try it out)
Code:
1
2
3
4
5
6
7
8
9
10
Usage:
     !k <targetid> <itemid> [amount]
Example
     !k 2 306 3
     -> adds 3 of 306 to the inventory of id 2 (if it isn't full)
     !k 7 302
     -> adds 1 of 302 to the inventory of id 7 (if it isn't full)
     !k 1 304 -2
     -> removes 2 of 304 from the inventory of id 1
          (if it contains them elsewise it will remove as much as possible)
26.08.13 06:41:49 pm
Up
Jarates
User
Offline Off
I use the command and it keeps sayng Add/Remove item: !k targetid itemid amount
26.08.13 06:53:21 pm
Up
Necr0
User
Offline Off
this can have many reasons:
> no targetid
> player with targetid doesnt exist
> amount is 0
> no itemid

> a bug
      > any errors?
      > any changes you made to it?
26.08.13 08:17:42 pm
Up
Jarates
User
Offline Off
No changes. I used the command on myself and is not working
There is no error in console
Do you know how to make a trading system? O.o
26.08.13 09:35:48 pm
Up
Necr0
User
Offline Off
More >

this one works(even tested this time)

if you want to have a trading system ask someone else
edited 3×, last 27.08.13 06:16:58 pm
27.08.13 07:54:32 pm
Up
Jarates
User
Offline Off
How to add command that shows usgn+ip+money of player?
27.08.13 08:25:16 pm
Up
Necr0
User
Offline Off
CODE >


this should work. usage:

Code:
1
!x <targetid>


output:
Code:
1
2
3
4
(name) :
-IP adress : (ip)
-USGN ID : (usgnid)
-money : (money)


example:
Code:
1
2
3
4
Necr0[GER] :
-IP adress : 217.247.61.16
-USGN ID : 16689
-money : 0
27.08.13 10:23:29 pm
Up
Jarates
User
Offline Off
I want to create an item that gives you speed for 10 seconds and creates an image on the player screen for 10 seconds. It would be cool if this would be possible
27.08.13 11:12:40 pm
Up
Necr0
User
Offline Off
CODE >

this should work have fun with this "wind rune"

the speed resets if the player equips/strips an item and after the 10 seconds the player will be slower than before
(to fix that just die or equip/strip an item)

the effect is written so that it shouldn't(not tested) make you slower than before when you reach a speedmod over 100

--
CODE >

user Jarates has written:
Omg I can change only my level not others lvl it is bugged


sry i didn't read that. i've fixed that.
27.08.13 11:19:08 pm
Up
Jarates
User
Offline Off
Niceee but there is no ban/kick/mute command
27.08.13 11:43:54 pm
Up
Necr0
User
Offline Off
code >


Usage :
-Ban:
Code:
1
!y <targetid>

-Kick:
Code:
1
!z <targetid>


PS:
Muting comes later 'cause it's already 11.45pm in Germany and i am about to get a little bit tierd.
It's not that i can't do it but at the moment i don't have the nerves to script inside the EXPsay function and set a variable inside of the player saves.

Important your server should be USGN-only because otherwise you can't ban players without USGN-id.
Furthermore it will be important for the muting function that i planned.
(I will also edit the !x command. So it will show if a player is muted)

Btw next commands will be something like "!1" or "!!" because we have just completed the alphabet
28.08.13 08:10:34 am
Up
Jarates
User
Offline Off
How to add a rune that gives you atk+spd+def? And how to add food that gives spd? I want when I eat the lolipop then I get more spd. is this possible?! tnx
28.08.13 02:45:51 pm
Up
Necr0
User
Offline Off
instructions >

Usage:
Code:
1
!! <targetid>

toggles between muted and not muted

CODE >

Code:
1
!x <targetid>


output:
Code:
1
2
3
4
5
(name) :
-IP adress : (ip)
-USGN ID : (usgnid)
-money : (money)
-muted : (muted)


example:
Code:
1
2
3
4
5
Necr0[GER] :
-IP adress : 217.247.61.16
-USGN ID : 16689
-money : 0
-muted : false
28.08.13 02:52:08 pm
Up
Jarates
User
Offline Off
Can you make a npc that allows only level 1 to 10 to enter the zone? O.o lvl 10+ are not allowed!
To the start Previous 1 2 3 Next To the start