Log in

View Full Version : Object DTMs: A Walking/Positioning System



Pages : 1 [2]

Codeman888
06-03-2012, 09:24 PM
i installed the dtm into the program and now i get
Exception in Script: Unable to find file 'Updater.sei' used from ''
when i try to run

gooddiubro
06-04-2012, 01:11 PM
T2DStringArray = Array of TStringArray;

Complain was

Duplicate identifier 'T2DStringArray' at line 216

Weird...

Abu
06-04-2012, 01:21 PM
T2DStringArray = Array of TStringArray;

Complain was

Duplicate identifier 'T2DStringArray' at line 216

Weird...

Look at earlier posts - I came up with a simple fix.

gooddiubro
06-05-2012, 02:26 AM
Did you?
I did it by, uh, renaming.
Then I have to declare the type of TDpointArray
because of

Unknown type 'TDPointArray' at line 692
It runs, but uh, the code is pretty messy now. Hope I didnt screw up anything.

Ltztakechi
06-06-2012, 02:05 AM
doesnt work this doesnt att...

ne lg
06-07-2012, 12:47 PM
The Include doesn't compile for a number of error's.

Anyone else getting this?

gooddiubro
06-08-2012, 03:12 AM
What errors?

ganja for life
06-10-2012, 08:30 PM
how can i fix this error?

Abu
06-10-2012, 09:51 PM
how can i fix this error?

If you tell us the errors you are getting, we''ll be glad to help :)

ne lg
06-11-2012, 06:44 PM
[Error] (379:53): Unknown identifier 'MMCX' at line 378
Compiling failed.


this is when compiling the include

Silent
06-11-2012, 06:58 PM
[Error] (379:53): Unknown identifier 'MMCX' at line 378
Compiling failed.


this is when compiling the include

That's just it, its an include, it isn't supposed to compile. SRL won't self-compile either. Try running a script with it included and the line ObjDTM_Setup; :)

ne lg
06-11-2012, 07:24 PM
That's just it, its an include, it isn't supposed to compile. SRL won't self-compile either. Try running a script with it included and the line ObjDTM_Setup; :)

Good fight my intelligence.

forgot to include ObjDTM_Setup; :duh:

Silent
06-11-2012, 07:54 PM
Good fight my intelligence.

forgot to include ObjDTM_Setup; :duh:

Haha, don't worry about it. ObjDTM's can be tricky at first, especially learning how to call them. Check out this thread if you come across something you don't know:
http://villavu.com/forum/showthread.php?t=72067

VastlySuperior
06-30-2012, 08:30 PM
Hi

