![]() Shoutbox (View Full Shoutbox)
|
||||
Click Refresh to load shouts. |
||||
|
[LUA & OT] Using a Knowledge Parchment
|
|
01-14-2009, 03:48 PM
(This post was last modified: 01-15-2009 11:42 AM by Jesper_Kladden. Edit Reason: )
Post: #1
|
|||
|
|||
|
[LUA & OT] Using a Knowledge Parchment
This is basicly what it does:
*Checks if the player level is less then 80, if it is you can't use it. *Adds experience to the player PHP Code: local EXP = 2000000 -- Amount of EXP to get This should be in actions.xml PHP Code: <action itemid="1948" script="other/knowledgeparchment.lua"/> The code is basicly self explaining (I've written some also) Rate it , I've been doing LUA for 3 days
![]() |
|||
|
01-15-2009, 11:19 AM
Post: #2
|
|||
|
|||
|
[LUA & OT] Using a Knowledge Parchment
Added so the Script[Action] works perfectly and added what to be in Actions.xml
![]() |
|||
|
01-15-2009, 11:26 AM
Post: #3
|
|||
|
|||
|
[LUA & OT] Using a Knowledge Parchment
Use tabulators, code should looks pretty nice
![]() Also I don't understand usage of your code. |
|||
|
01-15-2009, 11:28 AM
Post: #4
|
|||
|
|||
|
[LUA & OT] Using a Knowledge Parchment
What part don't you understand?
![]() |
|||
|
01-15-2009, 03:18 PM
Post: #5
|
|||
|
|||
|
[LUA & OT] Using a Knowledge Parchment
3/4 of OTServ are in RPG mode.
So what is usage of that code if every 80 level can "hunt" on switching switches. |
|||
|
01-15-2009, 03:27 PM
Post: #6
|
|||
|
|||
|
[LUA & OT] Using a Knowledge Parchment
Well... If it isn't RPG you can maybe make the server PVP-Enforced? Or just war. And in the body you find these scrolls... I dunno?
And it isn't a switch, it's a parchment. Also: The ID can be changed to a Treasure chest (Quest chest) and you get EXP for making quests. What about that
![]() |
|||
|
12-10-2009, 09:51 PM
Post: #7
|
|||
|
|||
|
RE: [LUA & OT] Using a Knowledge Parchment
you know you can make 1 unique config no D:?
like config = { bla = 1, bla1 = 2, etc} |
|||
|
« Next Oldest | Next Newest »
|

![[-]](images/mint/collapse.gif)


![[Image: buttonug.png]](http://www.tibiaug.com/buttonug.png)


