Search found 56 matches

by Zangetsu
Thu Nov 24, 2011 3:59 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: OmniBot
Replies: 14
Views: 4828

Re: OmniBot

When I first started my own pathing lists for my custom bot, I too thought that getting a grid map of the entire world would be the way to go. However, the problem soon arises of scale. The game world is big enough that you are talking about thousand's if not millions of waypoints. Perhaps even mor...
by Zangetsu
Thu Nov 24, 2011 11:58 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: OmniBot
Replies: 14
Views: 4828

Re: OmniBot

Any database, no matter how secure, isn't quite secure enough on the web in my opinion. I don't think that such database would be a good idea. This is typically the concern that I meet every day with my customers. Then I ask them if they are more comfortable having their data "at home". T...
by Zangetsu
Thu Nov 24, 2011 10:19 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: OmniBot
Replies: 14
Views: 4828

Re: OmniBot

@Lisa & Nero: You know that datas can be encrytped right? If I'm offering a service like that, of course I won't let "clear" datas on my database. This is a part of my job btw. And, yeah Nero, I don't like the idea of the guy just using it without doing anything to help us to use the s...
by Zangetsu
Thu Nov 24, 2011 1:03 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: OmniBot
Replies: 14
Views: 4828

Re: OmniBot

Good idea you have here. Working together is always better than working alone. Moreover that alone it takes too damn loooooong time. About your WP's idea, I'm currently working to get this into a database that the bot is asking through MM. I had a ton of idea like doing "Hotpoints" and way...
by Zangetsu
Sun Nov 20, 2011 11:10 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty [Version v1.11.20beta]

If you look at the code more you will realise 0,6 is actually 7 numbers. when it is setting the return value it uses i + 1. so 0 is actually for icon I and 6 would be for icon VII. I don't recall offhand why it was only done for icons 1 to 7 but this would only cause an issue if you actually used i...
by Zangetsu
Sun Nov 20, 2011 6:08 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty [Version v1.11.20beta]

New version uploaded on first post. If you want to use NPC and Icon, check this: :arrow: Open rom/classes/pawn.lua :arrow: Seach for: function CPawn:GetPartyIcon() local listStart = memoryReadRepeat("intptr", getProc(), addresses.partyIconList_base, addresses.partyIconList_offset) for i = ...
by Zangetsu
Sun Nov 20, 2011 12:20 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty [Version 0.11.20beta]

That was failing to check icon and I found probably a mistake in pawn.lua There is 8 icons in game but here it's looping for 6 only: function CPawn:GetPartyIcon() local listStart = memoryReadRepeat("intptr", getProc(), addresses.partyIconList_base, addresses.partyIconList_offset) for i = 0...
by Zangetsu
Sun Nov 20, 2011 11:03 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty [Version 0.11.20beta]

MicroMacro wrote: Call to CObjectList:getObject failed: index out of bounds
EDIT
nvm, I think I found something interesting in pawn.lua
by Zangetsu
Sun Nov 20, 2011 12:24 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty [Version 0.11.20beta]

Thanks Lisa, I was too noob to understand that will handle the loading screen :lol: I'm doing fine til now because of your help :o Next step is to act with NPC when the partymemberpawn designed as "Bot master" put a icon on a NPC. For now it's good if the icon is on self and I can't use pl...
by Zangetsu
Sat Nov 19, 2011 10:23 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty [Version 0.11.20beta]

Ok thanks Lisa :) Currently if I zone with Player1, the bot is zoning if not too far but I my last X and Z is too far of the portal, it's just standing there. I'll search the post talking about it, I've seen this few days ago. My major problem if it's doing a {something}:update() while loading it's ...
by Zangetsu
Sat Nov 19, 2011 9:41 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty [Version 0.11.20beta]

Yeah Lisa I understood. This is working now lol I might not be clear enough each time or you're probably hating me xD I was asking this: You have a party :arrow: Bot :arrow: Player1 With my script, when i'm walking with Player1 and if the distance is more than {A distance}, the bot is going to the l...
by Zangetsu
Sat Nov 19, 2011 9:06 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty [Version 0.11.20beta]

Thanks Lisa with your example I could handle it better, the new version is uploaded. Next step is to make it going to the last Followed.X Followed.Z if he lost him. I have some idea of how to do it but I'll ask before just in case. Is it possible to know if a partymemberpawn is in the same zone or n...
by Zangetsu
Sat Nov 19, 2011 6:15 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty - Using your bot as party member (beta)

Based a script on your script but for MM, the bot have always a target and its name is unknown :? If I understand well, from memory I the bot have a target it's not impossible that the bot won't have a "target frame" in game. But whatever I'm doing with your script, the bot have always a t...
by Zangetsu
Fri Nov 18, 2011 10:32 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty - Using your bot as party member (beta)

You do realize your basically trying to invent the wheel when if you look in your neighbours yard the wheel is already there, it might not be exactly how you want your wheel but the wheel itself has already been invented. You could always just work on the existing wheel and turn it into what you wa...
by Zangetsu
Fri Nov 18, 2011 9:56 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty - Using your bot as party member (beta)

109 local CurrentMemberID = player:findNearestNameOrId(RoMScript("UnitName('party"..i.."')")) Have a look in rom/classes/party.lua The code is already done for party members and the info is gotten direct from memory. just call PartyTable() and then use the table partymemberpawn....
by Zangetsu
Fri Nov 18, 2011 7:49 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty - Using your bot as party member (beta)

It's on the good way and it's testable, I've edited the first post with files.
by Zangetsu
Fri Nov 18, 2011 3:40 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty - Using your bot as party member (Currently in de

Wow just found that table are not the same as array in LUA :shock:
I need to change all of my functions, this is not what I wanted.

brb in few minutes xD
by Zangetsu
Fri Nov 18, 2011 3:31 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty - Using your bot as party member (Currently in de

That's right. As long as it wasn't declared local earlier on. The thing to remember about global variables is that they might clash with other functions or code that might be using the same variable. So it's important to not make them too generic. "Table" is quite generic and could be use...
by Zangetsu
Fri Nov 18, 2011 10:57 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty - Using your bot as party member (Currently in de

You know what I did to collect the most loot? I'd set auto greed on everything on all my characters in party so the loot gets spread between all characters. Just saying. If you are going to just pass on any loot then why not set it to "free for all" then you don't need to roll on anything...
by Zangetsu
Fri Nov 18, 2011 2:08 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: jParty [Version v1.11.20beta]
Replies: 36
Views: 11143

Re: jParty - Using your bot as party member (Currently in de

Well, no errors when loading the xml in MM but it's not looping every seconds. I'm too tired, i'll check tomorrow :roll: :arrow: XML startjParty(); while (true) do yrest(100); end; :arrow: LUA function startjParty() [...] unregisterTimer("jPartyTimer"); cprintf(cli.yellow, "startjPart...