|
 Vanguard Bot - VGExtreme Scritping Service : VGExtreme General Discussion - Page 22
|
|
Posted: March 29th, 2007, 10:47 am
|
|
|
|
binafus
Total Posts: 154
Joined: November 3rd, 2006, 4:27 pm
binafus's Reps: 0
|
Comparing the ID's work can just change over to using that.
|
|
|
|
|
Posted: March 29th, 2007, 12:31 pm
|
|
|
|
binafus
Total Posts: 154
Joined: November 3rd, 2006, 4:27 pm
binafus's Reps: 0
|
Seems GetPlayerHealth is not reporting the correct data, it shows data but it is wrong
GetPlayerMaxHealth is reporting the proper amount.
|
|
|
|
|
Posted: March 29th, 2007, 1:37 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
DOh. Ok I'll update it in today's patch. Waiting for servers to come back up.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: March 29th, 2007, 1:56 pm
|
|
|
|
kumpel100
Total Posts: 375
Location: Germany
Joined: October 24th, 2005, 12:29 pm
kumpel100's Reps: 969
|
wyvernx (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))): DOh. Ok I'll update it in today's patch. Waiting for servers to come back up.
is up ^^ also server
|
|
|
|
|
Posted: March 29th, 2007, 2:11 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
Just I just udpated 1.7 with the fix. I'll have 1.8 out here in a bit with some other new features too. (Fixed ByRef issues and player.hp)
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: March 29th, 2007, 2:18 pm
|
|
|
|
gheezer
gheezer's Reps:
|
Trying to use MobArray.GetNearest with the wrapper and I get the not connected to VGExtreme exception, although Player.Name works.
|
|
|
|
|
Posted: March 29th, 2007, 2:35 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
Hmm.. I'll check it out. I only did minor testing. Guess it was wishful thinking that it would all work, lol.
Well the exception is thrown for any error. I'll add in better error messges. Right now it just assumes the error will be not connected.
I fixed that specific error here in 1.7c. I'll upload here in just a few minutes.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: March 29th, 2007, 2:42 pm
|
|
|
|
kumpel100
Total Posts: 375
Location: Germany
Joined: October 24th, 2005, 12:29 pm
kumpel100's Reps: 969
|
1.7b found now mobs player healing works too, but got this error message:
Error Line 83, char 12 :: blalbal.........:'Mob.ByRef'
in 1.7b patch notes '///Modified 3/29/07 -Bugfix Object.ByRef works again.
|
|
|
|
|
Posted: March 29th, 2007, 3:09 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
Just uploaded 1.7c. Please patch (run updatevgextreme.exe) and see if that fixes it.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: March 29th, 2007, 3:12 pm
|
|
|
|
icerush
Total Posts: 25
Joined: April 23rd, 2005, 2:24 pm
icerush's Reps: 0
|
Same error after updating. Rebooted PC, tried again, same Mob.ByRef error after targeting a mob.
Error: Line: 83, Char 12 :: Object doesn't support this property or method: 'Mob.ByRef'
Last edited by icerush on March 29th, 2007, 3:21 pm, edited 1 time in total.
|
|
|
|
|
Posted: March 29th, 2007, 3:16 pm
|
|
|
|
gheezer
gheezer's Reps:
|
MessageBox.Show(VGE.MobArray.GetNearest(VGE.Player, 200, 0).Count.ToString());
Shows 0, at least no more exception 
|
|
|
|
|
Posted: March 29th, 2007, 4:06 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
icerush, what script, so I can run it and see?
gheezer, ok give me a few and i'll see whats going on. That exmaple helps narrow it down. I did ((IMob)MobArray[0]).Name and got a mob.. so not sure yet what is going on. I'll check yoru example.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: March 29th, 2007, 4:10 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
Gheezer, solved your problem.
Keep in mind that you need to pass in distance * 100 to get in game distance.
try calling:
MessageBox.Show(VGE.MobArray.GetNearest(VGE.Player, 2000, 0).Count.ToString());
Should return the number ofmobs within 20 in game yards.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: March 29th, 2007, 4:31 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
icerush, try to remove a .ByRef and see if taht fixes it.
Let me know.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: March 29th, 2007, 4:44 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
Actually, this is a temp hack, but see if 1.7D helps.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 20 guests |
|
|
|