Alright, filled out the first two posts to the best of my ability tonight. I will see about getting the third part finished tomorrow. Sorry, too tired.
Alright, filled out the first two posts to the best of my ability tonight. I will see about getting the third part finished tomorrow. Sorry, too tired.
[10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts
Great addition to this already awesome tutorial! I am loving this thread!!
Yay got OBJDTMS in my script now for walking works BEAUTIFULLY!
Thanks for the tut!
My Soul Wars Scipt Proggress:[100%....]Probably won't release though I like it for myself
This is really impressive.
It isn't as fluid as walking with normal DTMs but that's probably because I have it searching for points towards the edge of my minimap.
I've got the concept down, time to neaten up my paths now.
Great tutorial.
Last edited by honeyhoney; 01-21-2012 at 01:33 PM.
[Error] C:\Simba\Includes\ObjectDTM\ObjDTMInclude.simba(10 80:12): Duplicate identifier 'DebugTPA' at line 1079
Getting that error when i try to run my script.(Haven't started making the paths yet)
Edit -
Nvm, got it figured out, changed all the variables to something else.
I get errors:
Tried different dtms, functions but no luck. What could be the cause of this?Did not find path node 0.
Did not find path node 0.
Did not find path node 0.
Did not find path node 0.
Works 50% of the time now, especially w/ cacti.
There's not much I can glean from that, other than that it isn't finding that particular Object DTM. Try to make sure the Object DTM is visible on the minimap and test to see if it finds it. Also make sure you have the 'GroundLevel' parameter set correctly.
Not the correct thread to post this on. Can you explain in a little more detail? Like, are your Object DTMs failing? Ones using cacti failing more than others?
Last edited by euphemism; 01-30-2012 at 02:29 AM.
[10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts
doesn't seem like images are working update them please .
Hi
Tutorials is what makes this community so awesome rep+
EDIT: images on MM can change when you logout and login again.
~Fre
You need to check for out of range errors with this line (incase it is the first node):
Simba Code:if (ObjDTM_Walk(Path[i - 1], 0, 100, 10, GroundLevel) and (not Reset)) then
begin
Reset := True;
Result := True;
Dec(I);
end;
And this line incase it is the last node:
Simba Code:if (ObjDTM_Walk(Path[i + 1], 0, 100, 10, GroundLevel) and (not Reset)) then
begin
Reset := True;
Result := True;
Inc(I);
end;
I would recomend also swapping the order of things in that if statement, like this:
Simba Code:if ((i <> 0) and (not Reset) and ObjDTM_Walk(Path[i - 1], 0, 100, 10, GroundLevel)) then
if ((i <> high(Path)) and (not Reset) and ObjDTM_Walk(Path[i + 1], 0, 100, 10, GroundLevel)) then
also could you add something like:
where doing this would stop it adding loads of text to the debug boxSimba Code:ObjDTM_DebugText := False;
Last edited by putonajonny; 02-06-2012 at 04:50 PM.
I'm pretty stoked to say that i've got this down pat pretty well, and i'm trying to work it into my Clay miner and banker I am releasing soon. Thank you so much for an awsome tutorial and the time you took to put it together!
Helped me immensely! Love the tut, Ive made several scripts using this method, thankyou(:
My Scripts<3
Drawboy's Choco-Duster
Very nice walking system.
Could you add a random for x, y to the clicking on the MM?
I can add it myself, but everytime the include updates i need to re-add it
Good Job !
~Fre
need help please im not sure what to do when adding stuff to scrips, after i added this:
program Script;
{$DEFINE SMART}
{$i SRL\SRL.simba}
{$i ObjectDTM\ObjDTMInclude.simba}
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
CurrentPlayer := 0;
NumberOfPlayers(HowManyPlayers);
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Member := True;
Players[0].Active := True;
Players[0].Pin := '';
end;
begin
Smart_Server := 10;
Smart_Members := True;
Smart_Signed := True;
ClearDebug;
SetupSRL;
ObjDTM_Setup;
DeclarePlayers;
if (not LoggedIn) then
LoginPlayer;
end.
it told me this in my logfile when trying to RUN:
Exception in Script: Too many nested include files while processing 'SRL/SRL/core/simba.simba' from 'C:\Simba\Includes\SRL\SRL.simba'
EDIT: i also added this after SetupSRL like recommended
RE EDIT: well i took off the codes now so could someone tell me what is needed to do after i have downloaded the objectDTM and added the include statement to top of script, those are the 2 things i have done so far
Last edited by greencheese; 03-04-2012 at 05:42 AM.
sorry nevermind i got it to work, i was trying to get the Generation tools to work, but they work and the only problem i got now is the Silent Spinner wont work, i have added the Ladder and the npc(bank) but now i dont know what to do, do i have to have the generating tools and the Silent Spinner open ?
1. should you free DTM's in the main loop too, not just right after they're used?
2. can the act of "not freeing DTM's" cause more memory usage?
There are currently 1 users browsing this thread. (0 members and 1 guests)