Current time: 22.11.2024, 04:50 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Heroes Interface
Author Message
Valery Offline

Posts: 2196
Post: #6

Igrik, I know almost nothing about multiplayer, if you want to finalize you are welcome. I can't even play online. If you can test it, modify what you need then paste here so I can update, ok?

Reworked a bit the thing and uploaded here:

Improved_backpack

Changes:

*updated with igrik last backpack bag
*added mop code
*optimized switch artifacts

The problems remaining (in single player at least) are related to switch artifacts. The biggest problem I faced is due to the fact that, when you erm-remove one equipped artifact, you must remove ALL that artifacts ID the hero owns, with A-$. If you don't do so, the stats bonuses do not change.
The second problem are the combos, the combo ID location returns fine, but the locked slots return -1, as it was empty. So far, I am unable to exchange properly combos, without having their locked slots get other artifacts in.

The third problem are the misc.slots 1-5, I don't know how to do them properly. Again, we must remove all artifacts on switching, so if one hero has for example 5 purses of gold in slots 9-12/18, when you process 9, it will delete all purses and give back 4 in backpack. So the script will not find anymore purses in slot 10-12/18. You will not have error in artifacts counter, but the ones you had equipped will be now in backpack, so have to equip again manually, annoying. I disabled misc slots from script, waiting for someone to have a genius idea.

One solution would be to store ALL artifacts one hero has equipped in global vars but we would need 28 then and I want to avoid that, to keep compatibility with everything. But still with that, the combos thing will not be solved.

Here is the code for exchanging artifacts, if someone wants to finalize, would be great.

(This post was last modified: 26.12.2013 02:17 by Valery.)
26.12.2013 02:07
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Heroes Interface - Valery - 25.12.2013, 10:31
RE: Heroes Interface - Berserker - 25.12.2013, 19:35
RE: Heroes Interface - Valery - 25.12.2013, 19:50
RE: Heroes Interface - Berserker - 25.12.2013, 21:52
RE: Heroes Interface - Valery - 26.12.2013, 15:48
RE: Heroes Interface - igrik - 25.12.2013, 22:27
RE: Heroes Interface - Valery - 26.12.2013 02:07
RE: Heroes Interface - Valery - 26.12.2013, 09:18
RE: Heroes Interface - igrik - 26.12.2013, 12:39
RE: Heroes Interface - Valery - 26.12.2013, 14:49
RE: Heroes Interface - igrik - 26.12.2013, 15:57
RE: Heroes Interface - Valery - 26.12.2013, 15:59
RE: Heroes Interface - igrik - 26.12.2013, 16:05
RE: Heroes Interface - Valery - 26.12.2013, 16:11
RE: Heroes Interface - Valery - 28.12.2013, 10:16
RE: Heroes Interface - WWWoWaNuS - 29.12.2013, 19:33
RE: Heroes Interface - igrik - 29.12.2013, 00:25
RE: Heroes Interface - Valery - 29.12.2013, 00:34
RE: Heroes Interface - Valery - 29.12.2013, 17:33
RE: Heroes Interface - Valery - 29.12.2013, 19:47
RE: Heroes Interface - WWWoWaNuS - 29.12.2013, 20:19
RE: Heroes Interface - Valery - 29.12.2013, 20:58
RE: Heroes Interface - WWWoWaNuS - 29.12.2013, 21:06
RE: Heroes Interface - Valery - 29.12.2013, 21:08
RE: Heroes Interface - Berserker - 30.12.2013, 00:59
RE: Heroes Interface - Valery - 30.12.2013, 09:02
RE: Heroes Interface - Bes - 30.12.2013, 19:05
RE: Heroes Interface - Bes - 31.12.2013, 01:48
RE: Heroes Interface - Valery - 31.12.2013, 09:57
RE: Heroes Interface - igrik - 31.12.2013, 02:50
RE: Heroes Interface - Bes - 31.12.2013, 03:01
RE: Heroes Interface - igrik - 31.12.2013, 03:06
RE: Heroes Interface - Bes - 31.12.2013, 03:11
RE: Heroes Interface - igrik - 31.12.2013, 03:20
RE: Heroes Interface - Bes - 31.12.2013, 03:38
RE: Heroes Interface - igrik - 31.12.2013, 04:19
RE: Heroes Interface - Valery - 31.12.2013, 05:27
RE: Heroes Interface - Bes - 31.12.2013, 16:41
RE: Heroes Interface - Valery - 31.12.2013, 17:12
RE: Heroes Interface - Bes - 31.12.2013, 17:21
RE: Heroes Interface - Berserker - 31.12.2013, 22:07
RE: Heroes Interface - Valery - 31.12.2013, 22:29
RE: Heroes Interface - Berserker - 31.12.2013, 22:56
RE: Heroes Interface - Valery - 31.12.2013, 22:59
RE: Heroes Interface - Berserker - 31.12.2013, 23:43
RE: Heroes Interface - Valery - 01.01.2014, 00:11
RE: Heroes Interface - Valery - 01.01.2014, 12:19
RE: Heroes Interface - Berserker - 01.01.2014, 19:51
RE: Heroes Interface - GrayFace - 02.01.2014, 04:03
RE: Heroes Interface - Valery - 02.01.2014, 05:43
RE: Heroes Interface - gamecreator - 02.01.2014, 15:41
RE: Heroes Interface - Algor - 06.10.2014, 04:03
RE: Heroes Interface - Valery - 06.10.2014, 04:16
RE: Heroes Interface - Algor - 06.10.2014, 13:21

Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group