Besides the wiki is there any in depth documentation for RoMBot functions? The wiki isn't very user friendly, I have difficulty finding information I need on it. There's so many things I just run across by reading various posts, or when I post and get help (much thanks to Rock5 and Lisa). Take for example what happened today. I was looking for some way to check for distance to targets so I could make my waypoint files a little better. I did a forum search (which I actually use Google to do my forum searches with "site:solarstrike.net +<term(s)>") and came across a post by Lisa where she mentions adding pullonly="true" to a skill in the skills.xml. Or previously I was trying to figure out how to stop my character from casting certain buffs while I was mounted and was advised to use autouse="false" in the skills.xml. I'm sure if I knew coding better I could look through the base coding and find these on my own, but I look at that coding and promptly get a headache

. But for today's problem, I ran across he solution by accident. I started up getid to get a mob id for targeting with snipe and I now see that it shows distance to the mob also. So now I have an accurate way to see how far mobs are besides my old method of "put a bunch of different range skills on the bar and creep closer till I'm at the range I want to be at when the skill lights up".
Paint me as a noobie but a lot of the examples on the wiki don't really help me understand any better. Take for instance:
Code: Select all
-- Create a base class with constructor
baseclass = class(function (a,number) a.number = number printf("Num set\n"); end);
function baseclass:testing()
printf("This is a test.\n");
end
-- Inherit from it
child1 = class(baseclass);
-- Polymorphism...
child2 = class(baseclass);
function child2:testing()
printf("This is a test (from child2).\n");
end
-- Constructors + Polymorphism (remember, inheriting from baseclass)
child3 = baseclass(120);
function child3:testing()
printf("Child 3\'s number is %d.\n", self.number);
end
Polywhatsism? Num set? I'm sure this all makes sense to those familiar with programming, but it leaves the common user in the dark. Maybe posting snippets from coding in waypoint/userfunction files by the advanced users and explaining what it does would help many of us. I started doing such a thing on the rompros site as I've been learning (kinda proud of the fact that they "stickied" it). I'm not saying to post full waypoint files to the public, but useful things that everyone could use or modify for their own scripts.
Please don't think I'm ungrateful in any way. That's far from the truth. It just that I don't want to keep bugging you guys about things that may be simple or common knowledge to you and let you keep doing what you want to accomplish instead of answering my questions.