View Full Version : A tutorial to advanced script writing
Colorion
10-11-2008, 20:33
I wrote a tutorial at Pro-Tibia.com (http://www.pro-tibia.com) - Advanced Script Writing.
It contains guide to scripting:
# Depositer
# Loot seller
# Position check
# Spear buyer
# Potion refiller
# Profit Counter
# Hole digger
# Loot hider under trash
# Cond script when player is on screen
# Door opener
# Connecting Conditional Events
# Soft Boots changer
Perhaps I'll convert it to forum some day, it seems like too much work. Maybe when the guide fully develops ... I'm planning to add some more scripts.
I'd like to ask you for suggestions on what more should be added? Any kind of feedback would be much appreciated ;)
put this on blackd forum ;)
Wojtek19
10-11-2008, 20:55
Yea, agreed ;)
Colorion
10-12-2008, 00:03
Craploads of formatting ;) in my spare time maybe
Now that's what I call useful :)
Thanks for this m8
Colorion
10-13-2008, 16:40
I added two patterns into the article:
Connecting Conditional Events
Soft Boots changer
i read about the door opener..
i think it's easier for everyone if you use variables, some people might not know how to make the coords in hex.
quote from the site:
fastExiva > 82 67 7E DA 7D 07 60 06 01 00
where the red are x, y, z.
instead change it to:
fastExiva > 82 $numbertohex2:12345$ 7E $numbertohex2:12345$ 7D $numbertohex2:7$ 60 06 01 00
so they just have to edit it to "normal numbers"
however, this might be really useful for a lot of people and it's a good idea.
I never get such ideas to make this things :(
you should credit the people that made the conditional events first.
EXAMPLE:
give me credit for "person following you alarm"
If you want proof it was made by me just make a quick search at the forum and see the date I posted.
EDIT:
ok just found that the "connecting conditional events" was made by me too.
Colorion
10-15-2008, 07:12
i read about the door opener..
i think it's easier for everyone if you use variables, some people might not know how to make the coords in hex.
quote from the site:
fastExiva > 82 67 7E DA 7D 07 60 06 01 00
where the red are x, y, z.
instead change it to:
fastExiva > 82 $numbertohex2:12345$ 7E $numbertohex2:12345$ 7D $numbertohex2:7$ 60 06 01 00
so they just have to edit it to "normal numbers"
however, this might be really useful for a lot of people and it's a good idea.
I never get such ideas to make this things :(
Yeah, it kind of simplifies things. My idea was that people will "catch" hexes through Proxy. It should be easier for most of them to just input the coords.
you should credit the people that made the conditional events first.
EXAMPLE:
give me credit for "person following you alarm"
If you want proof it was made by me just make a quick search at the forum and see the date I posted.
EDIT:
ok just found that the "connecting conditional events" was made by me too.
My idea is that just because you published something first, doesn't mean you have the exclusive right to be the author of it. That follower, "stalker" as you called it, alarm is 2-3 years old.
Do you really think I could NOT do it by myself? Of course I can. Then why credit you? Just because you published it FIRST?
Maybe I used the same variable as you? Happens, sorry. Perhaps I even saw you in your script long time ago and got used to the name.
I promise you, I would never copy a script and post it on my website.
I'm a good scripter myself, I can write what you can write. If you publisehd it first, doesn't mean I could not have figured it out on my own.
Maybe I should credit you like "alarm on follower script that was first published by Weeper"? I don't know, it doesn't sound to neat.
No offense, I really respect you and I appreciate all the hard work you put into doing this script. BlackD community really benefit from having you around. Please try to put yourself in my situation - I'm able to write those scripts as much as you can and now I'm expected to credit you just because you published them first.
Hi, i have problem with "Loot Hider under trash":
SayMessage exiva > 78 44 7E E1 7D 07 25 0B 01 45 7E E1 7D 07 01
Where: 25 0B <--- trash id
Where: 44 E1 07 45 E1 07 <---coords
And my problem is how to get this coords =/
Nice tutorial!
Gonna read in my spare time and at above...
IMA NOOB TOO ^.^
still nobody answer on my question
Colorion
03-18-2009, 21:31
@dymian
Here's your answer. It could be found on my site all this time. You need to find for yourself what the hex string is for any given place, using the Proxy window and Log Packets function. Read more about finding hexes on pro-tibia.com in Cheating section.
Fresh Bot
01-25-2013, 22:37
that site of yours s kind o death now cant go in there, it did look intereting too bad tho.
Fresh Bot
01-25-2013, 22:37
i guess it was ages ago
Yup... The site is down.
Really bad, I can't find any advanced tutorial, where there parameters or so are explained or even shown.
:(
Powered by vBulletin® Version 4.2.5 Copyright © 2021 vBulletin Solutions Inc. All rights reserved.