|
|
|
Page 1 of 2 |
[ 22 posts ] |
1, 2 Next
|
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
|
Hello,
i was wondering is there any tutorials in which i can use to connect VB to lotroextreme?
Thanks
RazorWing
|
|
|
|
|
Posted: April 30th, 2007, 6:36 am
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
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!
|
|
|
|
|
Posted: April 30th, 2007, 6:41 am
|
|
|
|
tault_razorwing
Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
|
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?
|
|
|
|
|
Posted: April 30th, 2007, 8:37 am
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
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!
|
|
|
|
|
Posted: April 30th, 2007, 8:41 am
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
ie like
Dim myO as new LOTROWrapper()
dim name as string
name = myO.Player.Name
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: April 30th, 2007, 9:00 am
|
|
|
|
tault_razorwing
Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
|
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
|
|
|
|
|
Posted: April 30th, 2007, 12:49 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
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!
|
|
|
|
|
Posted: April 30th, 2007, 2:32 pm
|
|
|
|
antareus
Total Posts: 297
Joined: March 29th, 2006, 8:59 am
antareus's Reps: 11
|
Update thread has taken longer then 30 secsto initate (or something like that), closing.
Getting that error when I try to open LOTROExtreme
|
|
|
|
|
Posted: April 30th, 2007, 2:47 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
Hmm.. I'll have to see if I can add more detailed logging to find out why.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: May 1st, 2007, 10:12 am
|
|
|
|
tault_razorwing
Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
|
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
|
|
|
|
|
Posted: May 1st, 2007, 3:10 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
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!
|
|
|
|
|
Posted: May 1st, 2007, 3:10 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
PS. Make sure you have the LOTROWrapper as a reference.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: May 1st, 2007, 10:17 pm
|
|
|
|
tault_razorwing
Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
|
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?
|
|
|
|
|
Posted: May 2nd, 2007, 8:02 am
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
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!
|
|
|
|
|
Posted: May 3rd, 2007, 10:10 am
|
|
|
|
tault_razorwing
Total Posts: 196
Joined: January 30th, 2005, 6:35 pm
tault_razorwing's Reps: 1
|
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.
|
|
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 1 guest |
|
|
|