taultunleashed logoGetSpawnArray : Developer's Corner
newtopic  postreply
 [ 4 posts ] 
blue large dot

GetSpawnArray : Developer's Corner

Posted: April 16th, 2005, 8:39 pm
 
Kaioz
Kaioz's Reps:
User avatar
Sup, I've made a list of types Im using to structure three mob arrays based on user-defined properties set for each realm type. Each array will be sent to a different instance of a protocol I made to print its data out on screen to avoid looping through a single huge array. Each array is intended to serve for each realm with the minor types (NPC's MOB's Graves etc) divided between the other two minor arrays. I planned on filling the arrays by filtering through GetSpawnArray but visual basic will not allow an outside array to pass into its functions unless its a pointer. With this in mind GetspawnArray errors stating two reasons. One reason could be access to this function is not permitted and the other reason is like I said before... The argument passed from GetSpawnArray into visual basic comes as an array and can't be implemented. Is there a workaround for this function? I've messed around with printing values returned by DURadarlib.Service.Mobname(DURadarlib.Service.PlayerTarget) to the debug window via a timer and appears I wont be able to use that function to return anything other then properties for mobs in the area. I've tried to access the GetSpawnArray by loading the DURadar.dll file into my project and accessing the function by its Oridal but I get an OLE creation failed message ;/ Id really like to use the XU library to access player locs to cut out on individually updating the radar after each patch. Basically Im making a overlay pluggin to be used with the XU windowed radar keeping the same security measures... Please help

Thanks in adance
-Kaios

Public Type prMAP
Server As DUSERVERS
ArrowScale As Integer
ShowNight As Boolean
ShowFog As Boolean
ShowGrave As Boolean
'TODO
End Type

Public Type prNPC
X As Long
Y As Long
Z As Long
Dir As Long
Visible As Boolean
ShowLevel As Boolean
ShowName As Boolean
End Type

Public Type prMOB
X As Long
Y As Long
Z As Long
Dir As Long
Visible As Boolean
Filtered(1 To 256) As Boolean 'Filter mobs per individual level
ShowLevel As Boolean
ShowName As Boolean
End Type

Public Type prPlayer
X As Long
Y As Long
Z As Long
Dir As Long
Visible As Boolean
ShowGroundTarget As Boolean
End Type

Public Type prAlbion
X As Long
Y As Long
Z As Long
Dir As Long
Visible As Boolean
ShowLevel As Boolean
ShowRealmName As Boolean
ShowGuard As Boolean
ShowDead As Boolean
End Type

Public Type prHibernia
X As Long
Y As Long
Z As Long
Dir As Long
Visible As Boolean
ShowLevel As Boolean
ShowRealmName As Boolean
ShowGuard As Boolean
ShowDead As Boolean
End Type

Public Type prMidgard
X As Long
Y As Long
Z As Long
Dir As Long
Visible As Boolean
ShowLevel As Boolean
ShowRealmName As Boolean
ShowGuard As Boolean
ShowDead As Boolean
End Type


Reply with quote
Posted: April 16th, 2005, 11:36 pm
 
Kaioz
Kaioz's Reps:
User avatar
Error from DURadarlib.Service.GetSpawnArray

Function or interface marked as restricted, or uses an Automation type not supported in Visual Basic

Related Topic: But fixes doesnt work
http://www.kbalertz.com/kb_Q214409.aspx


Reply with quote
Posted: April 17th, 2005, 5:37 am
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
The GetSpawnArray returns the pointer to the memory of the mob data. I dont think VB will let you use it because it doesnt return a class or defined type.

I'll have to create a daoc defined class and then I should be able to return that for VB apps to use.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: April 27th, 2005, 1:51 am
 
Kaioz
Kaioz's Reps:
User avatar
Heh, heres a question I bet your tired of hearing wyvernx :lol:


How long? :twisted:

How long untill Getspawnarray can be implemented into VB?

Finally finnished all my math coding for rotating 2D coords around vectors and scaling distances that proved to be more of a pain in the butt then I expected but its conquored.

Only other step I have to go through is studying how to read .map files before populating a map full of enemies


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 4 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of Developer's Corner RSS Feed 

SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?