taultunleashed logoVB & LOTROextreme : LOTROExtreme
newtopic  postreply
 [ 22 posts ]  1, 2  Next
blue large dot

VB & LOTROextreme : LOTROExtreme

Posted: April 30th, 2007, 6:09 am
 
tault_razorwing

Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
User avatar
Active User > 50 Posts
Hello,
i was wondering is there any tutorials in which i can use to connect VB to lotroextreme?

Thanks
RazorWing


Reply with quote
Posted: April 30th, 2007, 6:36 am
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
I havnt released the COM Wrapper yet. Unless you mean VB.Net. If you meant VB.Net, just add a reference to the LOTRWrapper.dll and its pretty self explanitory. If you mean VB6, I'll have to release the COM wrapper before it will work.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: April 30th, 2007, 6:41 am
 
tault_razorwing

Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
User avatar
Active User > 50 Posts
I have Visual Studio 2005 so VB.Net will be Fine :)

I have added LOTRWrapper.dll to my Reference COM in my project, just wondering how do i start getting ingame values into VB?


Reply with quote
Posted: April 30th, 2007, 8:37 am
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
Create the LOTROWrapper object. (Look a the LOTROWrapper reference itself to see the API).

Then you can call methods using it.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: April 30th, 2007, 8:41 am
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
ie like

Dim myO as new LOTROWrapper()

dim name as string
name = myO.Player.Name

_________________
Use Search first, ask questions later!


Reply with quote
Posted: April 30th, 2007, 9:00 am
 
tault_razorwing

Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
User avatar
Active User > 50 Posts
Ok thank you :)

Helped alot, keep me posted on new updates as i will include them into my Visual Basic bot.

I will keep you updated WyvernX as to how i get on :)

Update:
When i attempted to run the code it failed.

I went to "Project" > "Add Reference" > "Browse" > then selected LOTROWrapper.dll with the code provided and it failed to run. Here is what i got so far.

(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
Public Class Form1
    Dim myO As New LOTROWrapper()
    Dim CharName As String
    CharName = myO.Player.Name

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        'lblCharName.Text = CharName
    End Sub
End Class


Reply with quote
Posted: April 30th, 2007, 12:49 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
Oh, I forgot to mention. LOTROE needs to be placed in the SAME folder that the VB App is being run. So in your VB.Net app, set the build folder to be the LOTROE folder. So it places the exe's int eh same place. I have not found a way around that bug yet. :(

_________________
Use Search first, ask questions later!


Reply with quote
Posted: April 30th, 2007, 2:32 pm
 
antareus

Total Posts: 297
Joined: March 29th, 2006, 8:59 am
antareus's Reps: 11
User avatar
Active User > 50 Posts
premium
Update thread has taken longer then 30 secsto initate (or something like that), closing.

Getting that error when I try to open LOTROExtreme


Reply with quote
Posted: April 30th, 2007, 2:47 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
Hmm.. I'll have to see if I can add more detailed logging to find out why.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: May 1st, 2007, 10:12 am
 
tault_razorwing

Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
User avatar
Active User > 50 Posts
Hmm still doesnt want to compile right. I have removed the reference and created a new reference so it points to the current directory which i am currently working from. Build Path is also that of the current working directory.

(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
Public Class Form1
    Dim myO As New LOTROWrapper()
    Dim CharName As String
    CharName = myO.Player.Name

    Private Sub cmdStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdStart.Click
        lblCharName.Text = "Player Name: " & CharName
    End Sub
End Class


Error Produced when attempting to run / compile:
Error 1 Type 'LOTROWrapper' is not defined. C:\Documents and Settings\Scooby\My Documents\Visual Studio 2005\Projects\LOTRO-Champion\LOTRO-Champion\Form1.vb 2 20 LOTRO-Champion
Error 2 Declaration expected. C:\Documents and Settings\Scooby\My Documents\Visual Studio 2005\Projects\LOTRO-Champion\LOTRO-Champion\Form1.vb 4 5 LOTRO-Champion


Reply with quote
Posted: May 1st, 2007, 3:10 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
May 1, 2007 - LOTROExtreme v0.91beta

--Bugfix: Mob names were not being cached properly
--Bugfix: EU clients were not being initialized correctly.

You may have to delete LOTROExtreme.exe and run UpdateLOTROExtrme.exe for it to take the patch.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: May 1st, 2007, 3:10 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
PS. Make sure you have the LOTROWrapper as a reference.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: May 1st, 2007, 10:17 pm
 
tault_razorwing

Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
User avatar
Active User > 50 Posts
OK i will do this step by step as it doesnt seem to want to work :(

Starting from the beginning:
1) Start-up Visual Studio 2005
2) Select Visual Basic and Window Application
3) Save Project
4) Copy all LOTROextreme files to working Directory
eg. C:\Documents and Settings\Scooby\My Documents\Visual Studio 2005\Projects\LOTRO-Champion
5) Add Reference LOTROWrapper.dll (from location on Step 4)
6) Insert the same code provided
7) Compile application

Error, LOTROWrapper not defined :(

So what step am i doing wrong? :(


Reply with quote
Posted: May 2nd, 2007, 8:02 am
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
Problem is you ran LOTRE from a different directory,k and the wrapper is still "linked" to the old folder. Remove any old files for lOTROE. Get LOTROE working in whatever folder you put it.. (with no copies located elsewhere on the HD). Then when all files are in place and lotroE is working, load up your VS and give it a go.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: May 3rd, 2007, 10:10 am
 
tault_razorwing

Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
User avatar
Active User > 50 Posts
Ok i have done what you said, LOTROextreme works within the following development directory: C:\Documents and Settings\Scooby\My Documents\Visual Studio 2005\Projects\LOTRO-Champion\LOTRO-Champion\

But the program still fails to run with the previous error mentioned before.


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 1 guest

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 LOTROExtreme RSS Feed 
Sitemap of LOTROExtreme Sitemap 
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?