Register for your free account! | Forgot your password?

You last visited: Today at 01:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Salvage Problems

Discussion on Salvage Problems within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 3
Received Thanks: 0
Salvage Problems

Hi,

first of all thx to all in this Board helping to keep all the Bots working!!!

I have rewritten some Bots to do things i want but in this case have problems and i dont know why...

I tried to use the actual working Vaettire Bot not to sell the stuff he should Salvage the stuff cause i need materials.

This function I use to salvage the stuff but gw always crashes.... i tried more sleep time but gw always crashes with the "Send to Anet" thing..

I hope some1 can help me.....

Code:
Func SalvageThis($aItem)
   Local $lModelID = DllStructGetData($aitem, "ModelID")
	  If $lModelID = 22751 Then Return False
	  If $lModelID = 21798 Then Return False
   Return True
EndFunc

Func Salvage()
   Local $counter
   For $n = 1 to 4
          $counter = 1
	  While True
		 If $n = 1 And $counter > 20 then ExitLoop
		 If $n = 2 And $counter > 5 then ExitLoop
		 If $n = 3 And $counter > 10 then ExitLoop
		 If $n = 4 And $counter > 10 then ExitLoop
		 If FindSalvageKit() > 0 Then
			Local $aItem = GetItemsBySlot($n, $counter)
			If SalvageThis($aItem) Then
			   StartSalvage($aitem)
			   Sleep(Random(1000, 1500))
			   SalvageMaterials()
			   Sleep(Random(1000, 1500))
			EndIf
		 Else
			Return 0
		 EndIf
		 $counter += 1
	  WEnd
   Next
EndFunc
Thx
hironimo is offline  
Old 05/13/2018, 22:13   #2
 
elite*gold: 0
Join Date: Jun 2009
Posts: 94
Received Thanks: 66
id have to look deeper into it but i would say it SalvageMaterials() that is crashing it

i would also write the functions like this

Code:
Func Salvage()
   For $Bag = 1 to 4
          For $Slot = 1 To DllStructGetData($Bag, "slots")
          	 If FindSalvageKit() > 0 Then
			Local $aItem = GetItemsBySlot($Bag, $Slot)
			If SalvageThis($aItem) Then
			   StartSalvage($aitem)
			   Sleep(Random(1000, 1500))
			EndIf
		 Else
			Return 0
		 EndIf
	  Next
   Next
EndFunc
afmart is offline  
Old 05/13/2018, 22:16   #3
 
elite*gold: 0
Join Date: May 2014
Posts: 269
Received Thanks: 320
When you try to salvage Items in an explorable Area make sure:
1. Only use the cheap Salvage-Kits, not the exp onces.
2. Modify FindSalvageKit() and StartSalvage() so these Functions only search for Salvage-Kits you got in your Inventory (NOT Xunlai-Storage).
3. Identify the Items first.
4. When the Item has the Rarity white or blue you ONLY need to cast StartSalvage().
5. When the Item has the Rarity purple or gold cast StartSalvage(), Sleep() and SalvageMaterials().
6. Make sure you have Space in Inventory (at least 1) before salvage.
DerMoench14 is offline  
Thanks
4 Users
Old 05/14/2018, 08:03   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 3
Received Thanks: 0
THX a lot DerMoench14 !!!

--> 2. Modify FindSalvageKit() and StartSalvage() so these Functions only search for Salvage-Kits you got in your Inventory (NOT Xunlai-Storage). <--

i fixed that and now everything works like i want

thx thx thx
hironimo is offline  
Old 05/15/2018, 18:46   #5
 
Tamina22300's Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 54
Received Thanks: 1
Hey, can you post your salvage bot if he's fixed please ? Mine got some bugs that i don't understand to solve...
Tamina22300 is offline  
Old 05/17/2018, 14:46   #6
 
elite*gold: 0
Join Date: Feb 2008
Posts: 3
Received Thanks: 0
Hi,
sry it is not a salvage Bot like the known ones. I have changed some stuff in the actual Vaettier Bot to salvage some items i want, thats it.
hironimo is offline  
Old 03/30/2019, 04:51   #7
 
phat34's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 354
Received Thanks: 120
I know this is 10 months old but lmao at leeches...
phat34 is offline  
Reply


Similar Threads Similar Threads
[GWA2] How to close salvage window AFTER salvage session is complete?
05/08/2018 - GW Bots - 5 Replies
Hi all, I'm making a bot to manage my inventory for me in-game. 1. StartSalvage() on an item I want a mod for. 2. SalvageMod() for the mod I'm after 3. Close Salvage window (without GW kicking me out!) Can't figure out how to do step 3. Looks like when I close the salvage window in-game, it sends a packet to the GS to "cancel" the session. The GS panics when it sees that the session has already completed, and the client gets kicked from the server.
Salvage Itens
09/26/2011 - GW Exploits, Hacks, Bots, Tools & Macros - 5 Replies
Hi, here's a little script i made to salvage items like feathered crests Its not a big thing but quite useful as i think Source: #Region #AutoIt3Wrapper_UseUpx=n #AutoIt3Wrapper_UseX64=n
My Katana & CS mod footage that I was able to salvage
09/10/2011 - S4 League - 11 Replies
Modding character models have always been a hobby of mine with MMOs and it was S4's turn this time. I hope you like it. Unfortunately these 2 are the only ones I have footage off, old footage at that. The CS mod isn't even finished on this one and the katana mods needed a bit more tweaking with the .ogg files. The video just showcases what I changed, attacks, added some sounds, etc. Didn't have time to take the weapons to a test run with other players so yeah. There's also that green...



All times are GMT +1. The time now is 01:14.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.