I`m trying to run this script to see how it woks so that I can implement this on a looting script, but I keep getting this error when trying to run the script.

SMART Initialized.
Loaded: Server 10, Members: True, Signed: True, Super Detail: False.
Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

This is the function that generates the error:

Simba Code:

function IsRealMouseInBox(B : TBox): Boolean;
var
P : TPoint;
begin
GetRealMousePos(P.X, P.Y);
Result := PointInBox(P, B);
end;

Can anyone give me an idea what is wrong and how to fix it?

Thanks

Ps. I found the solution to the problem. Apparently it has to do with your Java version, mine was not updated to the latest version of java, when I updated it, it worked smoothly.

bishknight
07-04-2012, 10:35 PM
Seen a lot of errors on this thread lately, but when I updated to simba 0.99, odtm ceased to work for me, when I downgraded to 0.98, it was all fine. Maybe that could fix some issues?

euphemism
07-05-2012, 02:43 AM
Seen a lot of errors on this thread lately, but when I updated to simba 0.99, odtm ceased to work for me, when I downgraded to 0.98, it was all fine. Maybe that could fix some issues?

It would be infinitely more helpful if you could be more specific as to what exactly has "ceased to work."

Silent
07-05-2012, 07:45 AM
It would be infinitely more helpful if you could be more specific as to what exactly has "ceased to work."

Remind me of what even changed between these? The ability for path DTMS?

euphemism
07-05-2012, 08:01 AM
Remind me of what even changed between these? The ability for path DTMS?

Hmm? As far as I can tell, he is talking about differing Simba versions, not two versions of the include.

Silent
07-05-2012, 08:42 AM
Hmm? As far as I can tell, he is talking about differing Simba versions, not two versions of the include.

Ah, I think you are right, I totally mis-read that. :duh:

Pendulum_From_Rid
07-06-2012, 03:17 AM
112

bishknight
07-06-2012, 07:14 PM
It would be infinitely more helpful if you could be more specific as to what exactly has "ceased to work."

Sorry, I'll write a better response now.

After installing Simba 0.99, I installed all my plugins as normal and then loaded up a script which used your system, and I got an error.

[Error] C:\Simba099\Includes\ObjectDTM\ObjDTMInclude.simba (217:3): Duplicate identifier 'T2DStringArray' at line 216
Compiling failed.

I checked and double checked to see if I had any plugins missing, any updates I hadn't installed, but I had done all my updates to the latest version, as well as using the fix for this error posted earlier in the thread. The error is still the same.

[Error] C:\Simba099\Includes\ObjectDTM\ObjDTMInclude.simba (217:3): Duplicate identifier 'T2DStringArray' at line 216
Compiling failed.

After I uninstalled Simba 0.99, I reinstalled Simba 0.98, which for me at least, has no issues with your extension. Hope this helps, again, sorry for an undescriptive post, busy inductions for school.

VastlySuperior
07-13-2012, 08:20 AM
Look at earlier posts - I came up with a simple fix.

I keep getting this error:

[Error] C:\Simba99\Includes\objectdtm/objdtminclude.simba(217:3): Duplicate identifier 'T2DStringArray' at line 216
Compiling failed.

Now I have looked at the earlier posts you made and although you mention that you get this error and that you could fix it yourself, you never really showed how to fix this error.

I would appreciate it if you can show me where in the earlier post you created a fix for this error.

Much appreciated and thanks in advance for the help on this problem.

putonajonny
07-13-2012, 10:58 AM
You should change the top of ObjDTMInclude.simba to:
{$IFDEF SMART}
{$IFNDEF PAINT}
{$DEFINE PAINT}
{$IFDEF SIMBAMAJOR980}
{.include SRL\SRL\MISC\Paintsmart.simba}
{$ELSE}
{.include SRL\SRL\Misc\SmartGraphics.simba}
{$ENDIF}
{$ENDIF}
{$ENDIF} To get over the compatibility issues...

also T2DStringArray already exists in Simba 990 so you should probably change it to:
{$IFDEF SIMBAMAJOR980}
T2DStringArray = Array of TStringArray;
{$ENDIF}

VastlySuperior
07-13-2012, 12:51 PM
You should change the top of ObjDTMInclude.simba to:
{$IFDEF SMART}
{$IFNDEF PAINT}
{$DEFINE PAINT}
{$IFDEF SIMBAMAJOR980}
{.include SRL\SRL\MISC\Paintsmart.simba}
{$ELSE}
{.include SRL\SRL\Misc\SmartGraphics.simba}
{$ENDIF}
{$ENDIF}
{$ENDIF} To get over the compatibility issues...

also T2DStringArray already exists in Simba 990 so you should probably change it to:
{$IFDEF SIMBAMAJOR980}
T2DStringArray = Array of TStringArray;
{$ENDIF}

The first suggestion was already done when requesting help, the second part is already the same in the latest ObjectDTM.sex download in the first post.

But just to make sure I copied your sample above and it still gives the same error.

When I exclude T2DStringArray = Array of TStringArray; by commenting it, as it cries that it is a duplicate, that means it was already declared somewhere and as stated by you that it is included in simba 99 then it gives me other errors in objectDTM namely Unknown, identifier, 'SmartGetDebugDC'

I have now searched for this error and how to fix it and everybody says it is because the plugins is outdated, but i have downloaded the newest plugins.zip from New plugins (zip or tar.bz2): https://github.com/MerlijnWajer/Simba/downloads (Make sure you don't let the SRL updater Extension override them... )

I think that is the latest plugins, I have overwritten the existing plugins in simba directory with these, but it keeps giving me this error or the last one I mentioned.I really don`t know where the problem is where I`m screwing up. But from the moment I upgraded to simba 99 these problems cropped up. I understand that if the plugins is outdated it will have problems, but the link I gave is the official link in simba 99 release. So I would guess that that should be the latest plugins that should work with simba 99. I have now overwritten these plugins once more with the downloaded plugins and it should do the trick by overwriting the older files shouldn`t it?

I`m a bit flabbergasted here. But maybe I`m just not doing it right.

