but there is even no sound file for RGB just mentioned...oO
but there is even no sound file for RGB just mentioned...oO
well,i checked all this alerter -
1) zero sounds as for me i tryed to change some things in main file,but no result all loot i can seeonly in this black console,but no sound...any ideas? redownloaded 3 times,reboot pc...^^
2) when i try close window of alerter - game crash, Always. is there any ways to close it safely to game?
Gloomyr666.. pls note that u should read the first 4 pages at this topic, u will find the answers given for sounds.. and (2) I have the same problem ; closing the Alerter causes a game crash.
Sure I did it but the only answer was like "u should activate this sounds in config" and I tryed do this,but no results...
Can u tell where should I change this? for example to play sound when gemcutter drops...(and as I can see Alerting is True on everything in files when I downloaded it..)
i never said you could activate sounds in the config mate. You will need to code them in in the places where you like them, there's enough examples in the file how to do it.
Game crash is existing since the first version of thsi alerter and was never fixed. Simply dont close the alerter while PoE is running.
Oh,so...thanks,i will try... Oo
_____
uniq sounds work,superiorgem - also.
but other - no.
this sounds totally ignored... dont rly know why^^
also i tryed to add sound here to use it normally,but then program cant be run
(here i added way to sound BlessedOrb)
I checked all existing files in program folder..
Last edited by gloomyr666; 11-01-2013 at 02:38 AM.
Yesterday night , after a long work I have managed to have sounds for all unique + rare + RGB + 5/6S-L at last
First of all I changed some wav files with the ones used at Diablo3 item alerter: unique to legendary / drop to Rare / superiorgem to Crafting / superiorflask to sixsockets.. But this is not so important; I did it since the existing wav files are super fast, I cant hear clearly what he says.. You can leave as they are..
See below:
class PlaySoundWorker(threading.Thread):
def run(self):
winsound.PlaySound(r'sounds\Rare.wav', winsound.SND_FILENAME)
class PlaySoundUnique(threading.Thread):
def run(self):
winsound.PlaySound(r'sounds\legendary.wav', winsound.SND_FILENAME)
class PlaySoundSuperiorGem(threading.Thread):
def run(self):
winsound.PlaySound(r'sounds\Crafting.wav', winsound.SND_FILENAME)
class PlaySoundSuperiorFlask(threading.Thread):
def run(self):
winsound.PlaySound(r'sounds\sixsockets.wav', winsound.SND_FILENAME)
and then I inserted 2 lines for these parts (those lines are Bolded)
for RGB:
print Style.BRIGHT + Fore.RED + "R" + Style.BRIGHT + Fore.GREEN + "G" + Style.BRIGHT + Fore.BLUE + "B" + Style.BRIGHT + Fore.WHITE + str.format(': {0}, rarity: {1}, itemlevel: {2}',itemName,rarity,itemlevel)
serpet = PlaySoundSuperiorFlask()
serpet.start()
for 5/6 sockets:
print Style.BRIGHT + Fore.MAGENTA + str.format('{5}: {0}, rarity: {1}, ilvl: {2}, quality: {3}, sockets: {4}',itemName,rarity,itemlevel,quality, socketsetup, msg)
serpet = PlaySoundSuperiorFlask()
serpet.start()
for uniques:
print Fore.YELLOW + str.format('UNI: {0}, rarity: {1}, ilvl: {2}, quality: {3}, sockets: {4}',itemName,rarity,itemlevel,quality, socketsetup)
serdar = PlaySoundUnique()
serdar.start()
for rares:
print Style.BRIGHT + Fore.YELLOW + str.format('RARE: {0}, rarity: {1}, itemlevel: {2}',itemName,rarity,itemlevel)
serlev = PlaySoundWorker()
serlev.start()
Ofc u can change serpet/serlev/serdar with any name u wish..
Although the codes are there (220ff line) there is no sound for exalted and GCP.. they dont work at all..
Thats beyond of my knowledge; Swisstrader might answer for those I think..
Hope this helps u Gloomyr and all friends who wish to hear sound for different drops..
The sound files I used to whom asking them and other mates interested:
first listen to one of them:
https://upload.wikimedia.org/wikiped...gendaryPoE.wav
and if u liked it use the links below for all:
u can download as: Menu>ogg Verbis>RMB>Save audio as
https://commons.wikimedia.org/wiki/F...gendaryPoE.wav
https://commons.wikimedia.org/wiki/File%3ARare.wav
https://commons.wikimedia.org/wiki/F...Sixsockets.wav
https://commons.wikimedia.org/wiki/F...raftingPoE.wav
enjoy...
Thanks for code and sounds :3
And if u will understand how to make orbs and other special items from item ID list make sound - write here please
______
Last edited by gloomyr666; 11-01-2013 at 07:05 AM.
The code below will play sound Crafting.wav (or whatever is described for SoundSuperiorGem at the beginning of program):
if isCurrencyItem(itemName):
print Fore.WHITE + str.format('CUR: {0}',itemName)
curren = PlaySoundSuperiorGem()
curren.start()
number_of_orbs += 1
return
I still couldnt manage to have specific sounds for ExaltedOrb or GCP ,Chaos etc etc.. since they r all under Currency and play Sound of SuperiorGem by above code...
That is I need something :
if isCurrencyItem(itemName) and itemID not equal to (exalted ID) + not equal to (GCP ID) + other orbs u wish to seperate
or
whatever the coding system has for this "if not" etc etc ??
I didnt understand how
"class SoundPlayer(threading.Thread):
def run(self, sound):
winsound.PlaySound(r'sounds\\' + sound, winsound.SND_FILENAME)
print >>self.logFile, str.format('Playing: {0!s}', sound) " is working since the only application at Swiss program is at line 220ff and it doesnt work at all..
Hope to hear soon from Swisstrade about the usage of this "class SoundPlayer" and what is wrong at existing code which we have no sound for exalted orbs..
Maybe in Notifyitems file there is definition of curencyitem and we can change for example : currencyitem not means all currency but only to chaos;then currencyitem2 is for exaltorb and etc... So we can use standart sound system with this
Btw,can't we just add start of file PlaySoundBlessedOrb() and then
if isCurrencyItem(itemName):
print Fore.WHITE + str.format('CUR: {0}',itemName)
number_of_orbs += 1
if itemId == 0xC04F5629:
orb = PlaySoundBlessedOrb()
orb.start()
Last edited by gloomyr666; 11-01-2013 at 09:54 AM.
I tested the uniques sound, that is working.
If you need more, do this guys:
a) add the definition for each sound you want:
class PlaySoundXXX(threading.Thread):
def run(self):
winsound.PlaySound(r'sounds\unique.wav', winsound.SND_FILENAME)
exchange XXX with the name of the sound you want.
exchange unique.wav with the sound you want to have played.
Then in the orbs section, check for the id of the orbs you want, and add an "if" or "case" condition.
below that add
sound = PlaySoundXXX()
sound.start()
this should work and give you what you want.
So your RGB detection works for 3 links, but not for 4+ links. That being said, it should really only detect up to a 4 link anyway since 5 and 6 links have their own special value.
Code update for 4 link test:
Change your
if any(i in socketsetup for i in ('R-G-B','R-B-G','G-B-R','G-R-B','B-R-G','B-G-R')):
To
if any(i in socketsetup for i in ('R-G-B','R-B-G','G-B-R','G-R-B','B-R-G','B-G-R','R-R-G-B','R-R-B-G','R-G-B-R','R-G-R-B','R-B-R-G','R-B-G-R','G-R-G-B','G-R-B-G','G-G-B-R','G-G-R-B','G-B-R-G','G-B-G-R','B-R-G-B','B-R-B-G','B-G-B-R','B-G-R-B','B-B-R-G','B-B-G-R')):
Hopefully it works! My thought was all possible 3 links are already there, so copy paste R-, G-, and B- in front of each possible 3 link configuration and you get all possible 4 link configurations!
Edit: This might be easier to see/understand
Seems to be working https://i.imgur.com/doLK4vs.jpgCode:if any(i in socketsetup for i in ('R-G-B','R-B-G','G-B-R','G-R-B','B-R-G','B-G-R', 'R-R-G-B','R-R-B-G','R-G-B-R','R-G-R-B','R-B-R-G','R-B-G-R', 'G-R-G-B','G-R-B-G','G-G-B-R','G-G-R-B','G-B-R-G','G-B-G-R', 'B-R-G-B','B-R-B-G','B-G-B-R','B-G-R-B','B-B-R-G','B-B-G-R')):
Last edited by moopa; 11-01-2013 at 02:27 PM.
This seems to have worked for me. I filled out the majority of the currency, feel free to remove or add the rest. (h p://pathofexile.gamepedia.com/Currency)
Caution: Replace PlaySoundCraftingItem() with an already present sound name.Code:if isCurrencyItem(itemName): print Fore.WHITE + str.format('CUR: {0}',itemName) number_of_orbs += 1 if itemId == 0xC04F5629: # Exalted Orb crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0x80047CFD: # Divine Orb crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0x07A992EB: # Gemcutter's Prism crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0xD8BD4F5D: # Regal Orb crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0x9B4B42A5: # Orb of Regret crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0x7353DDF9: # Chaos Orb crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0x2D8E7632: # Blessed Orb crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0x7F0EF637: # Orb of Scouring crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0x9110493F: # Orb of Alchemy crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0xC71BF58D: # Orb of Fusing crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0xDC217297: # Cartographer's Chisel crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0xC5732C85: # Orb of Chance crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0xDD917991: # Jeweller's Orb crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0xDD74C4BF: # Glassblower's Bauble crafting_drop = PlaySoundCraftingItem() crafting_drop.start() if itemId == 0x79C23B15: # Mirror of Kalandra crafting_drop = PlaySoundCraftingItem() crafting_drop.start() return
Last edited by qwf; 11-02-2013 at 05:13 AM.