Any suggestion? Thanks guys, I appreciate your time and effort in helping me to get this sorted out. It just feels as if I`m hitting my head against the same wall all the time. :frusty:

euphemism
07-13-2012, 03:00 PM
Releasing a quick fix for the RS update, as it broke the generation tool. Also notable are the following:


-Version 10.2: Optimised object-finding code and fixed a bug that could have
been the root cause of many false positives. Removed the
'T2DStringArray' type declaration as it was for an older planned
revision of the include, future plans now do not include
multi-dimensional strings, and it was causing duplicate errors.
Improved the ground level check.Fixed certain coordinates in the
Generation Tool that have been affected by the addition of a
toolbar at the top of the RS client. Removed 'ObjectDebug', as
it is obsolete. Changed the include lines at the top,
$DEFINEPAINT is no longer needed.

Sorry for the lack of updates this year, am trying to get back
on track with this and hope to be producing some exciting
features soon.

Wanted to get this out because the other changes I am making to the include are quite large and are taking a bit of time.

VastlySuperior
07-14-2012, 03:29 PM
euphemism

When Installing the .sex file, I have this related issues. I`m currently using simba99 so I don`t know if it is related to that or not.

When I enable the extension, it does not display a menu for odtm, I have to enable and disable it like 3 or 4 times before the menu option is given, when I update is it keeps displaying odtm version as 3 in the extensions options. When I close Simba and open it again the extension is disabled and the menu item gone. Then I once more have to go through the whole process to get the menu back up.

Thanks for this nifty utility.

Yago
07-14-2012, 05:11 PM
Do all points in an ODTM need to be found in order to return true?

Silent
07-14-2012, 06:20 PM
euphemism

When Installing the .sex file, I have this related issues. I`m currently using simba99 so I don`t know if it is related to that or not.

When I enable the extension, it does not display a menu for odtm, I have to enable and disable it like 3 or 4 times before the menu option is given, when I update is it keeps displaying odtm version as 3 in the extensions options. When I close Simba and open it again the extension is disabled and the menu item gone. Then I once more have to go through the whole process to get the menu back up.

Thanks for this nifty utility.

There are currently some compatibility issued with .99 right now I believe.


Do all points in an ODTM need to be found in order to return true?

Currently yes. Future updates he had planned are going to add a type if tolerance.

Yago
07-14-2012, 06:57 PM
Currently yes. Future updates he had planned are going to add a type if tolerance.

Oh, at times it would return true and the debug would only paint some of the points not all. What was changed for the false positives?

Also, is there a github or something where I can see version changes?

Silent
07-14-2012, 08:31 PM
Oh, at times it would return true and the debug would only paint some of the points not all. What was changed for the false positives?

Also, is there a github or something where I can see version changes?

I think he told me it had something to do with the different points and some sort of tolerance that they had... But I don't remember for sure.

Not sure if he has different versions stored somewhere, the only place that I know of that the code is online is on my hosting here: http://silentscripts.net/objdtm/

euphemism
07-17-2012, 06:10 AM
euphemism

When Installing the .sex file, I have this related issues. I`m currently using simba99 so I don`t know if it is related to that or not.

When I enable the extension, it does not display a menu for odtm, I have to enable and disable it like 3 or 4 times before the menu option is given, when I update is it keeps displaying odtm version as 3 in the extensions options. When I close Simba and open it again the extension is disabled and the menu item gone. Then I once more have to go through the whole process to get the menu back up.

Thanks for this nifty utility.

Not sure what that is about. I will look into it.


Do all points in an ODTM need to be found in order to return true?

Currently, yes. Probably the next update is where all the big changes will occur. One being that Object DTMs will have a tolerance so that a specified percentage of the sub-points can be missing and an Object DTM will still result as found.


Oh, at times it would return true and the debug would only paint some of the points not all. What was changed for the false positives?

Also, is there a github or something where I can see version changes?


Really? Do you think you might be able to screenshot this or something? In the object finding code, I changed a loop that was involved with the tolerance of the color for the object being searched.

No, the include is not on Github, but I plan on putting it up soon. Sorry about that.

--

In other news, small update to 10.3 to make the include compatible with the changes in SRL related to the new SMART binaries.



-Version 10.3: Made compatible with newest SMART and changes within SRL.

VastlySuperior
07-17-2012, 11:52 AM
euphemism

Just a quick update. When launching the generation tool it does not log you in with simba99.

When logging in without smart and targeting the client it clicks on the compass and terminate the script.

This error in the debug window: Error: Exception: Access violation at line 983
ThreadSafeCall('ToolForm_Init', v);

I have not tried to edit the Y axis in the script, don`t know if that will make a difference with the bar at the top that screws everything up at the moment.

euphemism
07-17-2012, 11:26 PM
euphemism

Just a quick update. When launching the generation tool it does not log you in with simba99.

When logging in without smart and targeting the client it clicks on the compass and terminate the script.

This error in the debug window: Error: Exception: Access violation at line 983
ThreadSafeCall('ToolForm_Init', v);

I have not tried to edit the Y axis in the script, don`t know if that will make a difference with the bar at the top that screws everything up at the moment.

No, it will not login because that is handled by SRL which is not functional at the moment. I am not sure what is causing the form to crash. I will have to look into it later.

Olly
07-27-2012, 04:10 PM
Mine wasn't picking up NPC dots, so I had to change the colour, not sure if they tolerance now but mine didn't pick them up :P

evilexe
08-14-2012, 01:43 PM
--- please disregard! ---

ZammR
08-24-2012, 07:29 PM
Helped so much!

freezeyp
08-25-2012, 06:57 AM
When I try to locate object with tool, it can't reconize any npc dot
http://villavu.com/forum/attachment.php?attachmentid=17223&stc=1&d=1345877844

Olly
08-25-2012, 06:17 PM
When I try to locate object with tool, it can't reconize any npc dot
http://villavu.com/forum/attachment.php?attachmentid=17223&stc=1&d=1345877844

Yeah this is a issue i raised before, I think the npc dot needs to be redone but a quick fix is to raise the tolerance to 40ish.

Tomazino
08-30-2012, 06:39 PM
Object DTM Extension: Failed to grab remote extension. Is it normal?

Footy
08-30-2012, 06:52 PM
I get this every time I run simba. Dont worry about it.

litoris
08-30-2012, 06:56 PM
Object DTM Extension: Failed to grab remote extension. Is it normal?

That happens because the server that hosts them is somewhat unstable. Using github or whatever Wizzup uses to host all he other stuff would be much better I suppose.

Footy
08-30-2012, 06:58 PM
ODTM's are still able to be made and utilized properly, even if that error occurs though, right?

Silent
08-31-2012, 01:44 AM
ODTM's are still able to be made and utilized properly, even if that error occurs though, right?

Yeah they should work just fine still

TheBlackMrT
09-04-2012, 10:35 PM
when i try to download the ObjectDTM.sex i get a txt file (ObjectDTM.sex.txt) idk what the problem could be.. im on a mac running simba through wine fyi.

I FIGURED THIS OUT. I JUST HAD TO DOWNLOAD IT FROM A DIFFERENT BROWSER OTHER THAN SAFARI.

white_lycan
09-11-2012, 04:40 AM
I've run out of things to try. Aftering re-installing simba around 3 times i still can't get the script to run. whenever i try to run the script, another tab in simba opens and this is what it says.

http://i.imgur.com/JVZb0.png

I've updated ODTM but still get this issue. The script i'm trying to run is ashaman's phoenix feather collector. I've waited a while for this but can't run it :'(
Anyways here is the link to his script.

http://villavu.com/forum/showthread.php?t=89706

thanks, i hope you guys can lead me to the right direction. I'm using the newest simba as well.

euphemism
09-11-2012, 04:43 AM
I've run out of things to try. Aftering re-installing simba around 3 times i still can't get the script to run. whenever i try to run the script, another tab in simba opens and this is what it says.

http://i.imgur.com/JVZb0.png

I've updated ODTM but still get this issue. The script i'm trying to run is ashaman's phoenix feather collector. I've waited a while for this but can't run it :'(
Anyways here is the link to his script.

http://villavu.com/forum/showthread.php?t=89706

thanks, i hope you guys can lead me to the right direction. I'm using the newest simba as well.

Why do you think this has anything to do with the Object DTM Include?

white_lycan
09-11-2012, 01:10 PM
EDIT- Found the issue. it did have to do with the script, but most likely my simba is setup wrong or differently from other peoples.

P1ng
09-11-2012, 01:19 PM
The error would be thrown with or without ODTM installed, the reason it is not coming up when you haven't got ODTM installed is because it is detecting that the script requires the include and therefore that is the first error being encountered.

Your secondary error has nothing to do with ODTM.
Due to the fact that it is opening up SmartGraphics.simba I would hedge a guess that your second error pertains to that include

Naturiown
09-13-2012, 09:39 PM
the ODTM glitches my Simba.... it won't even start.
after re-installation, simba runs normally again. would you fix it fast please? ;D

Exclusive
10-04-2012, 03:26 AM
please message me i need help with ObjectDTM for extension im not good with this

Exclusive
10-04-2012, 03:31 AM
im confused on this need help adding it to extinction please message back

speedster
10-10-2012, 01:04 PM
Awesome :D i got it to work :) Thank you so much for this thing

Laimonas171
10-22-2012, 09:02 PM
My simba hangs up, then i try to ad this extensions? any help? :?

slackeru
12-07-2012, 02:44 PM
To make ODTM appear you must restart Simba. But closing Simba gives an error. The error froce closes Simba and the extension is no longer enabled.

How to fix?

Dynam0
01-19-2013, 01:04 PM
Does anyone have a link to ObjectDTMInclude.

Sjoe
01-25-2013, 04:18 PM
Does anyone have a link to ObjectDTMInclude.

Follow the steps, it auto-downloads it.

lyo596
01-28-2013, 04:30 AM
I think I am having the same issue as Bi A Op. I have installed/enabled ODTM (after having to try enable it a few times within the extensions menu). Afterwards (before and after restarting SIMBA), the ODTM menu does not show up, and does not appear to be enabled again.

As such, I cannot have it auto-update and download DTMInclude.simba


Update: So. It seems I had to click enable within the Extension Menu a few times before it actually enabled it. Then I had to close SIMBA (wait for it to dissapear from task manager). Restart Simba ONCE, patiently wait for it to boot up. You will then see the ODTM on the menu.

However, when trying to update the ODTM, it says it cannot find the file. I went onto the website manually (silentscripts.net/objdtm/ObjectDTM.tax.bz2) and found that the website is down or gone.

As such, I cannot update ODTM to get ObjDTMInclude.

Can anyone else let me know if someone else is currently hosting the current copy of ODTM?

dzpliu
01-30-2013, 09:32 AM
im having this problem as well. it seems the silentscript.net/objdtm site is down.

Chris!
01-30-2013, 10:54 AM
The silentscripts.net domain itself is down. Until the ObjectDTM include and files are hosted elsewhere, or that site gets put up again, then the updating won't work.

Sjoe
01-30-2013, 11:03 AM
Here guys, I took the liberty to upload them for you.

Make sure that u downloaded OBJECTDTM.sex on the OP!
And enable it.
it takes a minute or 2 until you see this change on simba, after you enabled Objectdtm.sex :
http://puu.sh/1UPXW to http://puu.sh/1UPYD

Put ObjDTMInclude.SIMBA in a new folder C:\Simba\Includes\ObjectDTM

And as u guessed, Object DTM Generation Tool.simba is the tool used to make Object DTMs

Hope u won't have any problems anymore.

dzpliu
01-30-2013, 02:15 PM
Here guys, I took the liberty to upload them for you.

Make sure that u downloaded OBJECTDTM.sex on the OP!
And enable it.
it takes a minute or 2 until you see this change on simba, after you enabled Objectdtm.sex :
http://puu.sh/1UPXW to http://puu.sh/1UPYD

Put ObjDTMInclude.SIMBA in a new folder C:\Simba\Includes\ObjectDTM

And as u guessed, Object DTM Generation Tool.simba is the tool used to make Object DTMs

Hope u won't have any problems anymore.

wow your upload solved everything related to objectdtm...thanks so much, everyone else was just doubting whether we followed the instructions or not.

Sjoe
01-30-2013, 02:19 PM
wow your upload solved everything related to objectdtm...thanks so much, everyone else was just doubting whether we followed the instructions or not.

I had the same problem as you guys, think the server is down. :)
Had to get the files from someone else too!
and no problems

Ian
01-30-2013, 02:44 PM
I had the same problem as you guys, think the server is down. :)
Had to get the files from someone else too!
and no problems

I added mine to my script thread, hopefully these ones are back up soon :)

lyo596
01-30-2013, 04:15 PM
Honestly, I am so glad that you uploaded them, saved me a ton of time trying to find another source for them.

I hope it wasn't too much work for you to find them, but know there are probably at least a dozen people appreciating it.

Zorgatone
01-31-2013, 09:20 PM
http://silentscripts.net/objdtm/ is offline!! :( I can't update the script and it's not working for me!
Please help :P

Stayon
02-02-2013, 05:57 AM
http://silentscripts.net/objdtm/ is offline!! :( I can't update the script and it's not working for me!
Please help :P

Please read post #310 (http://villavu.com/forum/usertag.php?do=list&action=hash&hash=310) . Follow exactly as he says. I promise it will work.

euphemism
02-02-2013, 06:22 AM
Silent has taken down this domain, and so I will need to find somewhere else to host the files--sorry for all of the problems.

euphemism
02-03-2013, 03:42 AM
I have a new host for the project now, courtesy of [J]ustin. As a result, everyone is going to have to re-download the ObjectDTM.sex extension from the first post, and follow the instructions to install it. Additionally, it is required to do the following:

After downloading and installing the extension, please navigate to the following and make sure it is checked:

ODTM > Settings > Override Update

Then, click on:

ODTM > Update

---

A very small number of changes to the include can be found in the changelog on the first post.

/Double post

Sjoe
02-06-2013, 06:50 PM
I have a new host for the project now, courtesy of [J]ustin. As a result, everyone is going to have to re-download the ObjectDTM.sex extension from the first post, and follow the instructions to install it. Additionally, it is required to do the following:

After downloading and installing the extension, please navigate to the following and make sure it is checked:

ODTM > Settings > Override Update

Then, click on:

ODTM > Update

---

A very small number of changes to the include can be found in the changelog on the first post.

/Double post

Nice euphenism! Thank you

Kyle Undefined
02-06-2013, 11:30 PM
euphemism; You know I could of hosted it for you, all you had to do was ask <3

euphemism
02-06-2013, 11:43 PM
Girl, please, you ain't never 'round. :(

Sjoe
02-16-2013, 07:58 AM
I have a new host for the project now, courtesy of [J]ustin. As a result, everyone is going to have to re-download the ObjectDTM.sex extension from the first post, and follow the instructions to install it. Additionally, it is required to do the following:

After downloading and installing the extension, please navigate to the following and make sure it is checked:

ODTM > Settings > Override Update

Then, click on:

ODTM > Update

---

A very small number of changes to the include can be found in the changelog on the first post.

/Double post

Could u put this OP? A lot of people that still gets an error by not following these steps.

ogin
02-16-2013, 08:10 AM
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
Compiling failed. thats what shows when running script

euphemism
02-17-2013, 03:02 AM
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
Compiling failed. thats what shows when running script

What, if anything, in that line makes you think the error relates to the Object DTM Include? Your problem is that you are most likely running SMART 8, and as such, you need to replace the {$DEFINE SMART} at the top of your script with {$DEFINE SMART8}

greg_nc
03-03-2013, 11:38 AM
Dose ObjDTM_Walk work in 07? Im able to find the DMT just it refuses to click any advice?

ilovegali201
03-12-2013, 07:07 AM
this is my error :/ I am playing 07 rs
Object DTM Include: Running Object DTM Generation Tool..
Compiled successfully in 781 ms.
SRL Compiled in 0 msec
Paired with SMART[5180]
Object DTM Include: Setup complete.

Object DTM Generation Tool: WARNING! You are not logged in. Please login your character and run the tool again.

zackthewack
03-13-2013, 04:22 AM
this is my error :/ I am playing 07 rs
Object DTM Include: Running Object DTM Generation Tool..
Compiled successfully in 781 ms.
SRL Compiled in 0 msec
Paired with SMART[5180]
Object DTM Include: Setup complete.

Object DTM Generation Tool: WARNING! You are not logged in. Please login your character and run the tool again.

Having the same problem man. I am definitely logged in.It says paired successfully, I even tried using the window selecting tool and it still did not work.

I also tried removing the SMART include and choosing the window through the window selector. Still did not work.

Justin
03-13-2013, 04:28 AM
Un-tested if this works with 07, chances are it wont due to DTMs changing ect.

Olly
03-13-2013, 04:38 AM
It wont, well currently.

zackthewack
03-13-2013, 04:39 AM
Un-tested if this works with 07, chances are it wont due to DTMs changing ect.

Ah obviously. That makes sense. I didn't think about the EoC being the main part of this.

Thanks for the quick reply though.

StickToTheScript
03-19-2013, 01:40 AM
I found your tool looks very useful! Now i can fianally use this in my scripts! Lol. XD

EDIT: But now, i have an issue. I cant seem to fix an issue i am getting such as:


[Error] SVFisher.simba(258:6): Unknown identifier 'ObjectDTM' at line 257

What would i set it as? I have all the includes at the top.

sd999444
04-07-2013, 11:48 PM
getting this error: [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
Compiling failed.

after installing ODTM. though it says it's an error with SRL... help please? confused. new to simba. and it only happens on scripts using DTM's.

dzpliu
04-11-2013, 10:51 AM
Having the same problem man. I am definitely logged in.It says paired successfully, I even tried using the window selecting tool and it still did not work.

I also tried removing the SMART include and choosing the window through the window selector. Still did not work.
remove the terminate script part at the bottom of the generate tool script.

euphemism
04-11-2013, 01:08 PM
getting this error: [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
Compiling failed.

after installing ODTM. though it says it's an error with SRL... help please? confused. new to simba. and it only happens on scripts using DTM's.
At the top of your script, replace {$DEFINE SMART} with {$DEFINE SMART8}, or if that's already there, vice versa.


remove the terminate script part at the bottom of the generate tool script.
Can't really recommend doing that. This include hasn't been updated to work with old-school Runescape, and as such it is probably best to just wait for that to occur.

catsrback321
04-21-2013, 10:17 PM
> Running: 01:55:10. Items tanned: 4172. Items per hour: 308.
best I could do for a proggy, had to very briefly pause it to get some more hides from the collection box, then I restarted it exactly where it should have been but caused it to crash and stop. good script if you leave it alone, the second you interfere it gets a bit touchy, but much better than doing it by hand :)
thanks!

Flight
04-25-2013, 05:08 AM
euphemism: You really should release a OSR version of this include, it would work wonderfully here and without a doubt be the dominating form of walking in OSR scripts. This will indeed still work in OSR with some simple updates to the DTMs and just a couple tweaks here and there in the generation tool. The trees aren't exactly the same but they're still detected in OSR along with NPC dots (of course). Using these two I was able to walk back and fourth from Catherby bank to the fishing spots with no trouble.

I really recommend you take a bit of time and update the DTMs enough to classify this as "OSR-compatible".

Edit:
Oh yeah, one other piece I'll throw in. I tested this in the normal browser (for what it's worth), not SMART. I doubt it makes a difference though.

Haxz
04-25-2013, 05:14 AM
euphemism: You really should release a OSR version of this include, it would work wonderfully here and without a doubt be the dominating form of walking in OSR scripts. This will indeed still work in OSR with some simple updates to the DTMs and just a couple tweaks here and there in the generation tool. The trees aren't exactly the same but they're still detected in OSR along with NPC dots (of course). Using these two I was able to walk back and fourth from Catherby bank to the fishing spots with no trouble.

I really recommend you take a bit of time and update the DTMs enough to classify this as "OSR-compatible".

Edit:
Oh yeah, one other piece I'll throw in. I tested this in the normal browser (for what it's worth), not SMART. I doubt it makes a difference though.

I was about to make a post here lol, too desperate of a reliable walking method for OSR. Really hoped euphemism can make it work for OSR. It will probably be the ultimate walking method in OSR! :D

euphemism
04-25-2013, 06:17 AM
euphemism: You really should release a OSR version of this include, it would work wonderfully here and without a doubt be the dominating form of walking in OSR scripts. This will indeed still work in OSR with some simple updates to the DTMs and just a couple tweaks here and there in the generation tool. The trees aren't exactly the same but they're still detected in OSR along with NPC dots (of course). Using these two I was able to walk back and fourth from Catherby bank to the fishing spots with no trouble.

I really recommend you take a bit of time and update the DTMs enough to classify this as "OSR-compatible".

Edit:
Oh yeah, one other piece I'll throw in. I tested this in the normal browser (for what it's worth), not SMART. I doubt it makes a difference though.

Well, the format of the Object DTMs wouldn't require any changing. The only things that would require updating to make this OSR compatible would be to change the object records' colors and tolerances, and if there are any coordinate literals those would need to be changed. Other than that, nothing else should need to be touched.


I was about to make a post here lol, too desperate of a reliable walking method for OSR. Really hoped euphemism can make it work for OSR. It will probably be the ultimate walking method in OSR! :D

I will update this when I have the time. Currently, I am a bit busy with school.

Flight
04-25-2013, 06:57 AM
Well, the format of the Object DTMs wouldn't require any changing. The only things that would require updating to make this OSR compatible would be to change the object records' colors and tolerances, and if there are any coordinate literals those would need to be changed. Other than that, nothing else should need to be touched.

Sounds good then. Yeah that's what I'm doing right now, just adjusting the colors/AVG points/tolerances/AVG tolerances. Trees, boulders, dead trees and ladders are finished; I'm about to finish up the rest. I've a question though, for 'MM_HENGE', where might I find that in RS? I'm not familiar with it. Also, 'MM_ROCK' is the symbol for a mining rock on the MM?

euphemism
04-25-2013, 07:07 AM
Sounds good then. Yeah that's what I'm doing right now, just adjusting the colors/AVG points/tolerances/AVG tolerances. Trees, boulders, dead trees and ladders are finished; I'm about to finish up the rest. I've a question though, for 'MM_HENGE', where might I find that in RS? I'm not familiar with it. Also, 'MM_ROCK' is the symbol for a mining rock on the MM?

The henge object refers to the minimap objects for the Stonehenge like area just to the southeast of the southern Varrock entrance. I believe the rocks would be the reddish-brown rocks on the map.

Haxz
04-25-2013, 07:44 AM
That would be great!

Maybe Flight can make an unofficial release after done making all those adjustments. :p

Flight
04-25-2013, 03:05 PM
That would be great!

Maybe Flight can make an unofficial release after done making all those adjustments. :p

Oh no, I'm quite sure I wouldn't do it correctly.

As a heads up to you, euphemism, the colors in the OSR minimap are very dynamic as I've found out. I'm having to load SMART multiple times to get quite a big array of colors for each object. 'Tis a pain to deal with but maybe this was normal for you when you made them the first time?

Haxz
04-25-2013, 03:12 PM
Oh no, I'm quite sure I wouldn't do it correctly.

As a heads up to you, euphemism, the colors in the OSR minimap are very dynamic as I've found out. I'm having to load SMART multiple times to get quite a big array of colors for each object. 'Tis a pain to deal with but maybe this was normal for you when you made them the first time?

I will be more than willing to be your tester lol. I understand how annoying the color changes in OSR. It messed up my script several times before I could find a color that works well.

Ian
04-25-2013, 03:16 PM
The henge object refers to the minimap objects for the Stonehenge like area just to the southeast of the southern Varrock entrance. I believe the rocks would be the reddish-brown rocks on the map.

I always wondered about that, thanks. Sometimes in EOC it detects fence corners as "henges" though so I wasn't sure.

Olly
04-25-2013, 08:39 PM
As for converting this to OSR, aside from the massive tolerances (compared to eoc) the problem again lies with the difference between the compass and the minimap right now objDTM rotates the dtm by what the compass says and searches it but to make this successful in OSR i think you need to add a start/end search angles.

Ian
04-25-2013, 08:47 PM
As for converting this to OSR, aside from the massive tolerances (compared to eoc) the problem again lies with the difference between the compass and the minimap right now objDTM rotates the dtm by what the compass says and searches it but to make this successful in OSR i think you need to add a start/end search angles.

Also the ODTM Generator uses ClickNorth to line up the map, but in 07 I think the map would need to be lined up manually because if how much the compass is off by.

Olly
04-25-2013, 09:08 PM
Also the ODTM Generator uses ClickNorth to line up the map, but in 07 I think the map would need to be lined up manually because if how much the compass is off by.

Im talking more of finding the dtms, if you rotate the dtm to 85 degrees and the compass is actually 96 deg there's a good chance it wont find it.

Flight
04-27-2013, 03:33 AM
Ok well I have the trees object being detected 100% of the time so if anyone would like to test this for themselves:

with MMObjRecords[MM_TREE] do
begin
Color := 1005867; CTS := 2; Tol := 10;
HueMod := 0.29; SatMod := 2.95;
SplitSizeX := 1; SplitSizeY := 1;
AvgNumOfPoints := 25; AvgTol := 12;
end;


That's probably the most important object. I'm currently working on Boulders and Ladders also and I would post what I have on them at this point but apparently I don't have enough colors to where both of these objects are recognized after every new client I load up. I am getting close though, I imagine I'll have both of them finished today, I just have to keep loading up new clients to get new colors for both objects.

Also, there's no way CTS1 will work for any of the objects in OSR, the colors are just far too dynamic.

euphemism
04-27-2013, 04:35 AM
Obviously, there a number of things that require attention, but I believe an OSR implementation is more than feasible. I will get on it when I can.

E: Flight, OSR minimap colors are that dynamic?

Flight
04-27-2013, 04:50 AM
Obviously, there a number of things that require attention, but I believe an OSR implementation is more than feasible. I will get on it when I can.

E: Flight, OSR minimap colors are that dynamic?

That's what I like to hear. It'll take some time and many, many new SMARTs/clients loaded but indeed it's very possible. Let me know how your progress is coming along and if there's anything I can do to help. At the moment I'm just trying to work on the object records as they'll be the most difficult to finish.

Yes they are indeed. Take a look at the two ACA's I've had opened for the past 4 days or so, 1 is for gathering the ladder colors and the other is for boulders. You can see the big difference between each color. Each color (basically) represents a new client loaded. That is how dynamic these colors are.

http://i.imgur.com/OI56mEh.png

euphemism
04-27-2013, 07:48 AM
That's what I like to hear. It'll take some time and many, many new SMARTs/clients loaded but indeed it's very possible. Let me know how your progress is coming along and if there's anything I can do to help. At the moment I'm just trying to work on the object records as they'll be the most difficult to finish.

Yes they are indeed. Take a look at the two ACA's I've had opened for the past 4 days or so, 1 is for gathering the ladder colors and the other is for boulders. You can see the big difference between each color. Each color (basically) represents a new client loaded. That is how dynamic these colors are.

http://i.imgur.com/OI56mEh.png

I will certainly let you know if there is anything with which you can help. If you are interested in updating the records then that would be an excellent place to start. To be honest, that looks pretty standard as far as number of required colors to grab is concerned.

Haxz
05-15-2013, 11:17 PM
Can you tell me what does AvgTol means? I'm editing the record for my own use. Updated the trees colors, made a palm tree record, now updating the rocks. And it's working good so far, hope color doesn't change too much.

As well as AvgNumOfPoints please.

Flight
05-16-2013, 12:36 AM
Can you tell me what does AvgTol means? I'm editing the record for my own use. Updated the trees colors, made a palm tree record, now updating the rocks. And it's working good so far, hope color doesn't change too much.

As well as AvgNumOfPoints please.

First, AvgNumOfPoints is what it says, the average number of points. This refers to the length of the TPA of each object DTM.

An example, you're looking for boulders on the minimap. You search for the color and that is split into, roughly, 5x5 boxes, and you've found 3 of those, 3 boulders. One contains 18 points (of the dark gray color), the second contains 26 and the third contains 33 points. So your "AvgNumOfPoints" would be about 26 with the "AvgTol" being 8. So when the actual object-finding function works it'll split the object color and search each separate TPA to make sure the length of the TPA = "AvgNumOfPoints" with a tolerance +/- "AvgTol". A literal example would be:

if inRange(length(TPA[i]), AvgNumOfPoints - AvgTol, AvgNumOfPoints + AvgTol) then
This_TPA_is_a_boulder;


This is done so if someone on the minimap, that contains that exact color, has too much or too little color in the H/W area then it's not counted as an ObjectDTM. I hope that makes sense!

Haxz
05-16-2013, 02:46 AM
First, AvgNumOfPoints is what it says, the average number of points. This refers to the length of the TPA of each object DTM.

An example, you're looking for boulders on the minimap. You search for the color and that is split into, roughly, 5x5 boxes, and you've found 3 of those, 3 boulders. One contains 18 points (of the dark gray color), the second contains 26 and the third contains 33 points. So your "AvgNumOfPoints" would be about 26 with the "AvgTol" being 8. So when the actual object-finding function works it'll split the object color and search each separate TPA to make sure the length of the TPA = "AvgNumOfPoints" with a tolerance +/- "AvgTol". A literal example would be:

if inRange(length(TPA[i]), AvgNumOfPoints - AvgTol, AvgNumOfPoints + AvgTol) then
This_TPA_is_a_boulder;


This is done so if someone on the minimap, that contains that exact color, has too much or too little color in the H/W area then it's not counted as an ObjectDTM. I hope that makes sense!

Thanks for the explanation! Now I know where I've done wrong. Thank you very much!

EDIT: I'm gonna treat ObjDTM as a backup walking method, expecting good news from your progress with Reflection/Injection. :D

Reflector
01-15-2014, 02:34 PM
Will this be updated to use SRL-6? Because I downloaded it and it couldn't compile because it wasn't using SRL-6

euphemism
01-15-2014, 03:28 PM
In theory, yes, though the deciding factor is the amount of free time I have.

Reflector
01-15-2014, 04:15 PM
Please update it if you have the free time
I'll help too!! Just tell me what to do :p
I'd rather use this over SPS and the likes...

obradley
04-22-2014, 12:13 PM
hey i've downloaded the objectdtm thingy through the link provided. The problem is that it got downloaded as a text. I tried changing the file name to .sex instead of the .sex.txt it originally got downloaded as. But the extension still did not pop up in the extension list. what's wrong? Really need and appreciate all the help i can get. thanks.

obradley
04-22-2014, 12:38 PM
it's okay.. realised that it was the browser problem.. used chrome instead of safari and everything worked out fine :)

euphemism
04-22-2014, 09:00 PM
it's okay.. realised that it was the browser problem.. used chrome instead of safari and everything worked out fine :)

Glad to hear you got it worked out, but at this time the project is in a less-than-usable state. Hopefully this summer I can come in and rewrite it.